Beispiel #1
0
            internal static _SetSpellBook SetSpellBook()
            {
                if (_SetSpellBookFunc == null)
                {
                    _SetSpellBookFunc =
                        (_SetSpellBook)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnafxTSCtrl_setSpellBook"), typeof(_SetSpellBook));
                }

                return(_SetSpellBookFunc);
            }
Beispiel #2
0
            internal static _SetSpellBook SetSpellBook()
            {
                if (_SetSpellBookFunc == null)
                {
                    _SetSpellBookFunc =
                        (_SetSpellBook)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnafxTSCtrl_setSpellBook"), typeof(_SetSpellBook));
                }

                return(_SetSpellBookFunc);
            }