Example #1
0
 internal static _CloseArchive CloseArchive() {
     if (_CloseArchiveFunc == null) {
         _CloseArchiveFunc =
             (_CloseArchive)Marshal.GetDelegateForFunctionPointer(
                 NativeLibrary.GetExport(
                     Torque3D.Torque3DLibHandle,
                     "fnZipObject_closeArchive"), typeof(_CloseArchive));
     }
     
     return _CloseArchiveFunc;
 }
Example #2
0
            internal static _CloseArchive CloseArchive()
            {
                if (_CloseArchiveFunc == null)
                {
                    _CloseArchiveFunc =
                        (_CloseArchive)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnZipObject_closeArchive"), typeof(_CloseArchive));
                }

                return(_CloseArchiveFunc);
            }