Exemple #1
0
            internal static _GetLocation GetLocation()
            {
                if (_GetLocationFunc == null)
                {
                    _GetLocationFunc =
                        (_GetLocation)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnAIClient_getLocation"), typeof(_GetLocation));
                }

                return(_GetLocationFunc);
            }
Exemple #2
0
            internal static _GetLocation GetLocation()
            {
                if (_GetLocationFunc == null)
                {
                    _GetLocationFunc =
                        (_GetLocation)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnAIClient_getLocation"), typeof(_GetLocation));
                }

                return(_GetLocationFunc);
            }