com.xmobitea.changx.gn-unity 2.0.2 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/Editor/GNServerSettingsEditor.cs +42 -322
  2. package/Runtime/Common/GNArray.cs +120 -35
  3. package/Runtime/Common/GNData.cs +19 -6
  4. package/Runtime/Common/GNHashtable.cs +174 -11
  5. package/Runtime/Common/IGNData.cs +11 -2
  6. package/Runtime/Config/GNServerSettings.cs +136 -92
  7. package/Runtime/Constant/Commands.cs +82 -19
  8. package/Runtime/Constant/EnumType/GoogleLoginType.cs +5 -5
  9. package/Runtime/Constant/EnumType/GroupStatus.cs +7 -7
  10. package/Runtime/Constant/EnumType/ItemType.cs +5 -5
  11. package/Runtime/Constant/EnumType/MatchmakingMemberStatus.cs +6 -6
  12. package/Runtime/Constant/EnumType/MatchmakingTicketStatus.cs +2 -2
  13. package/Runtime/Constant/EnumType/OwnerType.cs +3 -2
  14. package/Runtime/Constant/EnumType/PushPlatformType.cs +10 -0
  15. package/Runtime/Constant/EnumType/PushPlatformType.cs.meta +11 -0
  16. package/Runtime/Constant/EnumType/RequestType.cs +1 -0
  17. package/Runtime/Constant/EnumType/StoreReceiveType.cs +13 -0
  18. package/Runtime/Constant/EnumType/StoreReceiveType.cs.meta +11 -0
  19. package/Runtime/Constant/ErrorCode/GNErrorCode.cs +53 -48
  20. package/Runtime/Constant/EventCode.cs +29 -2
  21. package/Runtime/Constant/OperationCode.cs +249 -211
  22. package/Runtime/Constant/ParameterCode/GNParameterCode.cs +610 -466
  23. package/Runtime/Constant/ReturnCode.cs +50 -2
  24. package/Runtime/Entity/DataMember.cs +221 -3
  25. package/Runtime/Entity/GNMetadata.cs +46 -1
  26. package/Runtime/Entity/InvalidMember.cs +24 -5
  27. package/Runtime/Entity/Models/AuthenticateModels.cs +251 -207
  28. package/Runtime/Entity/Models/AuthenticateRequestModels.cs +153 -131
  29. package/Runtime/Entity/Models/AuthenticateResponseModels.cs +61 -51
  30. package/Runtime/Entity/Models/CharacterPlayerModels.cs +985 -849
  31. package/Runtime/Entity/Models/CharacterPlayerRequestModels.cs +957 -885
  32. package/Runtime/Entity/Models/CharacterPlayerResponseModels.cs +165 -150
  33. package/Runtime/Entity/Models/CloudScriptModels.cs +185 -0
  34. package/Runtime/Entity/Models/CloudScriptModels.cs.meta +11 -0
  35. package/Runtime/Entity/Models/CloudScriptRequestModels.cs +134 -0
  36. package/Runtime/Entity/Models/CloudScriptRequestModels.cs.meta +11 -0
  37. package/Runtime/Entity/Models/CloudScriptResponseModels.cs +34 -0
  38. package/Runtime/Entity/Models/CloudScriptResponseModels.cs.meta +11 -0
  39. package/Runtime/Entity/Models/ContentModels.cs +150 -153
  40. package/Runtime/Entity/Models/ContentRequestModels.cs +129 -129
  41. package/Runtime/Entity/Models/ContentResponseModels.cs +24 -24
  42. package/Runtime/Entity/Models/DashboardModels.cs +1684 -1156
  43. package/Runtime/Entity/Models/DashboardRequestModels.cs +220 -147
  44. package/Runtime/Entity/Models/DashboardResponseModels.cs +92 -57
  45. package/Runtime/Entity/Models/GamePlayerModels.cs +1073 -933
  46. package/Runtime/Entity/Models/GamePlayerRequestModels.cs +939 -867
  47. package/Runtime/Entity/Models/GamePlayerResponseModels.cs +162 -147
  48. package/Runtime/Entity/Models/GenericModels.cs +102 -102
  49. package/Runtime/Entity/Models/GroupModels.cs +812 -676
  50. package/Runtime/Entity/Models/GroupRequestModels.cs +741 -669
  51. package/Runtime/Entity/Models/GroupResponseModels.cs +129 -114
  52. package/Runtime/Entity/Models/InventoryModels.cs +667 -558
  53. package/Runtime/Entity/Models/InventoryRequestModels.cs +626 -579
  54. package/Runtime/Entity/Models/InventoryResponseModels.cs +109 -99
  55. package/Runtime/Entity/Models/MasterPlayerModels.cs +1882 -1340
  56. package/Runtime/Entity/Models/MasterPlayerRequestModels.cs +1643 -1253
  57. package/Runtime/Entity/Models/MasterPlayerResponseModels.cs +293 -213
  58. package/Runtime/Entity/Models/MultiplayerModels.cs +293 -223
  59. package/Runtime/Entity/Models/MultiplayerRequestModels.cs +199 -149
  60. package/Runtime/Entity/Models/MultiplayerResponseModels.cs +10 -0
  61. package/Runtime/Entity/Models/StoreInventoryModels.cs +514 -323
  62. package/Runtime/Entity/Models/StoreInventoryRequestModels.cs +236 -165
  63. package/Runtime/Entity/Models/StoreInventoryResponseModels.cs +45 -30
  64. package/Runtime/Entity/OperationEvent.cs +43 -7
  65. package/Runtime/Entity/OperationHelper.cs +18 -2
  66. package/Runtime/Entity/OperationRequest.cs +80 -37
  67. package/Runtime/Entity/OperationResponse.cs +111 -63
  68. package/Runtime/Entity/Request/CustomOperationRequest.cs +53 -2
  69. package/Runtime/Entity/Response/CustomOperationResponse.cs +25 -4
  70. package/Runtime/GNNetwork.cs +333 -21
  71. package/Runtime/GNNetworkApi.cs +25 -13
  72. package/Runtime/GNNetworkAuthenticateApi.cs +531 -98
  73. package/Runtime/GNNetworkCharacterPlayerApi.cs +1587 -762
  74. package/Runtime/GNNetworkCloudScriptApi.cs +181 -0
  75. package/Runtime/GNNetworkCloudScriptApi.cs.meta +11 -0
  76. package/Runtime/GNNetworkContentApi.cs +238 -132
  77. package/Runtime/GNNetworkDashboardApi.cs +278 -117
  78. package/Runtime/GNNetworkGamePlayerApi.cs +1558 -747
  79. package/Runtime/GNNetworkGroupApi.cs +1228 -582
  80. package/Runtime/GNNetworkInventoryApi.cs +1048 -507
  81. package/Runtime/GNNetworkMasterPlayerApi.cs +2586 -1067
  82. package/Runtime/GNNetworkMultiplayerApi.cs +328 -147
  83. package/Runtime/GNNetworkStoreInventoryApi.cs +388 -162
  84. package/Runtime/Helper/CodeHelper.cs +45 -3
  85. package/Runtime/Helper/ConverterService.cs +240 -85
  86. package/Runtime/Logger/GNDebug.cs +46 -3
  87. package/Runtime/Networking/AuthenticateStatus.cs +30 -8
  88. package/Runtime/Networking/Handler/IServerEventHandler.cs +8 -8
  89. package/Runtime/Networking/Handler/OnCharacterPlayerFriendUpdateEventHandler.cs +31 -2
  90. package/Runtime/Networking/Handler/OnCharacterPlayerGroupUpdateEventHandler.cs +24 -3
  91. package/Runtime/Networking/Handler/OnGamePlayerFriendUpdateEventHandler.cs +24 -2
  92. package/Runtime/Networking/Handler/OnGamePlayerGroupUpdateEventHandler.cs +24 -2
  93. package/Runtime/Networking/Handler/OnGroupMemberUpdateEventHandler.cs +21 -2
  94. package/Runtime/Networking/Handler/OnGroupMessageUpdateEventHandler.cs +20 -2
  95. package/Runtime/Networking/Http/HttpPeer.cs +68 -25
  96. package/Runtime/Networking/Http/NetworkingHttpPeerBase.cs +44 -4
  97. package/Runtime/Networking/Http/NetworkingPeerHttpClientRequest.cs +63 -40
  98. package/Runtime/Networking/Http/NetworkingPeerHttpRequest.cs +43 -13
  99. package/Runtime/Networking/Http/NetworkingPeerUnityWebRequest.cs +72 -39
  100. package/Runtime/Networking/IPeer.cs +24 -2
  101. package/Runtime/Networking/NetworkingPeer.cs +64 -10
  102. package/Runtime/Networking/NetworkingPeerAPI.cs +20 -21
  103. package/Runtime/Networking/OperationPending.cs +79 -15
  104. package/Runtime/Networking/PeerBase.cs +86 -23
  105. package/Runtime/Networking/Socket/NetworkingPeerSocketV2.cs +57 -18
  106. package/Runtime/Networking/Socket/NetworkingPeerSocketV3.cs +70 -10
  107. package/Runtime/Networking/Socket/NetworkingSocketPeerBase.cs +165 -23
  108. package/Runtime/Networking/Socket/SocketPeer.cs +63 -12
  109. package/Runtime/Unity/ServiceCoroutine.cs +10 -0
  110. package/Runtime/Unity/ServiceCoroutine.cs.meta +11 -0
  111. package/Runtime/Unity/ServiceUpdate.cs +14 -1
  112. package/package.json +1 -1
