Пример #1
0
            internal static _InterruptStage InterruptStage()
            {
                if (_InterruptStageFunc == null)
                {
                    _InterruptStageFunc =
                        (_InterruptStage)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnafxMagicSpell_interruptStage"), typeof(_InterruptStage));
                }

                return(_InterruptStageFunc);
            }
Пример #2
0
            internal static _InterruptStage InterruptStage()
            {
                if (_InterruptStageFunc == null)
                {
                    _InterruptStageFunc =
                        (_InterruptStage)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnafxMagicSpell_interruptStage"), typeof(_InterruptStage));
                }

                return(_InterruptStageFunc);
            }