internal static int GetGhostIndex(IntPtr thisPtr, IntPtr obj) { if (_GetGhostIndexFunc == null) { _GetGhostIndexFunc = (_GetGhostIndex)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle, "fn_NetConnection_GetGhostIndex"), typeof(_GetGhostIndex)); } return(_GetGhostIndexFunc(thisPtr, obj)); }
internal static _GetGhostIndex GetGhostIndex() { if (_GetGhostIndexFunc == null) { _GetGhostIndexFunc = (_GetGhostIndex)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnNetConnection_GetGhostIndex"), typeof(_GetGhostIndex)); } return(_GetGhostIndexFunc); }
internal static _GetGhostIndex GetGhostIndex() { if (_GetGhostIndexFunc == null) { _GetGhostIndexFunc = (_GetGhostIndex)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnNetConnection_GetGhostIndex"), typeof(_GetGhostIndex)); } return(_GetGhostIndexFunc); }