Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /// <summary>
- /// Lobby response always contains events
- /// </summary>
- public class LobbyResponse : Common.BaseResponse {
- public List<LobbyEvent> events = new List<LobbyEvent>();
- }
- /// <summary>
- /// Game environment describes lobby game
- /// </summary>
- public class GameEnvironment {
- /// <summary>
- /// Game info, convention and rulses
- /// </summary>
- public Common.GameTypeInfo info;
- /// <summary>
- /// Game players and boxes
- /// </summary>
- public Dictionary<string, int> players = new Dictionary<string, int>();
- /// <summary>
- /// Lobby table id
- /// </summary>
- public string tableId = "";
- }
- /// <summary>
- /// Game environment response for find and create requests
- /// </summary>
- public class GameEnvironmentResponse : LobbyResponse {
- public GameEnvironment env = new GameEnvironment();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement