Advertisement
Guest User

Untitled

a guest
Mar 24th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.87 KB | None | 0 0
  1.         /// <summary>
  2.         /// Lobby response always contains events
  3.         /// </summary>
  4.         public class LobbyResponse  : Common.BaseResponse {
  5.             public List<LobbyEvent> events = new List<LobbyEvent>();
  6.         }
  7.  
  8.         /// <summary>
  9.         /// Game environment describes lobby game
  10.         /// </summary>
  11.         public class GameEnvironment {
  12.             /// <summary>
  13.             /// Game info, convention and rulses
  14.             /// </summary>
  15.             public Common.GameTypeInfo info;
  16.             /// <summary>
  17.             /// Game players and boxes
  18.             /// </summary>
  19.             public Dictionary<string, int> players = new Dictionary<string, int>();
  20.             /// <summary>
  21.             /// Lobby table id
  22.             /// </summary>
  23.             public string tableId = "";
  24.         }
  25.  
  26.         /// <summary>
  27.         /// Game environment response for find and create requests
  28.         /// </summary>
  29.         public class GameEnvironmentResponse : LobbyResponse {
  30.             public GameEnvironment env = new GameEnvironment();
  31.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement