Beispiel #1
0
 internal static _ExtractFile ExtractFile() {
     if (_ExtractFileFunc == null) {
         _ExtractFileFunc =
             (_ExtractFile)Marshal.GetDelegateForFunctionPointer(
                 NativeLibrary.GetExport(
                     Torque3D.Torque3DLibHandle,
                     "fnZipObject_extractFile"), typeof(_ExtractFile));
     }
     
     return _ExtractFileFunc;
 }
Beispiel #2
0
            internal static _ExtractFile ExtractFile()
            {
                if (_ExtractFileFunc == null)
                {
                    _ExtractFileFunc =
                        (_ExtractFile)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnZipObject_extractFile"), typeof(_ExtractFile));
                }

                return(_ExtractFileFunc);
            }