public void SetRequesteePlayer(int userId)
        {
            if (Player == null)
            {
                // Create a user.
                var mockedPlayer = MockedPlayer.GenerateFullPlayer();

                Player = mockedPlayer;
            }
        }
Example #2
0
 public Player Register(string username, string email, string password)
 {
     return(MockedPlayer.GenerateFullPlayer());
 }
Example #3
0
 public Player Login(string username, string password)
 {
     return(MockedPlayer.GenerateFullPlayer(username));
 }