Example #1
0
            internal static _DumpZoneState DumpZoneState()
            {
                if (_DumpZoneStateFunc == null)
                {
                    _DumpZoneStateFunc =
                        (_DumpZoneState)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnZone_dumpZoneState"), typeof(_DumpZoneState));
                }

                return(_DumpZoneStateFunc);
            }
Example #2
0
            internal static _DumpZoneState DumpZoneState()
            {
                if (_DumpZoneStateFunc == null)
                {
                    _DumpZoneStateFunc =
                        (_DumpZoneState)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnZone_dumpZoneState"), typeof(_DumpZoneState));
                }

                return(_DumpZoneStateFunc);
            }