Exemplo n.º 1
0
        public bool ConnectToGame(string gameId, string playerName)
        {
            var playerInfo = SidiBarraniServerApi?.ConnectToGame(gameId, playerName, this);

            if (playerInfo == null)
            {
                return(false);
            }
            GameId   = gameId;
            PlayerId = playerInfo.PlayerId;
            return(true);
        }