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
|
@@ -4,313 +4,357 @@
|
|
|
4
4
|
using XmobiTea.GN.Common;
|
|
5
5
|
using XmobiTea.GN.Constant;
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
public partial class AuthenticateModels
|
|
8
|
+
{
|
|
9
|
+
public class LoginByAccountRequestData
|
|
10
|
+
{
|
|
11
|
+
[StringDataMember(code = GNParameterCode.Username, minLength = 6, maxLength = 32, mustNonNull = true)]
|
|
12
|
+
public string username;
|
|
13
|
+
|
|
14
|
+
[StringDataMember(code = GNParameterCode.Password, minLength = 6, maxLength = 64, mustNonNull = true)]
|
|
15
|
+
public string password;
|
|
16
|
+
|
|
17
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
18
|
+
public InfoRequestParam infoRequestParam;
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
public class LoginByAndroidDeviceIdRequestData
|
|
23
|
+
{
|
|
24
|
+
[StringDataMember(code = GNParameterCode.AndroidDeviceId, minLength = 6, maxLength = 64, mustNonNull = true)]
|
|
25
|
+
public string androidDeviceId;
|
|
26
|
+
|
|
27
|
+
[BooleanDataMember(code = GNParameterCode.CreatePlayerIfNotExists, isOptional = true, defaultValue = false)]
|
|
28
|
+
public bool? createPlayerIfNotExists;
|
|
29
|
+
|
|
30
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
31
|
+
public InfoRequestParam infoRequestParam;
|
|
32
|
+
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
public class LoginByAppleRequestData
|
|
36
|
+
{
|
|
37
|
+
[StringDataMember(code = GNParameterCode.Token, minLength = 32, maxLength = 512, mustNonNull = true)]
|
|
38
|
+
public string token;
|
|
13
39
|
|
|
14
|
-
|
|
15
|
-
|
|
40
|
+
[BooleanDataMember(code = GNParameterCode.CreatePlayerIfNotExists, isOptional = true, defaultValue = false)]
|
|
41
|
+
public bool? createPlayerIfNotExists;
|
|
16
42
|
|
|
17
|
-
|
|
18
|
-
|
|
43
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
44
|
+
public InfoRequestParam infoRequestParam;
|
|
19
45
|
|
|
20
|
-
|
|
46
|
+
}
|
|
21
47
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
48
|
+
public class LoginByCustomDeviceIdRequestData
|
|
49
|
+
{
|
|
50
|
+
[StringDataMember(code = GNParameterCode.CustomDeviceId, minLength = 6, maxLength = 64, mustNonNull = true)]
|
|
51
|
+
public string customDeviceId;
|
|
26
52
|
|
|
27
|
-
|
|
28
|
-
|
|
53
|
+
[BooleanDataMember(code = GNParameterCode.CreatePlayerIfNotExists, isOptional = true, defaultValue = false)]
|
|
54
|
+
public bool? createPlayerIfNotExists;
|
|
29
55
|
|
|
30
|
-
|
|
31
|
-
|
|
56
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
57
|
+
public InfoRequestParam infoRequestParam;
|
|
32
58
|
|
|
33
|
-
|
|
59
|
+
}
|
|
34
60
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
61
|
+
public class LoginByCustomIdRequestData
|
|
62
|
+
{
|
|
63
|
+
[StringDataMember(code = GNParameterCode.CustomId, minLength = 6, maxLength = 64, mustNonNull = true)]
|
|
64
|
+
public string customId;
|
|
39
65
|
|
|
40
|
-
|
|
41
|
-
|
|
66
|
+
[BooleanDataMember(code = GNParameterCode.CreatePlayerIfNotExists, isOptional = true, defaultValue = false)]
|
|
67
|
+
public bool? createPlayerIfNotExists;
|
|
42
68
|
|
|
43
|
-
|
|
44
|
-
|
|
69
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
70
|
+
public InfoRequestParam infoRequestParam;
|
|
45
71
|
|
|
46
|
-
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
public class LoginByEditorDeviceIdRequestData
|
|
75
|
+
{
|
|
76
|
+
[StringDataMember(code = GNParameterCode.EditorDeviceId, minLength = 6, maxLength = 64, mustNonNull = true)]
|
|
77
|
+
public string editorDeviceId;
|
|
78
|
+
|
|
79
|
+
[BooleanDataMember(code = GNParameterCode.CreatePlayerIfNotExists, isOptional = true, defaultValue = false)]
|
|
80
|
+
public bool? createPlayerIfNotExists;
|
|
81
|
+
|
|
82
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
83
|
+
public InfoRequestParam infoRequestParam;
|
|
84
|
+
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
public class LoginByFacebookRequestData
|
|
88
|
+
{
|
|
89
|
+
[StringDataMember(code = GNParameterCode.Token, minLength = 32, maxLength = 512, mustNonNull = true)]
|
|
90
|
+
public string token;
|
|
47
91
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
[StringDataMember(code = GNParameterCode.CustomDeviceId, minLength = 6, maxLength = 64, mustNonNull = true)]
|
|
51
|
-
public string customDeviceId;
|
|
92
|
+
[BooleanDataMember(code = GNParameterCode.CreatePlayerIfNotExists, isOptional = true, defaultValue = false)]
|
|
93
|
+
public bool? createPlayerIfNotExists;
|
|
52
94
|
|
|
53
|
-
|
|
54
|
-
|
|
95
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
96
|
+
public InfoRequestParam infoRequestParam;
|
|
55
97
|
|
|
56
|
-
|
|
57
|
-
public InfoRequestParam infoRequestParam;
|
|
98
|
+
}
|
|
58
99
|
|
|
59
|
-
|
|
100
|
+
public class LoginByGenericServiceRequestData
|
|
101
|
+
{
|
|
102
|
+
[StringDataMember(code = GNParameterCode.ServiceName, minLength = 6, maxLength = 32, mustNonNull = true)]
|
|
103
|
+
public string serviceName;
|
|
60
104
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
[StringDataMember(code = GNParameterCode.CustomId, minLength = 6, maxLength = 64, mustNonNull = true)]
|
|
64
|
-
public string customId;
|
|
105
|
+
[GNHashtableDataMember(code = GNParameterCode.ServiceData, mustNonNull = true)]
|
|
106
|
+
public GNHashtable serviceData;
|
|
65
107
|
|
|
66
|
-
|
|
67
|
-
|
|
108
|
+
[BooleanDataMember(code = GNParameterCode.CreatePlayerIfNotExists, isOptional = true, defaultValue = false)]
|
|
109
|
+
public bool? createPlayerIfNotExists;
|
|
68
110
|
|
|
69
|
-
|
|
70
|
-
|
|
111
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
112
|
+
public InfoRequestParam infoRequestParam;
|
|
71
113
|
|
|
72
|
-
|
|
114
|
+
}
|
|
73
115
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
116
|
+
public class LoginByGoogleRequestData
|
|
117
|
+
{
|
|
118
|
+
[StringDataMember(code = GNParameterCode.Token, minLength = 32, maxLength = 512, mustNonNull = true)]
|
|
119
|
+
public string token;
|
|
78
120
|
|
|
79
|
-
|
|
80
|
-
|
|
121
|
+
[NumberDataMember(code = GNParameterCode.Type, minValue = 1, maxValue = 2, mustInt = true)]
|
|
122
|
+
public long type;
|
|
81
123
|
|
|
82
|
-
|
|
83
|
-
|
|
124
|
+
[BooleanDataMember(code = GNParameterCode.CreatePlayerIfNotExists, isOptional = true, defaultValue = false)]
|
|
125
|
+
public bool? createPlayerIfNotExists;
|
|
84
126
|
|
|
85
|
-
|
|
127
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
128
|
+
public InfoRequestParam infoRequestParam;
|
|
86
129
|
|
|
87
|
-
|
|
88
|
-
{
|
|
89
|
-
[StringDataMember(code = GNParameterCode.Token, minLength = 32, maxLength = 512, mustNonNull = true)]
|
|
90
|
-
public string token;
|
|
130
|
+
}
|
|
91
131
|
|
|
92
|
-
|
|
93
|
-
|
|
132
|
+
public class LoginByGooglePlayGameServiceRequestData
|
|
133
|
+
{
|
|
134
|
+
[StringDataMember(code = GNParameterCode.Token, minLength = 20, maxLength = 512, mustNonNull = true)]
|
|
135
|
+
public string token;
|
|
94
136
|
|
|
95
|
-
|
|
96
|
-
|
|
137
|
+
[BooleanDataMember(code = GNParameterCode.CreatePlayerIfNotExists, isOptional = true, defaultValue = false)]
|
|
138
|
+
public bool? createPlayerIfNotExists;
|
|
97
139
|
|
|
98
|
-
|
|
140
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
141
|
+
public InfoRequestParam infoRequestParam;
|
|
99
142
|
|
|
100
|
-
|
|
101
|
-
{
|
|
102
|
-
[StringDataMember(code = GNParameterCode.ServiceName, minLength = 6, maxLength = 32, mustNonNull = true)]
|
|
103
|
-
public string serviceName;
|
|
143
|
+
}
|
|
104
144
|
|
|
105
|
-
|
|
106
|
-
|
|
145
|
+
public class LoginByGameCenterRequestData
|
|
146
|
+
{
|
|
147
|
+
[StringDataMember(code = GNParameterCode.PlayerId, minLength = 2, maxLength = 64, mustNonNull = true)]
|
|
148
|
+
public string playerId;
|
|
107
149
|
|
|
108
|
-
|
|
109
|
-
|
|
150
|
+
[StringDataMember(code = GNParameterCode.Name, minLength = 2, maxLength = 64, mustNonNull = true)]
|
|
151
|
+
public string name;
|
|
110
152
|
|
|
111
|
-
|
|
112
|
-
|
|
153
|
+
[StringDataMember(code = GNParameterCode.PublicKeyUrl, minLength = 2, maxLength = 256, mustNonNull = true)]
|
|
154
|
+
public string publicKeyUrl;
|
|
113
155
|
|
|
114
|
-
|
|
156
|
+
[StringDataMember(code = GNParameterCode.Signature, minLength = 2, maxLength = 512, mustNonNull = true)]
|
|
157
|
+
public string signature;
|
|
115
158
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
[StringDataMember(code = GNParameterCode.Token, minLength = 32, maxLength = 512, mustNonNull = true)]
|
|
119
|
-
public string token;
|
|
159
|
+
[StringDataMember(code = GNParameterCode.Salt, minLength = 2, maxLength = 128, mustNonNull = true)]
|
|
160
|
+
public string salt;
|
|
120
161
|
|
|
121
|
-
|
|
122
|
-
|
|
162
|
+
[NumberDataMember(code = GNParameterCode.Timestamp)]
|
|
163
|
+
public long timestamp;
|
|
123
164
|
|
|
124
|
-
|
|
125
|
-
|
|
165
|
+
[BooleanDataMember(code = GNParameterCode.CreatePlayerIfNotExists, isOptional = true, defaultValue = false)]
|
|
166
|
+
public bool? createPlayerIfNotExists;
|
|
126
167
|
|
|
127
|
-
|
|
128
|
-
|
|
168
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
169
|
+
public InfoRequestParam infoRequestParam;
|
|
129
170
|
|
|
130
|
-
|
|
171
|
+
}
|
|
131
172
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
173
|
+
public class LoginByiOSDeviceIdRequestData
|
|
174
|
+
{
|
|
175
|
+
[StringDataMember(code = GNParameterCode.iOSDeviceId, minLength = 6, maxLength = 64, mustNonNull = true)]
|
|
176
|
+
public string iOSDeviceId;
|
|
136
177
|
|
|
137
|
-
|
|
138
|
-
|
|
178
|
+
[BooleanDataMember(code = GNParameterCode.CreatePlayerIfNotExists, isOptional = true, defaultValue = false)]
|
|
179
|
+
public bool? createPlayerIfNotExists;
|
|
139
180
|
|
|
140
|
-
|
|
141
|
-
|
|
181
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
182
|
+
public InfoRequestParam infoRequestParam;
|
|
142
183
|
|
|
143
|
-
|
|
184
|
+
}
|
|
144
185
|
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
186
|
+
public class LoginByLinuxDeviceIdRequestData
|
|
187
|
+
{
|
|
188
|
+
[StringDataMember(code = GNParameterCode.LinuxDeviceId, minLength = 6, maxLength = 64, mustNonNull = true)]
|
|
189
|
+
public string linuxDeviceId;
|
|
149
190
|
|
|
150
|
-
|
|
151
|
-
|
|
191
|
+
[BooleanDataMember(code = GNParameterCode.CreatePlayerIfNotExists, isOptional = true, defaultValue = false)]
|
|
192
|
+
public bool? createPlayerIfNotExists;
|
|
152
193
|
|
|
153
|
-
|
|
154
|
-
|
|
194
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
195
|
+
public InfoRequestParam infoRequestParam;
|
|
155
196
|
|
|
156
|
-
|
|
197
|
+
}
|
|
157
198
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
199
|
+
public class LoginByMacOSDeviceIdRequestData
|
|
200
|
+
{
|
|
201
|
+
[StringDataMember(code = GNParameterCode.MacOSDeviceId, minLength = 6, maxLength = 64, mustNonNull = true)]
|
|
202
|
+
public string macOSDeviceId;
|
|
162
203
|
|
|
163
|
-
|
|
164
|
-
|
|
204
|
+
[BooleanDataMember(code = GNParameterCode.CreatePlayerIfNotExists, isOptional = true, defaultValue = false)]
|
|
205
|
+
public bool? createPlayerIfNotExists;
|
|
165
206
|
|
|
166
|
-
|
|
167
|
-
|
|
207
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
208
|
+
public InfoRequestParam infoRequestParam;
|
|
168
209
|
|
|
169
|
-
|
|
210
|
+
}
|
|
170
211
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
212
|
+
public class LoginByWindowsDeviceIdRequestData
|
|
213
|
+
{
|
|
214
|
+
[StringDataMember(code = GNParameterCode.WindowsDeviceId, minLength = 6, maxLength = 64, mustNonNull = true)]
|
|
215
|
+
public string windowsDeviceId;
|
|
175
216
|
|
|
176
|
-
|
|
177
|
-
|
|
217
|
+
[BooleanDataMember(code = GNParameterCode.CreatePlayerIfNotExists, isOptional = true, defaultValue = false)]
|
|
218
|
+
public bool? createPlayerIfNotExists;
|
|
178
219
|
|
|
179
|
-
|
|
180
|
-
|
|
220
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
221
|
+
public InfoRequestParam infoRequestParam;
|
|
181
222
|
|
|
182
|
-
|
|
223
|
+
}
|
|
183
224
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
225
|
+
public class LoginByWindowsPhoneDeviceIdRequestData
|
|
226
|
+
{
|
|
227
|
+
[StringDataMember(code = GNParameterCode.WindowsPhoneDeviceId, minLength = 6, maxLength = 64, mustNonNull = true)]
|
|
228
|
+
public string windowsPhoneDeviceId;
|
|
188
229
|
|
|
189
|
-
|
|
190
|
-
|
|
230
|
+
[BooleanDataMember(code = GNParameterCode.CreatePlayerIfNotExists, isOptional = true, defaultValue = false)]
|
|
231
|
+
public bool? createPlayerIfNotExists;
|
|
191
232
|
|
|
192
|
-
|
|
193
|
-
|
|
233
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
234
|
+
public InfoRequestParam infoRequestParam;
|
|
194
235
|
|
|
195
|
-
|
|
236
|
+
}
|
|
196
237
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
238
|
+
public class RegisterAccountRequestData
|
|
239
|
+
{
|
|
240
|
+
[StringDataMember(code = GNParameterCode.Username, minLength = 6, maxLength = 32, mustNonNull = true)]
|
|
241
|
+
public string username;
|
|
201
242
|
|
|
202
|
-
|
|
203
|
-
|
|
243
|
+
[StringDataMember(code = GNParameterCode.Password, minLength = 6, maxLength = 64, mustNonNull = true)]
|
|
244
|
+
public string password;
|
|
204
245
|
|
|
205
|
-
|
|
206
|
-
|
|
246
|
+
[GNHashtableDataMember(code = GNParameterCode.InfoRequestParam, mustNonNull = true)]
|
|
247
|
+
public InfoRequestParam infoRequestParam;
|
|
207
248
|
|
|
208
|
-
|
|
249
|
+
}
|
|
209
250
|
|
|
210
|
-
|
|
251
|
+
public class RefreshAuthTokenRequestData
|
|
211
252
|
{
|
|
212
253
|
|
|
213
254
|
}
|
|
214
255
|
|
|
215
|
-
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
public partial class AuthenticateModels
|
|
259
|
+
{
|
|
260
|
+
public class InfoRequestParam
|
|
261
|
+
{
|
|
262
|
+
[BooleanDataMember(code = GNParameterCode.External, isOptional = true, defaultValue = false)]
|
|
263
|
+
public bool? external;
|
|
216
264
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
public class InfoRequestParam
|
|
220
|
-
{
|
|
221
|
-
[BooleanDataMember(code = GNParameterCode.External, isOptional = true, defaultValue = false)]
|
|
222
|
-
public bool? external;
|
|
265
|
+
[BooleanDataMember(code = GNParameterCode.Segments, isOptional = true, defaultValue = false)]
|
|
266
|
+
public bool? segments;
|
|
223
267
|
|
|
224
|
-
|
|
225
|
-
|
|
268
|
+
[BooleanDataMember(code = GNParameterCode.CustomDatas, isOptional = true, defaultValue = false)]
|
|
269
|
+
public bool? customDatas;
|
|
226
270
|
|
|
227
|
-
|
|
228
|
-
|
|
271
|
+
[BooleanDataMember(code = GNParameterCode.DisplayName, isOptional = true, defaultValue = false)]
|
|
272
|
+
public bool? displayName;
|
|
229
273
|
|
|
230
|
-
|
|
231
|
-
|
|
274
|
+
[BooleanDataMember(code = GNParameterCode.Avatar, isOptional = true, defaultValue = false)]
|
|
275
|
+
public bool? avatar;
|
|
232
276
|
|
|
233
|
-
|
|
234
|
-
|
|
277
|
+
[BooleanDataMember(code = GNParameterCode.TsCreate, isOptional = true, defaultValue = false)]
|
|
278
|
+
public bool? tsCreate;
|
|
235
279
|
|
|
236
|
-
|
|
237
|
-
|
|
280
|
+
[BooleanDataMember(code = GNParameterCode.Tags, isOptional = true, defaultValue = false)]
|
|
281
|
+
public bool? tags;
|
|
238
282
|
|
|
239
|
-
|
|
240
|
-
|
|
283
|
+
[BooleanDataMember(code = GNParameterCode.PlayerBan, isOptional = true, defaultValue = false)]
|
|
284
|
+
public bool? playerBan;
|
|
241
285
|
|
|
242
|
-
|
|
243
|
-
|
|
286
|
+
[BooleanDataMember(code = GNParameterCode.PlayerCurrencies, isOptional = true, defaultValue = false)]
|
|
287
|
+
public bool? playerCurrencies;
|
|
244
288
|
|
|
245
|
-
|
|
246
|
-
|
|
289
|
+
[BooleanDataMember(code = GNParameterCode.PlayerStatistics, isOptional = true, defaultValue = false)]
|
|
290
|
+
public bool? playerStatistics;
|
|
247
291
|
|
|
248
|
-
|
|
249
|
-
|
|
292
|
+
[BooleanDataMember(code = GNParameterCode.PlayerDatas, isOptional = true, defaultValue = false)]
|
|
293
|
+
public bool? playerDatas;
|
|
250
294
|
|
|
251
|
-
|
|
252
|
-
|
|
295
|
+
[BooleanDataMember(code = GNParameterCode.IpAddressCreate, isOptional = true, defaultValue = false)]
|
|
296
|
+
public bool? ipAddressCreate;
|
|
253
297
|
|
|
254
|
-
|
|
255
|
-
|
|
298
|
+
[BooleanDataMember(code = GNParameterCode.CountryCode, isOptional = true, defaultValue = false)]
|
|
299
|
+
public bool? countryCode;
|
|
256
300
|
|
|
257
|
-
|
|
258
|
-
|
|
301
|
+
[BooleanDataMember(code = GNParameterCode.Email, isOptional = true, defaultValue = false)]
|
|
302
|
+
public bool? email;
|
|
259
303
|
|
|
260
|
-
|
|
261
|
-
|
|
304
|
+
[BooleanDataMember(code = GNParameterCode.TsLastLogin, isOptional = true, defaultValue = false)]
|
|
305
|
+
public bool? tsLastLogin;
|
|
262
306
|
|
|
263
|
-
|
|
264
|
-
|
|
307
|
+
[BooleanDataMember(code = GNParameterCode.PushNotifications, isOptional = true, defaultValue = false)]
|
|
308
|
+
public bool? pushNotifications;
|
|
265
309
|
|
|
266
|
-
|
|
267
|
-
|
|
310
|
+
[GNArrayDataMember(code = GNParameterCode.PlayerDataKeys, isOptional = true, elementCls = typeof(string))]
|
|
311
|
+
public List<string>? playerDataKeys;
|
|
268
312
|
|
|
269
|
-
|
|
270
|
-
|
|
313
|
+
[GNArrayDataMember(code = GNParameterCode.PlayerCurrencyKeys, isOptional = true, elementCls = typeof(string))]
|
|
314
|
+
public List<string>? playerCurrencyKeys;
|
|
271
315
|
|
|
272
|
-
|
|
273
|
-
|
|
316
|
+
[GNArrayDataMember(code = GNParameterCode.PlayerStatisticsKeys, isOptional = true, elementCls = typeof(string))]
|
|
317
|
+
public List<string>? playerStatisticsKeys;
|
|
274
318
|
|
|
275
|
-
|
|
276
|
-
|
|
319
|
+
[GNArrayDataMember(code = GNParameterCode.CustomDataKeys, isOptional = true, elementCls = typeof(string))]
|
|
320
|
+
public List<string>? customDataKeys;
|
|
277
321
|
|
|
278
|
-
|
|
279
|
-
|
|
322
|
+
[GNArrayDataMember(code = GNParameterCode.TagKeys, isOptional = true, elementCls = typeof(string))]
|
|
323
|
+
public List<string>? tagKeys;
|
|
280
324
|
|
|
281
|
-
|
|
325
|
+
}
|
|
282
326
|
|
|
283
|
-
|
|
327
|
+
}
|
|
284
328
|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
329
|
+
public partial class AuthenticateModels
|
|
330
|
+
{
|
|
331
|
+
public class AuthenticateResponseData : MasterPlayerModels.MasterPlayerWithUserIdResponseData
|
|
288
332
|
{
|
|
289
|
-
|
|
290
|
-
|
|
333
|
+
[BooleanDataMember(code = GNParameterCode.NewlyCreated, isOptional = true)]
|
|
334
|
+
public bool? newlyCreated;
|
|
291
335
|
|
|
292
|
-
|
|
293
|
-
|
|
336
|
+
[StringDataMember(code = ParameterCode.AuthToken, isOptional = true)]
|
|
337
|
+
public string? authToken;
|
|
294
338
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
339
|
+
[GNHashtableDataMember(code = GNParameterCode.PlayerBan, isOptional = true)]
|
|
340
|
+
public GenericModels.BanItem? playerBan;
|
|
341
|
+
}
|
|
298
342
|
|
|
299
|
-
|
|
343
|
+
public class RefreshAuthTokenResponseData
|
|
300
344
|
{
|
|
301
|
-
|
|
302
|
-
|
|
345
|
+
[StringDataMember(code = ParameterCode.AuthToken, isOptional = true)]
|
|
346
|
+
public string? authToken;
|
|
303
347
|
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
348
|
+
[GNHashtableDataMember(code = GNParameterCode.PlayerBan, isOptional = true)]
|
|
349
|
+
public GenericModels.BanItem? playerBan;
|
|
350
|
+
}
|
|
307
351
|
|
|
308
352
|
|
|
309
|
-
|
|
353
|
+
public class EmptyResponseData
|
|
310
354
|
{
|
|
311
355
|
|
|
312
356
|
}
|
|
313
357
|
|
|
314
|
-
|
|
358
|
+
}
|
|
315
359
|
|
|
316
360
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
fileFormatVersion: 2
|
|
2
|
-
guid: de1a7864ab646b1488f2a2fd48968452
|
|
3
|
-
MonoImporter:
|
|
4
|
-
externalObjects: {}
|
|
5
|
-
serializedVersion: 2
|
|
6
|
-
defaultReferences: []
|
|
7
|
-
executionOrder: 0
|
|
8
|
-
icon: {instanceID: 0}
|
|
9
|
-
userData:
|
|
10
|
-
assetBundleName:
|
|
11
|
-
assetBundleVariant:
|
|
1
|
+
fileFormatVersion: 2
|
|
2
|
+
guid: de1a7864ab646b1488f2a2fd48968452
|
|
3
|
+
MonoImporter:
|
|
4
|
+
externalObjects: {}
|
|
5
|
+
serializedVersion: 2
|
|
6
|
+
defaultReferences: []
|
|
7
|
+
executionOrder: 0
|
|
8
|
+
icon: {instanceID: 0}
|
|
9
|
+
userData:
|
|
10
|
+
assetBundleName:
|
|
11
|
+
assetBundleVariant:
|