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
|
@@ -1,166 +1,392 @@
|
|
|
1
1
|
namespace XmobiTea.GN
|
|
2
2
|
{
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
3
|
+
using System;
|
|
4
|
+
using System.Threading.Tasks;
|
|
5
|
+
using XmobiTea.GN.Common;
|
|
6
|
+
using XmobiTea.GN.Entity;
|
|
7
|
+
using XmobiTea.GN.Entity.Models;
|
|
8
|
+
|
|
9
|
+
public class StoreInventoryApi
|
|
10
|
+
{
|
|
11
|
+
public ServerApi server { get; } = new ServerApi();
|
|
12
|
+
|
|
13
|
+
public AdminApi admin { get; } = new AdminApi();
|
|
14
|
+
|
|
15
|
+
public void buyStoreItem(StoreInventoryModels.BuyStoreItemRequestData requestData, Action<StoreInventoryResponseModels.BuyStoreItemOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
16
|
+
{
|
|
17
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.BuyStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
public Task<StoreInventoryResponseModels.BuyStoreItemOperationResponse> buyStoreItemAsync(StoreInventoryModels.BuyStoreItemRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
21
|
+
{
|
|
22
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.BuyStoreItemOperationRequest, StoreInventoryResponseModels.BuyStoreItemOperationResponse>(new StoreInventoryRequestModels.BuyStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
public void getStoreItemInformation(StoreInventoryModels.GetStoreItemInformationRequestData requestData, Action<StoreInventoryResponseModels.GetStoreItemInformationOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
26
|
+
{
|
|
27
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.GetStoreItemInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
public Task<StoreInventoryResponseModels.GetStoreItemInformationOperationResponse> getStoreItemInformationAsync(StoreInventoryModels.GetStoreItemInformationRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
31
|
+
{
|
|
32
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.GetStoreItemInformationOperationRequest, StoreInventoryResponseModels.GetStoreItemInformationOperationResponse>(new StoreInventoryRequestModels.GetStoreItemInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
public void getStoreItemsWithTag(StoreInventoryModels.GetStoreItemsWithTagRequestData requestData, Action<StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
36
|
+
{
|
|
37
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.GetStoreItemsWithTagOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
public Task<StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse> getStoreItemsWithTagAsync(StoreInventoryModels.GetStoreItemsWithTagRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
41
|
+
{
|
|
42
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.GetStoreItemsWithTagOperationRequest, StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse>(new StoreInventoryRequestModels.GetStoreItemsWithTagOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
public void grantStoreItem(StoreInventoryModels.GrantStoreItemRequestData requestData, Action<StoreInventoryResponseModels.GrantStoreItemOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
46
|
+
{
|
|
47
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.GrantStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
public Task<StoreInventoryResponseModels.GrantStoreItemOperationResponse> grantStoreItemAsync(StoreInventoryModels.GrantStoreItemRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
51
|
+
{
|
|
52
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.GrantStoreItemOperationRequest, StoreInventoryResponseModels.GrantStoreItemOperationResponse>(new StoreInventoryRequestModels.GrantStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
public void setRemoveStatus(StoreInventoryModels.SetRemoveStatusRequestData requestData, Action<StoreInventoryResponseModels.SetRemoveStatusOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
56
|
+
{
|
|
57
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.SetRemoveStatusOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
public Task<StoreInventoryResponseModels.SetRemoveStatusOperationResponse> setRemoveStatusAsync(StoreInventoryModels.SetRemoveStatusRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
61
|
+
{
|
|
62
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.SetRemoveStatusOperationRequest, StoreInventoryResponseModels.SetRemoveStatusOperationResponse>(new StoreInventoryRequestModels.SetRemoveStatusOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
public void setStoreItemInformation(StoreInventoryModels.SetStoreItemInformationRequestData requestData, Action<StoreInventoryResponseModels.SetStoreItemInformationOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
66
|
+
{
|
|
67
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.SetStoreItemInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
public Task<StoreInventoryResponseModels.SetStoreItemInformationOperationResponse> setStoreItemInformationAsync(StoreInventoryModels.SetStoreItemInformationRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
71
|
+
{
|
|
72
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.SetStoreItemInformationOperationRequest, StoreInventoryResponseModels.SetStoreItemInformationOperationResponse>(new StoreInventoryRequestModels.SetStoreItemInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
public void validateAppleAppStoreReceipt(StoreInventoryModels.ValidateAppleAppStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
76
|
+
{
|
|
77
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ValidateAppleAppStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
public Task<StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse> validateAppleAppStoreReceiptAsync(StoreInventoryModels.ValidateAppleAppStoreReceiptRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
81
|
+
{
|
|
82
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ValidateAppleAppStoreReceiptOperationRequest, StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse>(new StoreInventoryRequestModels.ValidateAppleAppStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
public void validateFacebookStoreReceipt(StoreInventoryModels.ValidateFacebookStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
86
|
+
{
|
|
87
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ValidateFacebookStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
public Task<StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse> validateFacebookStoreReceiptAsync(StoreInventoryModels.ValidateFacebookStoreReceiptRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
91
|
+
{
|
|
92
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ValidateFacebookStoreReceiptOperationRequest, StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse>(new StoreInventoryRequestModels.ValidateFacebookStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
public void validateGooglePlayStoreReceipt(StoreInventoryModels.ValidateGooglePlayStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
96
|
+
{
|
|
97
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ValidateGooglePlayStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
public Task<StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse> validateGooglePlayStoreReceiptAsync(StoreInventoryModels.ValidateGooglePlayStoreReceiptRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
101
|
+
{
|
|
102
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ValidateGooglePlayStoreReceiptOperationRequest, StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse>(new StoreInventoryRequestModels.ValidateGooglePlayStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
public void getCreateLeaderboard(StoreInventoryModels.GetCreateLeaderboardRequestData requestData, Action<StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
106
|
+
{
|
|
107
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.GetCreateLeaderboardOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
public Task<StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse> getCreateLeaderboardAsync(StoreInventoryModels.GetCreateLeaderboardRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
111
|
+
{
|
|
112
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.GetCreateLeaderboardOperationRequest, StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse>(new StoreInventoryRequestModels.GetCreateLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
public void presentStoreItem(StoreInventoryModels.PresentStoreItemRequestData requestData, Action<StoreInventoryResponseModels.PresentStoreItemOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
116
|
+
{
|
|
117
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.PresentStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
public Task<StoreInventoryResponseModels.PresentStoreItemOperationResponse> presentStoreItemAsync(StoreInventoryModels.PresentStoreItemRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
121
|
+
{
|
|
122
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.PresentStoreItemOperationRequest, StoreInventoryResponseModels.PresentStoreItemOperationResponse>(new StoreInventoryRequestModels.PresentStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
public void getStoreLog(StoreInventoryModels.GetStoreLogRequestData requestData, Action<StoreInventoryResponseModels.GetStoreLogOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
126
|
+
{
|
|
127
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.GetStoreLogOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
public Task<StoreInventoryResponseModels.GetStoreLogOperationResponse> getStoreLogAsync(StoreInventoryModels.GetStoreLogRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
131
|
+
{
|
|
132
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.GetStoreLogOperationRequest, StoreInventoryResponseModels.GetStoreLogOperationResponse>(new StoreInventoryRequestModels.GetStoreLogOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
public class ServerApi
|
|
137
|
+
{
|
|
138
|
+
public void buyStoreItem(StoreInventoryModels.ServerBuyStoreItemRequestData requestData, Action<StoreInventoryResponseModels.BuyStoreItemOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
139
|
+
{
|
|
140
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerBuyStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
public Task<StoreInventoryResponseModels.BuyStoreItemOperationResponse> buyStoreItemAsync(StoreInventoryModels.ServerBuyStoreItemRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
144
|
+
{
|
|
145
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ServerBuyStoreItemOperationRequest, StoreInventoryResponseModels.BuyStoreItemOperationResponse>(new StoreInventoryRequestModels.ServerBuyStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
public void getStoreItemInformation(StoreInventoryModels.ServerGetStoreItemInformationRequestData requestData, Action<StoreInventoryResponseModels.GetStoreItemInformationOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
149
|
+
{
|
|
150
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerGetStoreItemInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
public Task<StoreInventoryResponseModels.GetStoreItemInformationOperationResponse> getStoreItemInformationAsync(StoreInventoryModels.ServerGetStoreItemInformationRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
154
|
+
{
|
|
155
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ServerGetStoreItemInformationOperationRequest, StoreInventoryResponseModels.GetStoreItemInformationOperationResponse>(new StoreInventoryRequestModels.ServerGetStoreItemInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
public void getStoreItemsWithTag(StoreInventoryModels.ServerGetStoreItemsWithTagRequestData requestData, Action<StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
159
|
+
{
|
|
160
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerGetStoreItemsWithTagOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
public Task<StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse> getStoreItemsWithTagAsync(StoreInventoryModels.ServerGetStoreItemsWithTagRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
164
|
+
{
|
|
165
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ServerGetStoreItemsWithTagOperationRequest, StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse>(new StoreInventoryRequestModels.ServerGetStoreItemsWithTagOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
public void grantStoreItem(StoreInventoryModels.ServerGrantStoreItemRequestData requestData, Action<StoreInventoryResponseModels.GrantStoreItemOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
169
|
+
{
|
|
170
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerGrantStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
public Task<StoreInventoryResponseModels.GrantStoreItemOperationResponse> grantStoreItemAsync(StoreInventoryModels.ServerGrantStoreItemRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
174
|
+
{
|
|
175
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ServerGrantStoreItemOperationRequest, StoreInventoryResponseModels.GrantStoreItemOperationResponse>(new StoreInventoryRequestModels.ServerGrantStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
public void setRemoveStatus(StoreInventoryModels.ServerSetRemoveStatusRequestData requestData, Action<StoreInventoryResponseModels.SetRemoveStatusOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
179
|
+
{
|
|
180
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerSetRemoveStatusOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
public Task<StoreInventoryResponseModels.SetRemoveStatusOperationResponse> setRemoveStatusAsync(StoreInventoryModels.ServerSetRemoveStatusRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
184
|
+
{
|
|
185
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ServerSetRemoveStatusOperationRequest, StoreInventoryResponseModels.SetRemoveStatusOperationResponse>(new StoreInventoryRequestModels.ServerSetRemoveStatusOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
public void setStoreItemInformation(StoreInventoryModels.ServerSetStoreItemInformationRequestData requestData, Action<StoreInventoryResponseModels.SetStoreItemInformationOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
189
|
+
{
|
|
190
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerSetStoreItemInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
public Task<StoreInventoryResponseModels.SetStoreItemInformationOperationResponse> setStoreItemInformationAsync(StoreInventoryModels.ServerSetStoreItemInformationRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
194
|
+
{
|
|
195
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ServerSetStoreItemInformationOperationRequest, StoreInventoryResponseModels.SetStoreItemInformationOperationResponse>(new StoreInventoryRequestModels.ServerSetStoreItemInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
public void validateAppleAppStoreReceipt(StoreInventoryModels.ServerValidateAppleAppStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
199
|
+
{
|
|
200
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerValidateAppleAppStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
public Task<StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse> validateAppleAppStoreReceiptAsync(StoreInventoryModels.ServerValidateAppleAppStoreReceiptRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
204
|
+
{
|
|
205
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ServerValidateAppleAppStoreReceiptOperationRequest, StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse>(new StoreInventoryRequestModels.ServerValidateAppleAppStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
public void validateFacebookStoreReceipt(StoreInventoryModels.ServerValidateFacebookStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
209
|
+
{
|
|
210
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerValidateFacebookStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
public Task<StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse> validateFacebookStoreReceiptAsync(StoreInventoryModels.ServerValidateFacebookStoreReceiptRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
214
|
+
{
|
|
215
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ServerValidateFacebookStoreReceiptOperationRequest, StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse>(new StoreInventoryRequestModels.ServerValidateFacebookStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
public void validateGooglePlayStoreReceipt(StoreInventoryModels.ServerValidateGooglePlayStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
219
|
+
{
|
|
220
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerValidateGooglePlayStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
public Task<StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse> validateGooglePlayStoreReceiptAsync(StoreInventoryModels.ServerValidateGooglePlayStoreReceiptRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
224
|
+
{
|
|
225
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ServerValidateGooglePlayStoreReceiptOperationRequest, StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse>(new StoreInventoryRequestModels.ServerValidateGooglePlayStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
public void getCreateLeaderboard(StoreInventoryModels.ServerGetCreateLeaderboardRequestData requestData, Action<StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
229
|
+
{
|
|
230
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerGetCreateLeaderboardOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
public Task<StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse> getCreateLeaderboardAsync(StoreInventoryModels.ServerGetCreateLeaderboardRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
234
|
+
{
|
|
235
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ServerGetCreateLeaderboardOperationRequest, StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse>(new StoreInventoryRequestModels.ServerGetCreateLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
public void presentStoreItem(StoreInventoryModels.ServerPresentStoreItemRequestData requestData, Action<StoreInventoryResponseModels.PresentStoreItemOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
239
|
+
{
|
|
240
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerPresentStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
public Task<StoreInventoryResponseModels.PresentStoreItemOperationResponse> presentStoreItemAsync(StoreInventoryModels.ServerPresentStoreItemRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
244
|
+
{
|
|
245
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ServerPresentStoreItemOperationRequest, StoreInventoryResponseModels.PresentStoreItemOperationResponse>(new StoreInventoryRequestModels.ServerPresentStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
public void getStoreLog(StoreInventoryModels.ServerGetStoreLogRequestData requestData, Action<StoreInventoryResponseModels.GetStoreLogOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
249
|
+
{
|
|
250
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.ServerGetStoreLogOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
public Task<StoreInventoryResponseModels.GetStoreLogOperationResponse> getStoreLogAsync(StoreInventoryModels.ServerGetStoreLogRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
254
|
+
{
|
|
255
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.ServerGetStoreLogOperationRequest, StoreInventoryResponseModels.GetStoreLogOperationResponse>(new StoreInventoryRequestModels.ServerGetStoreLogOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
public class AdminApi
|
|
261
|
+
{
|
|
262
|
+
public void buyStoreItem(StoreInventoryModels.AdminBuyStoreItemRequestData requestData, Action<StoreInventoryResponseModels.BuyStoreItemOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
263
|
+
{
|
|
264
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminBuyStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
public Task<StoreInventoryResponseModels.BuyStoreItemOperationResponse> buyStoreItemAsync(StoreInventoryModels.AdminBuyStoreItemRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
268
|
+
{
|
|
269
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.AdminBuyStoreItemOperationRequest, StoreInventoryResponseModels.BuyStoreItemOperationResponse>(new StoreInventoryRequestModels.AdminBuyStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
public void getStoreItemInformation(StoreInventoryModels.AdminGetStoreItemInformationRequestData requestData, Action<StoreInventoryResponseModels.GetStoreItemInformationOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
273
|
+
{
|
|
274
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminGetStoreItemInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
public Task<StoreInventoryResponseModels.GetStoreItemInformationOperationResponse> getStoreItemInformationAsync(StoreInventoryModels.AdminGetStoreItemInformationRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
278
|
+
{
|
|
279
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.AdminGetStoreItemInformationOperationRequest, StoreInventoryResponseModels.GetStoreItemInformationOperationResponse>(new StoreInventoryRequestModels.AdminGetStoreItemInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
public void getStoreItemsWithTag(StoreInventoryModels.AdminGetStoreItemsWithTagRequestData requestData, Action<StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
283
|
+
{
|
|
284
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminGetStoreItemsWithTagOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
public Task<StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse> getStoreItemsWithTagAsync(StoreInventoryModels.AdminGetStoreItemsWithTagRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
288
|
+
{
|
|
289
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.AdminGetStoreItemsWithTagOperationRequest, StoreInventoryResponseModels.GetStoreItemsWithTagOperationResponse>(new StoreInventoryRequestModels.AdminGetStoreItemsWithTagOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
public void grantStoreItem(StoreInventoryModels.AdminGrantStoreItemRequestData requestData, Action<StoreInventoryResponseModels.GrantStoreItemOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
293
|
+
{
|
|
294
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminGrantStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
public Task<StoreInventoryResponseModels.GrantStoreItemOperationResponse> grantStoreItemAsync(StoreInventoryModels.AdminGrantStoreItemRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
298
|
+
{
|
|
299
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.AdminGrantStoreItemOperationRequest, StoreInventoryResponseModels.GrantStoreItemOperationResponse>(new StoreInventoryRequestModels.AdminGrantStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
public void setRemoveStatus(StoreInventoryModels.AdminSetRemoveStatusRequestData requestData, Action<StoreInventoryResponseModels.SetRemoveStatusOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
303
|
+
{
|
|
304
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminSetRemoveStatusOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
public Task<StoreInventoryResponseModels.SetRemoveStatusOperationResponse> setRemoveStatusAsync(StoreInventoryModels.AdminSetRemoveStatusRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
308
|
+
{
|
|
309
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.AdminSetRemoveStatusOperationRequest, StoreInventoryResponseModels.SetRemoveStatusOperationResponse>(new StoreInventoryRequestModels.AdminSetRemoveStatusOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
public void setStoreItemInformation(StoreInventoryModels.AdminSetStoreItemInformationRequestData requestData, Action<StoreInventoryResponseModels.SetStoreItemInformationOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
313
|
+
{
|
|
314
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminSetStoreItemInformationOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
public Task<StoreInventoryResponseModels.SetStoreItemInformationOperationResponse> setStoreItemInformationAsync(StoreInventoryModels.AdminSetStoreItemInformationRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
318
|
+
{
|
|
319
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.AdminSetStoreItemInformationOperationRequest, StoreInventoryResponseModels.SetStoreItemInformationOperationResponse>(new StoreInventoryRequestModels.AdminSetStoreItemInformationOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
public void validateAppleAppStoreReceipt(StoreInventoryModels.AdminValidateAppleAppStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
323
|
+
{
|
|
324
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminValidateAppleAppStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
public Task<StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse> validateAppleAppStoreReceiptAsync(StoreInventoryModels.AdminValidateAppleAppStoreReceiptRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
328
|
+
{
|
|
329
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.AdminValidateAppleAppStoreReceiptOperationRequest, StoreInventoryResponseModels.ValidateAppleAppStoreReceiptOperationResponse>(new StoreInventoryRequestModels.AdminValidateAppleAppStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
public void validateFacebookStoreReceipt(StoreInventoryModels.AdminValidateFacebookStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
333
|
+
{
|
|
334
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminValidateFacebookStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
public Task<StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse> validateFacebookStoreReceiptAsync(StoreInventoryModels.AdminValidateFacebookStoreReceiptRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
338
|
+
{
|
|
339
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.AdminValidateFacebookStoreReceiptOperationRequest, StoreInventoryResponseModels.ValidateFacebookStoreReceiptOperationResponse>(new StoreInventoryRequestModels.AdminValidateFacebookStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
public void validateGooglePlayStoreReceipt(StoreInventoryModels.AdminValidateGooglePlayStoreReceiptRequestData requestData, Action<StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
343
|
+
{
|
|
344
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminValidateGooglePlayStoreReceiptOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
public Task<StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse> validateGooglePlayStoreReceiptAsync(StoreInventoryModels.AdminValidateGooglePlayStoreReceiptRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
348
|
+
{
|
|
349
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.AdminValidateGooglePlayStoreReceiptOperationRequest, StoreInventoryResponseModels.ValidateGooglePlayStoreReceiptOperationResponse>(new StoreInventoryRequestModels.AdminValidateGooglePlayStoreReceiptOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
public void getCreateLeaderboard(StoreInventoryModels.AdminGetCreateLeaderboardRequestData requestData, Action<StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
353
|
+
{
|
|
354
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminGetCreateLeaderboardOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
public Task<StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse> getCreateLeaderboardAsync(StoreInventoryModels.AdminGetCreateLeaderboardRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
358
|
+
{
|
|
359
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.AdminGetCreateLeaderboardOperationRequest, StoreInventoryResponseModels.GetCreateLeaderboardOperationResponse>(new StoreInventoryRequestModels.AdminGetCreateLeaderboardOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
public void presentStoreItem(StoreInventoryModels.AdminPresentStoreItemRequestData requestData, Action<StoreInventoryResponseModels.PresentStoreItemOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
363
|
+
{
|
|
364
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminPresentStoreItemOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
public Task<StoreInventoryResponseModels.PresentStoreItemOperationResponse> presentStoreItemAsync(StoreInventoryModels.AdminPresentStoreItemRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
368
|
+
{
|
|
369
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.AdminPresentStoreItemOperationRequest, StoreInventoryResponseModels.PresentStoreItemOperationResponse>(new StoreInventoryRequestModels.AdminPresentStoreItemOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
public void getStoreLog(StoreInventoryModels.AdminGetStoreLogRequestData requestData, Action<StoreInventoryResponseModels.GetStoreLogOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
373
|
+
{
|
|
374
|
+
GNNetwork.sendViaHttp(new StoreInventoryRequestModels.AdminGetStoreLogOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
public Task<StoreInventoryResponseModels.GetStoreLogOperationResponse> getStoreLogAsync(StoreInventoryModels.AdminGetStoreLogRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
|
|
378
|
+
{
|
|
379
|
+
return GNNetwork.sendViaHttpAsync<StoreInventoryRequestModels.AdminGetStoreLogOperationRequest, StoreInventoryResponseModels.GetStoreLogOperationResponse>(new StoreInventoryRequestModels.AdminGetStoreLogOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
public static partial class GNNetwork
|
|
387
|
+
{
|
|
388
|
+
|
|
389
|
+
public static StoreInventoryApi storeInventory { get; }
|
|
390
|
+
}
|
|
165
391
|
|
|
166
392
|
}
|