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.
- package/Editor/GNServerSettingsEditor.cs +42 -322
- package/Runtime/Common/GNArray.cs +120 -35
- package/Runtime/Common/GNData.cs +19 -6
- package/Runtime/Common/GNHashtable.cs +174 -11
- package/Runtime/Common/IGNData.cs +11 -2
- package/Runtime/Config/GNServerSettings.cs +136 -92
- package/Runtime/Constant/Commands.cs +82 -19
- package/Runtime/Constant/EnumType/GoogleLoginType.cs +5 -5
- package/Runtime/Constant/EnumType/GroupStatus.cs +7 -7
- package/Runtime/Constant/EnumType/ItemType.cs +5 -5
- package/Runtime/Constant/EnumType/MatchmakingMemberStatus.cs +6 -6
- package/Runtime/Constant/EnumType/MatchmakingTicketStatus.cs +2 -2
- package/Runtime/Constant/EnumType/OwnerType.cs +3 -2
- package/Runtime/Constant/EnumType/PushPlatformType.cs +10 -0
- package/Runtime/Constant/EnumType/PushPlatformType.cs.meta +11 -0
- package/Runtime/Constant/EnumType/RequestType.cs +1 -0
- package/Runtime/Constant/EnumType/StoreReceiveType.cs +13 -0
- package/Runtime/Constant/EnumType/StoreReceiveType.cs.meta +11 -0
- package/Runtime/Constant/ErrorCode/GNErrorCode.cs +53 -48
- package/Runtime/Constant/EventCode.cs +29 -2
- package/Runtime/Constant/OperationCode.cs +249 -211
- package/Runtime/Constant/ParameterCode/GNParameterCode.cs +610 -466
- package/Runtime/Constant/ReturnCode.cs +50 -2
- package/Runtime/Entity/DataMember.cs +221 -3
- package/Runtime/Entity/GNMetadata.cs +46 -1
- package/Runtime/Entity/InvalidMember.cs +24 -5
- package/Runtime/Entity/Models/AuthenticateModels.cs +251 -207
- package/Runtime/Entity/Models/AuthenticateRequestModels.cs +153 -131
- package/Runtime/Entity/Models/AuthenticateResponseModels.cs +61 -51
- package/Runtime/Entity/Models/CharacterPlayerModels.cs +985 -849
- package/Runtime/Entity/Models/CharacterPlayerRequestModels.cs +957 -885
- package/Runtime/Entity/Models/CharacterPlayerResponseModels.cs +165 -150
- package/Runtime/Entity/Models/CloudScriptModels.cs +185 -0
- package/Runtime/Entity/Models/CloudScriptModels.cs.meta +11 -0
- package/Runtime/Entity/Models/CloudScriptRequestModels.cs +134 -0
- package/Runtime/Entity/Models/CloudScriptRequestModels.cs.meta +11 -0
- package/Runtime/Entity/Models/CloudScriptResponseModels.cs +34 -0
- package/Runtime/Entity/Models/CloudScriptResponseModels.cs.meta +11 -0
- package/Runtime/Entity/Models/ContentModels.cs +150 -153
- package/Runtime/Entity/Models/ContentRequestModels.cs +129 -129
- package/Runtime/Entity/Models/ContentResponseModels.cs +24 -24
- package/Runtime/Entity/Models/DashboardModels.cs +1684 -1156
- package/Runtime/Entity/Models/DashboardRequestModels.cs +220 -147
- package/Runtime/Entity/Models/DashboardResponseModels.cs +92 -57
- package/Runtime/Entity/Models/GamePlayerModels.cs +1073 -933
- package/Runtime/Entity/Models/GamePlayerRequestModels.cs +939 -867
- package/Runtime/Entity/Models/GamePlayerResponseModels.cs +162 -147
- package/Runtime/Entity/Models/GenericModels.cs +102 -102
- package/Runtime/Entity/Models/GroupModels.cs +812 -676
- package/Runtime/Entity/Models/GroupRequestModels.cs +741 -669
- package/Runtime/Entity/Models/GroupResponseModels.cs +129 -114
- package/Runtime/Entity/Models/InventoryModels.cs +667 -558
- package/Runtime/Entity/Models/InventoryRequestModels.cs +626 -579
- package/Runtime/Entity/Models/InventoryResponseModels.cs +109 -99
- package/Runtime/Entity/Models/MasterPlayerModels.cs +1882 -1340
- package/Runtime/Entity/Models/MasterPlayerRequestModels.cs +1643 -1253
- package/Runtime/Entity/Models/MasterPlayerResponseModels.cs +293 -213
- package/Runtime/Entity/Models/MultiplayerModels.cs +293 -223
- package/Runtime/Entity/Models/MultiplayerRequestModels.cs +199 -149
- package/Runtime/Entity/Models/MultiplayerResponseModels.cs +10 -0
- package/Runtime/Entity/Models/StoreInventoryModels.cs +514 -323
- package/Runtime/Entity/Models/StoreInventoryRequestModels.cs +236 -165
- package/Runtime/Entity/Models/StoreInventoryResponseModels.cs +45 -30
- package/Runtime/Entity/OperationEvent.cs +43 -7
- package/Runtime/Entity/OperationHelper.cs +18 -2
- package/Runtime/Entity/OperationRequest.cs +80 -37
- package/Runtime/Entity/OperationResponse.cs +111 -63
- package/Runtime/Entity/Request/CustomOperationRequest.cs +53 -2
- package/Runtime/Entity/Response/CustomOperationResponse.cs +25 -4
- package/Runtime/GNNetwork.cs +333 -21
- package/Runtime/GNNetworkApi.cs +25 -13
- package/Runtime/GNNetworkAuthenticateApi.cs +531 -98
- package/Runtime/GNNetworkCharacterPlayerApi.cs +1587 -762
- package/Runtime/GNNetworkCloudScriptApi.cs +181 -0
- package/Runtime/GNNetworkCloudScriptApi.cs.meta +11 -0
- package/Runtime/GNNetworkContentApi.cs +238 -132
- package/Runtime/GNNetworkDashboardApi.cs +278 -117
- package/Runtime/GNNetworkGamePlayerApi.cs +1558 -747
- package/Runtime/GNNetworkGroupApi.cs +1228 -582
- package/Runtime/GNNetworkInventoryApi.cs +1048 -507
- package/Runtime/GNNetworkMasterPlayerApi.cs +2586 -1067
- package/Runtime/GNNetworkMultiplayerApi.cs +328 -147
- package/Runtime/GNNetworkStoreInventoryApi.cs +388 -162
- package/Runtime/Helper/CodeHelper.cs +45 -3
- package/Runtime/Helper/ConverterService.cs +240 -85
- package/Runtime/Logger/GNDebug.cs +46 -3
- package/Runtime/Networking/AuthenticateStatus.cs +30 -8
- package/Runtime/Networking/Handler/IServerEventHandler.cs +8 -8
- package/Runtime/Networking/Handler/OnCharacterPlayerFriendUpdateEventHandler.cs +31 -2
- package/Runtime/Networking/Handler/OnCharacterPlayerGroupUpdateEventHandler.cs +24 -3
- package/Runtime/Networking/Handler/OnGamePlayerFriendUpdateEventHandler.cs +24 -2
- package/Runtime/Networking/Handler/OnGamePlayerGroupUpdateEventHandler.cs +24 -2
- package/Runtime/Networking/Handler/OnGroupMemberUpdateEventHandler.cs +21 -2
- package/Runtime/Networking/Handler/OnGroupMessageUpdateEventHandler.cs +20 -2
- package/Runtime/Networking/Http/HttpPeer.cs +68 -25
- package/Runtime/Networking/Http/NetworkingHttpPeerBase.cs +44 -4
- package/Runtime/Networking/Http/NetworkingPeerHttpClientRequest.cs +63 -40
- package/Runtime/Networking/Http/NetworkingPeerHttpRequest.cs +43 -13
- package/Runtime/Networking/Http/NetworkingPeerUnityWebRequest.cs +72 -39
- package/Runtime/Networking/IPeer.cs +24 -2
- package/Runtime/Networking/NetworkingPeer.cs +64 -10
- package/Runtime/Networking/NetworkingPeerAPI.cs +20 -21
- package/Runtime/Networking/OperationPending.cs +79 -15
- package/Runtime/Networking/PeerBase.cs +86 -23
- package/Runtime/Networking/Socket/NetworkingPeerSocketV2.cs +57 -18
- package/Runtime/Networking/Socket/NetworkingPeerSocketV3.cs +70 -10
- package/Runtime/Networking/Socket/NetworkingSocketPeerBase.cs +165 -23
- package/Runtime/Networking/Socket/SocketPeer.cs +63 -12
- package/Runtime/Unity/ServiceCoroutine.cs +10 -0
- package/Runtime/Unity/ServiceCoroutine.cs.meta +11 -0
- package/Runtime/Unity/ServiceUpdate.cs +14 -1
- package/package.json +1 -1
|
@@ -3,955 +3,1091 @@
|
|
|
3
3
|
using System.Collections.Generic;
|
|
4
4
|
using XmobiTea.GN.Constant;
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
public partial class GroupModels
|
|
7
|
+
{
|
|
8
|
+
public class AddMemberRequestData
|
|
9
|
+
{
|
|
10
|
+
[StringDataMember(code = GNParameterCode.UserId, minLength = 10, maxLength = 11, mustNonNull = true)]
|
|
11
|
+
public string userId;
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
14
|
+
public string groupId;
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
}
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
public class ServerAddMemberRequestData : AddMemberRequestData
|
|
19
|
+
{
|
|
20
|
+
}
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
public class AdminAddMemberRequestData : ServerAddMemberRequestData
|
|
23
|
+
{
|
|
24
|
+
}
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
public class AddSegmentRequestData
|
|
27
|
+
{
|
|
28
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
29
|
+
public string groupId;
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
[StringDataMember(code = GNParameterCode.Value, minLength = 6, maxLength = 32, mustNonNull = true)]
|
|
32
|
+
public string value;
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
}
|
|
35
35
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
public class ServerAddSegmentRequestData : AddSegmentRequestData
|
|
37
|
+
{
|
|
38
|
+
}
|
|
39
39
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
public class AdminAddSegmentRequestData : ServerAddSegmentRequestData
|
|
41
|
+
{
|
|
42
|
+
}
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
public class GetAvatarRequestData
|
|
45
|
+
{
|
|
46
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
47
|
+
public string groupId;
|
|
48
48
|
|
|
49
|
-
|
|
49
|
+
}
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
public class ServerGetAvatarRequestData : GetAvatarRequestData
|
|
52
|
+
{
|
|
53
|
+
}
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
public class AdminGetAvatarRequestData : ServerGetAvatarRequestData
|
|
56
|
+
{
|
|
57
|
+
}
|
|
58
58
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
public class GetCatalogIdRequestData
|
|
60
|
+
{
|
|
61
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
62
|
+
public string groupId;
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
}
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
public class ServerGetCatalogIdRequestData : GetCatalogIdRequestData
|
|
67
|
+
{
|
|
68
|
+
}
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
public class AdminGetCatalogIdRequestData : ServerGetCatalogIdRequestData
|
|
71
|
+
{
|
|
72
|
+
}
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
74
|
+
public class GetCustomDataRequestData
|
|
75
|
+
{
|
|
76
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
77
|
+
public string groupId;
|
|
78
78
|
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
[GNArrayDataMember(code = GNParameterCode.CustomDataKeys, isOptional = true, elementCls = typeof(string))]
|
|
80
|
+
public List<string>? customDataKeys;
|
|
81
81
|
|
|
82
|
-
|
|
82
|
+
}
|
|
83
83
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
public class ServerGetCustomDataRequestData : GetCustomDataRequestData
|
|
85
|
+
{
|
|
86
|
+
}
|
|
87
87
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
public class AdminGetCustomDataRequestData : ServerGetCustomDataRequestData
|
|
89
|
+
{
|
|
90
|
+
}
|
|
91
91
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
92
|
+
public class GetDisplayNameRequestData
|
|
93
|
+
{
|
|
94
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
95
|
+
public string groupId;
|
|
96
96
|
|
|
97
|
-
|
|
97
|
+
}
|
|
98
98
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
public class ServerGetDisplayNameRequestData : GetDisplayNameRequestData
|
|
100
|
+
{
|
|
101
|
+
}
|
|
102
102
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
103
|
+
public class AdminGetDisplayNameRequestData : ServerGetDisplayNameRequestData
|
|
104
|
+
{
|
|
105
|
+
}
|
|
106
106
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
107
|
+
public class GetGroupCurrencyRequestData
|
|
108
|
+
{
|
|
109
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
110
|
+
public string groupId;
|
|
111
111
|
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
[GNArrayDataMember(code = GNParameterCode.GroupCurrencyKeys, isOptional = true, elementCls = typeof(string))]
|
|
113
|
+
public List<string>? groupCurrencyKeys;
|
|
114
114
|
|
|
115
|
-
|
|
115
|
+
}
|
|
116
116
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
public class ServerGetGroupCurrencyRequestData : GetGroupCurrencyRequestData
|
|
118
|
+
{
|
|
119
|
+
}
|
|
120
120
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
121
|
+
public class AdminGetGroupCurrencyRequestData : ServerGetGroupCurrencyRequestData
|
|
122
|
+
{
|
|
123
|
+
}
|
|
124
124
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
125
|
+
public class GetGroupDataRequestData
|
|
126
|
+
{
|
|
127
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
128
|
+
public string groupId;
|
|
129
129
|
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
[GNArrayDataMember(code = GNParameterCode.GroupDataKeys, isOptional = true)]
|
|
131
|
+
public List<string>? groupDataKeys;
|
|
132
132
|
|
|
133
|
-
|
|
133
|
+
}
|
|
134
134
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
135
|
+
public class ServerGetGroupDataRequestData : GetGroupDataRequestData
|
|
136
|
+
{
|
|
137
|
+
}
|
|
138
138
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
139
|
+
public class AdminGetGroupDataRequestData : ServerGetGroupDataRequestData
|
|
140
|
+
{
|
|
141
|
+
}
|
|
142
142
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
143
|
+
public class GetGroupInformationRequestData
|
|
144
|
+
{
|
|
145
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
146
|
+
public string groupId;
|
|
147
147
|
|
|
148
|
-
|
|
149
|
-
|
|
148
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
149
|
+
public InfoRequestParam infoRequestParam;
|
|
150
150
|
|
|
151
|
-
|
|
151
|
+
}
|
|
152
152
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
153
|
+
public class ServerGetGroupInformationRequestData : GetGroupInformationRequestData
|
|
154
|
+
{
|
|
155
|
+
}
|
|
156
156
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
157
|
+
public class AdminGetGroupInformationRequestData : ServerGetGroupInformationRequestData
|
|
158
|
+
{
|
|
159
|
+
}
|
|
160
160
|
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
161
|
+
public class GetGroupInventoryRequestData
|
|
162
|
+
{
|
|
163
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
164
|
+
public string groupId;
|
|
165
165
|
|
|
166
|
-
|
|
167
|
-
|
|
166
|
+
[GNArrayDataMember(code = GNParameterCode.ItemCatalogIds, isOptional = true, elementCls = typeof(string))]
|
|
167
|
+
public List<string>? itemCatalogIds;
|
|
168
168
|
|
|
169
|
-
|
|
169
|
+
}
|
|
170
170
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
171
|
+
public class ServerGetGroupInventoryRequestData : GetGroupInventoryRequestData
|
|
172
|
+
{
|
|
173
|
+
}
|
|
174
174
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
175
|
+
public class AdminGetGroupInventoryRequestData : ServerGetGroupInventoryRequestData
|
|
176
|
+
{
|
|
177
|
+
}
|
|
178
178
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
179
|
+
public class GetGroupMessageRequestData
|
|
180
|
+
{
|
|
181
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
182
|
+
public string groupId;
|
|
183
183
|
|
|
184
|
-
|
|
185
|
-
|
|
184
|
+
[NumberDataMember(code = GNParameterCode.Skip, defaultValue = 0, minValue = 0, mustInt = true, isOptional = true)]
|
|
185
|
+
public int? skip;
|
|
186
186
|
|
|
187
|
-
|
|
188
|
-
|
|
187
|
+
[NumberDataMember(code = GNParameterCode.Limit, defaultValue = 10, minValue = 5, maxValue = 100, mustInt = true, isOptional = true)]
|
|
188
|
+
public int? limit;
|
|
189
189
|
|
|
190
|
-
|
|
190
|
+
}
|
|
191
191
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
192
|
+
public class ServerGetGroupMessageRequestData : GetGroupMessageRequestData
|
|
193
|
+
{
|
|
194
|
+
}
|
|
195
195
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
196
|
+
public class AdminGetGroupMessageRequestData : ServerGetGroupMessageRequestData
|
|
197
|
+
{
|
|
198
|
+
}
|
|
199
199
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
200
|
+
public class GetGroupStatisticsRequestData
|
|
201
|
+
{
|
|
202
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
203
|
+
public string groupId;
|
|
204
204
|
|
|
205
|
-
|
|
206
|
-
|
|
205
|
+
[GNArrayDataMember(code = GNParameterCode.StatisticsKeys, isOptional = true, elementCls = typeof(string))]
|
|
206
|
+
public List<string>? statisticsKeys;
|
|
207
207
|
|
|
208
|
-
|
|
208
|
+
}
|
|
209
209
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
210
|
+
public class ServerGetGroupStatisticsRequestData : GetGroupStatisticsRequestData
|
|
211
|
+
{
|
|
212
|
+
}
|
|
213
213
|
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
214
|
+
public class AdminGetGroupStatisticsRequestData : ServerGetGroupStatisticsRequestData
|
|
215
|
+
{
|
|
216
|
+
}
|
|
217
217
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
218
|
+
public class GetGroupsWithDisplayNameRequestData
|
|
219
|
+
{
|
|
220
|
+
[StringDataMember(code = GNParameterCode.Keyword, minLength = 2, maxLength = 32)]
|
|
221
|
+
public string keyword;
|
|
222
222
|
|
|
223
|
-
|
|
224
|
-
|
|
223
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
224
|
+
public InfoRequestParam infoRequestParam;
|
|
225
225
|
|
|
226
|
-
|
|
227
|
-
|
|
226
|
+
[NumberDataMember(code = GNParameterCode.Skip, defaultValue = 0, minValue = 0, mustInt = true, isOptional = true)]
|
|
227
|
+
public int? skip;
|
|
228
228
|
|
|
229
|
-
|
|
230
|
-
|
|
229
|
+
[NumberDataMember(code = GNParameterCode.Limit, defaultValue = 10, minValue = 5, maxValue = 100, mustInt = true, isOptional = true)]
|
|
230
|
+
public int? limit;
|
|
231
231
|
|
|
232
|
-
|
|
232
|
+
}
|
|
233
233
|
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
234
|
+
public class ServerGetGroupsWithDisplayNameRequestData : GetGroupsWithDisplayNameRequestData
|
|
235
|
+
{
|
|
236
|
+
}
|
|
237
237
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
238
|
+
public class AdminGetGroupsWithDisplayNameRequestData : ServerGetGroupsWithDisplayNameRequestData
|
|
239
|
+
{
|
|
240
|
+
}
|
|
241
241
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
242
|
+
public class GetGroupsWithSegmentRequestData
|
|
243
|
+
{
|
|
244
|
+
[StringDataMember(code = GNParameterCode.Value, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
245
|
+
public string value;
|
|
246
246
|
|
|
247
|
-
|
|
248
|
-
|
|
247
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
248
|
+
public InfoRequestParam infoRequestParam;
|
|
249
249
|
|
|
250
|
-
|
|
251
|
-
|
|
250
|
+
[NumberDataMember(code = GNParameterCode.Skip, defaultValue = 0, minValue = 0, mustInt = true, isOptional = true)]
|
|
251
|
+
public int? skip;
|
|
252
252
|
|
|
253
|
-
|
|
254
|
-
|
|
253
|
+
[NumberDataMember(code = GNParameterCode.Limit, defaultValue = 10, minValue = 5, maxValue = 100, mustInt = true, isOptional = true)]
|
|
254
|
+
public int? limit;
|
|
255
255
|
|
|
256
|
-
|
|
256
|
+
}
|
|
257
257
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
258
|
+
public class ServerGetGroupsWithSegmentRequestData : GetGroupsWithSegmentRequestData
|
|
259
|
+
{
|
|
260
|
+
}
|
|
261
261
|
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
262
|
+
public class AdminGetGroupsWithSegmentRequestData : ServerGetGroupsWithSegmentRequestData
|
|
263
|
+
{
|
|
264
|
+
}
|
|
265
265
|
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
266
|
+
public class GetGroupsWithTagRequestData
|
|
267
|
+
{
|
|
268
|
+
[StringDataMember(code = GNParameterCode.Key, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
269
|
+
public string key;
|
|
270
270
|
|
|
271
|
-
|
|
272
|
-
|
|
271
|
+
[StringDataMember(code = GNParameterCode.Value, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
272
|
+
public string value;
|
|
273
273
|
|
|
274
|
-
|
|
275
|
-
|
|
274
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
275
|
+
public InfoRequestParam infoRequestParam;
|
|
276
276
|
|
|
277
|
-
|
|
278
|
-
|
|
277
|
+
[NumberDataMember(code = GNParameterCode.Skip, defaultValue = 0, minValue = 0, mustInt = true, isOptional = true)]
|
|
278
|
+
public int? skip;
|
|
279
279
|
|
|
280
|
-
|
|
281
|
-
|
|
280
|
+
[NumberDataMember(code = GNParameterCode.Limit, defaultValue = 10, minValue = 5, maxValue = 100, mustInt = true, isOptional = true)]
|
|
281
|
+
public int? limit;
|
|
282
282
|
|
|
283
|
-
|
|
283
|
+
}
|
|
284
284
|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
285
|
+
public class ServerGetGroupsWithTagRequestData : GetGroupsWithTagRequestData
|
|
286
|
+
{
|
|
287
|
+
}
|
|
288
288
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
289
|
+
public class AdminGetGroupsWithTagRequestData : ServerGetGroupsWithTagRequestData
|
|
290
|
+
{
|
|
291
|
+
}
|
|
292
292
|
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
293
|
+
public class GetMembersRequestData
|
|
294
|
+
{
|
|
295
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
296
|
+
public string groupId;
|
|
297
297
|
|
|
298
|
-
|
|
298
|
+
}
|
|
299
299
|
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
300
|
+
public class ServerGetMembersRequestData : GetMembersRequestData
|
|
301
|
+
{
|
|
302
|
+
}
|
|
303
303
|
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
304
|
+
public class AdminGetMembersRequestData : ServerGetMembersRequestData
|
|
305
|
+
{
|
|
306
|
+
}
|
|
307
307
|
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
308
|
+
public class GetRemoveStatusRequestData
|
|
309
|
+
{
|
|
310
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
311
|
+
public string groupId;
|
|
312
312
|
|
|
313
|
-
|
|
313
|
+
}
|
|
314
314
|
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
315
|
+
public class ServerGetRemoveStatusRequestData : GetRemoveStatusRequestData
|
|
316
|
+
{
|
|
317
|
+
}
|
|
318
318
|
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
319
|
+
public class AdminGetRemoveStatusRequestData : ServerGetRemoveStatusRequestData
|
|
320
|
+
{
|
|
321
|
+
}
|
|
322
322
|
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
323
|
+
public class GetSegmentRequestData
|
|
324
|
+
{
|
|
325
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
326
|
+
public string groupId;
|
|
327
327
|
|
|
328
|
-
|
|
328
|
+
}
|
|
329
329
|
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
330
|
+
public class ServerGetSegmentRequestData : GetSegmentRequestData
|
|
331
|
+
{
|
|
332
|
+
}
|
|
333
333
|
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
334
|
+
public class AdminGetSegmentRequestData : ServerGetSegmentRequestData
|
|
335
|
+
{
|
|
336
|
+
}
|
|
337
337
|
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
338
|
+
public class GetStatisticsLeaderboardAroundGroupRequestData
|
|
339
|
+
{
|
|
340
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
341
|
+
public string groupId;
|
|
342
342
|
|
|
343
|
-
|
|
344
|
-
|
|
343
|
+
[StringDataMember(code = GNParameterCode.Key, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
344
|
+
public string key;
|
|
345
345
|
|
|
346
|
-
|
|
347
|
-
|
|
346
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
347
|
+
public InfoRequestParam infoRequestParam;
|
|
348
348
|
|
|
349
|
-
|
|
350
|
-
|
|
349
|
+
[NumberDataMember(code = GNParameterCode.Skip, defaultValue = 0, minValue = 0, mustInt = true, isOptional = true)]
|
|
350
|
+
public int? skip;
|
|
351
351
|
|
|
352
|
-
|
|
353
|
-
|
|
352
|
+
[NumberDataMember(code = GNParameterCode.Limit, defaultValue = 10, minValue = 5, maxValue = 100, mustInt = true, isOptional = true)]
|
|
353
|
+
public int? limit;
|
|
354
354
|
|
|
355
|
-
|
|
355
|
+
}
|
|
356
356
|
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
357
|
+
public class ServerGetStatisticsLeaderboardAroundGroupRequestData : GetStatisticsLeaderboardAroundGroupRequestData
|
|
358
|
+
{
|
|
359
|
+
}
|
|
360
360
|
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
361
|
+
public class AdminGetStatisticsLeaderboardAroundGroupRequestData : ServerGetStatisticsLeaderboardAroundGroupRequestData
|
|
362
|
+
{
|
|
363
|
+
}
|
|
364
364
|
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
365
|
+
public class GetStatisticsLeaderboardRequestData
|
|
366
|
+
{
|
|
367
|
+
[StringDataMember(code = GNParameterCode.Key, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
368
|
+
public string key;
|
|
369
369
|
|
|
370
|
-
|
|
371
|
-
|
|
370
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
371
|
+
public InfoRequestParam infoRequestParam;
|
|
372
372
|
|
|
373
|
-
|
|
374
|
-
|
|
373
|
+
[NumberDataMember(code = GNParameterCode.Skip, defaultValue = 0, minValue = 0, mustInt = true, isOptional = true)]
|
|
374
|
+
public int? skip;
|
|
375
375
|
|
|
376
|
-
|
|
377
|
-
|
|
376
|
+
[NumberDataMember(code = GNParameterCode.Limit, defaultValue = 10, minValue = 5, maxValue = 100, mustInt = true, isOptional = true)]
|
|
377
|
+
public int? limit;
|
|
378
378
|
|
|
379
|
-
|
|
380
|
-
|
|
379
|
+
[BooleanDataMember(code = GNParameterCode.LoadFromCache, defaultValue = true, isOptional = true)]
|
|
380
|
+
public bool? loadFromCache;
|
|
381
381
|
|
|
382
|
-
|
|
382
|
+
[StringDataMember(code = GNParameterCode.Version, minLength = 2, maxLength = 32, mustNonNull = true, isOptional = true)]
|
|
383
|
+
public string? version;
|
|
383
384
|
|
|
384
|
-
|
|
385
|
-
{
|
|
386
|
-
}
|
|
385
|
+
}
|
|
387
386
|
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
387
|
+
public class ServerGetStatisticsLeaderboardRequestData : GetStatisticsLeaderboardRequestData
|
|
388
|
+
{
|
|
389
|
+
}
|
|
391
390
|
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
public string groupId;
|
|
391
|
+
public class AdminGetStatisticsLeaderboardRequestData : ServerGetStatisticsLeaderboardRequestData
|
|
392
|
+
{
|
|
393
|
+
}
|
|
396
394
|
|
|
397
|
-
|
|
398
|
-
|
|
395
|
+
public class GetTagRequestData
|
|
396
|
+
{
|
|
397
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
398
|
+
public string groupId;
|
|
399
399
|
|
|
400
|
-
|
|
400
|
+
[GNArrayDataMember(code = GNParameterCode.TagKeys, elementCls = typeof(string))]
|
|
401
|
+
public List<string> tagKeys;
|
|
401
402
|
|
|
402
|
-
|
|
403
|
-
{
|
|
404
|
-
}
|
|
403
|
+
}
|
|
405
404
|
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
405
|
+
public class ServerGetTagRequestData : GetTagRequestData
|
|
406
|
+
{
|
|
407
|
+
}
|
|
409
408
|
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
public string groupId;
|
|
409
|
+
public class AdminGetTagRequestData : ServerGetTagRequestData
|
|
410
|
+
{
|
|
411
|
+
}
|
|
414
412
|
|
|
415
|
-
|
|
413
|
+
public class GetTsCreateRequestData
|
|
414
|
+
{
|
|
415
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
416
|
+
public string groupId;
|
|
416
417
|
|
|
417
|
-
|
|
418
|
-
{
|
|
419
|
-
}
|
|
418
|
+
}
|
|
420
419
|
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
420
|
+
public class ServerGetTsCreateRequestData : GetTsCreateRequestData
|
|
421
|
+
{
|
|
422
|
+
}
|
|
424
423
|
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
public string groupId;
|
|
424
|
+
public class AdminGetTsCreateRequestData : ServerGetTsCreateRequestData
|
|
425
|
+
{
|
|
426
|
+
}
|
|
429
427
|
|
|
430
|
-
|
|
431
|
-
|
|
428
|
+
public class GrantGroupItemRequestData
|
|
429
|
+
{
|
|
430
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
431
|
+
public string groupId;
|
|
432
432
|
|
|
433
|
-
|
|
434
|
-
|
|
433
|
+
[StringDataMember(code = GNParameterCode.CatalogId, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
434
|
+
public string catalogId;
|
|
435
435
|
|
|
436
|
-
|
|
437
|
-
|
|
436
|
+
[StringDataMember(code = GNParameterCode.ClassId, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
437
|
+
public string classId;
|
|
438
438
|
|
|
439
|
-
|
|
440
|
-
|
|
439
|
+
[StringDataMember(code = GNParameterCode.DisplayName, defaultValue = "", isOptional = true)]
|
|
440
|
+
public string? displayName;
|
|
441
441
|
|
|
442
|
-
|
|
442
|
+
[NumberDataMember(code = GNParameterCode.Amount, defaultValue = 1, isOptional = true)]
|
|
443
|
+
public double? amount;
|
|
443
444
|
|
|
444
|
-
|
|
445
|
-
{
|
|
446
|
-
}
|
|
445
|
+
}
|
|
447
446
|
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
447
|
+
public class ServerGrantGroupItemRequestData : GrantGroupItemRequestData
|
|
448
|
+
{
|
|
449
|
+
}
|
|
451
450
|
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
public string groupId;
|
|
451
|
+
public class AdminGrantGroupItemRequestData : ServerGrantGroupItemRequestData
|
|
452
|
+
{
|
|
453
|
+
}
|
|
456
454
|
|
|
457
|
-
|
|
458
|
-
|
|
455
|
+
public class RemoveGroupItemRequestData
|
|
456
|
+
{
|
|
457
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
458
|
+
public string groupId;
|
|
459
459
|
|
|
460
|
-
|
|
460
|
+
[StringDataMember(code = GNParameterCode.ItemId, minLength = 12, maxLength = 12, mustNonNull = true)]
|
|
461
|
+
public string itemId;
|
|
461
462
|
|
|
462
|
-
|
|
463
|
-
{
|
|
464
|
-
}
|
|
463
|
+
}
|
|
465
464
|
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
465
|
+
public class ServerRemoveGroupItemRequestData : RemoveGroupItemRequestData
|
|
466
|
+
{
|
|
467
|
+
}
|
|
469
468
|
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
public string userId;
|
|
469
|
+
public class AdminRemoveGroupItemRequestData : ServerRemoveGroupItemRequestData
|
|
470
|
+
{
|
|
471
|
+
}
|
|
474
472
|
|
|
475
|
-
|
|
476
|
-
|
|
473
|
+
public class RemoveMemberRequestData
|
|
474
|
+
{
|
|
475
|
+
[StringDataMember(code = GNParameterCode.UserId, minLength = 10, maxLength = 11, mustNonNull = true)]
|
|
476
|
+
public string userId;
|
|
477
477
|
|
|
478
|
-
|
|
478
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
479
|
+
public string groupId;
|
|
479
480
|
|
|
480
|
-
|
|
481
|
-
{
|
|
482
|
-
}
|
|
481
|
+
}
|
|
483
482
|
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
483
|
+
public class ServerRemoveMemberRequestData : RemoveMemberRequestData
|
|
484
|
+
{
|
|
485
|
+
}
|
|
487
486
|
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
public string groupId;
|
|
487
|
+
public class AdminRemoveMemberRequestData : ServerRemoveMemberRequestData
|
|
488
|
+
{
|
|
489
|
+
}
|
|
492
490
|
|
|
493
|
-
|
|
494
|
-
|
|
491
|
+
public class RemoveSegmentRequestData
|
|
492
|
+
{
|
|
493
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
494
|
+
public string groupId;
|
|
495
495
|
|
|
496
|
-
|
|
496
|
+
[StringDataMember(code = GNParameterCode.Value, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
497
|
+
public string value;
|
|
497
498
|
|
|
498
|
-
|
|
499
|
-
{
|
|
500
|
-
}
|
|
499
|
+
}
|
|
501
500
|
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
501
|
+
public class ServerRemoveSegmentRequestData : RemoveSegmentRequestData
|
|
502
|
+
{
|
|
503
|
+
}
|
|
505
504
|
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
public string groupId;
|
|
505
|
+
public class AdminRemoveSegmentRequestData : ServerRemoveSegmentRequestData
|
|
506
|
+
{
|
|
507
|
+
}
|
|
510
508
|
|
|
511
|
-
|
|
512
|
-
|
|
509
|
+
public class RemoveTagRequestData
|
|
510
|
+
{
|
|
511
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
512
|
+
public string groupId;
|
|
513
513
|
|
|
514
|
-
|
|
514
|
+
[StringDataMember(code = GNParameterCode.Key, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
515
|
+
public string key;
|
|
515
516
|
|
|
516
|
-
|
|
517
|
-
{
|
|
518
|
-
}
|
|
517
|
+
}
|
|
519
518
|
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
519
|
+
public class ServerRemoveTagRequestData : RemoveTagRequestData
|
|
520
|
+
{
|
|
521
|
+
}
|
|
523
522
|
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
public string senderId;
|
|
523
|
+
public class AdminRemoveTagRequestData : ServerRemoveTagRequestData
|
|
524
|
+
{
|
|
525
|
+
}
|
|
528
526
|
|
|
529
|
-
|
|
530
|
-
|
|
527
|
+
public class SendGroupMessageRequestData
|
|
528
|
+
{
|
|
529
|
+
[StringDataMember(code = GNParameterCode.SenderId, minLength = 10, maxLength = 11, mustNonNull = true)]
|
|
530
|
+
public string senderId;
|
|
531
531
|
|
|
532
|
-
|
|
533
|
-
|
|
532
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
533
|
+
public string groupId;
|
|
534
534
|
|
|
535
|
-
|
|
535
|
+
[StringDataMember(code = GNParameterCode.Message, minLength = 2, maxLength = 256, mustNonNull = true)]
|
|
536
|
+
public string message;
|
|
536
537
|
|
|
537
|
-
|
|
538
|
-
{
|
|
539
|
-
}
|
|
538
|
+
}
|
|
540
539
|
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
540
|
+
public class ServerSendGroupMessageRequestData : SendGroupMessageRequestData
|
|
541
|
+
{
|
|
542
|
+
}
|
|
544
543
|
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
public string groupId;
|
|
544
|
+
public class AdminSendGroupMessageRequestData : ServerSendGroupMessageRequestData
|
|
545
|
+
{
|
|
546
|
+
}
|
|
549
547
|
|
|
550
|
-
|
|
551
|
-
|
|
548
|
+
public class SetAvatarRequestData
|
|
549
|
+
{
|
|
550
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
551
|
+
public string groupId;
|
|
552
552
|
|
|
553
|
-
|
|
554
|
-
|
|
553
|
+
[NumberDataMember(code = GNParameterCode.Type, mustInt = true)]
|
|
554
|
+
public long type;
|
|
555
555
|
|
|
556
|
-
|
|
556
|
+
[StringDataMember(code = GNParameterCode.Value, minLength = 1, maxLength = 128, mustNonNull = true)]
|
|
557
|
+
public string value;
|
|
557
558
|
|
|
558
|
-
|
|
559
|
-
{
|
|
560
|
-
}
|
|
559
|
+
}
|
|
561
560
|
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
561
|
+
public class ServerSetAvatarRequestData : SetAvatarRequestData
|
|
562
|
+
{
|
|
563
|
+
}
|
|
565
564
|
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
public string groupId;
|
|
565
|
+
public class AdminSetAvatarRequestData : ServerSetAvatarRequestData
|
|
566
|
+
{
|
|
567
|
+
}
|
|
570
568
|
|
|
571
|
-
|
|
572
|
-
|
|
569
|
+
public class SetCustomDataRequestData
|
|
570
|
+
{
|
|
571
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
572
|
+
public string groupId;
|
|
573
573
|
|
|
574
|
-
|
|
574
|
+
[GNArrayDataMember(code = GNParameterCode.CustomDatas, minLength = 1, maxLength = 32, mustNonNull = true, elementCls = typeof(CustomDataParam))]
|
|
575
|
+
public List<CustomDataParam> customData;
|
|
575
576
|
|
|
576
|
-
|
|
577
|
-
{
|
|
578
|
-
}
|
|
577
|
+
}
|
|
579
578
|
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
579
|
+
public class ServerSetCustomDataRequestData : SetCustomDataRequestData
|
|
580
|
+
{
|
|
581
|
+
}
|
|
583
582
|
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
public string groupId;
|
|
583
|
+
public class AdminSetCustomDataRequestData : ServerSetCustomDataRequestData
|
|
584
|
+
{
|
|
585
|
+
}
|
|
588
586
|
|
|
589
|
-
|
|
590
|
-
|
|
587
|
+
public class SetDisplayNameRequestData
|
|
588
|
+
{
|
|
589
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
590
|
+
public string groupId;
|
|
591
591
|
|
|
592
|
-
|
|
592
|
+
[StringDataMember(code = GNParameterCode.DisplayName, minLength = 5, maxLength = 32, mustNonNull = true)]
|
|
593
|
+
public string displayName;
|
|
593
594
|
|
|
594
|
-
|
|
595
|
-
{
|
|
596
|
-
}
|
|
595
|
+
}
|
|
597
596
|
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
597
|
+
public class ServerSetDisplayNameRequestData : SetDisplayNameRequestData
|
|
598
|
+
{
|
|
599
|
+
}
|
|
601
600
|
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
public string groupId;
|
|
601
|
+
public class AdminSetDisplayNameRequestData : ServerSetDisplayNameRequestData
|
|
602
|
+
{
|
|
603
|
+
}
|
|
606
604
|
|
|
607
|
-
|
|
608
|
-
|
|
605
|
+
public class SetGroupCurrencyRequestData
|
|
606
|
+
{
|
|
607
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
608
|
+
public string groupId;
|
|
609
609
|
|
|
610
|
-
|
|
610
|
+
[GNArrayDataMember(code = GNParameterCode.GroupCurrencies, minLength = 1, maxLength = 32, mustNonNull = true, elementCls = typeof(GroupCurrencyParam))]
|
|
611
|
+
public List<GroupCurrencyParam> groupCurrencyParams;
|
|
611
612
|
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
}
|
|
613
|
+
[StringDataMember(code = GNParameterCode.Log, minLength = 1, maxLength = 256, mustNonNull = true, isOptional = true)]
|
|
614
|
+
public string? log;
|
|
615
615
|
|
|
616
|
-
|
|
617
|
-
{
|
|
618
|
-
}
|
|
616
|
+
}
|
|
619
617
|
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
public string groupId;
|
|
618
|
+
public class ServerSetGroupCurrencyRequestData : SetGroupCurrencyRequestData
|
|
619
|
+
{
|
|
620
|
+
}
|
|
624
621
|
|
|
625
|
-
|
|
626
|
-
|
|
622
|
+
public class AdminSetGroupCurrencyRequestData : ServerSetGroupCurrencyRequestData
|
|
623
|
+
{
|
|
624
|
+
}
|
|
627
625
|
|
|
628
|
-
|
|
626
|
+
public class SetGroupDataRequestData
|
|
627
|
+
{
|
|
628
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
629
|
+
public string groupId;
|
|
629
630
|
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
}
|
|
631
|
+
[GNArrayDataMember(code = GNParameterCode.GroupDatas, minLength = 1, maxLength = 32, mustNonNull = true, elementCls = typeof(GroupDataParam))]
|
|
632
|
+
public List<GroupDataParam> groupDataParams;
|
|
633
633
|
|
|
634
|
-
|
|
635
|
-
{
|
|
636
|
-
}
|
|
634
|
+
}
|
|
637
635
|
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
public string groupId;
|
|
636
|
+
public class ServerSetGroupDataRequestData : SetGroupDataRequestData
|
|
637
|
+
{
|
|
638
|
+
}
|
|
642
639
|
|
|
643
|
-
|
|
644
|
-
|
|
640
|
+
public class AdminSetGroupDataRequestData : ServerSetGroupDataRequestData
|
|
641
|
+
{
|
|
642
|
+
}
|
|
645
643
|
|
|
646
|
-
|
|
644
|
+
public class SetGroupStatisticsRequestData
|
|
645
|
+
{
|
|
646
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
647
|
+
public string groupId;
|
|
647
648
|
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
}
|
|
649
|
+
[GNArrayDataMember(code = GNParameterCode.GroupStatistics, minLength = 1, maxLength = 32, mustNonNull = true, elementCls = typeof(GroupStatisticsParam))]
|
|
650
|
+
public List<GroupStatisticsParam> groupStatisticsParams;
|
|
651
651
|
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
}
|
|
652
|
+
[StringDataMember(code = GNParameterCode.Log, minLength = 1, maxLength = 256, mustNonNull = true, isOptional = true)]
|
|
653
|
+
public string? log;
|
|
655
654
|
|
|
656
|
-
|
|
657
|
-
{
|
|
658
|
-
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
659
|
-
public string groupId;
|
|
655
|
+
}
|
|
660
656
|
|
|
661
|
-
|
|
662
|
-
|
|
657
|
+
public class ServerSetGroupStatisticsRequestData : SetGroupStatisticsRequestData
|
|
658
|
+
{
|
|
659
|
+
}
|
|
663
660
|
|
|
664
|
-
|
|
661
|
+
public class AdminSetGroupStatisticsRequestData : ServerSetGroupStatisticsRequestData
|
|
662
|
+
{
|
|
663
|
+
}
|
|
665
664
|
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
665
|
+
public class SetRemoveStatusRequestData
|
|
666
|
+
{
|
|
667
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
668
|
+
public string groupId;
|
|
669
669
|
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
}
|
|
670
|
+
[StringDataMember(code = GNParameterCode.Reason, isOptional = true, defaultValue = "")]
|
|
671
|
+
public string? reason;
|
|
673
672
|
|
|
674
|
-
|
|
675
|
-
{
|
|
676
|
-
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
677
|
-
public string groupId;
|
|
673
|
+
}
|
|
678
674
|
|
|
679
|
-
|
|
680
|
-
|
|
675
|
+
public class ServerSetRemoveStatusRequestData : SetRemoveStatusRequestData
|
|
676
|
+
{
|
|
677
|
+
}
|
|
681
678
|
|
|
682
|
-
|
|
683
|
-
|
|
679
|
+
public class AdminSetRemoveStatusRequestData : ServerSetRemoveStatusRequestData
|
|
680
|
+
{
|
|
681
|
+
}
|
|
684
682
|
|
|
685
|
-
|
|
683
|
+
public class SetTagRequestData
|
|
684
|
+
{
|
|
685
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
686
|
+
public string groupId;
|
|
686
687
|
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
}
|
|
688
|
+
[StringDataMember(code = GNParameterCode.Key, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
689
|
+
public string key;
|
|
690
690
|
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
}
|
|
691
|
+
[StringDataMember(code = GNParameterCode.Value, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
692
|
+
public string value;
|
|
694
693
|
|
|
695
|
-
|
|
694
|
+
}
|
|
696
695
|
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
{
|
|
701
|
-
[StringDataMember(code = GNParameterCode.Key, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
702
|
-
public string key;
|
|
696
|
+
public class ServerSetTagRequestData : SetTagRequestData
|
|
697
|
+
{
|
|
698
|
+
}
|
|
703
699
|
|
|
704
|
-
|
|
705
|
-
|
|
700
|
+
public class AdminSetTagRequestData : ServerSetTagRequestData
|
|
701
|
+
{
|
|
702
|
+
}
|
|
706
703
|
|
|
707
|
-
|
|
704
|
+
public class GetCreateLeaderboardRequestData
|
|
705
|
+
{
|
|
706
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
707
|
+
public InfoRequestParam infoRequestParam;
|
|
708
708
|
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
[StringDataMember(code = GNParameterCode.Key, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
712
|
-
public string key;
|
|
709
|
+
[NumberDataMember(code = GNParameterCode.Skip, defaultValue = 0, minValue = 0, mustInt = true, isOptional = true)]
|
|
710
|
+
public int? skip;
|
|
713
711
|
|
|
714
|
-
|
|
715
|
-
|
|
712
|
+
[NumberDataMember(code = GNParameterCode.Limit, defaultValue = 10, minValue = 5, maxValue = 100, mustInt = true, isOptional = true)]
|
|
713
|
+
public int? limit;
|
|
716
714
|
|
|
717
|
-
|
|
715
|
+
[BooleanDataMember(code = GNParameterCode.LoadFromCache, defaultValue = true, isOptional = true)]
|
|
716
|
+
public bool? loadFromCache;
|
|
718
717
|
|
|
719
|
-
|
|
720
|
-
{
|
|
721
|
-
[StringDataMember(code = GNParameterCode.Key, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
722
|
-
public string key;
|
|
718
|
+
}
|
|
723
719
|
|
|
724
|
-
|
|
725
|
-
|
|
720
|
+
public class ServerGetCreateLeaderboardRequestData : GetCreateLeaderboardRequestData
|
|
721
|
+
{
|
|
722
|
+
}
|
|
726
723
|
|
|
727
|
-
|
|
728
|
-
|
|
724
|
+
public class AdminGetCreateLeaderboardRequestData : ServerGetCreateLeaderboardRequestData
|
|
725
|
+
{
|
|
726
|
+
}
|
|
729
727
|
|
|
730
|
-
|
|
728
|
+
public class GetStatisticsLogRequestData
|
|
729
|
+
{
|
|
730
|
+
[GNArrayDataMember(code = GNParameterCode.Keys, minLength = 1, maxLength = 32, mustNonNull = true, elementCls = typeof(string), isOptional = true)]
|
|
731
|
+
public List<string>? keys;
|
|
731
732
|
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
[StringDataMember(code = GNParameterCode.UserId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
735
|
-
public string userId;
|
|
733
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true, isOptional = true)]
|
|
734
|
+
public string? groupId;
|
|
736
735
|
|
|
737
|
-
|
|
738
|
-
|
|
736
|
+
[NumberDataMember(code = GNParameterCode.Limit, defaultValue = 10, minValue = 5, maxValue = 100, mustInt = true, isOptional = true)]
|
|
737
|
+
public int? limit;
|
|
739
738
|
|
|
740
|
-
|
|
739
|
+
[StringDataMember(code = GNParameterCode.Token, minLength = 24, maxLength = 24, mustNonNull = true, isOptional = true)]
|
|
740
|
+
public string? token;
|
|
741
741
|
|
|
742
|
-
|
|
743
|
-
{
|
|
744
|
-
[StringDataMember(code = GNParameterCode.Key, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
745
|
-
public string key;
|
|
742
|
+
}
|
|
746
743
|
|
|
747
|
-
|
|
748
|
-
|
|
744
|
+
public class ServerGetStatisticsLogRequestData : GetStatisticsLogRequestData
|
|
745
|
+
{
|
|
746
|
+
}
|
|
749
747
|
|
|
750
|
-
|
|
748
|
+
public class AdminGetStatisticsLogRequestData : ServerGetStatisticsLogRequestData
|
|
749
|
+
{
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
public class GetCurrencyLogRequestData
|
|
753
|
+
{
|
|
754
|
+
[GNArrayDataMember(code = GNParameterCode.Keys, minLength = 1, maxLength = 32, mustNonNull = true, elementCls = typeof(string), isOptional = true)]
|
|
755
|
+
public List<string>? keys;
|
|
756
|
+
|
|
757
|
+
[StringDataMember(code = GNParameterCode.GroupId, minLength = 10, maxLength = 10, mustNonNull = true, isOptional = true)]
|
|
758
|
+
public string? groupId;
|
|
759
|
+
|
|
760
|
+
[NumberDataMember(code = GNParameterCode.Limit, defaultValue = 10, minValue = 5, maxValue = 100, mustInt = true, isOptional = true)]
|
|
761
|
+
public int? limit;
|
|
762
|
+
|
|
763
|
+
[StringDataMember(code = GNParameterCode.Token, minLength = 24, maxLength = 24, mustNonNull = true, isOptional = true)]
|
|
764
|
+
public string? token;
|
|
765
|
+
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
public class ServerGetCurrencyLogRequestData : GetCurrencyLogRequestData
|
|
769
|
+
{
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
public class AdminGetCurrencyLogRequestData : ServerGetCurrencyLogRequestData
|
|
773
|
+
{
|
|
774
|
+
}
|
|
751
775
|
|
|
752
|
-
|
|
753
|
-
{
|
|
754
|
-
[BooleanDataMember(code = GNParameterCode.CatalogId, isOptional = true, defaultValue = false)]
|
|
755
|
-
public bool? catalogId;
|
|
776
|
+
}
|
|
756
777
|
|
|
757
|
-
|
|
758
|
-
|
|
778
|
+
public partial class GroupModels
|
|
779
|
+
{
|
|
780
|
+
public class CustomDataParam
|
|
781
|
+
{
|
|
782
|
+
[StringDataMember(code = GNParameterCode.Key, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
783
|
+
public string key;
|
|
759
784
|
|
|
760
|
-
|
|
761
|
-
|
|
785
|
+
[DataMember(code = GNParameterCode.Value)]
|
|
786
|
+
public object value;
|
|
762
787
|
|
|
763
|
-
|
|
764
|
-
public bool? segments;
|
|
788
|
+
}
|
|
765
789
|
|
|
766
|
-
|
|
767
|
-
|
|
790
|
+
public class GroupCurrencyParam
|
|
791
|
+
{
|
|
792
|
+
[StringDataMember(code = GNParameterCode.Key, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
793
|
+
public string key;
|
|
768
794
|
|
|
769
|
-
|
|
770
|
-
|
|
795
|
+
[NumberDataMember(code = GNParameterCode.Amount)]
|
|
796
|
+
public double amount;
|
|
771
797
|
|
|
772
|
-
|
|
773
|
-
public bool? avatar;
|
|
798
|
+
}
|
|
774
799
|
|
|
775
|
-
|
|
776
|
-
|
|
800
|
+
public class GroupDataParam
|
|
801
|
+
{
|
|
802
|
+
[StringDataMember(code = GNParameterCode.Key, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
803
|
+
public string key;
|
|
777
804
|
|
|
778
|
-
|
|
779
|
-
|
|
805
|
+
[DataMember(code = GNParameterCode.Value)]
|
|
806
|
+
public object value;
|
|
780
807
|
|
|
781
|
-
|
|
782
|
-
public bool? groupCurrencies;
|
|
808
|
+
}
|
|
783
809
|
|
|
784
|
-
|
|
785
|
-
|
|
810
|
+
public class GroupMemberParam
|
|
811
|
+
{
|
|
812
|
+
[StringDataMember(code = GNParameterCode.UserId, minLength = 10, maxLength = 11, mustNonNull = true)]
|
|
813
|
+
public string userId;
|
|
786
814
|
|
|
787
|
-
|
|
788
|
-
|
|
815
|
+
[NumberDataMember(code = GNParameterCode.Role, mustInt = true)]
|
|
816
|
+
public int role;
|
|
789
817
|
|
|
790
|
-
|
|
791
|
-
public bool? groupInventories;
|
|
818
|
+
}
|
|
792
819
|
|
|
793
|
-
|
|
794
|
-
|
|
820
|
+
public class GroupStatisticsParam
|
|
821
|
+
{
|
|
822
|
+
[StringDataMember(code = GNParameterCode.Key, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
823
|
+
public string key;
|
|
795
824
|
|
|
796
|
-
|
|
797
|
-
|
|
825
|
+
[NumberDataMember(code = GNParameterCode.Value)]
|
|
826
|
+
public double value;
|
|
798
827
|
|
|
799
|
-
|
|
800
|
-
public List<string>? groupStatisticsKeys;
|
|
828
|
+
}
|
|
801
829
|
|
|
802
|
-
|
|
803
|
-
|
|
830
|
+
public class InfoRequestParam
|
|
831
|
+
{
|
|
832
|
+
[BooleanDataMember(code = GNParameterCode.CatalogId, isOptional = true, defaultValue = false)]
|
|
833
|
+
public bool? catalogId;
|
|
804
834
|
|
|
805
|
-
|
|
806
|
-
|
|
835
|
+
[BooleanDataMember(code = GNParameterCode.Members, isOptional = true, defaultValue = false)]
|
|
836
|
+
public bool? members;
|
|
807
837
|
|
|
808
|
-
|
|
809
|
-
|
|
838
|
+
[BooleanDataMember(code = GNParameterCode.RemoveStatus, isOptional = true, defaultValue = false)]
|
|
839
|
+
public bool? removeStatus;
|
|
810
840
|
|
|
811
|
-
|
|
841
|
+
[BooleanDataMember(code = GNParameterCode.Segments, isOptional = true, defaultValue = false)]
|
|
842
|
+
public bool? segments;
|
|
812
843
|
|
|
813
|
-
|
|
844
|
+
[BooleanDataMember(code = GNParameterCode.CustomDatas, isOptional = true, defaultValue = false)]
|
|
845
|
+
public bool? customDatas;
|
|
814
846
|
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
public class InfoResponseParameters
|
|
818
|
-
{
|
|
819
|
-
[StringDataMember(code = GNParameterCode.CatalogId, isOptional = true)]
|
|
820
|
-
public string? catalogId;
|
|
847
|
+
[BooleanDataMember(code = GNParameterCode.DisplayName, isOptional = true, defaultValue = false)]
|
|
848
|
+
public bool? displayName;
|
|
821
849
|
|
|
822
|
-
|
|
823
|
-
|
|
850
|
+
[BooleanDataMember(code = GNParameterCode.Avatar, isOptional = true, defaultValue = false)]
|
|
851
|
+
public bool? avatar;
|
|
824
852
|
|
|
825
|
-
|
|
826
|
-
|
|
853
|
+
[BooleanDataMember(code = GNParameterCode.TsCreate, isOptional = true, defaultValue = false)]
|
|
854
|
+
public bool? tsCreate;
|
|
827
855
|
|
|
828
|
-
|
|
829
|
-
|
|
856
|
+
[BooleanDataMember(code = GNParameterCode.Tags, isOptional = true, defaultValue = false)]
|
|
857
|
+
public bool? tags;
|
|
830
858
|
|
|
831
|
-
|
|
832
|
-
|
|
859
|
+
[BooleanDataMember(code = GNParameterCode.GroupCurrencies, isOptional = true, defaultValue = false)]
|
|
860
|
+
public bool? groupCurrencies;
|
|
833
861
|
|
|
834
|
-
|
|
835
|
-
|
|
862
|
+
[BooleanDataMember(code = GNParameterCode.GroupStatistics, isOptional = true, defaultValue = false)]
|
|
863
|
+
public bool? groupStatistics;
|
|
836
864
|
|
|
837
|
-
|
|
838
|
-
|
|
865
|
+
[BooleanDataMember(code = GNParameterCode.GroupDatas, isOptional = true, defaultValue = false)]
|
|
866
|
+
public bool? groupDatas;
|
|
839
867
|
|
|
840
|
-
|
|
841
|
-
|
|
868
|
+
[BooleanDataMember(code = GNParameterCode.GroupInventories, isOptional = true, defaultValue = false)]
|
|
869
|
+
public bool? groupInventories;
|
|
842
870
|
|
|
843
|
-
|
|
844
|
-
|
|
871
|
+
[GNArrayDataMember(code = GNParameterCode.GroupDataKeys, isOptional = true, elementCls = typeof(string))]
|
|
872
|
+
public List<string>? groupDataKeys;
|
|
845
873
|
|
|
846
|
-
|
|
847
|
-
|
|
874
|
+
[GNArrayDataMember(code = GNParameterCode.GroupCurrencyKeys, isOptional = true, elementCls = typeof(string))]
|
|
875
|
+
public List<string>? groupCurrencyKeys;
|
|
848
876
|
|
|
849
|
-
|
|
850
|
-
|
|
877
|
+
[GNArrayDataMember(code = GNParameterCode.GroupStatisticsKeys, isOptional = true, elementCls = typeof(string))]
|
|
878
|
+
public List<string>? groupStatisticsKeys;
|
|
851
879
|
|
|
852
|
-
|
|
853
|
-
|
|
880
|
+
[GNArrayDataMember(code = GNParameterCode.CustomDataKeys, isOptional = true, elementCls = typeof(string))]
|
|
881
|
+
public List<string>? customDataKeys;
|
|
854
882
|
|
|
855
|
-
|
|
856
|
-
|
|
883
|
+
[GNArrayDataMember(code = GNParameterCode.TagKeys, isOptional = true, elementCls = typeof(string))]
|
|
884
|
+
public List<string>? tagKeys;
|
|
885
|
+
|
|
886
|
+
[GNArrayDataMember(code = GNParameterCode.ItemCatalogIds, isOptional = true, elementCls = typeof(string))]
|
|
887
|
+
public List<string>? itemCatalogIds;
|
|
888
|
+
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
public partial class GroupModels
|
|
894
|
+
{
|
|
895
|
+
public class InfoResponseParameters
|
|
896
|
+
{
|
|
897
|
+
[StringDataMember(code = GNParameterCode.CatalogId, isOptional = true)]
|
|
898
|
+
public string? catalogId;
|
|
857
899
|
|
|
858
|
-
|
|
900
|
+
[GNArrayDataMember(code = GNParameterCode.Members, isOptional = true, elementCls = typeof(GenericModels.MemberItem))]
|
|
901
|
+
public List<GenericModels.MemberItem>? members;
|
|
859
902
|
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
[GNHashtableDataMember(code = GNParameterCode.InfoResponseParameters)]
|
|
863
|
-
public InfoResponseParameters infoResponseParameters;
|
|
903
|
+
[GNHashtableDataMember(code = GNParameterCode.RemoveStatus, isOptional = true)]
|
|
904
|
+
public GenericModels.RemoveStatusItem? removeStatus;
|
|
864
905
|
|
|
865
|
-
|
|
906
|
+
[GNArrayDataMember(code = GNParameterCode.Segments, isOptional = true, elementCls = typeof(string))]
|
|
907
|
+
public List<string>? segments;
|
|
866
908
|
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
[StringDataMember(code = GNParameterCode.GroupId)]
|
|
870
|
-
public string groupId;
|
|
909
|
+
[GNArrayDataMember(code = GNParameterCode.CustomDatas, isOptional = true, elementCls = typeof(GenericModels.DataItem))]
|
|
910
|
+
public List<GenericModels.DataItem>? customDatas;
|
|
871
911
|
|
|
872
|
-
|
|
912
|
+
[StringDataMember(code = GNParameterCode.DisplayName, isOptional = true)]
|
|
913
|
+
public string? displayName;
|
|
873
914
|
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
[NumberDataMember(code = GNParameterCode.Position)]
|
|
877
|
-
public int position;
|
|
915
|
+
[GNHashtableDataMember(code = GNParameterCode.Avatar, isOptional = true)]
|
|
916
|
+
public GenericModels.AvatarItem? avatar;
|
|
878
917
|
|
|
879
|
-
|
|
918
|
+
[NumberDataMember(code = GNParameterCode.TsCreate, isOptional = true)]
|
|
919
|
+
public long? tsCreate;
|
|
880
920
|
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
[GNArrayDataMember(code = GNParameterCode.Results, elementCls = typeof(GroupLeaderboardResponseData))]
|
|
884
|
-
public List<GroupLeaderboardResponseData> results;
|
|
921
|
+
[GNArrayDataMember(code = GNParameterCode.Tags, isOptional = true, elementCls = typeof(GenericModels.TagItem))]
|
|
922
|
+
public List<GenericModels.TagItem>? tags;
|
|
885
923
|
|
|
886
|
-
|
|
924
|
+
[GNArrayDataMember(code = GNParameterCode.GroupDatas, isOptional = true, elementCls = typeof(GenericModels.DataItem))]
|
|
925
|
+
public List<GenericModels.DataItem>? groupDatas;
|
|
887
926
|
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
[GNArrayDataMember(code = GNParameterCode.Results, elementCls = typeof(GroupWithGroupIdResponseData))]
|
|
891
|
-
public List<GroupWithGroupIdResponseData> results;
|
|
927
|
+
[GNArrayDataMember(code = GNParameterCode.GroupCurrencies, isOptional = true, elementCls = typeof(GenericModels.CurrencyItem))]
|
|
928
|
+
public List<GenericModels.CurrencyItem>? groupCurrencies;
|
|
892
929
|
|
|
893
|
-
|
|
930
|
+
[GNArrayDataMember(code = GNParameterCode.GroupStatistics, isOptional = true, elementCls = typeof(GenericModels.StatisticsItem))]
|
|
931
|
+
public List<GenericModels.StatisticsItem>? groupStatistics;
|
|
894
932
|
|
|
895
|
-
|
|
933
|
+
[GNArrayDataMember(code = GNParameterCode.GroupInventories, isOptional = true, elementCls = typeof(GenericModels.InventoryItem))]
|
|
934
|
+
public List<GenericModels.InventoryItem>? groupInventories;
|
|
935
|
+
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
public class GroupResponseData
|
|
939
|
+
{
|
|
940
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoResponseParameters)]
|
|
941
|
+
public InfoResponseParameters infoResponseParameters;
|
|
942
|
+
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
public class GroupWithGroupIdResponseData : GroupResponseData
|
|
946
|
+
{
|
|
947
|
+
[StringDataMember(code = GNParameterCode.GroupId)]
|
|
948
|
+
public string groupId;
|
|
949
|
+
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
public class GroupLeaderboardResponseData : GroupWithGroupIdResponseData
|
|
953
|
+
{
|
|
954
|
+
[NumberDataMember(code = GNParameterCode.Position)]
|
|
955
|
+
public int position;
|
|
956
|
+
|
|
957
|
+
[NumberDataMember(code = GNParameterCode.BackupValue, isOptional = true)]
|
|
958
|
+
public double? backupValue;
|
|
959
|
+
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
public class GroupLogResponseData
|
|
963
|
+
{
|
|
964
|
+
[StringDataMember(code = GNParameterCode.GroupId)]
|
|
965
|
+
public string groupId;
|
|
966
|
+
|
|
967
|
+
[NumberDataMember(code = GNParameterCode.TsCreate)]
|
|
968
|
+
public long tsCreate;
|
|
969
|
+
|
|
970
|
+
[NumberDataMember(code = GNParameterCode.Log)]
|
|
971
|
+
public string log;
|
|
972
|
+
|
|
973
|
+
[NumberDataMember(code = GNParameterCode.Key)]
|
|
974
|
+
public string key;
|
|
975
|
+
|
|
976
|
+
[NumberDataMember(code = GNParameterCode.Amount)]
|
|
977
|
+
public double amount;
|
|
978
|
+
|
|
979
|
+
[NumberDataMember(code = GNParameterCode.StartValue)]
|
|
980
|
+
public double startValue;
|
|
981
|
+
|
|
982
|
+
[NumberDataMember(code = GNParameterCode.FinalValue)]
|
|
983
|
+
public double finalValue;
|
|
984
|
+
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
public class GetStatisticsLeaderboardResponseData
|
|
988
|
+
{
|
|
989
|
+
[GNArrayDataMember(code = GNParameterCode.Results, elementCls = typeof(GroupLeaderboardResponseData))]
|
|
990
|
+
public List<GroupLeaderboardResponseData> results;
|
|
991
|
+
|
|
992
|
+
[NumberDataMember(code = GNParameterCode.TsCreate, isOptional = true)]
|
|
993
|
+
public long? tsCreate;
|
|
994
|
+
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
public class GroupsWithGroupIdResponseData
|
|
998
|
+
{
|
|
999
|
+
[GNArrayDataMember(code = GNParameterCode.Results, elementCls = typeof(GroupWithGroupIdResponseData))]
|
|
1000
|
+
public List<GroupWithGroupIdResponseData> results;
|
|
1001
|
+
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
public class GroupMessageResponseData
|
|
1005
|
+
{
|
|
1006
|
+
[StringDataMember(code = GNParameterCode.Message)]
|
|
1007
|
+
public string message;
|
|
1008
|
+
|
|
1009
|
+
[StringDataMember(code = GNParameterCode.SenderId)]
|
|
1010
|
+
public string senderId;
|
|
1011
|
+
|
|
1012
|
+
[NumberDataMember(code = GNParameterCode.SenderType)]
|
|
1013
|
+
public int senderType;
|
|
1014
|
+
|
|
1015
|
+
[NumberDataMember(code = GNParameterCode.TsCreate)]
|
|
1016
|
+
public long tsCreate;
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
public class GroupMessagesResponseData
|
|
896
1020
|
{
|
|
897
|
-
|
|
898
|
-
|
|
1021
|
+
[GNArrayDataMember(code = GNParameterCode.GroupMessages, elementCls = typeof(GroupMessageResponseData))]
|
|
1022
|
+
public List<GroupMessageResponseData> groupMessages;
|
|
1023
|
+
}
|
|
899
1024
|
|
|
900
|
-
|
|
901
|
-
|
|
1025
|
+
public class GetCurrencyLeaderboardRequestData
|
|
1026
|
+
{
|
|
1027
|
+
[StringDataMember(code = GNParameterCode.Key, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
1028
|
+
public string key;
|
|
1029
|
+
|
|
1030
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
1031
|
+
public InfoRequestParam infoRequestParam;
|
|
1032
|
+
|
|
1033
|
+
[NumberDataMember(code = GNParameterCode.Skip, defaultValue = 0, minValue = 0, mustInt = true, isOptional = true)]
|
|
1034
|
+
public int? skip;
|
|
902
1035
|
|
|
903
|
-
|
|
904
|
-
|
|
1036
|
+
[NumberDataMember(code = GNParameterCode.Limit, defaultValue = 10, minValue = 5, maxValue = 100, mustInt = true, isOptional = true)]
|
|
1037
|
+
public int? limit;
|
|
905
1038
|
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
}
|
|
1039
|
+
[BooleanDataMember(code = GNParameterCode.LoadFromCache, defaultValue = true, isOptional = true)]
|
|
1040
|
+
public bool? loadFromCache;
|
|
909
1041
|
|
|
910
|
-
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
public class ServerGetCurrencyLeaderboardRequestData : GetCurrencyLeaderboardRequestData
|
|
911
1045
|
{
|
|
912
|
-
|
|
913
|
-
public List<GroupMessageResponseData> groupMessages;
|
|
914
|
-
}
|
|
1046
|
+
}
|
|
915
1047
|
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
public string key;
|
|
1048
|
+
public class AdminGetCurrencyLeaderboardRequestData : ServerGetCurrencyLeaderboardRequestData
|
|
1049
|
+
{
|
|
1050
|
+
}
|
|
920
1051
|
|
|
921
|
-
|
|
922
|
-
|
|
1052
|
+
public class GetCurrencyLeaderboardResponseData
|
|
1053
|
+
{
|
|
1054
|
+
[GNArrayDataMember(code = GNParameterCode.Results, elementCls = typeof(GroupLeaderboardResponseData))]
|
|
1055
|
+
public List<GroupLeaderboardResponseData> results;
|
|
923
1056
|
|
|
924
|
-
|
|
925
|
-
public long? skip;
|
|
1057
|
+
}
|
|
926
1058
|
|
|
927
|
-
|
|
928
|
-
|
|
1059
|
+
public class GetCreateLeaderboardResponseData
|
|
1060
|
+
{
|
|
1061
|
+
[GNArrayDataMember(code = GNParameterCode.Results, elementCls = typeof(GroupLeaderboardResponseData))]
|
|
1062
|
+
public List<GroupLeaderboardResponseData> results;
|
|
929
1063
|
|
|
930
|
-
|
|
931
|
-
public bool? loadFromCache;
|
|
1064
|
+
}
|
|
932
1065
|
|
|
933
|
-
|
|
1066
|
+
public class GetStatisticsLogResponseData
|
|
1067
|
+
{
|
|
1068
|
+
[GNArrayDataMember(code = GNParameterCode.Results, elementCls = typeof(GroupLogResponseData))]
|
|
1069
|
+
public List<GroupLogResponseData> results;
|
|
934
1070
|
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
}
|
|
1071
|
+
[StringDataMember(code = GNParameterCode.Token, isOptional = true)]
|
|
1072
|
+
public string? token;
|
|
938
1073
|
|
|
939
|
-
|
|
940
|
-
{
|
|
941
|
-
}
|
|
1074
|
+
}
|
|
942
1075
|
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
1076
|
+
public class GetCurrencyLogResponseData
|
|
1077
|
+
{
|
|
1078
|
+
[GNArrayDataMember(code = GNParameterCode.Results, elementCls = typeof(GroupLogResponseData))]
|
|
1079
|
+
public List<GroupLogResponseData> results;
|
|
947
1080
|
|
|
948
|
-
|
|
1081
|
+
[StringDataMember(code = GNParameterCode.Token, isOptional = true)]
|
|
1082
|
+
public string? token;
|
|
949
1083
|
|
|
950
|
-
|
|
951
|
-
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
public class EmptyResponseData
|
|
1087
|
+
{
|
|
952
1088
|
|
|
953
|
-
|
|
1089
|
+
}
|
|
954
1090
|
|
|
955
|
-
|
|
1091
|
+
}
|
|
956
1092
|
|
|
957
1093
|
}
|