Пример #1
0
 protected virtual DebugGameResponse GetDebugGameResponse(MasterClientPeer peer, GameState gameState)
 {
     return(new DebugGameResponse
     {
         Address = gameState.GetServerAddress(peer),
         Info = gameState.ToString()
     });
 }
Пример #2
0
 protected virtual DebugGameResponse GetDebugGameResponse(MasterClientPeer peer, GameState gameState)
 {
     return new DebugGameResponse
         {
             Address = gameState.GetServerAddress(peer), 
             Info = gameState.ToString()
         };
 }
Пример #3
0
 protected virtual object GetJoinRandomGameResponse(MasterClientPeer peer, GameState gameState)
 {
     return(new JoinRandomGameResponse {
         GameId = gameState.Id, Address = gameState.GetServerAddress(peer)
     });
 }
Пример #4
0
 protected virtual object GetJoinRandomGameResponse(MasterClientPeer peer, GameState gameState)
 {
     return new JoinRandomGameResponse { GameId = gameState.Id, Address = gameState.GetServerAddress(peer) };
 }