138 bool flag =
text == text2;
160 string text =
ip.ToLower();
162 bool flag = text2 ==
text;
163 if ((text2 ==
null || text2 !=
null) && (text2 ==
null || text2 !=
null))
298 if (
"Net.FoundServer" ==
null)
301 if (
"Net.FoundServer" ==
null)
305 if (
"Net.FoundServer" ==
null)
373 if (
"World name is bad" ==
null)
441 Debug.
LogError(
" Exception normal: Tried to run two servers on the same PC");
class f__AnonymousType0<< Count > j__TPar
static bool AsyncLoadStillRequired
static IPHostEntry GetHostEntry(string hostNameOrAddress)
static string GetHostName()
readonly ushort[] _numbers
static void Sleep(int millisecondsTimeout)
static string GetTextValue(string key)
static bool NetClientOnly
static INetDiagnosticsUI ActiveNetDiagnosticsUI
static void BootPlayer(int plr, NetworkText msg)
static void SyncDisconnectedPlayer(int plr)
override bool IsLocalHost()
static void InnerClientLoop()
static void ServerUpdateFrame()
static void ResetSections()
static void SocialClientLoop(object threadContext)
static string GetLocalIPAddress()
static void ServerLoop(object threadContext)
static void ClientLoopSetup(RemoteAddress address)
static string portForwardIP
static IPAddress ServerIP
static RemoteServer Server
static AutoResetEvent disconnectEvent
static void UpdateClientNet()
static void ResetNetDiag()
static void deleteDedicatedServer(string ip, int port)
static bool IsBanned(RemoteAddress address)
static bool LostConnection
static Action OnDisconnect
static bool IsServerRunning
static void StartTcpClient(bool connectingToLocalServer)
static void TcpClientLoop(object threadContext)
static void StopListening()
static int portForwardPort
static RemoteClient[] Clients
static int FindNextOpenClientSlot()
static void BroadcastThread()
static int GetSectionX(int x)
static bool portForwardOpen
static string ServerIPText
static void ServerLoopUpdateFrame()
static int GetSectionY(int y)
static string BanFilePath
static ManagedThread broadcastThread
static string ServerPassword
static void ClientLoopFrameUpdate()
static bool clientLoopRunning
static bool StartListening()
static void AddBan(int plr)
static DateTime LastClientUpdateTime
static void OnConnectionAccepted(int clientId)
static void StopBroadCasting()
static void StartServer()
static void ClientUpdateFrame()
static RemoteConnection Connection
static void TcpLocalClientLoop(object threadContext)
static void ClientServerLoopSetup(RemoteAddress address)
static UdpClient BroadcastClient
static void StartBroadCasting()
static bool SetRemoteIP(string remoteAddress)
static void AddCurrentServerToRecentList()
static void Log(object message)
static void LogError(object message)