Example #1
0
 public void AddPlayer(IClientCallback client, String username)
 {
     client.VerifyThatObjectIsNotNull("Parameter 'client' is null.");
     username.VerifyThatStringIsNotNullAndNotEmpty("Parameter 'username' is null or empty.");
     this.waitingForGameSessionQueue.Enqueue(new AddPlayerMessage(client, username));
 }