コード例 #1
0
            internal static _StartAllSpellCooldown StartAllSpellCooldown()
            {
                if (_StartAllSpellCooldownFunc == null)
                {
                    _StartAllSpellCooldownFunc =
                        (_StartAllSpellCooldown)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnafxSpellBook_startAllSpellCooldown"), typeof(_StartAllSpellCooldown));
                }

                return(_StartAllSpellCooldownFunc);
            }
コード例 #2
0
            internal static _StartAllSpellCooldown StartAllSpellCooldown()
            {
                if (_StartAllSpellCooldownFunc == null)
                {
                    _StartAllSpellCooldownFunc =
                        (_StartAllSpellCooldown)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnafxSpellBook_startAllSpellCooldown"), typeof(_StartAllSpellCooldown));
                }

                return(_StartAllSpellCooldownFunc);
            }