Esempio n. 1
0
            internal static _ResolveGhostID ResolveGhostID()
            {
                if (_ResolveGhostIDFunc == null)
                {
                    _ResolveGhostIDFunc =
                        (_ResolveGhostID)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnNetConnection_resolveGhostID"), typeof(_ResolveGhostID));
                }

                return(_ResolveGhostIDFunc);
            }
Esempio n. 2
0
            internal static _ResolveGhostID ResolveGhostID()
            {
                if (_ResolveGhostIDFunc == null)
                {
                    _ResolveGhostIDFunc =
                        (_ResolveGhostID)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnNetConnection_resolveGhostID"), typeof(_ResolveGhostID));
                }

                return(_ResolveGhostIDFunc);
            }