public void Reset(int reconnectId)
{
this.m_OldServerConnectionId = -1;
this.m_WaitingToBecomeNewHost = false;
this.m_WaitingReconnectToNewHost = false;
this.m_DisconnectedFromHost = false;
this.m_HostWasShutdown = false;
ClientScene.SetReconnectId(reconnectId, this.m_Peers);
if (NetworkManager.singleton != null)
{
NetworkManager.singleton.SetupMigrationManager(this);
}
}