Esempio n. 1
0
        internal void Reset()
        {
            if (state != null && state.Chatroom != Guid.Empty)
            {
                rooms.LeaveRoom(state.Chatroom);
            }

            state = new CustomState();
            OnStateChanged();
        }
Esempio n. 2
0
        private void Reset()
        {
            if (state != null && state.Chatroom != Guid.Empty)
            {
                rooms.LeaveRoom(state.Chatroom);
            }

            state = new PostGameState {
                Hextech = new HextechInventory()
            };
        }
Esempio n. 3
0
        internal void Reset()
        {
            if (state != null && state.Chatroom != Guid.Empty)
            {
                rooms.LeaveRoom(state.Chatroom);
            }

            state = new Model.ChampSelectState();
            OnStateChanged();

            timerUpdated     = default(DateTime);
            potentialTraders = null;
            selections       = null;
            trades.Clear();
        }