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
|
@@ -2,248 +2,263 @@
|
|
|
2
2
|
{
|
|
3
3
|
using XmobiTea.GN.Entity.Response;
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
public class GamePlayerResponseModels
|
|
6
|
+
{
|
|
7
|
+
public class AddPlayerFriendOperationResponse : CustomOperationResponse<GamePlayerModels.EmptyResponseData>
|
|
8
|
+
{
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
}
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
public class AddSegmentOperationResponse : CustomOperationResponse<GamePlayerModels.EmptyResponseData>
|
|
13
|
+
{
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
}
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
public class GetAvatarOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
18
|
+
{
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
}
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
public class GetCountryCodeOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
23
|
+
{
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
}
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
public class GetCustomDataOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
28
|
+
{
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
}
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
public class GetDisplayNameOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
33
|
+
{
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
}
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
public class GetFriendStatisticsLeaderboardAroundPlayerOperationResponse : CustomOperationResponse<GamePlayerModels.GetStatisticsLeaderboardResponseData>
|
|
38
|
+
{
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
}
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
public class GetFriendStatisticsLeaderboardOperationResponse : CustomOperationResponse<GamePlayerModels.GetStatisticsLeaderboardResponseData>
|
|
43
|
+
{
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
}
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
public class GetIpAddressCreateOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
48
|
+
{
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
}
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
public class GetOnlineStatusOperationResponse : CustomOperationResponse<GamePlayerModels.OnlineStatusResponseData>
|
|
53
|
+
{
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
}
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
public class GetPlayerBanOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
58
|
+
{
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
}
|
|
61
61
|
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
public class GetPlayerCharacterOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
63
|
+
{
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
}
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
public class GetPlayerCurrencyOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
68
|
+
{
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
}
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
public class GetPlayerDataOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
73
|
+
{
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
}
|
|
76
76
|
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
public class GetPlayerFriendOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
78
|
+
{
|
|
79
79
|
|
|
80
|
-
|
|
80
|
+
}
|
|
81
81
|
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
public class GetPlayerGroupOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
83
|
+
{
|
|
84
84
|
|
|
85
|
-
|
|
85
|
+
}
|
|
86
86
|
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
public class GetPlayerInformationOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
88
|
+
{
|
|
89
89
|
|
|
90
|
-
|
|
90
|
+
}
|
|
91
91
|
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
public class GetPlayerInventoryOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
93
|
+
{
|
|
94
94
|
|
|
95
|
-
|
|
95
|
+
}
|
|
96
96
|
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
public class GetPlayerStatisticsOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
98
|
+
{
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
}
|
|
101
101
|
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
public class GetPlayersWithDisplayNameOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayersWithUserIdResponseData>
|
|
103
|
+
{
|
|
104
104
|
|
|
105
|
-
|
|
105
|
+
}
|
|
106
106
|
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
public class GetPlayersWithSegmentOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayersWithUserIdResponseData>
|
|
108
|
+
{
|
|
109
109
|
|
|
110
|
-
|
|
110
|
+
}
|
|
111
111
|
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
public class GetPlayersWithTagOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayersWithUserIdResponseData>
|
|
113
|
+
{
|
|
114
114
|
|
|
115
|
-
|
|
115
|
+
}
|
|
116
116
|
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
public class GetSegmentOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
118
|
+
{
|
|
119
119
|
|
|
120
|
-
|
|
120
|
+
}
|
|
121
121
|
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
public class GetStatisticsLeaderboardAroundPlayerOperationResponse : CustomOperationResponse<GamePlayerModels.GetStatisticsLeaderboardResponseData>
|
|
123
|
+
{
|
|
124
124
|
|
|
125
|
-
|
|
125
|
+
}
|
|
126
126
|
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
public class GetStatisticsLeaderboardOperationResponse : CustomOperationResponse<GamePlayerModels.GetStatisticsLeaderboardResponseData>
|
|
128
|
+
{
|
|
129
129
|
|
|
130
|
-
|
|
130
|
+
}
|
|
131
131
|
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
public class GetTagOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
133
|
+
{
|
|
134
134
|
|
|
135
|
-
|
|
135
|
+
}
|
|
136
136
|
|
|
137
|
-
|
|
138
|
-
|
|
137
|
+
public class GetTsCreateOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
138
|
+
{
|
|
139
139
|
|
|
140
|
-
|
|
140
|
+
}
|
|
141
141
|
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
public class GetTsLastLoginOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
143
|
+
{
|
|
144
144
|
|
|
145
|
-
|
|
145
|
+
}
|
|
146
146
|
|
|
147
|
-
|
|
148
|
-
|
|
147
|
+
public class GrantGroupOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
148
|
+
{
|
|
149
149
|
|
|
150
|
-
|
|
150
|
+
}
|
|
151
151
|
|
|
152
|
-
|
|
153
|
-
|
|
152
|
+
public class GrantPlayerCharacterOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
153
|
+
{
|
|
154
154
|
|
|
155
|
-
|
|
155
|
+
}
|
|
156
156
|
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
public class GrantPlayerItemOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
158
|
+
{
|
|
159
159
|
|
|
160
|
-
|
|
160
|
+
}
|
|
161
161
|
|
|
162
|
-
|
|
163
|
-
|
|
162
|
+
public class JoinGroupOperationResponse : CustomOperationResponse<GamePlayerModels.EmptyResponseData>
|
|
163
|
+
{
|
|
164
164
|
|
|
165
|
-
|
|
165
|
+
}
|
|
166
166
|
|
|
167
|
-
|
|
168
|
-
|
|
167
|
+
public class LeaveGroupOperationResponse : CustomOperationResponse<GamePlayerModels.EmptyResponseData>
|
|
168
|
+
{
|
|
169
169
|
|
|
170
|
-
|
|
170
|
+
}
|
|
171
171
|
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
public class RemovePlayerCharacterOperationResponse : CustomOperationResponse<GamePlayerModels.EmptyResponseData>
|
|
173
|
+
{
|
|
174
174
|
|
|
175
|
-
|
|
175
|
+
}
|
|
176
176
|
|
|
177
|
-
|
|
178
|
-
|
|
177
|
+
public class RemovePlayerFriendOperationResponse : CustomOperationResponse<GamePlayerModels.EmptyResponseData>
|
|
178
|
+
{
|
|
179
179
|
|
|
180
|
-
|
|
180
|
+
}
|
|
181
181
|
|
|
182
|
-
|
|
183
|
-
|
|
182
|
+
public class RemovePlayerItemOperationResponse : CustomOperationResponse<GamePlayerModels.EmptyResponseData>
|
|
183
|
+
{
|
|
184
184
|
|
|
185
|
-
|
|
185
|
+
}
|
|
186
186
|
|
|
187
|
-
|
|
188
|
-
|
|
187
|
+
public class RemoveSegmentOperationResponse : CustomOperationResponse<GamePlayerModels.EmptyResponseData>
|
|
188
|
+
{
|
|
189
189
|
|
|
190
|
-
|
|
190
|
+
}
|
|
191
191
|
|
|
192
|
-
|
|
193
|
-
|
|
192
|
+
public class RemoveTagOperationResponse : CustomOperationResponse<GamePlayerModels.EmptyResponseData>
|
|
193
|
+
{
|
|
194
194
|
|
|
195
|
-
|
|
195
|
+
}
|
|
196
196
|
|
|
197
|
-
|
|
198
|
-
|
|
197
|
+
public class SetAvatarOperationResponse : CustomOperationResponse<GamePlayerModels.EmptyResponseData>
|
|
198
|
+
{
|
|
199
199
|
|
|
200
|
-
|
|
200
|
+
}
|
|
201
201
|
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
public class SetCountryCodeOperationResponse : CustomOperationResponse<GamePlayerModels.EmptyResponseData>
|
|
203
|
+
{
|
|
204
204
|
|
|
205
|
-
|
|
205
|
+
}
|
|
206
206
|
|
|
207
|
-
|
|
208
|
-
|
|
207
|
+
public class SetCustomDataOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
208
|
+
{
|
|
209
209
|
|
|
210
|
-
|
|
210
|
+
}
|
|
211
211
|
|
|
212
|
-
|
|
213
|
-
|
|
212
|
+
public class SetDisplayNameOperationResponse : CustomOperationResponse<GamePlayerModels.EmptyResponseData>
|
|
213
|
+
{
|
|
214
214
|
|
|
215
|
-
|
|
215
|
+
}
|
|
216
216
|
|
|
217
|
-
|
|
218
|
-
|
|
217
|
+
public class SetPlayerBanOperationResponse : CustomOperationResponse<GamePlayerModels.EmptyResponseData>
|
|
218
|
+
{
|
|
219
219
|
|
|
220
|
-
|
|
220
|
+
}
|
|
221
221
|
|
|
222
|
-
|
|
223
|
-
|
|
222
|
+
public class SetPlayerCurrencyOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
223
|
+
{
|
|
224
224
|
|
|
225
|
-
|
|
225
|
+
}
|
|
226
226
|
|
|
227
|
-
|
|
228
|
-
|
|
227
|
+
public class SetPlayerDataOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
228
|
+
{
|
|
229
229
|
|
|
230
|
-
|
|
230
|
+
}
|
|
231
231
|
|
|
232
|
-
|
|
233
|
-
|
|
232
|
+
public class SetPlayerStatisticsOperationResponse : CustomOperationResponse<GamePlayerModels.GamePlayerResponseData>
|
|
233
|
+
{
|
|
234
234
|
|
|
235
|
-
|
|
235
|
+
}
|
|
236
236
|
|
|
237
|
-
|
|
238
|
-
|
|
237
|
+
public class SetTagOperationResponse : CustomOperationResponse<GamePlayerModels.EmptyResponseData>
|
|
238
|
+
{
|
|
239
239
|
|
|
240
|
-
|
|
240
|
+
}
|
|
241
241
|
|
|
242
|
-
|
|
243
|
-
|
|
242
|
+
public class GetCurrencyLeaderboardOperationResponse : CustomOperationResponse<GamePlayerModels.GetCurrencyLeaderboardResponseData>
|
|
243
|
+
{
|
|
244
244
|
|
|
245
|
-
|
|
245
|
+
}
|
|
246
246
|
|
|
247
|
-
|
|
247
|
+
public class GetCreateLeaderboardOperationResponse : CustomOperationResponse<GamePlayerModels.GetCreateLeaderboardResponseData>
|
|
248
|
+
{
|
|
249
|
+
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
public class GetStatisticsLogOperationResponse : CustomOperationResponse<GamePlayerModels.GetStatisticsLogResponseData>
|
|
253
|
+
{
|
|
254
|
+
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
public class GetCurrencyLogOperationResponse : CustomOperationResponse<GamePlayerModels.GetStatisticsLogResponseData>
|
|
258
|
+
{
|
|
259
|
+
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
}
|
|
248
263
|
|
|
249
264
|
}
|
|
@@ -1,154 +1,154 @@
|
|
|
1
1
|
namespace XmobiTea.GN.Entity.Models
|
|
2
2
|
{
|
|
3
|
-
|
|
3
|
+
using XmobiTea.GN.Constant;
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
5
|
+
public class GenericModels
|
|
6
|
+
{
|
|
7
|
+
public class AvatarItem
|
|
8
|
+
{
|
|
9
|
+
[NumberDataMember(code = GNParameterCode.Type)]
|
|
10
|
+
public int type;
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
[StringDataMember(code = GNParameterCode.Value)]
|
|
13
|
+
public string value;
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
}
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
public class TagItem
|
|
18
|
+
{
|
|
19
|
+
[StringDataMember(code = GNParameterCode.Key)]
|
|
20
|
+
public string key;
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
[StringDataMember(code = GNParameterCode.Value)]
|
|
23
|
+
public string value;
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
}
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
public class BanItem
|
|
28
|
+
{
|
|
29
|
+
[NumberDataMember(code = GNParameterCode.TsExpire)]
|
|
30
|
+
public long tsExpire;
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
[StringDataMember(code = GNParameterCode.Reason)]
|
|
33
|
+
public string reason;
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
}
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
public class DataItem
|
|
38
|
+
{
|
|
39
|
+
[StringDataMember(code = GNParameterCode.Key)]
|
|
40
|
+
public string key;
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
[DataMember(code = GNParameterCode.Value)]
|
|
43
|
+
public object value;
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
}
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
public class CurrencyItem
|
|
48
|
+
{
|
|
49
|
+
[StringDataMember(code = GNParameterCode.Key)]
|
|
50
|
+
public string key;
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
[NumberDataMember(code = GNParameterCode.Value)]
|
|
53
|
+
public double value;
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
}
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
57
|
+
public class StatisticsItem
|
|
58
|
+
{
|
|
59
|
+
[StringDataMember(code = GNParameterCode.Key)]
|
|
60
|
+
public string key;
|
|
61
61
|
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
[NumberDataMember(code = GNParameterCode.Value)]
|
|
63
|
+
public double value;
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
}
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
67
|
+
public class CharacterItem
|
|
68
|
+
{
|
|
69
|
+
[StringDataMember(code = GNParameterCode.CharacterId)]
|
|
70
|
+
public string characterId;
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
[StringDataMember(code = GNParameterCode.CatalogId)]
|
|
73
|
+
public string catalogId;
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
}
|
|
76
76
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
77
|
+
public class OwnerItem
|
|
78
|
+
{
|
|
79
|
+
[NumberDataMember(code = GNParameterCode.Type)]
|
|
80
|
+
public int type;
|
|
81
81
|
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
[StringDataMember(code = GNParameterCode.Id)]
|
|
83
|
+
public string id;
|
|
84
84
|
|
|
85
|
-
|
|
85
|
+
}
|
|
86
86
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
87
|
+
public class RemoveStatusItem
|
|
88
|
+
{
|
|
89
|
+
[NumberDataMember(code = GNParameterCode.TsRemove)]
|
|
90
|
+
public long tsRemove;
|
|
91
91
|
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
[StringDataMember(code = GNParameterCode.Reason, isOptional = true)]
|
|
93
|
+
public string? reason;
|
|
94
94
|
|
|
95
|
-
|
|
95
|
+
}
|
|
96
96
|
|
|
97
|
-
|
|
97
|
+
public class InventoryItem
|
|
98
98
|
{
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
[StringDataMember(code = GNParameterCode.ItemId)]
|
|
100
|
+
public string itemId;
|
|
101
101
|
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
[StringDataMember(code = GNParameterCode.CatalogId)]
|
|
103
|
+
public string catalogId;
|
|
104
104
|
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
[StringDataMember(code = GNParameterCode.ClassId)]
|
|
106
|
+
public string classId;
|
|
107
107
|
|
|
108
|
-
|
|
108
|
+
}
|
|
109
109
|
|
|
110
|
-
|
|
110
|
+
public class GroupItem
|
|
111
111
|
{
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
[StringDataMember(code = GNParameterCode.GroupId)]
|
|
113
|
+
public string groupId;
|
|
114
114
|
|
|
115
|
-
|
|
116
|
-
|
|
115
|
+
[StringDataMember(code = GNParameterCode.CatalogId)]
|
|
116
|
+
public string catalogId;
|
|
117
117
|
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
[NumberDataMember(code = GNParameterCode.Status)]
|
|
119
|
+
public int status;
|
|
120
120
|
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
[NumberDataMember(code = GNParameterCode.TsLastStatusUpdate)]
|
|
122
|
+
public long tsLastStatusUpdate;
|
|
123
123
|
|
|
124
|
-
|
|
124
|
+
}
|
|
125
125
|
|
|
126
|
-
|
|
126
|
+
public class FriendItem
|
|
127
127
|
{
|
|
128
|
-
|
|
129
|
-
|
|
128
|
+
[StringDataMember(code = GNParameterCode.FriendId)]
|
|
129
|
+
public string friendId;
|
|
130
130
|
|
|
131
|
-
|
|
132
|
-
|
|
131
|
+
[StringDataMember(code = GNParameterCode.CatalogId)]
|
|
132
|
+
public string catalogId;
|
|
133
133
|
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
[NumberDataMember(code = GNParameterCode.Status)]
|
|
135
|
+
public int status;
|
|
136
136
|
|
|
137
|
-
|
|
138
|
-
|
|
137
|
+
[NumberDataMember(code = GNParameterCode.TsLastStatusUpdate)]
|
|
138
|
+
public long tsLastStatusUpdate;
|
|
139
139
|
|
|
140
|
-
|
|
140
|
+
}
|
|
141
141
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
142
|
+
public class MemberItem
|
|
143
|
+
{
|
|
144
|
+
[StringDataMember(code = GNParameterCode.MemberId)]
|
|
145
|
+
public string memberId;
|
|
146
146
|
|
|
147
|
-
|
|
148
|
-
|
|
147
|
+
[NumberDataMember(code = GNParameterCode.Status)]
|
|
148
|
+
public int status;
|
|
149
149
|
|
|
150
|
-
|
|
150
|
+
}
|
|
151
151
|
|
|
152
|
-
|
|
152
|
+
}
|
|
153
153
|
|
|
154
154
|
}
|