Пример #1
0
        public void ChangeDeck(UserToken token, SocketModel message)
        {
            DuelMesDTO dto = message.getMessage <DuelMesDTO>();

            int       id   = cache.getId(token);
            MatchRoom room = matchRoomMap[userMatch[id]];

            room.SetPlayerDeck(dto.deck);
        }