com.xmobitea.changx.gn-unity 2.0.3 → 2.4.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 +16 -300
- package/Runtime/Common/GNArray.cs +387 -302
- package/Runtime/Common/GNArray.cs.meta +11 -11
- package/Runtime/Common/GNData.cs +61 -48
- package/Runtime/Common/GNData.cs.meta +11 -11
- package/Runtime/Common/GNHashtable.cs +404 -241
- package/Runtime/Common/GNHashtable.cs.meta +11 -11
- package/Runtime/Common/IGNData.cs +20 -11
- package/Runtime/Common/IGNData.cs.meta +11 -11
- package/Runtime/Common.meta +8 -8
- package/Runtime/Config/GNServerSettings.cs +136 -92
- package/Runtime/Config/GNServerSettings.cs.meta +11 -11
- package/Runtime/Config.meta +8 -8
- package/Runtime/Constant/Commands.cs +82 -19
- package/Runtime/Constant/Commands.cs.meta +11 -11
- package/Runtime/Constant/EnumType/FriendStatus.cs +12 -12
- package/Runtime/Constant/EnumType/FriendStatus.cs.meta +11 -11
- package/Runtime/Constant/EnumType/GoogleLoginType.cs +5 -5
- package/Runtime/Constant/EnumType/GoogleLoginType.cs.meta +11 -11
- package/Runtime/Constant/EnumType/GroupStatus.cs +7 -7
- package/Runtime/Constant/EnumType/GroupStatus.cs.meta +11 -11
- package/Runtime/Constant/EnumType/InvalidMemberType.cs +23 -23
- package/Runtime/Constant/EnumType/InvalidMemberType.cs.meta +11 -11
- package/Runtime/Constant/EnumType/ItemType.cs +5 -5
- package/Runtime/Constant/EnumType/ItemType.cs.meta +11 -11
- package/Runtime/Constant/EnumType/MatchmakingMemberStatus.cs +6 -6
- package/Runtime/Constant/EnumType/MatchmakingMemberStatus.cs.meta +11 -11
- package/Runtime/Constant/EnumType/MatchmakingTicketStatus.cs +2 -2
- package/Runtime/Constant/EnumType/MatchmakingTicketStatus.cs.meta +11 -11
- package/Runtime/Constant/EnumType/OwnerType.cs +3 -2
- package/Runtime/Constant/EnumType/OwnerType.cs.meta +11 -11
- package/Runtime/Constant/EnumType/PermissionDataItem.cs +10 -10
- package/Runtime/Constant/EnumType/PermissionDataItem.cs.meta +11 -11
- package/Runtime/Constant/EnumType/PushPlatformType.cs +10 -0
- package/Runtime/Constant/EnumType/PushPlatformType.cs.meta +11 -0
- package/Runtime/Constant/EnumType/RequestRole.cs +11 -11
- package/Runtime/Constant/EnumType/RequestRole.cs.meta +7 -7
- package/Runtime/Constant/EnumType/RequestType.cs +20 -19
- package/Runtime/Constant/EnumType/RequestType.cs.meta +11 -11
- package/Runtime/Constant/EnumType/StoreReceiveType.cs +13 -0
- package/Runtime/Constant/EnumType/StoreReceiveType.cs.meta +11 -0
- package/Runtime/Constant/EnumType.meta +8 -8
- package/Runtime/Constant/ErrorCode/GNErrorCode.cs +53 -48
- package/Runtime/Constant/ErrorCode/GNErrorCode.cs.meta +7 -7
- package/Runtime/Constant/ErrorCode.meta +8 -8
- package/Runtime/Constant/EventCode.cs +43 -16
- package/Runtime/Constant/EventCode.cs.meta +11 -11
- package/Runtime/Constant/OperationCode.cs +249 -211
- package/Runtime/Constant/OperationCode.cs.meta +11 -11
- package/Runtime/Constant/ParameterCode/GNParameterCode.cs +614 -466
- package/Runtime/Constant/ParameterCode/GNParameterCode.cs.meta +11 -11
- package/Runtime/Constant/ParameterCode/ParameterCode.cs +12 -12
- package/Runtime/Constant/ParameterCode/ParameterCode.cs.meta +11 -11
- package/Runtime/Constant/ParameterCode.meta +8 -8
- package/Runtime/Constant/ReturnCode.cs +73 -25
- package/Runtime/Constant/ReturnCode.cs.meta +11 -11
- package/Runtime/Constant.meta +8 -8
- package/Runtime/Entity/DataMember.cs +342 -124
- package/Runtime/Entity/DataMember.cs.meta +11 -11
- package/Runtime/Entity/GNMetadata.cs +72 -27
- package/Runtime/Entity/GNMetadata.cs.meta +11 -11
- package/Runtime/Entity/InvalidMember.cs +52 -33
- package/Runtime/Entity/InvalidMember.cs.meta +11 -11
- package/Runtime/Entity/Models/AuthenticateModels.cs +251 -207
- package/Runtime/Entity/Models/AuthenticateModels.cs.meta +11 -11
- package/Runtime/Entity/Models/AuthenticateRequestModels.cs +153 -131
- package/Runtime/Entity/Models/AuthenticateRequestModels.cs.meta +11 -11
- package/Runtime/Entity/Models/AuthenticateResponseModels.cs +61 -51
- package/Runtime/Entity/Models/AuthenticateResponseModels.cs.meta +11 -11
- package/Runtime/Entity/Models/CharacterPlayerModels.cs +985 -849
- package/Runtime/Entity/Models/CharacterPlayerModels.cs.meta +11 -11
- package/Runtime/Entity/Models/CharacterPlayerRequestModels.cs +957 -885
- package/Runtime/Entity/Models/CharacterPlayerRequestModels.cs.meta +11 -11
- package/Runtime/Entity/Models/CharacterPlayerResponseModels.cs +165 -150
- package/Runtime/Entity/Models/CharacterPlayerResponseModels.cs.meta +11 -11
- 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/ContentModels.cs.meta +11 -11
- package/Runtime/Entity/Models/ContentRequestModels.cs +129 -129
- package/Runtime/Entity/Models/ContentRequestModels.cs.meta +11 -11
- package/Runtime/Entity/Models/ContentResponseModels.cs +24 -24
- package/Runtime/Entity/Models/ContentResponseModels.cs.meta +11 -11
- package/Runtime/Entity/Models/DashboardModels.cs +1684 -1156
- package/Runtime/Entity/Models/DashboardModels.cs.meta +11 -11
- package/Runtime/Entity/Models/DashboardRequestModels.cs +220 -147
- package/Runtime/Entity/Models/DashboardRequestModels.cs.meta +11 -11
- package/Runtime/Entity/Models/DashboardResponseModels.cs +92 -57
- package/Runtime/Entity/Models/DashboardResponseModels.cs.meta +11 -11
- package/Runtime/Entity/Models/GamePlayerModels.cs +1073 -933
- package/Runtime/Entity/Models/GamePlayerModels.cs.meta +11 -11
- package/Runtime/Entity/Models/GamePlayerRequestModels.cs +939 -867
- package/Runtime/Entity/Models/GamePlayerRequestModels.cs.meta +11 -11
- package/Runtime/Entity/Models/GamePlayerResponseModels.cs +162 -147
- package/Runtime/Entity/Models/GamePlayerResponseModels.cs.meta +11 -11
- package/Runtime/Entity/Models/GenericModels.cs +102 -102
- package/Runtime/Entity/Models/GenericModels.cs.meta +11 -11
- package/Runtime/Entity/Models/GroupModels.cs +812 -676
- package/Runtime/Entity/Models/GroupModels.cs.meta +11 -11
- package/Runtime/Entity/Models/GroupRequestModels.cs +741 -669
- package/Runtime/Entity/Models/GroupRequestModels.cs.meta +11 -11
- package/Runtime/Entity/Models/GroupResponseModels.cs +129 -114
- package/Runtime/Entity/Models/GroupResponseModels.cs.meta +11 -11
- package/Runtime/Entity/Models/InventoryModels.cs +667 -558
- package/Runtime/Entity/Models/InventoryModels.cs.meta +11 -11
- package/Runtime/Entity/Models/InventoryRequestModels.cs +626 -579
- package/Runtime/Entity/Models/InventoryRequestModels.cs.meta +11 -11
- package/Runtime/Entity/Models/InventoryResponseModels.cs +109 -99
- package/Runtime/Entity/Models/InventoryResponseModels.cs.meta +11 -11
- package/Runtime/Entity/Models/MasterPlayerModels.cs +1882 -1340
- package/Runtime/Entity/Models/MasterPlayerModels.cs.meta +11 -11
- package/Runtime/Entity/Models/MasterPlayerRequestModels.cs +1643 -1253
- package/Runtime/Entity/Models/MasterPlayerRequestModels.cs.meta +11 -11
- package/Runtime/Entity/Models/MasterPlayerResponseModels.cs +293 -213
- package/Runtime/Entity/Models/MasterPlayerResponseModels.cs.meta +11 -11
- package/Runtime/Entity/Models/MultiplayerModels.cs +293 -223
- package/Runtime/Entity/Models/MultiplayerModels.cs.meta +11 -11
- package/Runtime/Entity/Models/MultiplayerRequestModels.cs +199 -149
- package/Runtime/Entity/Models/MultiplayerRequestModels.cs.meta +11 -11
- package/Runtime/Entity/Models/MultiplayerResponseModels.cs +59 -49
- package/Runtime/Entity/Models/MultiplayerResponseModels.cs.meta +11 -11
- package/Runtime/Entity/Models/StoreInventoryModels.cs +514 -323
- package/Runtime/Entity/Models/StoreInventoryModels.cs.meta +11 -11
- package/Runtime/Entity/Models/StoreInventoryRequestModels.cs +236 -165
- package/Runtime/Entity/Models/StoreInventoryRequestModels.cs.meta +11 -11
- package/Runtime/Entity/Models/StoreInventoryResponseModels.cs +45 -30
- package/Runtime/Entity/Models/StoreInventoryResponseModels.cs.meta +11 -11
- package/Runtime/Entity/Models.meta +8 -8
- package/Runtime/Entity/OperationEvent.cs +111 -75
- package/Runtime/Entity/OperationEvent.cs.meta +11 -11
- package/Runtime/Entity/OperationHelper.cs +51 -35
- package/Runtime/Entity/OperationHelper.cs.meta +11 -11
- package/Runtime/Entity/OperationRequest.cs +142 -99
- package/Runtime/Entity/OperationRequest.cs.meta +11 -11
- package/Runtime/Entity/OperationResponse.cs +111 -63
- package/Runtime/Entity/OperationResponse.cs.meta +11 -11
- package/Runtime/Entity/Request/CustomOperationRequest.cs +112 -61
- package/Runtime/Entity/Request/CustomOperationRequest.cs.meta +11 -11
- package/Runtime/Entity/Request.meta +8 -8
- package/Runtime/Entity/Response/CustomOperationResponse.cs +84 -63
- package/Runtime/Entity/Response/CustomOperationResponse.cs.meta +11 -11
- package/Runtime/Entity/Response.meta +8 -8
- package/Runtime/Entity.meta +8 -8
- package/Runtime/GNNetwork.cs +501 -182
- package/Runtime/GNNetwork.cs.meta +11 -11
- package/Runtime/GNNetworkApi.cs +38 -19
- package/Runtime/GNNetworkApi.cs.meta +11 -11
- package/Runtime/GNNetworkAuthenticateApi.cs +531 -98
- package/Runtime/GNNetworkAuthenticateApi.cs.meta +11 -11
- package/Runtime/GNNetworkCharacterPlayerApi.cs +1587 -762
- package/Runtime/GNNetworkCharacterPlayerApi.cs.meta +11 -11
- package/Runtime/GNNetworkCloudScriptApi.cs +181 -0
- package/Runtime/GNNetworkCloudScriptApi.cs.meta +11 -0
- package/Runtime/GNNetworkContentApi.cs +238 -132
- package/Runtime/GNNetworkContentApi.cs.meta +11 -11
- package/Runtime/GNNetworkDashboardApi.cs +278 -117
- package/Runtime/GNNetworkDashboardApi.cs.meta +11 -11
- package/Runtime/GNNetworkGamePlayerApi.cs +1558 -747
- package/Runtime/GNNetworkGamePlayerApi.cs.meta +11 -11
- package/Runtime/GNNetworkGroupApi.cs +1228 -582
- package/Runtime/GNNetworkGroupApi.cs.meta +11 -11
- package/Runtime/GNNetworkInventoryApi.cs +1048 -507
- package/Runtime/GNNetworkInventoryApi.cs.meta +11 -11
- package/Runtime/GNNetworkMasterPlayerApi.cs +2586 -1067
- package/Runtime/GNNetworkMasterPlayerApi.cs.meta +11 -11
- package/Runtime/GNNetworkMultiplayerApi.cs +328 -147
- package/Runtime/GNNetworkMultiplayerApi.cs.meta +11 -11
- package/Runtime/GNNetworkStoreInventoryApi.cs +388 -162
- package/Runtime/GNNetworkStoreInventoryApi.cs.meta +11 -11
- package/Runtime/Helper/CodeHelper.cs +140 -98
- package/Runtime/Helper/CodeHelper.cs.meta +11 -11
- package/Runtime/Helper/ConverterService.cs +236 -52
- package/Runtime/Helper/ConverterService.cs.meta +11 -11
- package/Runtime/Helper/ParseGNHelper.cs +451 -451
- package/Runtime/Helper/ParseGNHelper.cs.meta +11 -11
- package/Runtime/Helper.meta +8 -8
- package/Runtime/Logger/GNDebug.cs +92 -49
- package/Runtime/Logger/GNDebug.cs.meta +11 -11
- package/Runtime/Logger.meta +8 -8
- package/Runtime/Networking/AuthenticateStatus.cs +57 -35
- package/Runtime/Networking/AuthenticateStatus.cs.meta +11 -11
- package/Runtime/Networking/Handler/IServerEventHandler.cs +25 -25
- package/Runtime/Networking/Handler/IServerEventHandler.cs.meta +11 -11
- package/Runtime/Networking/Handler/OnCharacterPlayerFriendUpdateEventHandler.cs +61 -32
- package/Runtime/Networking/Handler/OnCharacterPlayerFriendUpdateEventHandler.cs.meta +11 -11
- package/Runtime/Networking/Handler/OnCharacterPlayerGroupUpdateEventHandler.cs +54 -33
- package/Runtime/Networking/Handler/OnCharacterPlayerGroupUpdateEventHandler.cs.meta +11 -11
- package/Runtime/Networking/Handler/OnGamePlayerFriendUpdateEventHandler.cs +54 -32
- package/Runtime/Networking/Handler/OnGamePlayerFriendUpdateEventHandler.cs.meta +11 -11
- package/Runtime/Networking/Handler/OnGamePlayerGroupUpdateEventHandler.cs +54 -32
- package/Runtime/Networking/Handler/OnGamePlayerGroupUpdateEventHandler.cs.meta +11 -11
- package/Runtime/Networking/Handler/OnGroupMemberUpdateEventHandler.cs +48 -29
- package/Runtime/Networking/Handler/OnGroupMemberUpdateEventHandler.cs.meta +11 -11
- package/Runtime/Networking/Handler/OnGroupMessageUpdateEventHandler.cs +47 -29
- package/Runtime/Networking/Handler/OnGroupMessageUpdateEventHandler.cs.meta +11 -11
- package/Runtime/Networking/Handler.meta +8 -8
- package/Runtime/Networking/Http/HttpPeer.cs +68 -25
- package/Runtime/Networking/Http/HttpPeer.cs.meta +11 -11
- package/Runtime/Networking/Http/NetworkingHttpPeerBase.cs +65 -25
- package/Runtime/Networking/Http/NetworkingHttpPeerBase.cs.meta +11 -11
- package/Runtime/Networking/Http/NetworkingPeerHttpClientRequest.cs +513 -486
- package/Runtime/Networking/Http/NetworkingPeerHttpClientRequest.cs.meta +11 -11
- package/Runtime/Networking/Http/NetworkingPeerHttpRequest.cs +172 -142
- package/Runtime/Networking/Http/NetworkingPeerHttpRequest.cs.meta +11 -11
- package/Runtime/Networking/Http/NetworkingPeerUnityWebRequest.cs +225 -188
- package/Runtime/Networking/Http/NetworkingPeerUnityWebRequest.cs.meta +11 -11
- package/Runtime/Networking/Http.meta +8 -8
- package/Runtime/Networking/IPeer.cs +41 -19
- package/Runtime/Networking/IPeer.cs.meta +11 -11
- package/Runtime/Networking/NetworkingPeer.cs +198 -144
- package/Runtime/Networking/NetworkingPeer.cs.meta +11 -11
- package/Runtime/Networking/NetworkingPeerAPI.cs +20 -21
- package/Runtime/Networking/NetworkingPeerAPI.cs.meta +11 -11
- package/Runtime/Networking/OperationPending.cs +159 -95
- package/Runtime/Networking/OperationPending.cs.meta +11 -11
- package/Runtime/Networking/PeerBase.cs +305 -242
- package/Runtime/Networking/PeerBase.cs.meta +11 -11
- package/Runtime/Networking/Socket/NetworkingPeerSocketV2.cs +222 -185
- package/Runtime/Networking/Socket/NetworkingPeerSocketV2.cs.meta +11 -11
- package/Runtime/Networking/Socket/NetworkingPeerSocketV3.cs +235 -177
- package/Runtime/Networking/Socket/NetworkingPeerSocketV3.cs.meta +11 -11
- package/Runtime/Networking/Socket/NetworkingSocketPeerBase.cs +165 -23
- package/Runtime/Networking/Socket/NetworkingSocketPeerBase.cs.meta +11 -11
- package/Runtime/Networking/Socket/SocketPeer.cs +242 -197
- package/Runtime/Networking/Socket/SocketPeer.cs.meta +11 -11
- package/Runtime/Networking/Socket.meta +8 -8
- package/Runtime/Networking.meta +8 -8
- package/Runtime/Unity/ServiceCoroutine.cs +10 -0
- package/Runtime/Unity/ServiceCoroutine.cs.meta +11 -0
- package/Runtime/Unity/ServiceUpdate.cs +33 -20
- package/Runtime/Unity/ServiceUpdate.cs.meta +11 -11
- package/Runtime/Unity.meta +8 -8
- package/Runtime/XmobiTea.GN.runtime.asmdef +16 -16
- package/Runtime/XmobiTea.GN.runtime.asmdef.meta +7 -7
- package/package.json +1 -1
|
@@ -3,472 +3,663 @@
|
|
|
3
3
|
using System.Collections.Generic;
|
|
4
4
|
using XmobiTea.GN.Constant;
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
public partial class StoreInventoryModels
|
|
7
|
+
{
|
|
8
|
+
public class BuyStoreItemRequestData
|
|
9
|
+
{
|
|
10
|
+
[StringDataMember(code = GNParameterCode.StoreId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
11
|
+
public string storeId;
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
[StringDataMember(code = GNParameterCode.OwnerId, minLength = 10, maxLength = 11, mustNonNull = true)]
|
|
14
|
+
public string id;
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
[NumberDataMember(code = GNParameterCode.OwnerType, mustInt = true)]
|
|
17
|
+
public long type;
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
[StringDataMember(code = GNParameterCode.Log, minLength = 1, maxLength = 256, mustNonNull = true, isOptional = true)]
|
|
20
|
+
public string? log;
|
|
20
21
|
|
|
21
|
-
|
|
22
|
-
{
|
|
23
|
-
}
|
|
22
|
+
}
|
|
24
23
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
public class ServerBuyStoreItemRequestData : BuyStoreItemRequestData
|
|
25
|
+
{
|
|
26
|
+
}
|
|
28
27
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
public string storeId;
|
|
28
|
+
public class AdminBuyStoreItemRequestData : ServerBuyStoreItemRequestData
|
|
29
|
+
{
|
|
30
|
+
}
|
|
33
31
|
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
public class PresentStoreItemRequestData
|
|
33
|
+
{
|
|
34
|
+
[StringDataMember(code = GNParameterCode.StoreId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
35
|
+
public string storeId;
|
|
36
36
|
|
|
37
|
-
|
|
37
|
+
[StringDataMember(code = GNParameterCode.OwnerId, minLength = 10, maxLength = 11, mustNonNull = true)]
|
|
38
|
+
public string id;
|
|
38
39
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
40
|
+
[NumberDataMember(code = GNParameterCode.OwnerType, mustInt = true)]
|
|
41
|
+
public long type;
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
43
|
+
[StringDataMember(code = GNParameterCode.Log, minLength = 1, maxLength = 256, mustNonNull = true, isOptional = true)]
|
|
44
|
+
public string? log;
|
|
46
45
|
|
|
47
|
-
|
|
48
|
-
{
|
|
49
|
-
[StringDataMember(code = GNParameterCode.Key, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
50
|
-
public string key;
|
|
46
|
+
}
|
|
51
47
|
|
|
52
|
-
|
|
53
|
-
|
|
48
|
+
public class ServerPresentStoreItemRequestData : PresentStoreItemRequestData
|
|
49
|
+
{
|
|
50
|
+
}
|
|
54
51
|
|
|
55
|
-
|
|
56
|
-
|
|
52
|
+
public class AdminPresentStoreItemRequestData : ServerPresentStoreItemRequestData
|
|
53
|
+
{
|
|
54
|
+
}
|
|
57
55
|
|
|
58
|
-
|
|
59
|
-
|
|
56
|
+
public class GetStoreItemInformationRequestData
|
|
57
|
+
{
|
|
58
|
+
[StringDataMember(code = GNParameterCode.StoreId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
59
|
+
public string storeId;
|
|
60
60
|
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
62
|
+
public InfoRequestParam infoRequestParam;
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
}
|
|
65
65
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
public class ServerGetStoreItemInformationRequestData : GetStoreItemInformationRequestData
|
|
67
|
+
{
|
|
68
|
+
}
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
public class AdminGetStoreItemInformationRequestData : ServerGetStoreItemInformationRequestData
|
|
71
|
+
{
|
|
72
|
+
}
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
74
|
+
public class GetStoreLogRequestData
|
|
75
|
+
{
|
|
76
|
+
[StringDataMember(code = GNParameterCode.StoreId, minLength = 10, maxLength = 10, mustNonNull = true, isOptional = true)]
|
|
77
|
+
public string? storeId;
|
|
78
78
|
|
|
79
|
-
|
|
79
|
+
[GNArrayDataMember(code = GNParameterCode.StoreReceiveTypes, minLength = 1, maxLength = 10, mustNonNull = true, elementCls = typeof(int))]
|
|
80
|
+
public List<int> storeReceiveTypes;
|
|
80
81
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
82
|
+
[StringDataMember(code = GNParameterCode.OwnerId, minLength = 10, maxLength = 11, mustNonNull = true, isOptional = true)]
|
|
83
|
+
public string? id;
|
|
84
84
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
}
|
|
85
|
+
[NumberDataMember(code = GNParameterCode.Limit, defaultValue = 10, minValue = 5, maxValue = 100, mustInt = true, isOptional = true)]
|
|
86
|
+
public int? limit;
|
|
88
87
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
[StringDataMember(code = GNParameterCode.StoreId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
92
|
-
public string storeId;
|
|
88
|
+
[StringDataMember(code = GNParameterCode.Token, minLength = 24, maxLength = 24, mustNonNull = true, isOptional = true)]
|
|
89
|
+
public string? token;
|
|
93
90
|
|
|
94
|
-
|
|
95
|
-
public string? reason;
|
|
91
|
+
}
|
|
96
92
|
|
|
97
|
-
|
|
93
|
+
public class ServerGetStoreLogRequestData : GetStoreLogRequestData
|
|
94
|
+
{
|
|
95
|
+
}
|
|
98
96
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
97
|
+
public class AdminGetStoreLogRequestData : ServerGetStoreLogRequestData
|
|
98
|
+
{
|
|
99
|
+
}
|
|
102
100
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
101
|
+
public class GetStoreItemsWithTagRequestData
|
|
102
|
+
{
|
|
103
|
+
[StringDataMember(code = GNParameterCode.Key, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
104
|
+
public string key;
|
|
106
105
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
[StringDataMember(code = GNParameterCode.StoreId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
110
|
-
public string storeId;
|
|
106
|
+
[StringDataMember(code = GNParameterCode.Value, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
107
|
+
public string value;
|
|
111
108
|
|
|
112
|
-
|
|
113
|
-
|
|
109
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
110
|
+
public InfoRequestParam infoRequestParam;
|
|
114
111
|
|
|
115
|
-
|
|
116
|
-
|
|
112
|
+
[NumberDataMember(code = GNParameterCode.Skip, defaultValue = 0, minValue = 0, mustInt = true, isOptional = true)]
|
|
113
|
+
public int? skip;
|
|
117
114
|
|
|
118
|
-
|
|
119
|
-
|
|
115
|
+
[NumberDataMember(code = GNParameterCode.Limit, defaultValue = 10, minValue = 5, maxValue = 100, mustInt = true, isOptional = true)]
|
|
116
|
+
public int? limit;
|
|
120
117
|
|
|
121
|
-
|
|
122
|
-
public List<CurrencyParam> priceCurrencyParams;
|
|
118
|
+
}
|
|
123
119
|
|
|
124
|
-
|
|
125
|
-
|
|
120
|
+
public class ServerGetStoreItemsWithTagRequestData : GetStoreItemsWithTagRequestData
|
|
121
|
+
{
|
|
122
|
+
}
|
|
126
123
|
|
|
127
|
-
|
|
128
|
-
|
|
124
|
+
public class AdminGetStoreItemsWithTagRequestData : ServerGetStoreItemsWithTagRequestData
|
|
125
|
+
{
|
|
126
|
+
}
|
|
129
127
|
|
|
130
|
-
|
|
131
|
-
|
|
128
|
+
public class GrantStoreItemRequestData
|
|
129
|
+
{
|
|
130
|
+
[StringDataMember(code = GNParameterCode.StoreId, minLength = 10, maxLength = 10, isOptional = true)]
|
|
131
|
+
public string? storeId;
|
|
132
132
|
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
[StringDataMember(code = GNParameterCode.DisplayName, defaultValue = "", isOptional = true)]
|
|
134
|
+
public string? displayName;
|
|
135
135
|
|
|
136
|
-
|
|
136
|
+
}
|
|
137
137
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
138
|
+
public class ServerGrantStoreItemRequestData : GrantStoreItemRequestData
|
|
139
|
+
{
|
|
140
|
+
}
|
|
141
141
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
142
|
+
public class AdminGrantStoreItemRequestData : ServerGrantStoreItemRequestData
|
|
143
|
+
{
|
|
144
|
+
}
|
|
145
145
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
146
|
+
public class SetRemoveStatusRequestData
|
|
147
|
+
{
|
|
148
|
+
[StringDataMember(code = GNParameterCode.StoreId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
149
|
+
public string storeId;
|
|
150
150
|
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
[StringDataMember(code = GNParameterCode.Reason, isOptional = true, defaultValue = "")]
|
|
152
|
+
public string? reason;
|
|
153
153
|
|
|
154
|
-
|
|
155
|
-
public long type;
|
|
154
|
+
}
|
|
156
155
|
|
|
157
|
-
|
|
156
|
+
public class ServerSetRemoveStatusRequestData : SetRemoveStatusRequestData
|
|
157
|
+
{
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
public class AdminSetRemoveStatusRequestData : ServerSetRemoveStatusRequestData
|
|
161
|
+
{
|
|
162
|
+
}
|
|
158
163
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
164
|
+
public class SetStoreItemInformationRequestData
|
|
165
|
+
{
|
|
166
|
+
[StringDataMember(code = GNParameterCode.StoreId, minLength = 10, maxLength = 10, mustNonNull = true)]
|
|
167
|
+
public string storeId;
|
|
162
168
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
}
|
|
169
|
+
[GNArrayDataMember(code = GNParameterCode.StoreDatas, minLength = 0, maxLength = 32, mustNonNull = true, isOptional = true, elementCls = typeof(StoreDataParam))]
|
|
170
|
+
public List<StoreDataParam>? storeDataParams;
|
|
166
171
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
[StringDataMember(code = GNParameterCode.Receipt, minLength = 10, maxLength = 2048, mustNonNull = true)]
|
|
170
|
-
public string receipt;
|
|
172
|
+
[GNArrayDataMember(code = GNParameterCode.StoreItems, minLength = 0, maxLength = 32, mustNonNull = true, isOptional = true, elementCls = typeof(StoreItemParam))]
|
|
173
|
+
public List<StoreItemParam>? storeItemParams;
|
|
171
174
|
|
|
172
|
-
|
|
173
|
-
|
|
175
|
+
[GNArrayDataMember(code = GNParameterCode.StoreCurrencies, minLength = 0, maxLength = 32, mustNonNull = true, isOptional = true, elementCls = typeof(CurrencyParam))]
|
|
176
|
+
public List<CurrencyParam>? storeCurrencyParams;
|
|
174
177
|
|
|
175
|
-
|
|
176
|
-
|
|
178
|
+
[GNArrayDataMember(code = GNParameterCode.PriceCurrencies, minLength = 0, maxLength = 32, mustNonNull = true, isOptional = true, elementCls = typeof(CurrencyParam))]
|
|
179
|
+
public List<CurrencyParam>? priceCurrencyParams;
|
|
177
180
|
|
|
178
|
-
|
|
181
|
+
[GNHashtableDataMember(code = GNParameterCode.InAppPurchase, mustNonNull = true, isOptional = true)]
|
|
182
|
+
public InAppPurchaseParam? inAppPurchaseParam;
|
|
179
183
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
}
|
|
184
|
+
[StringDataMember(code = GNParameterCode.DisplayName, mustNonNull = true, isOptional = true)]
|
|
185
|
+
public string? displayName;
|
|
183
186
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
}
|
|
187
|
+
[GNHashtableDataMember(code = GNParameterCode.Avatar, mustNonNull = true, isOptional = true)]
|
|
188
|
+
public AvatarParam? avatarParam;
|
|
187
189
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
[StringDataMember(code = GNParameterCode.Receipt, minLength = 10, maxLength = 2048, mustNonNull = true)]
|
|
191
|
-
public string receipt;
|
|
190
|
+
[GNArrayDataMember(code = GNParameterCode.Tags, minLength = 0, maxLength = 32, mustNonNull = true, isOptional = true, elementCls = typeof(TagParam))]
|
|
191
|
+
public List<TagParam>? tagParams;
|
|
192
192
|
|
|
193
|
-
|
|
194
|
-
public string id;
|
|
193
|
+
}
|
|
195
194
|
|
|
196
|
-
|
|
197
|
-
|
|
195
|
+
public class ServerSetStoreItemInformationRequestData : SetStoreItemInformationRequestData
|
|
196
|
+
{
|
|
197
|
+
}
|
|
198
198
|
|
|
199
|
-
|
|
199
|
+
public class AdminSetStoreItemInformationRequestData : ServerSetStoreItemInformationRequestData
|
|
200
|
+
{
|
|
201
|
+
}
|
|
200
202
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
203
|
+
public class ValidateAppleAppStoreReceiptRequestData
|
|
204
|
+
{
|
|
205
|
+
[StringDataMember(code = GNParameterCode.Receipt, minLength = 10, maxLength = 2048, mustNonNull = true)]
|
|
206
|
+
public string receipt;
|
|
204
207
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
}
|
|
208
|
+
[StringDataMember(code = GNParameterCode.OwnerId, minLength = 10, maxLength = 11, mustNonNull = true)]
|
|
209
|
+
public string id;
|
|
208
210
|
|
|
209
|
-
|
|
211
|
+
[NumberDataMember(code = GNParameterCode.OwnerType, mustInt = true)]
|
|
212
|
+
public long type;
|
|
210
213
|
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
public class AvatarParam
|
|
214
|
-
{
|
|
215
|
-
[NumberDataMember(code = GNParameterCode.Type, mustInt = true)]
|
|
216
|
-
public long type;
|
|
214
|
+
[StringDataMember(code = GNParameterCode.Log, minLength = 1, maxLength = 256, mustNonNull = true, isOptional = true)]
|
|
215
|
+
public string? log;
|
|
217
216
|
|
|
218
|
-
|
|
219
|
-
public string value;
|
|
217
|
+
}
|
|
220
218
|
|
|
221
|
-
|
|
219
|
+
public class ServerValidateAppleAppStoreReceiptRequestData : ValidateAppleAppStoreReceiptRequestData
|
|
220
|
+
{
|
|
221
|
+
}
|
|
222
222
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
public string key;
|
|
223
|
+
public class AdminValidateAppleAppStoreReceiptRequestData : ServerValidateAppleAppStoreReceiptRequestData
|
|
224
|
+
{
|
|
225
|
+
}
|
|
227
226
|
|
|
228
|
-
|
|
229
|
-
|
|
227
|
+
public class ValidateFacebookStoreReceiptRequestData
|
|
228
|
+
{
|
|
229
|
+
[StringDataMember(code = GNParameterCode.Receipt, minLength = 10, maxLength = 2048, mustNonNull = true)]
|
|
230
|
+
public string receipt;
|
|
230
231
|
|
|
231
|
-
|
|
232
|
+
[StringDataMember(code = GNParameterCode.OwnerId, minLength = 10, maxLength = 11, mustNonNull = true)]
|
|
233
|
+
public string id;
|
|
232
234
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
[StringDataMember(code = GNParameterCode.FacebookStoreId, minLength = 1, maxLength = 128, mustNonNull = true)]
|
|
236
|
-
public string facebookStoreId;
|
|
235
|
+
[NumberDataMember(code = GNParameterCode.OwnerType, mustInt = true)]
|
|
236
|
+
public long type;
|
|
237
237
|
|
|
238
|
-
|
|
239
|
-
|
|
238
|
+
[StringDataMember(code = GNParameterCode.Log, minLength = 1, maxLength = 256, mustNonNull = true, isOptional = true)]
|
|
239
|
+
public string? log;
|
|
240
240
|
|
|
241
|
-
|
|
242
|
-
public string appleAppStoreId;
|
|
241
|
+
}
|
|
243
242
|
|
|
244
|
-
|
|
243
|
+
public class ServerValidateFacebookStoreReceiptRequestData : ValidateFacebookStoreReceiptRequestData
|
|
244
|
+
{
|
|
245
|
+
}
|
|
245
246
|
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
public bool? storeItems;
|
|
247
|
+
public class AdminValidateFacebookStoreReceiptRequestData : ServerValidateFacebookStoreReceiptRequestData
|
|
248
|
+
{
|
|
249
|
+
}
|
|
250
250
|
|
|
251
|
-
|
|
252
|
-
|
|
251
|
+
public class ValidateGooglePlayStoreReceiptRequestData
|
|
252
|
+
{
|
|
253
|
+
[StringDataMember(code = GNParameterCode.Receipt, minLength = 10, maxLength = 2048, mustNonNull = true)]
|
|
254
|
+
public string receipt;
|
|
253
255
|
|
|
254
|
-
|
|
255
|
-
|
|
256
|
+
[StringDataMember(code = GNParameterCode.OwnerId, minLength = 10, maxLength = 11, mustNonNull = true)]
|
|
257
|
+
public string id;
|
|
256
258
|
|
|
257
|
-
|
|
258
|
-
|
|
259
|
+
[NumberDataMember(code = GNParameterCode.OwnerType, mustInt = true)]
|
|
260
|
+
public long type;
|
|
259
261
|
|
|
260
|
-
|
|
261
|
-
|
|
262
|
+
[StringDataMember(code = GNParameterCode.Log, minLength = 1, maxLength = 256, mustNonNull = true, isOptional = true)]
|
|
263
|
+
public string? log;
|
|
262
264
|
|
|
263
|
-
|
|
264
|
-
public bool? displayName;
|
|
265
|
+
}
|
|
265
266
|
|
|
266
|
-
|
|
267
|
-
|
|
267
|
+
public class ServerValidateGooglePlayStoreReceiptRequestData : ValidateGooglePlayStoreReceiptRequestData
|
|
268
|
+
{
|
|
269
|
+
}
|
|
268
270
|
|
|
269
|
-
|
|
270
|
-
|
|
271
|
+
public class AdminValidateGooglePlayStoreReceiptRequestData : ServerValidateGooglePlayStoreReceiptRequestData
|
|
272
|
+
{
|
|
273
|
+
}
|
|
271
274
|
|
|
272
|
-
|
|
273
|
-
|
|
275
|
+
public class GetCreateLeaderboardRequestData
|
|
276
|
+
{
|
|
277
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
278
|
+
public InfoRequestParam infoRequestParam;
|
|
274
279
|
|
|
275
|
-
|
|
276
|
-
|
|
280
|
+
[NumberDataMember(code = GNParameterCode.Skip, defaultValue = 0, minValue = 0, mustInt = true, isOptional = true)]
|
|
281
|
+
public int? skip;
|
|
277
282
|
|
|
278
|
-
|
|
283
|
+
[NumberDataMember(code = GNParameterCode.Limit, defaultValue = 10, minValue = 5, maxValue = 100, mustInt = true, isOptional = true)]
|
|
284
|
+
public int? limit;
|
|
279
285
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
[StringDataMember(code = GNParameterCode.Key, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
283
|
-
public string key;
|
|
286
|
+
[BooleanDataMember(code = GNParameterCode.LoadFromCache, defaultValue = true, isOptional = true)]
|
|
287
|
+
public bool? loadFromCache;
|
|
284
288
|
|
|
285
|
-
|
|
286
|
-
public object value;
|
|
289
|
+
}
|
|
287
290
|
|
|
288
|
-
|
|
291
|
+
public class ServerGetCreateLeaderboardRequestData : GetCreateLeaderboardRequestData
|
|
292
|
+
{
|
|
293
|
+
}
|
|
289
294
|
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
public string catalogId;
|
|
295
|
+
public class AdminGetCreateLeaderboardRequestData : ServerGetCreateLeaderboardRequestData
|
|
296
|
+
{
|
|
297
|
+
}
|
|
294
298
|
|
|
295
|
-
|
|
296
|
-
public string classId;
|
|
299
|
+
}
|
|
297
300
|
|
|
298
|
-
|
|
299
|
-
|
|
301
|
+
public partial class StoreInventoryModels
|
|
302
|
+
{
|
|
303
|
+
public class AvatarParam
|
|
304
|
+
{
|
|
305
|
+
[NumberDataMember(code = GNParameterCode.Type, mustInt = true)]
|
|
306
|
+
public long type;
|
|
300
307
|
|
|
301
|
-
|
|
308
|
+
[StringDataMember(code = GNParameterCode.Value, minLength = 1, maxLength = 128, mustNonNull = true)]
|
|
309
|
+
public string value;
|
|
302
310
|
|
|
303
|
-
|
|
304
|
-
{
|
|
305
|
-
[StringDataMember(code = GNParameterCode.Key, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
306
|
-
public string key;
|
|
311
|
+
}
|
|
307
312
|
|
|
308
|
-
|
|
309
|
-
|
|
313
|
+
public class CurrencyParam
|
|
314
|
+
{
|
|
315
|
+
[StringDataMember(code = GNParameterCode.Key, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
316
|
+
public string key;
|
|
310
317
|
|
|
311
|
-
|
|
318
|
+
[NumberDataMember(code = GNParameterCode.Value)]
|
|
319
|
+
public double value;
|
|
312
320
|
|
|
313
|
-
|
|
321
|
+
}
|
|
314
322
|
|
|
315
|
-
|
|
316
|
-
{
|
|
317
|
-
public class InAppPurchaseItem
|
|
323
|
+
public class InAppPurchaseParam
|
|
318
324
|
{
|
|
319
|
-
|
|
320
|
-
|
|
325
|
+
[StringDataMember(code = GNParameterCode.FacebookStoreId, minLength = 1, maxLength = 128, mustNonNull = true, isOptional = true)]
|
|
326
|
+
public string? facebookStoreId;
|
|
321
327
|
|
|
322
|
-
|
|
323
|
-
|
|
328
|
+
[StringDataMember(code = GNParameterCode.GooglePlayStoreId, minLength = 1, maxLength = 128, mustNonNull = true, isOptional = true)]
|
|
329
|
+
public string? googlePlayStoreId;
|
|
324
330
|
|
|
325
|
-
|
|
326
|
-
|
|
331
|
+
[StringDataMember(code = GNParameterCode.AppleAppStoreId, minLength = 1, maxLength = 128, mustNonNull = true, isOptional = true)]
|
|
332
|
+
public string? appleAppStoreId;
|
|
327
333
|
|
|
328
|
-
|
|
334
|
+
[NumberDataMember(code = GNParameterCode.AnalyticsPrice, isOptional = true)]
|
|
335
|
+
public double? analyticsPrice;
|
|
329
336
|
|
|
330
|
-
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
public class InfoRequestParam
|
|
331
340
|
{
|
|
332
|
-
|
|
333
|
-
|
|
341
|
+
[BooleanDataMember(code = GNParameterCode.StoreItems, isOptional = true, defaultValue = false)]
|
|
342
|
+
public bool? storeItems;
|
|
343
|
+
|
|
344
|
+
[BooleanDataMember(code = GNParameterCode.StoreCurrencies, isOptional = true, defaultValue = false)]
|
|
345
|
+
public bool? storeCurrencies;
|
|
346
|
+
|
|
347
|
+
[BooleanDataMember(code = GNParameterCode.PriceCurrencies, isOptional = true, defaultValue = false)]
|
|
348
|
+
public bool? priceCurrencies;
|
|
349
|
+
|
|
350
|
+
[BooleanDataMember(code = GNParameterCode.InAppPurchase, isOptional = true, defaultValue = false)]
|
|
351
|
+
public bool? inAppPurchase;
|
|
352
|
+
|
|
353
|
+
[BooleanDataMember(code = GNParameterCode.RemoveStatus, isOptional = true, defaultValue = false)]
|
|
354
|
+
public bool? removeStatus;
|
|
334
355
|
|
|
335
|
-
|
|
336
|
-
|
|
356
|
+
[BooleanDataMember(code = GNParameterCode.DisplayName, isOptional = true, defaultValue = false)]
|
|
357
|
+
public bool? displayName;
|
|
337
358
|
|
|
338
|
-
|
|
359
|
+
[BooleanDataMember(code = GNParameterCode.Avatar, isOptional = true, defaultValue = false)]
|
|
360
|
+
public bool? avatar;
|
|
339
361
|
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
[StringDataMember(code = GNParameterCode.ItemId)]
|
|
343
|
-
public string itemId;
|
|
362
|
+
[BooleanDataMember(code = GNParameterCode.TsCreate, isOptional = true, defaultValue = false)]
|
|
363
|
+
public bool? tsCreate;
|
|
344
364
|
|
|
345
|
-
|
|
346
|
-
|
|
365
|
+
[BooleanDataMember(code = GNParameterCode.Tags, isOptional = true, defaultValue = false)]
|
|
366
|
+
public bool? tags;
|
|
347
367
|
|
|
348
|
-
|
|
349
|
-
|
|
368
|
+
[BooleanDataMember(code = GNParameterCode.StoreDatas, isOptional = true, defaultValue = false)]
|
|
369
|
+
public bool? storeDatas;
|
|
350
370
|
|
|
351
|
-
|
|
371
|
+
}
|
|
352
372
|
|
|
353
|
-
|
|
373
|
+
public class StoreDataParam
|
|
354
374
|
{
|
|
355
|
-
|
|
356
|
-
|
|
375
|
+
[StringDataMember(code = GNParameterCode.Key, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
376
|
+
public string key;
|
|
357
377
|
|
|
358
|
-
|
|
359
|
-
|
|
378
|
+
[DataMember(code = GNParameterCode.Value)]
|
|
379
|
+
public object value;
|
|
360
380
|
|
|
361
|
-
|
|
362
|
-
public int amount;
|
|
381
|
+
}
|
|
363
382
|
|
|
364
|
-
|
|
383
|
+
public class StoreItemParam
|
|
384
|
+
{
|
|
385
|
+
[StringDataMember(code = GNParameterCode.CatalogId, minLength = 2, maxLength = 32)]
|
|
386
|
+
public string catalogId;
|
|
365
387
|
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
[GNArrayDataMember(code = GNParameterCode.StoreCurrencies, isOptional = true, elementCls = typeof(StoreInventoryItem))]
|
|
369
|
-
public List<StoreInventoryItem>? storeItems;
|
|
388
|
+
[StringDataMember(code = GNParameterCode.ClassId, minLength = 2, maxLength = 32)]
|
|
389
|
+
public string classId;
|
|
370
390
|
|
|
371
|
-
|
|
372
|
-
|
|
391
|
+
[NumberDataMember(code = GNParameterCode.Amount)]
|
|
392
|
+
public double amount;
|
|
373
393
|
|
|
374
|
-
|
|
375
|
-
public List<PriceCurrencyItem>? priceCurrencies;
|
|
394
|
+
}
|
|
376
395
|
|
|
377
|
-
|
|
378
|
-
|
|
396
|
+
public class TagParam
|
|
397
|
+
{
|
|
398
|
+
[StringDataMember(code = GNParameterCode.Key, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
399
|
+
public string key;
|
|
379
400
|
|
|
380
|
-
|
|
381
|
-
|
|
401
|
+
[StringDataMember(code = GNParameterCode.Value, minLength = 2, maxLength = 32, mustNonNull = true)]
|
|
402
|
+
public string value;
|
|
382
403
|
|
|
383
|
-
|
|
384
|
-
public string? displayName;
|
|
404
|
+
}
|
|
385
405
|
|
|
386
|
-
|
|
387
|
-
public GenericModels.AvatarItem? avatar;
|
|
406
|
+
}
|
|
388
407
|
|
|
389
|
-
|
|
390
|
-
|
|
408
|
+
public partial class StoreInventoryModels
|
|
409
|
+
{
|
|
410
|
+
public class InAppPurchaseItem
|
|
411
|
+
{
|
|
412
|
+
[StringDataMember(code = GNParameterCode.FacebookStoreId)]
|
|
413
|
+
public string facebookStoreId;
|
|
391
414
|
|
|
392
|
-
|
|
393
|
-
|
|
415
|
+
[StringDataMember(code = GNParameterCode.AppleAppStoreId)]
|
|
416
|
+
public string appleAppStoreId;
|
|
394
417
|
|
|
395
|
-
|
|
396
|
-
|
|
418
|
+
[StringDataMember(code = GNParameterCode.GooglePlayStoreId)]
|
|
419
|
+
public string googlePlayStoreId;
|
|
397
420
|
|
|
398
|
-
|
|
421
|
+
[NumberDataMember(code = GNParameterCode.AnalyticsPrice)]
|
|
422
|
+
public double analyticsPrice;
|
|
399
423
|
|
|
400
|
-
|
|
401
|
-
{
|
|
402
|
-
[GNHashtableDataMember(code = GNParameterCode.InfoResponseParameters)]
|
|
403
|
-
public InfoResponseParameters infoResponseParameters;
|
|
424
|
+
}
|
|
404
425
|
|
|
405
|
-
|
|
426
|
+
public class PriceCurrencyItem
|
|
427
|
+
{
|
|
428
|
+
[StringDataMember(code = GNParameterCode.Key)]
|
|
429
|
+
public string key;
|
|
406
430
|
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
431
|
+
[NumberDataMember(code = GNParameterCode.Value)]
|
|
432
|
+
public double value;
|
|
433
|
+
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
public class OwnerStoreInventoryItem
|
|
437
|
+
{
|
|
438
|
+
[StringDataMember(code = GNParameterCode.ItemId)]
|
|
439
|
+
public string itemId;
|
|
411
440
|
|
|
412
|
-
|
|
441
|
+
[StringDataMember(code = GNParameterCode.CatalogId)]
|
|
442
|
+
public string catalogId;
|
|
413
443
|
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
[NumberDataMember(code = GNParameterCode.Position)]
|
|
417
|
-
public int position;
|
|
444
|
+
[StringDataMember(code = GNParameterCode.ClassId)]
|
|
445
|
+
public string classId;
|
|
418
446
|
|
|
419
|
-
|
|
447
|
+
}
|
|
420
448
|
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
449
|
+
public class StoreInventoryItem
|
|
450
|
+
{
|
|
451
|
+
[StringDataMember(code = GNParameterCode.CatalogId)]
|
|
452
|
+
public string catalogId;
|
|
425
453
|
|
|
426
|
-
|
|
454
|
+
[StringDataMember(code = GNParameterCode.ClassId)]
|
|
455
|
+
public string classId;
|
|
427
456
|
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
[GNArrayDataMember(code = GNParameterCode.Results, elementCls = typeof(StoreInventoryWithStoreIdResponseData))]
|
|
431
|
-
public List<StoreInventoryWithStoreIdResponseData> results;
|
|
457
|
+
[NumberDataMember(code = GNParameterCode.Amount)]
|
|
458
|
+
public int amount;
|
|
432
459
|
|
|
433
|
-
|
|
460
|
+
}
|
|
434
461
|
|
|
435
|
-
|
|
462
|
+
public class InfoResponseParameters
|
|
436
463
|
{
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
464
|
+
[GNArrayDataMember(code = GNParameterCode.StoreItems, isOptional = true, elementCls = typeof(StoreInventoryItem))]
|
|
465
|
+
public List<StoreInventoryItem>? storeItems;
|
|
466
|
+
|
|
467
|
+
[GNArrayDataMember(code = GNParameterCode.StoreCurrencies, isOptional = true, elementCls = typeof(PriceCurrencyItem))]
|
|
468
|
+
public List<PriceCurrencyItem>? storeCurrencies;
|
|
469
|
+
|
|
470
|
+
[GNArrayDataMember(code = GNParameterCode.PriceCurrencies, isOptional = true, elementCls = typeof(PriceCurrencyItem))]
|
|
471
|
+
public List<PriceCurrencyItem>? priceCurrencies;
|
|
472
|
+
|
|
473
|
+
[GNHashtableDataMember(code = GNParameterCode.InAppPurchase, isOptional = true)]
|
|
474
|
+
public InAppPurchaseItem? inAppPurchase;
|
|
475
|
+
|
|
476
|
+
[GNHashtableDataMember(code = GNParameterCode.RemoveStatus, isOptional = true)]
|
|
477
|
+
public GenericModels.RemoveStatusItem? removeStatus;
|
|
478
|
+
|
|
479
|
+
[StringDataMember(code = GNParameterCode.DisplayName, isOptional = true)]
|
|
480
|
+
public string? displayName;
|
|
481
|
+
|
|
482
|
+
[GNHashtableDataMember(code = GNParameterCode.Avatar, isOptional = true)]
|
|
483
|
+
public GenericModels.AvatarItem? avatar;
|
|
440
484
|
|
|
441
|
-
|
|
485
|
+
[NumberDataMember(code = GNParameterCode.TsCreate, isOptional = true)]
|
|
486
|
+
public long? tsCreate;
|
|
487
|
+
|
|
488
|
+
[GNArrayDataMember(code = GNParameterCode.Tags, isOptional = true, elementCls = typeof(GenericModels.TagItem))]
|
|
489
|
+
public List<GenericModels.TagItem>? tags;
|
|
490
|
+
|
|
491
|
+
[GNArrayDataMember(code = GNParameterCode.StoreDatas, isOptional = true, elementCls = typeof(GenericModels.DataItem))]
|
|
492
|
+
public List<GenericModels.DataItem>? storeDatas;
|
|
493
|
+
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
public class StoreInventoryResponseData
|
|
442
497
|
{
|
|
443
|
-
|
|
444
|
-
|
|
498
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoResponseParameters)]
|
|
499
|
+
public InfoResponseParameters infoResponseParameters;
|
|
445
500
|
|
|
446
|
-
|
|
447
|
-
public List<OwnerStoreInventoryItem>? inventories;
|
|
501
|
+
}
|
|
448
502
|
|
|
449
|
-
|
|
503
|
+
public class StoreInventoryWithStoreIdResponseData : StoreInventoryResponseData
|
|
504
|
+
{
|
|
505
|
+
[StringDataMember(code = GNParameterCode.StoreId)]
|
|
506
|
+
public string storeId;
|
|
507
|
+
|
|
508
|
+
}
|
|
450
509
|
|
|
451
|
-
|
|
510
|
+
public class StoreInventoryLeaderboardResponseData : StoreInventoryWithStoreIdResponseData
|
|
452
511
|
{
|
|
453
|
-
|
|
454
|
-
|
|
512
|
+
[NumberDataMember(code = GNParameterCode.Position)]
|
|
513
|
+
public int position;
|
|
455
514
|
|
|
456
|
-
|
|
457
|
-
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
public class StoreInventoriesWithStoreIdResponseData
|
|
518
|
+
{
|
|
519
|
+
[GNArrayDataMember(code = GNParameterCode.Results, elementCls = typeof(StoreInventoryWithStoreIdResponseData))]
|
|
520
|
+
public List<StoreInventoryWithStoreIdResponseData> results;
|
|
458
521
|
|
|
459
|
-
|
|
460
|
-
public List<PriceCurrencyItem>? priceCurrencies;
|
|
522
|
+
}
|
|
461
523
|
|
|
462
|
-
|
|
463
|
-
|
|
524
|
+
public class GrantStoreItemResponseData
|
|
525
|
+
{
|
|
526
|
+
[StringDataMember(code = GNParameterCode.StoreId)]
|
|
527
|
+
public string storeId;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
public class OwnerInfoResponseParameters
|
|
531
|
+
{
|
|
532
|
+
[GNArrayDataMember(code = GNParameterCode.Currencies, isOptional = true, elementCls = typeof(PriceCurrencyItem))]
|
|
533
|
+
public List<PriceCurrencyItem>? currencies;
|
|
534
|
+
|
|
535
|
+
[GNArrayDataMember(code = GNParameterCode.Inventories, isOptional = true, elementCls = typeof(OwnerStoreInventoryItem))]
|
|
536
|
+
public List<OwnerStoreInventoryItem>? inventories;
|
|
537
|
+
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
public class BuyStoreInventoryResponseData
|
|
541
|
+
{
|
|
542
|
+
[GNArrayDataMember(code = GNParameterCode.StoreCurrencies, isOptional = true, elementCls = typeof(StoreInventoryItem))]
|
|
543
|
+
public List<StoreInventoryItem>? storeItems;
|
|
464
544
|
|
|
465
|
-
|
|
545
|
+
[GNArrayDataMember(code = GNParameterCode.StoreCurrencies, isOptional = true, elementCls = typeof(PriceCurrencyItem))]
|
|
546
|
+
public List<PriceCurrencyItem>? storeCurrencies;
|
|
547
|
+
|
|
548
|
+
[GNArrayDataMember(code = GNParameterCode.PriceCurrencies, isOptional = true, elementCls = typeof(PriceCurrencyItem))]
|
|
549
|
+
public List<PriceCurrencyItem>? priceCurrencies;
|
|
550
|
+
|
|
551
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoResponseParameters, isOptional = true)]
|
|
552
|
+
public OwnerInfoResponseParameters? infoResponseParameters;
|
|
553
|
+
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
public class GetCreateLeaderboardResponseData
|
|
557
|
+
{
|
|
558
|
+
[GNArrayDataMember(code = GNParameterCode.Results, elementCls = typeof(StoreInventoryLeaderboardResponseData))]
|
|
559
|
+
public List<StoreInventoryLeaderboardResponseData> results;
|
|
560
|
+
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
public class PresentStoreInventoryResponseData
|
|
564
|
+
{
|
|
565
|
+
[GNArrayDataMember(code = GNParameterCode.StoreCurrencies, isOptional = true, elementCls = typeof(StoreInventoryItem))]
|
|
566
|
+
public List<StoreInventoryItem>? storeItems;
|
|
567
|
+
|
|
568
|
+
[GNArrayDataMember(code = GNParameterCode.StoreCurrencies, isOptional = true, elementCls = typeof(PriceCurrencyItem))]
|
|
569
|
+
public List<PriceCurrencyItem>? storeCurrencies;
|
|
570
|
+
|
|
571
|
+
[GNArrayDataMember(code = GNParameterCode.PriceCurrencies, isOptional = true, elementCls = typeof(PriceCurrencyItem))]
|
|
572
|
+
public List<PriceCurrencyItem>? priceCurrencies;
|
|
573
|
+
|
|
574
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoResponseParameters, isOptional = true)]
|
|
575
|
+
public OwnerInfoResponseParameters? infoResponseParameters;
|
|
576
|
+
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
public class CurrencyResponseData
|
|
580
|
+
{
|
|
581
|
+
[StringDataMember(code = GNParameterCode.Key)]
|
|
582
|
+
public string key;
|
|
466
583
|
|
|
467
|
-
|
|
468
|
-
|
|
584
|
+
[NumberDataMember(code = GNParameterCode.Value)]
|
|
585
|
+
public double value;
|
|
586
|
+
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
public class StoreItemResponseData
|
|
590
|
+
{
|
|
591
|
+
[StringDataMember(code = GNParameterCode.CatalogId)]
|
|
592
|
+
public string catalogId;
|
|
593
|
+
|
|
594
|
+
[StringDataMember(code = GNParameterCode.ClassId)]
|
|
595
|
+
public string classId;
|
|
596
|
+
|
|
597
|
+
[StringDataMember(code = GNParameterCode.ItemId)]
|
|
598
|
+
public string itemId;
|
|
599
|
+
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
public class StoreLogResponseData
|
|
603
|
+
{
|
|
604
|
+
[StringDataMember(code = GNParameterCode.StoreId)]
|
|
605
|
+
public string storeId;
|
|
606
|
+
|
|
607
|
+
[StringDataMember(code = GNParameterCode.OwnerId)]
|
|
608
|
+
public string id;
|
|
609
|
+
|
|
610
|
+
[NumberDataMember(code = GNParameterCode.OwnerType)]
|
|
611
|
+
public int type;
|
|
612
|
+
|
|
613
|
+
[StringDataMember(code = GNParameterCode.TransactionId, isOptional = true)]
|
|
614
|
+
public string? transactionId;
|
|
615
|
+
|
|
616
|
+
[NumberDataMember(code = GNParameterCode.StoreReceiveType)]
|
|
617
|
+
public int storeReceiveType;
|
|
618
|
+
|
|
619
|
+
[GNArrayDataMember(code = GNParameterCode.PriceCurrencyStartValues, elementCls = typeof(CurrencyResponseData))]
|
|
620
|
+
public List<CurrencyResponseData> priceCurrencyStartValues;
|
|
621
|
+
|
|
622
|
+
[GNArrayDataMember(code = GNParameterCode.PriceCurrencyAmountValues, elementCls = typeof(CurrencyResponseData))]
|
|
623
|
+
public List<CurrencyResponseData> priceCurrencyAmountValues;
|
|
624
|
+
|
|
625
|
+
[GNArrayDataMember(code = GNParameterCode.PriceCurrencyFinalValues, elementCls = typeof(CurrencyResponseData))]
|
|
626
|
+
public List<CurrencyResponseData> priceCurrencyFinalValues;
|
|
627
|
+
|
|
628
|
+
[GNArrayDataMember(code = GNParameterCode.StoreCurrencyStartValues, elementCls = typeof(CurrencyResponseData))]
|
|
629
|
+
public List<CurrencyResponseData> storeCurrencyStartValues;
|
|
630
|
+
|
|
631
|
+
[GNArrayDataMember(code = GNParameterCode.StoreCurrencyAmountValues, elementCls = typeof(CurrencyResponseData))]
|
|
632
|
+
public List<CurrencyResponseData> storeCurrencyAmountValues;
|
|
633
|
+
|
|
634
|
+
[GNArrayDataMember(code = GNParameterCode.StoreCurrencyFinalValues, elementCls = typeof(CurrencyResponseData))]
|
|
635
|
+
public List<CurrencyResponseData> storeCurrencyFinalValues;
|
|
636
|
+
|
|
637
|
+
[GNArrayDataMember(code = GNParameterCode.StoreItemFinalValues, elementCls = typeof(StoreItemResponseData))]
|
|
638
|
+
public List<StoreItemResponseData> storeItemFinalValues;
|
|
639
|
+
|
|
640
|
+
[NumberDataMember(code = GNParameterCode.TsCreate)]
|
|
641
|
+
public long tsCreate;
|
|
642
|
+
|
|
643
|
+
[StringDataMember(code = GNParameterCode.Log)]
|
|
644
|
+
public string log;
|
|
645
|
+
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
public class GetStoreLogResponseData
|
|
649
|
+
{
|
|
650
|
+
[GNArrayDataMember(code = GNParameterCode.Results, elementCls = typeof(StoreLogResponseData))]
|
|
651
|
+
public List<StoreLogResponseData> results;
|
|
652
|
+
|
|
653
|
+
[StringDataMember(code = GNParameterCode.Token, isOptional = true)]
|
|
654
|
+
public string? token;
|
|
655
|
+
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
public class EmptyResponseData
|
|
659
|
+
{
|
|
469
660
|
|
|
470
|
-
|
|
661
|
+
}
|
|
471
662
|
|
|
472
|
-
|
|
663
|
+
}
|
|
473
664
|
|
|
474
665
|
}
|