示例#1
0
 public bool JoinGame(string playerName, string clientUri)
 {
     // If I'm the Master client, respond to the call
     // Otherwise hand the call off to my RPC client to make
     // remotely to the Master client
     if (IsMasterClient() == true)
     {
         AddOpponent(playerName, clientUri);
         return(true);
     }
     else
     {
         return(comCli.JoinGame());
     }
 }