Esempio n. 1
0
            internal static _GetCaster GetCaster()
            {
                if (_GetCasterFunc == null)
                {
                    _GetCasterFunc =
                        (_GetCaster)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnafxMagicSpell_getCaster"), typeof(_GetCaster));
                }

                return(_GetCasterFunc);
            }
Esempio n. 2
0
            internal static _GetCaster GetCaster()
            {
                if (_GetCasterFunc == null)
                {
                    _GetCasterFunc =
                        (_GetCaster)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnafxMagicSpell_getCaster"), typeof(_GetCaster));
                }

                return(_GetCasterFunc);
            }