Beispiel #1
0
            internal static _GetNumDeathAnimations GetNumDeathAnimations()
            {
                if (_GetNumDeathAnimationsFunc == null)
                {
                    _GetNumDeathAnimationsFunc =
                        (_GetNumDeathAnimations)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnPlayer_getNumDeathAnimations"), typeof(_GetNumDeathAnimations));
                }

                return(_GetNumDeathAnimationsFunc);
            }
Beispiel #2
0
            internal static _GetNumDeathAnimations GetNumDeathAnimations()
            {
                if (_GetNumDeathAnimationsFunc == null)
                {
                    _GetNumDeathAnimationsFunc =
                        (_GetNumDeathAnimations)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnPlayer_getNumDeathAnimations"), typeof(_GetNumDeathAnimations));
                }

                return(_GetNumDeathAnimationsFunc);
            }