Exemple #1
0
            internal static _GetDamageLocation GetDamageLocation()
            {
                if (_GetDamageLocationFunc == null)
                {
                    _GetDamageLocationFunc =
                        (_GetDamageLocation)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnPlayer_getDamageLocation"), typeof(_GetDamageLocation));
                }

                return(_GetDamageLocationFunc);
            }
Exemple #2
0
            internal static _GetDamageLocation GetDamageLocation()
            {
                if (_GetDamageLocationFunc == null)
                {
                    _GetDamageLocationFunc =
                        (_GetDamageLocation)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnPlayer_getDamageLocation"), typeof(_GetDamageLocation));
                }

                return(_GetDamageLocationFunc);
            }