public void Disconnect(Action <bool> onDisconnected, bool forceLogin)
        {
            totalComplete       = 0;
            this.onDisconnected = onDisconnected;

            if (forceLogin)
            {
                targetComplete = 1;
                LoginRegulator.Logout();
            }

            CityConnectionRegulator.Disconnect();
            LotConnectionRegulator.Disconnect();

            if (!forceLogin)
            {
                LoginRegulator.AsyncTransition("AvatarData");
            }
        }
Exemple #2
0
 public void Disconnect(Callback onDisconnected)
 {
     this.onDisconnected = onDisconnected;
     CityConnectionRegulator.Disconnect();
     LotConnectionRegulator.Disconnect();
 }