@@ -1,151 +1,332 @@
1
1
  namespace XmobiTea.GN
2
2
  {
3
- using System;
4
- using XmobiTea.GN.Common;
5
- using XmobiTea.GN.Entity;
6
- using XmobiTea.GN.Entity.Models;
7
-
8
- public class MultiplayerApi
9
- {
10
- public ServerApi server { get; } = new ServerApi();
11
-
12
- public AdminApi admin { get; } = new AdminApi();
13
-
14
- public void cancelAllMatchmakingTicket(MultiplayerModels.CancelAllMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
15
- {
16
- GNNetwork.sendViaHttp(new MultiplayerRequestModels.CancelAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
17
- }
18
-
19
- public void cancelAllMatchmakingTicket(MultiplayerModels.CancelMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
20
- {
21
- GNNetwork.sendViaHttp(new MultiplayerRequestModels.CancelMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
22
- }
23
-
24
- public void createMatchmakingTicket(MultiplayerModels.CreateMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
25
- {
26
- GNNetwork.sendViaHttp(new MultiplayerRequestModels.CreateMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
27
- }
28
-
29
- public void getMatchmakingTicket(MultiplayerModels.GetMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.GetMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
30
- {
31
- GNNetwork.sendViaHttp(new MultiplayerRequestModels.GetMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
32
- }
33
-
34
- public void getMatch(MultiplayerModels.GetMatchRequestData requestData, Action<MultiplayerResponseModels.GetMatchOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
35
- {
36
- GNNetwork.sendViaHttp(new MultiplayerRequestModels.GetMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
37
- }
38
-
39
- public void getQueueStatistics(MultiplayerModels.GetQueueStatisticsRequestData requestData, Action<MultiplayerResponseModels.GetQueueStatisticsOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
40
- {
41
- GNNetwork.sendViaHttp(new MultiplayerRequestModels.GetQueueStatisticsOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
42
- }
43
-
44
- public void joinMatchmakingTicket(MultiplayerModels.JoinMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
45
- {
46
- GNNetwork.sendViaHttp(new MultiplayerRequestModels.JoinMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
47
- }
48
-
49
- public void listMatchmakingTicketsForPlayer(MultiplayerModels.ListMatchmakingTicketsForPlayerRequestData requestData, Action<MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
50
- {
51
- GNNetwork.sendViaHttp(new MultiplayerRequestModels.ListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
52
- }
53
-
54
-
55
- public class ServerApi
56
- {
57
- public void cancelAllMatchmakingTicket(MultiplayerModels.ServerCancelAllMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
58
- {
59
- GNNetwork.sendViaHttp(new MultiplayerRequestModels.ServerCancelAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
60
- }
61
-
62
- public void cancelAllMatchmakingTicket(MultiplayerModels.ServerCancelMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
63
- {
64
- GNNetwork.sendViaHttp(new MultiplayerRequestModels.ServerCancelMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
65
- }
66
-
67
- public void createMatchmakingTicket(MultiplayerModels.ServerCreateMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
68
- {
69
- GNNetwork.sendViaHttp(new MultiplayerRequestModels.ServerCreateMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
70
- }
71
-
72
- public void getMatchmakingTicket(MultiplayerModels.ServerGetMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.GetMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
73
- {
74
- GNNetwork.sendViaHttp(new MultiplayerRequestModels.ServerGetMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
75
- }
76
-
77
- public void getMatch(MultiplayerModels.ServerGetMatchRequestData requestData, Action<MultiplayerResponseModels.GetMatchOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
78
- {
79
- GNNetwork.sendViaHttp(new MultiplayerRequestModels.ServerGetMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
80
- }
81
-
82
- public void getQueueStatistics(MultiplayerModels.ServerGetQueueStatisticsRequestData requestData, Action<MultiplayerResponseModels.GetQueueStatisticsOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
83
- {
84
- GNNetwork.sendViaHttp(new MultiplayerRequestModels.ServerGetQueueStatisticsOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
85
- }
86
-
87
- public void joinMatchmakingTicket(MultiplayerModels.ServerJoinMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
88
- {
89
- GNNetwork.sendViaHttp(new MultiplayerRequestModels.ServerJoinMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
90
- }
91
-
92
- public void listMatchmakingTicketsForPlayer(MultiplayerModels.ServerListMatchmakingTicketsForPlayerRequestData requestData, Action<MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
93
- {
94
- GNNetwork.sendViaHttp(new MultiplayerRequestModels.ServerListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
95
- }
96
-
97
- }
98
-
99
- public class AdminApi
100
- {
101
- public void cancelAllMatchmakingTicket(MultiplayerModels.AdminCancelAllMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
102
- {
103
- GNNetwork.sendViaHttp(new MultiplayerRequestModels.AdminCancelAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
104
- }
105
-
106
- public void cancelAllMatchmakingTicket(MultiplayerModels.AdminCancelMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
107
- {
108
- GNNetwork.sendViaHttp(new MultiplayerRequestModels.AdminCancelMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
109
- }
110
-
111
- public void createMatchmakingTicket(MultiplayerModels.AdminCreateMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
112
- {
113
- GNNetwork.sendViaHttp(new MultiplayerRequestModels.AdminCreateMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
114
- }
115
-
116
- public void getMatchmakingTicket(MultiplayerModels.AdminGetMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.GetMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
117
- {
118
- GNNetwork.sendViaHttp(new MultiplayerRequestModels.AdminGetMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
119
- }
120
-
121
- public void getMatch(MultiplayerModels.AdminGetMatchRequestData requestData, Action<MultiplayerResponseModels.GetMatchOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
122
- {
123
- GNNetwork.sendViaHttp(new MultiplayerRequestModels.AdminGetMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
124
- }
125
-
126
- public void getQueueStatistics(MultiplayerModels.AdminGetQueueStatisticsRequestData requestData, Action<MultiplayerResponseModels.GetQueueStatisticsOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
127
- {
128
- GNNetwork.sendViaHttp(new MultiplayerRequestModels.AdminGetQueueStatisticsOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
129
- }
130
-
131
- public void joinMatchmakingTicket(MultiplayerModels.AdminJoinMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
132
- {
133
- GNNetwork.sendViaHttp(new MultiplayerRequestModels.AdminJoinMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
134
- }
135
-
136
- public void listMatchmakingTicketsForPlayer(MultiplayerModels.AdminListMatchmakingTicketsForPlayerRequestData requestData, Action<MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
137
- {
138
- GNNetwork.sendViaHttp(new MultiplayerRequestModels.AdminListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
139
- }
140
-
141
- }
142
-
143
- }
144
-
145
- public static partial class GNNetwork
146
- {
147
-
148
- public static MultiplayerApi multiplayer { get; }
149
- }
3
+ using System;
4
+ using System.Threading.Tasks;
5
+ using XmobiTea.GN.Common;
6
+ using XmobiTea.GN.Entity;
7
+ using XmobiTea.GN.Entity.Models;
8
+
9
+ public class MultiplayerApi
10
+ {
11
+ public ServerApi server { get; } = new ServerApi();
12
+
13
+ public AdminApi admin { get; } = new AdminApi();
14
+
15
+ public void cancelAllMatchmakingTicket(MultiplayerModels.CancelAllMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
16
+ {
17
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.CancelAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
18
+ }
19
+
20
+ public Task<MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse> cancelAllMatchmakingTicketAsync(MultiplayerModels.CancelAllMatchmakingTicketRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
21
+ {
22
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.CancelAllMatchmakingTicketOperationRequest, MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse>(new MultiplayerRequestModels.CancelAllMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
23
+ }
24
+
25
+ public void cancelMatchmakingTicket(MultiplayerModels.CancelMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
26
+ {
27
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.CancelMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
28
+ }
29
+
30
+ public Task<MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse> cancelMatchmakingTicketAsync(MultiplayerModels.CancelMatchmakingTicketRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
31
+ {
32
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.CancelMatchmakingTicketOperationRequest, MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse>(new MultiplayerRequestModels.CancelMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
33
+ }
34
+
35
+ public void createMatchmakingTicket(MultiplayerModels.CreateMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
36
+ {
37
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.CreateMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
38
+ }
39
+
40
+ public Task<MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse> createMatchmakingTicketAsync(MultiplayerModels.CreateMatchmakingTicketRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
41
+ {
42
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.CreateMatchmakingTicketOperationRequest, MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse>(new MultiplayerRequestModels.CreateMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
43
+ }
44
+
45
+ public void getMatchmakingTicket(MultiplayerModels.GetMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.GetMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
46
+ {
47
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.GetMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
48
+ }
49
+
50
+ public Task<MultiplayerResponseModels.GetMatchmakingTicketOperationResponse> getMatchmakingTicketAsync(MultiplayerModels.GetMatchmakingTicketRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
51
+ {
52
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.GetMatchmakingTicketOperationRequest, MultiplayerResponseModels.GetMatchmakingTicketOperationResponse>(new MultiplayerRequestModels.GetMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
53
+ }
54
+
55
+ public void getMatch(MultiplayerModels.GetMatchRequestData requestData, Action<MultiplayerResponseModels.GetMatchOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
56
+ {
57
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.GetMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
58
+ }
59
+
60
+ public Task<MultiplayerResponseModels.GetMatchOperationResponse> getMatchAsync(MultiplayerModels.GetMatchRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
61
+ {
62
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.GetMatchOperationRequest, MultiplayerResponseModels.GetMatchOperationResponse>(new MultiplayerRequestModels.GetMatchOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
63
+ }
64
+
65
+ public void getQueueStatistics(MultiplayerModels.GetQueueStatisticsRequestData requestData, Action<MultiplayerResponseModels.GetQueueStatisticsOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
66
+ {
67
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.GetQueueStatisticsOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
68
+ }
69
+
70
+ public Task<MultiplayerResponseModels.GetQueueStatisticsOperationResponse> getQueueStatisticsAsync(MultiplayerModels.GetQueueStatisticsRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
71
+ {
72
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.GetQueueStatisticsOperationRequest, MultiplayerResponseModels.GetQueueStatisticsOperationResponse>(new MultiplayerRequestModels.GetQueueStatisticsOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
73
+ }
74
+
75
+ public void joinMatchmakingTicket(MultiplayerModels.JoinMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
76
+ {
77
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.JoinMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
78
+ }
79
+
80
+ public Task<MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse> joinMatchmakingTicketAsync(MultiplayerModels.JoinMatchmakingTicketRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
81
+ {
82
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.JoinMatchmakingTicketOperationRequest, MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse>(new MultiplayerRequestModels.JoinMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
83
+ }
84
+
85
+ public void listMatchmakingTicketsForPlayer(MultiplayerModels.ListMatchmakingTicketsForPlayerRequestData requestData, Action<MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
86
+ {
87
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.ListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
88
+ }
89
+
90
+ public Task<MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse> listMatchmakingTicketsForPlayerAsync(MultiplayerModels.ListMatchmakingTicketsForPlayerRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
91
+ {
92
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.ListMatchmakingTicketsForPlayerOperationRequest, MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse>(new MultiplayerRequestModels.ListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
93
+ }
94
+
95
+ public void getAllMatch(MultiplayerModels.GetAllMatchRequestData requestData, Action<MultiplayerResponseModels.GetAllMatchOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
96
+ {
97
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.GetAllMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
98
+ }
99
+
100
+ public Task<MultiplayerResponseModels.GetAllMatchOperationResponse> getAllMatchAsync(MultiplayerModels.GetAllMatchRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
101
+ {
102
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.GetAllMatchOperationRequest, MultiplayerResponseModels.GetAllMatchOperationResponse>(new MultiplayerRequestModels.GetAllMatchOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
103
+ }
104
+
105
+ public void getAllMatchmakingTicket(MultiplayerModels.GetAllMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
106
+ {
107
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.GetAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
108
+ }
109
+
110
+ public Task<MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse> getAllMatchmakingTicketAsync(MultiplayerModels.GetAllMatchmakingTicketRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
111
+ {
112
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.GetAllMatchmakingTicketOperationRequest, MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse>(new MultiplayerRequestModels.GetAllMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
113
+ }
114
+
115
+
116
+ public class ServerApi
117
+ {
118
+ public void cancelAllMatchmakingTicket(MultiplayerModels.ServerCancelAllMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
119
+ {
120
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.ServerCancelAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
121
+ }
122
+
123
+ public Task<MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse> cancelAllMatchmakingTicketAsync(MultiplayerModels.ServerCancelAllMatchmakingTicketRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
124
+ {
125
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.ServerCancelAllMatchmakingTicketOperationRequest, MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse>(new MultiplayerRequestModels.ServerCancelAllMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
126
+ }
127
+
128
+ public void cancelMatchmakingTicket(MultiplayerModels.ServerCancelMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
129
+ {
130
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.ServerCancelMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
131
+ }
132
+
133
+ public Task<MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse> cancelMatchmakingTicketAsync(MultiplayerModels.ServerCancelMatchmakingTicketRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
134
+ {
135
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.ServerCancelMatchmakingTicketOperationRequest, MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse>(new MultiplayerRequestModels.ServerCancelMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
136
+ }
137
+
138
+ public void createMatchmakingTicket(MultiplayerModels.ServerCreateMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
139
+ {
140
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.ServerCreateMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
141
+ }
142
+
143
+ public Task<MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse> createMatchmakingTicketAsync(MultiplayerModels.ServerCreateMatchmakingTicketRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
144
+ {
145
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.ServerCreateMatchmakingTicketOperationRequest, MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse>(new MultiplayerRequestModels.ServerCreateMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
146
+ }
147
+
148
+ public void getMatchmakingTicket(MultiplayerModels.ServerGetMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.GetMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
149
+ {
150
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.ServerGetMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
151
+ }
152
+
153
+ public Task<MultiplayerResponseModels.GetMatchmakingTicketOperationResponse> getMatchmakingTicketAsync(MultiplayerModels.ServerGetMatchmakingTicketRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
154
+ {
155
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.ServerGetMatchmakingTicketOperationRequest, MultiplayerResponseModels.GetMatchmakingTicketOperationResponse>(new MultiplayerRequestModels.ServerGetMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
156
+ }
157
+
158
+ public void getMatch(MultiplayerModels.ServerGetMatchRequestData requestData, Action<MultiplayerResponseModels.GetMatchOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
159
+ {
160
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.ServerGetMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
161
+ }
162
+
163
+ public Task<MultiplayerResponseModels.GetMatchOperationResponse> getMatchAsync(MultiplayerModels.ServerGetMatchRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
164
+ {
165
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.ServerGetMatchOperationRequest, MultiplayerResponseModels.GetMatchOperationResponse>(new MultiplayerRequestModels.ServerGetMatchOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
166
+ }
167
+
168
+ public void getQueueStatistics(MultiplayerModels.ServerGetQueueStatisticsRequestData requestData, Action<MultiplayerResponseModels.GetQueueStatisticsOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
169
+ {
170
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.ServerGetQueueStatisticsOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
171
+ }
172
+
173
+ public Task<MultiplayerResponseModels.GetQueueStatisticsOperationResponse> getQueueStatisticsAsync(MultiplayerModels.ServerGetQueueStatisticsRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
174
+ {
175
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.ServerGetQueueStatisticsOperationRequest, MultiplayerResponseModels.GetQueueStatisticsOperationResponse>(new MultiplayerRequestModels.ServerGetQueueStatisticsOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
176
+ }
177
+
178
+ public void joinMatchmakingTicket(MultiplayerModels.ServerJoinMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
179
+ {
180
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.ServerJoinMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
181
+ }
182
+
183
+ public Task<MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse> joinMatchmakingTicketAsync(MultiplayerModels.ServerJoinMatchmakingTicketRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
184
+ {
185
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.ServerJoinMatchmakingTicketOperationRequest, MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse>(new MultiplayerRequestModels.ServerJoinMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
186
+ }
187
+
188
+ public void listMatchmakingTicketsForPlayer(MultiplayerModels.ServerListMatchmakingTicketsForPlayerRequestData requestData, Action<MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
189
+ {
190
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.ServerListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
191
+ }
192
+
193
+ public Task<MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse> listMatchmakingTicketsForPlayerAsync(MultiplayerModels.ServerListMatchmakingTicketsForPlayerRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
194
+ {
195
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.ServerListMatchmakingTicketsForPlayerOperationRequest, MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse>(new MultiplayerRequestModels.ServerListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
196
+ }
197
+
198
+ public void getAllMatch(MultiplayerModels.ServerGetAllMatchRequestData requestData, Action<MultiplayerResponseModels.GetAllMatchOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
199
+ {
200
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.ServerGetAllMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
201
+ }
202
+
203
+ public Task<MultiplayerResponseModels.GetAllMatchOperationResponse> getAllMatchAsync(MultiplayerModels.ServerGetAllMatchRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
204
+ {
205
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.ServerGetAllMatchOperationRequest, MultiplayerResponseModels.GetAllMatchOperationResponse>(new MultiplayerRequestModels.ServerGetAllMatchOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
206
+ }
207
+
208
+ public void getAllMatchmakingTicket(MultiplayerModels.ServerGetAllMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
209
+ {
210
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.ServerGetAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
211
+ }
212
+
213
+ public Task<MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse> getAllMatchmakingTicketAsync(MultiplayerModels.ServerGetAllMatchmakingTicketRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
214
+ {
215
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.ServerGetAllMatchmakingTicketOperationRequest, MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse>(new MultiplayerRequestModels.ServerGetAllMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
216
+ }
217
+
218
+ }
219
+
220
+ public class AdminApi
221
+ {
222
+ public void cancelAllMatchmakingTicket(MultiplayerModels.AdminCancelAllMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
223
+ {
224
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.AdminCancelAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
225
+ }
226
+
227
+ public Task<MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse> cancelAllMatchmakingTicketAsync(MultiplayerModels.AdminCancelAllMatchmakingTicketRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
228
+ {
229
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.AdminCancelAllMatchmakingTicketOperationRequest, MultiplayerResponseModels.CancelAllMatchmakingTicketOperationResponse>(new MultiplayerRequestModels.AdminCancelAllMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
230
+ }
231
+
232
+ public void cancelMatchmakingTicket(MultiplayerModels.AdminCancelMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
233
+ {
234
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.AdminCancelMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
235
+ }
236
+
237
+ public Task<MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse> cancelMatchmakingTicketAsync(MultiplayerModels.AdminCancelMatchmakingTicketRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
238
+ {
239
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.AdminCancelMatchmakingTicketOperationRequest, MultiplayerResponseModels.CancelMatchmakingTicketOperationResponse>(new MultiplayerRequestModels.AdminCancelMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
240
+ }
241
+
242
+ public void createMatchmakingTicket(MultiplayerModels.AdminCreateMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
243
+ {
244
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.AdminCreateMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
245
+ }
246
+
247
+ public Task<MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse> createMatchmakingTicketAsync(MultiplayerModels.AdminCreateMatchmakingTicketRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
248
+ {
249
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.AdminCreateMatchmakingTicketOperationRequest, MultiplayerResponseModels.CreateMatchmakingTicketOperationResponse>(new MultiplayerRequestModels.AdminCreateMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
250
+ }
251
+
252
+ public void getMatchmakingTicket(MultiplayerModels.AdminGetMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.GetMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
253
+ {
254
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.AdminGetMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
255
+ }
256
+
257
+ public Task<MultiplayerResponseModels.GetMatchmakingTicketOperationResponse> getMatchmakingTicketAsync(MultiplayerModels.AdminGetMatchmakingTicketRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
258
+ {
259
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.AdminGetMatchmakingTicketOperationRequest, MultiplayerResponseModels.GetMatchmakingTicketOperationResponse>(new MultiplayerRequestModels.AdminGetMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
260
+ }
261
+
262
+ public void getMatch(MultiplayerModels.AdminGetMatchRequestData requestData, Action<MultiplayerResponseModels.GetMatchOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
263
+ {
264
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.AdminGetMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
265
+ }
266
+
267
+ public Task<MultiplayerResponseModels.GetMatchOperationResponse> getMatchAsync(MultiplayerModels.AdminGetMatchRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
268
+ {
269
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.AdminGetMatchOperationRequest, MultiplayerResponseModels.GetMatchOperationResponse>(new MultiplayerRequestModels.AdminGetMatchOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
270
+ }
271
+
272
+ public void getQueueStatistics(MultiplayerModels.AdminGetQueueStatisticsRequestData requestData, Action<MultiplayerResponseModels.GetQueueStatisticsOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
273
+ {
274
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.AdminGetQueueStatisticsOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
275
+ }
276
+
277
+ public Task<MultiplayerResponseModels.GetQueueStatisticsOperationResponse> getQueueStatisticsAsync(MultiplayerModels.AdminGetQueueStatisticsRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
278
+ {
279
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.AdminGetQueueStatisticsOperationRequest, MultiplayerResponseModels.GetQueueStatisticsOperationResponse>(new MultiplayerRequestModels.AdminGetQueueStatisticsOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
280
+ }
281
+
282
+ public void joinMatchmakingTicket(MultiplayerModels.AdminJoinMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
283
+ {
284
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.AdminJoinMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
285
+ }
286
+
287
+ public Task<MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse> joinMatchmakingTicketAsync(MultiplayerModels.AdminJoinMatchmakingTicketRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
288
+ {
289
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.AdminJoinMatchmakingTicketOperationRequest, MultiplayerResponseModels.JoinMatchmakingTicketOperationResponse>(new MultiplayerRequestModels.AdminJoinMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
290
+ }
291
+
292
+ public void listMatchmakingTicketsForPlayer(MultiplayerModels.AdminListMatchmakingTicketsForPlayerRequestData requestData, Action<MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
293
+ {
294
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.AdminListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
295
+ }
296
+
297
+ public Task<MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse> listMatchmakingTicketsForPlayerAsync(MultiplayerModels.AdminListMatchmakingTicketsForPlayerRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
298
+ {
299
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.AdminListMatchmakingTicketsForPlayerOperationRequest, MultiplayerResponseModels.ListMatchmakingTicketsForPlayerOperationResponse>(new MultiplayerRequestModels.AdminListMatchmakingTicketsForPlayerOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
300
+ }
301
+
302
+ public void getAllMatch(MultiplayerModels.AdminGetAllMatchRequestData requestData, Action<MultiplayerResponseModels.GetAllMatchOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
303
+ {
304
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.AdminGetAllMatchOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
305
+ }
306
+
307
+ public Task<MultiplayerResponseModels.GetAllMatchOperationResponse> getAllMatchAsync(MultiplayerModels.AdminGetAllMatchRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
308
+ {
309
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.AdminGetAllMatchOperationRequest, MultiplayerResponseModels.GetAllMatchOperationResponse>(new MultiplayerRequestModels.AdminGetAllMatchOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
310
+ }
311
+
312
+ public void getAllMatchmakingTicket(MultiplayerModels.AdminGetAllMatchmakingTicketRequestData requestData, Action<MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
313
+ {
314
+ GNNetwork.sendViaHttp(new MultiplayerRequestModels.AdminGetAllMatchmakingTicketOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
315
+ }
316
+
317
+ public Task<MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse> getAllMatchmakingTicketAsync(MultiplayerModels.AdminGetAllMatchmakingTicketRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
318
+ {
319
+ return GNNetwork.sendViaHttpAsync<MultiplayerRequestModels.AdminGetAllMatchmakingTicketOperationRequest, MultiplayerResponseModels.GetAllMatchmakingTicketOperationResponse>(new MultiplayerRequestModels.AdminGetAllMatchmakingTicketOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
320
+ }
321
+
322
+ }
323
+
324
+ }
325
+
326
+ public static partial class GNNetwork
327
+ {
328
+
329
+ public static MultiplayerApi multiplayer { get; }
330
+ }
150
331
 
151
332
  }