Example #1
0
 internal static _GetFileEntryCount GetFileEntryCount() {
     if (_GetFileEntryCountFunc == null) {
         _GetFileEntryCountFunc =
             (_GetFileEntryCount)Marshal.GetDelegateForFunctionPointer(
                 NativeLibrary.GetExport(
                     Torque3D.Torque3DLibHandle,
                     "fnZipObject_getFileEntryCount"), typeof(_GetFileEntryCount));
     }
     
     return _GetFileEntryCountFunc;
 }
Example #2
0
            internal static _GetFileEntryCount GetFileEntryCount()
            {
                if (_GetFileEntryCountFunc == null)
                {
                    _GetFileEntryCountFunc =
                        (_GetFileEntryCount)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnZipObject_getFileEntryCount"), typeof(_GetFileEntryCount));
                }

                return(_GetFileEntryCountFunc);
            }