コード例 #1
0
            internal static _Interrupt Interrupt()
            {
                if (_InterruptFunc == null)
                {
                    _InterruptFunc =
                        (_Interrupt)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnafxEffectron_interrupt"), typeof(_Interrupt));
                }

                return(_InterruptFunc);
            }
コード例 #2
0
            internal static _Interrupt Interrupt()
            {
                if (_InterruptFunc == null)
                {
                    _InterruptFunc =
                        (_Interrupt)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnafxMagicSpell_interrupt"), typeof(_Interrupt));
                }

                return(_InterruptFunc);
            }