private NetworkClient ConnectLocalClient()
{
if (LogFilter.logDebug)
{
Debug.Log("NetworkManager StartHost port:" + this.m_NetworkPort);
}
this.m_NetworkAddress = "localhost";
this.client = ClientScene.ConnectLocalServer();
this.RegisterClientMessages(this.client);
if (this.m_MigrationManager != null)
{
this.m_MigrationManager.Initialize(this.client, this.matchInfo);
}
return this.client;
}