Exemplo n.º 1
0
 protected virtual DebugGameResponse GetDebugGameResponse(MasterClientPeer peer, GameState gameState)
 {
     return(new DebugGameResponse
     {
         Address = gameState.GetServerAddress(peer),
         Info = gameState.ToString()
     });
 }
Exemplo n.º 2
0
 protected virtual DebugGameResponse GetDebugGameResponse(MasterClientPeer peer, GameState gameState)
 {
     return new DebugGameResponse
         {
             Address = gameState.GetServerAddress(peer), 
             Info = gameState.ToString()
         };
 }
Exemplo n.º 3
0
 protected virtual object GetJoinRandomGameResponse(MasterClientPeer peer, GameState gameState)
 {
     return(new JoinRandomGameResponse {
         GameId = gameState.Id, Address = gameState.GetServerAddress(peer)
     });
 }
Exemplo n.º 4
0
 protected virtual object GetJoinRandomGameResponse(MasterClientPeer peer, GameState gameState)
 {
     return new JoinRandomGameResponse { GameId = gameState.Id, Address = gameState.GetServerAddress(peer) };
 }