Example #1
0
    private void DoJoinTable()
    {
        Debug.Log("Joining table...");

        try
        {
            (clientInfo.TableID, game.PlayerRealPosition) = _pokerClient.JoinTable(clientInfo);
        }
        catch (RpcException ex)
        {
            _mRPCErrorEvent.Invoke(ex.ToString());
            return;
        }

        Debug.Log("Table ID: " + clientInfo.TableID);
        Debug.Log("Player Position: " + game.PlayerRealPosition);

        // Kick off background refresh thread for Game
        StartInfoStream();
    }