Exemplo n.º 1
0
            internal static _GetTarget GetTarget()
            {
                if (_GetTargetFunc == null)
                {
                    _GetTargetFunc =
                        (_GetTarget)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnafxMagicSpell_getTarget"), typeof(_GetTarget));
                }

                return(_GetTargetFunc);
            }
Exemplo n.º 2
0
            internal static _GetTarget GetTarget()
            {
                if (_GetTargetFunc == null)
                {
                    _GetTargetFunc =
                        (_GetTarget)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnafxMagicSpell_getTarget"), typeof(_GetTarget));
                }

                return(_GetTargetFunc);
            }