Exemplo n.º 1
0
        public PlayerViewModel ChangePlayerType(Guid serverId, Engine.Core.Models.PlayerType newType)
        {
            var updatedPlayer = _pokerEngine.ChangePlayerType(serverId, GetPlayerPrivateId(), newType);

            return(updatedPlayer.Map(includePrivateId: true));
        }
Exemplo n.º 2
0
        public PlayerViewModel Join(Guid id, string playerName, Engine.Core.Models.PlayerType type)
        {
            var joinedPlayer = _pokerEngine.JoinRoom(id, playerName, GetPlayerPrivateId(), type);

            return(joinedPlayer.Map(includePrivateId: true));
        }