com.xmobitea.changx.gn-unity 2.0.2 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/Editor/GNServerSettingsEditor.cs +42 -322
  2. package/Runtime/Common/GNArray.cs +120 -35
  3. package/Runtime/Common/GNData.cs +19 -6
  4. package/Runtime/Common/GNHashtable.cs +174 -11
  5. package/Runtime/Common/IGNData.cs +11 -2
  6. package/Runtime/Config/GNServerSettings.cs +136 -92
  7. package/Runtime/Constant/Commands.cs +82 -19
  8. package/Runtime/Constant/EnumType/GoogleLoginType.cs +5 -5
  9. package/Runtime/Constant/EnumType/GroupStatus.cs +7 -7
  10. package/Runtime/Constant/EnumType/ItemType.cs +5 -5
  11. package/Runtime/Constant/EnumType/MatchmakingMemberStatus.cs +6 -6
  12. package/Runtime/Constant/EnumType/MatchmakingTicketStatus.cs +2 -2
  13. package/Runtime/Constant/EnumType/OwnerType.cs +3 -2
  14. package/Runtime/Constant/EnumType/PushPlatformType.cs +10 -0
  15. package/Runtime/Constant/EnumType/PushPlatformType.cs.meta +11 -0
  16. package/Runtime/Constant/EnumType/RequestType.cs +1 -0
  17. package/Runtime/Constant/EnumType/StoreReceiveType.cs +13 -0
  18. package/Runtime/Constant/EnumType/StoreReceiveType.cs.meta +11 -0
  19. package/Runtime/Constant/ErrorCode/GNErrorCode.cs +53 -48
  20. package/Runtime/Constant/EventCode.cs +29 -2
  21. package/Runtime/Constant/OperationCode.cs +249 -211
  22. package/Runtime/Constant/ParameterCode/GNParameterCode.cs +610 -466
  23. package/Runtime/Constant/ReturnCode.cs +50 -2
  24. package/Runtime/Entity/DataMember.cs +221 -3
  25. package/Runtime/Entity/GNMetadata.cs +46 -1
  26. package/Runtime/Entity/InvalidMember.cs +24 -5
  27. package/Runtime/Entity/Models/AuthenticateModels.cs +251 -207
  28. package/Runtime/Entity/Models/AuthenticateRequestModels.cs +153 -131
  29. package/Runtime/Entity/Models/AuthenticateResponseModels.cs +61 -51
  30. package/Runtime/Entity/Models/CharacterPlayerModels.cs +985 -849
  31. package/Runtime/Entity/Models/CharacterPlayerRequestModels.cs +957 -885
  32. package/Runtime/Entity/Models/CharacterPlayerResponseModels.cs +165 -150
  33. package/Runtime/Entity/Models/CloudScriptModels.cs +185 -0
  34. package/Runtime/Entity/Models/CloudScriptModels.cs.meta +11 -0
  35. package/Runtime/Entity/Models/CloudScriptRequestModels.cs +134 -0
  36. package/Runtime/Entity/Models/CloudScriptRequestModels.cs.meta +11 -0
  37. package/Runtime/Entity/Models/CloudScriptResponseModels.cs +34 -0
  38. package/Runtime/Entity/Models/CloudScriptResponseModels.cs.meta +11 -0
  39. package/Runtime/Entity/Models/ContentModels.cs +150 -153
  40. package/Runtime/Entity/Models/ContentRequestModels.cs +129 -129
  41. package/Runtime/Entity/Models/ContentResponseModels.cs +24 -24
  42. package/Runtime/Entity/Models/DashboardModels.cs +1684 -1156
  43. package/Runtime/Entity/Models/DashboardRequestModels.cs +220 -147
  44. package/Runtime/Entity/Models/DashboardResponseModels.cs +92 -57
  45. package/Runtime/Entity/Models/GamePlayerModels.cs +1073 -933
  46. package/Runtime/Entity/Models/GamePlayerRequestModels.cs +939 -867
  47. package/Runtime/Entity/Models/GamePlayerResponseModels.cs +162 -147
  48. package/Runtime/Entity/Models/GenericModels.cs +102 -102
  49. package/Runtime/Entity/Models/GroupModels.cs +812 -676
  50. package/Runtime/Entity/Models/GroupRequestModels.cs +741 -669
  51. package/Runtime/Entity/Models/GroupResponseModels.cs +129 -114
  52. package/Runtime/Entity/Models/InventoryModels.cs +667 -558
  53. package/Runtime/Entity/Models/InventoryRequestModels.cs +626 -579
  54. package/Runtime/Entity/Models/InventoryResponseModels.cs +109 -99
  55. package/Runtime/Entity/Models/MasterPlayerModels.cs +1882 -1340
  56. package/Runtime/Entity/Models/MasterPlayerRequestModels.cs +1643 -1253
  57. package/Runtime/Entity/Models/MasterPlayerResponseModels.cs +293 -213
  58. package/Runtime/Entity/Models/MultiplayerModels.cs +293 -223
  59. package/Runtime/Entity/Models/MultiplayerRequestModels.cs +199 -149
  60. package/Runtime/Entity/Models/MultiplayerResponseModels.cs +10 -0
  61. package/Runtime/Entity/Models/StoreInventoryModels.cs +514 -323
  62. package/Runtime/Entity/Models/StoreInventoryRequestModels.cs +236 -165
  63. package/Runtime/Entity/Models/StoreInventoryResponseModels.cs +45 -30
  64. package/Runtime/Entity/OperationEvent.cs +43 -7
  65. package/Runtime/Entity/OperationHelper.cs +18 -2
  66. package/Runtime/Entity/OperationRequest.cs +80 -37
  67. package/Runtime/Entity/OperationResponse.cs +111 -63
  68. package/Runtime/Entity/Request/CustomOperationRequest.cs +53 -2
  69. package/Runtime/Entity/Response/CustomOperationResponse.cs +25 -4
  70. package/Runtime/GNNetwork.cs +333 -21
  71. package/Runtime/GNNetworkApi.cs +25 -13
  72. package/Runtime/GNNetworkAuthenticateApi.cs +531 -98
  73. package/Runtime/GNNetworkCharacterPlayerApi.cs +1587 -762
  74. package/Runtime/GNNetworkCloudScriptApi.cs +181 -0
  75. package/Runtime/GNNetworkCloudScriptApi.cs.meta +11 -0
  76. package/Runtime/GNNetworkContentApi.cs +238 -132
  77. package/Runtime/GNNetworkDashboardApi.cs +278 -117
  78. package/Runtime/GNNetworkGamePlayerApi.cs +1558 -747
  79. package/Runtime/GNNetworkGroupApi.cs +1228 -582
  80. package/Runtime/GNNetworkInventoryApi.cs +1048 -507
  81. package/Runtime/GNNetworkMasterPlayerApi.cs +2586 -1067
  82. package/Runtime/GNNetworkMultiplayerApi.cs +328 -147
  83. package/Runtime/GNNetworkStoreInventoryApi.cs +388 -162
  84. package/Runtime/Helper/CodeHelper.cs +45 -3
  85. package/Runtime/Helper/ConverterService.cs +240 -85
  86. package/Runtime/Logger/GNDebug.cs +46 -3
  87. package/Runtime/Networking/AuthenticateStatus.cs +30 -8
  88. package/Runtime/Networking/Handler/IServerEventHandler.cs +8 -8
  89. package/Runtime/Networking/Handler/OnCharacterPlayerFriendUpdateEventHandler.cs +31 -2
  90. package/Runtime/Networking/Handler/OnCharacterPlayerGroupUpdateEventHandler.cs +24 -3
  91. package/Runtime/Networking/Handler/OnGamePlayerFriendUpdateEventHandler.cs +24 -2
  92. package/Runtime/Networking/Handler/OnGamePlayerGroupUpdateEventHandler.cs +24 -2
  93. package/Runtime/Networking/Handler/OnGroupMemberUpdateEventHandler.cs +21 -2
  94. package/Runtime/Networking/Handler/OnGroupMessageUpdateEventHandler.cs +20 -2
  95. package/Runtime/Networking/Http/HttpPeer.cs +68 -25
  96. package/Runtime/Networking/Http/NetworkingHttpPeerBase.cs +44 -4
  97. package/Runtime/Networking/Http/NetworkingPeerHttpClientRequest.cs +63 -40
  98. package/Runtime/Networking/Http/NetworkingPeerHttpRequest.cs +43 -13
  99. package/Runtime/Networking/Http/NetworkingPeerUnityWebRequest.cs +72 -39
  100. package/Runtime/Networking/IPeer.cs +24 -2
  101. package/Runtime/Networking/NetworkingPeer.cs +64 -10
  102. package/Runtime/Networking/NetworkingPeerAPI.cs +20 -21
  103. package/Runtime/Networking/OperationPending.cs +79 -15
  104. package/Runtime/Networking/PeerBase.cs +86 -23
  105. package/Runtime/Networking/Socket/NetworkingPeerSocketV2.cs +57 -18
  106. package/Runtime/Networking/Socket/NetworkingPeerSocketV3.cs +70 -10
  107. package/Runtime/Networking/Socket/NetworkingSocketPeerBase.cs +165 -23
  108. package/Runtime/Networking/Socket/SocketPeer.cs +63 -12
  109. package/Runtime/Unity/ServiceCoroutine.cs +10 -0
  110. package/Runtime/Unity/ServiceCoroutine.cs.meta +11 -0
  111. package/Runtime/Unity/ServiceUpdate.cs +14 -1
  112. package/package.json +1 -1
@@ -1,110 +1,543 @@
1
1
  namespace XmobiTea.GN
2
2
  {
3
3
  using System;
4
+ using System.Threading.Tasks;
4
5
  using XmobiTea.GN.Common;
5
6
  using XmobiTea.GN.Entity;
6
7
  using XmobiTea.GN.Entity.Models;
7
8
 
8
- public class AuthenticateApi
9
- {
10
- public ServerApi server { get; } = new ServerApi();
11
-
12
- public AdminApi admin { get; } = new AdminApi();
13
-
14
- public void loginByAccount(AuthenticateModels.LoginByAccountRequestData requestData, Action<AuthenticateResponseModels.LoginByAccountOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
15
- {
16
- GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByAccountOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
17
- }
18
-
19
- public void loginByAndroidDeviceId(AuthenticateModels.LoginByAndroidDeviceIdRequestData requestData, Action<AuthenticateResponseModels.LoginByAndroidDeviceIdOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
20
- {
21
- GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByAndroidDeviceIdOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
22
- }
23
-
24
- public void loginByApple(AuthenticateModels.LoginByAppleRequestData requestData, Action<AuthenticateResponseModels.LoginByAppleOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
25
- {
26
- GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByAppleOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
27
- }
28
-
29
- public void loginByCustomDeviceId(AuthenticateModels.LoginByCustomDeviceIdRequestData requestData, Action<AuthenticateResponseModels.LoginByCustomDeviceIdOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
30
- {
31
- GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByCustomDeviceIdOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
32
- }
33
-
34
- public void loginByCustomId(AuthenticateModels.LoginByCustomIdRequestData requestData, Action<AuthenticateResponseModels.LoginByCustomIdOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
35
- {
36
- GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByCustomIdOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
37
- }
38
-
39
- public void loginByEditorDeviceId(AuthenticateModels.LoginByEditorDeviceIdRequestData requestData, Action<AuthenticateResponseModels.LoginByEditorDeviceIdOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
40
- {
41
- GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByEditorDeviceIdOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
42
- }
43
-
44
- public void loginByFacebook(AuthenticateModels.LoginByFacebookRequestData requestData, Action<AuthenticateResponseModels.LoginByFacebookOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
45
- {
46
- GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByFacebookOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
47
- }
48
-
49
- public void loginByGenericService(AuthenticateModels.LoginByGenericServiceRequestData requestData, Action<AuthenticateResponseModels.LoginByGenericServiceOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
50
- {
51
- GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByGenericServiceOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
52
- }
53
-
54
- public void loginByGoogle(AuthenticateModels.LoginByGoogleRequestData requestData, Action<AuthenticateResponseModels.LoginByGoogleOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
55
- {
56
- GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByGoogleOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
57
- }
58
-
59
- public void loginByiOSDeviceId(AuthenticateModels.LoginByiOSDeviceIdRequestData requestData, Action<AuthenticateResponseModels.LoginByiOSDeviceIdOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
60
- {
61
- GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByiOSDeviceIdOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
62
- }
63
-
64
- public void loginByLinuxDeviceId(AuthenticateModels.LoginByLinuxDeviceIdRequestData requestData, Action<AuthenticateResponseModels.LoginByLinuxDeviceIdOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
65
- {
66
- GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByLinuxDeviceIdOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
67
- }
68
-
69
- public void loginByMacOSDeviceId(AuthenticateModels.LoginByMacOSDeviceIdRequestData requestData, Action<AuthenticateResponseModels.LoginByMacOSDeviceIdOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
70
- {
71
- GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByMacOSDeviceIdOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
72
- }
73
-
74
- public void loginByWindowsDeviceId(AuthenticateModels.LoginByWindowsDeviceIdRequestData requestData, Action<AuthenticateResponseModels.LoginByWindowsDeviceIdOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
75
- {
76
- GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByWindowsDeviceIdOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
77
- }
78
-
79
- public void loginByWindowsPhoneDeviceId(AuthenticateModels.LoginByWindowsPhoneDeviceIdRequestData requestData, Action<AuthenticateResponseModels.LoginByWindowsPhoneDeviceIdOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
80
- {
81
- GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByWindowsPhoneDeviceIdOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
82
- }
83
-
84
- public void registerAccount(AuthenticateModels.RegisterAccountRequestData requestData, Action<AuthenticateResponseModels.RegisterAccountOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
85
- {
86
- GNNetwork.sendViaHttp(new AuthenticateRequestModels.RegisterAccountOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
87
- }
88
-
89
- public void refreshAuthToken(AuthenticateModels.RefreshAuthTokenRequestData requestData, Action<AuthenticateResponseModels.RefreshAuthTokenOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
90
- {
91
- GNNetwork.sendViaHttp(new AuthenticateRequestModels.RefreshAuthTokenOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
92
- }
93
-
94
- public class ServerApi
95
- {
96
- }
97
-
98
- public class AdminApi
99
- {
100
- }
101
-
102
- }
103
-
104
- public static partial class GNNetwork
9
+ /// <summary>
10
+ /// The main API for authentication operations.
11
+ /// </summary>
12
+ public class AuthenticateApi
105
13
  {
14
+ /// <summary>
15
+ /// API for server-specific operations.
16
+ /// </summary>
17
+ public ServerApi server { get; } = new ServerApi();
106
18
 
107
- public static AuthenticateApi authenticate { get; }
19
+ /// <summary>
20
+ /// API for admin-specific operations.
21
+ /// </summary>
22
+ public AdminApi admin { get; } = new AdminApi();
23
+
24
+ /// <summary>
25
+ /// Login using account credentials.
26
+ /// </summary>
27
+ /// <param name="requestData">The request data containing the account credentials.</param>
28
+ /// <param name="onResponse">Callback to handle the response of the operation.</param>
29
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
30
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
31
+ /// <param name="customTags">Custom tags to send along with the request.</param>
32
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
33
+ public void loginByAccount(AuthenticateModels.LoginByAccountRequestData requestData, Action<AuthenticateResponseModels.LoginByAccountOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
34
+ {
35
+ GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByAccountOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
36
+ }
37
+
38
+ /// <summary>
39
+ /// Asynchronous login using account credentials.
40
+ /// </summary>
41
+ /// <param name="requestData">The request data containing the account credentials.</param>
42
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
43
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
44
+ /// <param name="customTags">Custom tags to send along with the request.</param>
45
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
46
+ /// <returns>A task representing the asynchronous operation, returning the operation response.</returns>
47
+ public Task<AuthenticateResponseModels.LoginByAccountOperationResponse> loginByAccountAsync(AuthenticateModels.LoginByAccountRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
48
+ {
49
+ return GNNetwork.sendViaHttpAsync<AuthenticateRequestModels.LoginByAccountOperationRequest, AuthenticateResponseModels.LoginByAccountOperationResponse>(new AuthenticateRequestModels.LoginByAccountOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
50
+ }
51
+
52
+ /// <summary>
53
+ /// Login using Android device ID.
54
+ /// </summary>
55
+ /// <param name="requestData">The request data containing the Android device ID.</param>
56
+ /// <param name="onResponse">Callback to handle the response of the operation.</param>
57
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
58
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
59
+ /// <param name="customTags">Custom tags to send along with the request.</param>
60
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
61
+ public void loginByAndroidDeviceId(AuthenticateModels.LoginByAndroidDeviceIdRequestData requestData, Action<AuthenticateResponseModels.LoginByAndroidDeviceIdOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
62
+ {
63
+ GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByAndroidDeviceIdOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
64
+ }
65
+
66
+ /// <summary>
67
+ /// Asynchronous login using Android device ID.
68
+ /// </summary>
69
+ /// <param name="requestData">The request data containing the Android device ID.</param>
70
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
71
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
72
+ /// <param name="customTags">Custom tags to send along with the request.</param>
73
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
74
+ /// <returns>A task representing the asynchronous operation, returning the operation response.</returns>
75
+ public Task<AuthenticateResponseModels.LoginByAndroidDeviceIdOperationResponse> loginByAndroidDeviceIdAsync(AuthenticateModels.LoginByAndroidDeviceIdRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
76
+ {
77
+ return GNNetwork.sendViaHttpAsync<AuthenticateRequestModels.LoginByAndroidDeviceIdOperationRequest, AuthenticateResponseModels.LoginByAndroidDeviceIdOperationResponse>(new AuthenticateRequestModels.LoginByAndroidDeviceIdOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
78
+ }
79
+
80
+ /// <summary>
81
+ /// Login using Apple ID.
82
+ /// </summary>
83
+ /// <param name="requestData">The request data containing the Apple ID.</param>
84
+ /// <param name="onResponse">Callback to handle the response of the operation.</param>
85
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
86
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
87
+ /// <param name="customTags">Custom tags to send along with the request.</param>
88
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
89
+ public void loginByApple(AuthenticateModels.LoginByAppleRequestData requestData, Action<AuthenticateResponseModels.LoginByAppleOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
90
+ {
91
+ GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByAppleOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
92
+ }
93
+
94
+ /// <summary>
95
+ /// Asynchronous login using Apple ID.
96
+ /// </summary>
97
+ /// <param name="requestData">The request data containing the Apple ID.</param>
98
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
99
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
100
+ /// <param name="customTags">Custom tags to send along with the request.</param>
101
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
102
+ /// <returns>A task representing the asynchronous operation, returning the operation response.</returns>
103
+ public Task<AuthenticateResponseModels.LoginByAppleOperationResponse> loginByAppleAsync(AuthenticateModels.LoginByAppleRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
104
+ {
105
+ return GNNetwork.sendViaHttpAsync<AuthenticateRequestModels.LoginByAppleOperationRequest, AuthenticateResponseModels.LoginByAppleOperationResponse>(new AuthenticateRequestModels.LoginByAppleOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
106
+ }
107
+
108
+ /// <summary>
109
+ /// Login using a custom device ID.
110
+ /// </summary>
111
+ /// <param name="requestData">The request data containing the custom device ID.</param>
112
+ /// <param name="onResponse">Callback to handle the response of the operation.</param>
113
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
114
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
115
+ /// <param name="customTags">Custom tags to send along with the request.</param>
116
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
117
+ public void loginByCustomDeviceId(AuthenticateModels.LoginByCustomDeviceIdRequestData requestData, Action<AuthenticateResponseModels.LoginByCustomDeviceIdOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
118
+ {
119
+ GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByCustomDeviceIdOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
120
+ }
121
+
122
+ /// <summary>
123
+ /// Asynchronous login using a custom device ID.
124
+ /// </summary>
125
+ /// <param name="requestData">The request data containing the custom device ID.</param>
126
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
127
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
128
+ /// <param name="customTags">Custom tags to send along with the request.</param>
129
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
130
+ /// <returns>A task representing the asynchronous operation, returning the operation response.</returns>
131
+ public Task<AuthenticateResponseModels.LoginByCustomDeviceIdOperationResponse> loginByCustomDeviceIdAsync(AuthenticateModels.LoginByCustomDeviceIdRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
132
+ {
133
+ return GNNetwork.sendViaHttpAsync<AuthenticateRequestModels.LoginByCustomDeviceIdOperationRequest, AuthenticateResponseModels.LoginByCustomDeviceIdOperationResponse>(new AuthenticateRequestModels.LoginByCustomDeviceIdOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
134
+ }
135
+
136
+ /// <summary>
137
+ /// Login using a custom ID.
138
+ /// </summary>
139
+ /// <param name="requestData">The request data containing the custom ID.</param>
140
+ /// <param name="onResponse">Callback to handle the response of the operation.</param>
141
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
142
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
143
+ /// <param name="customTags">Custom tags to send along with the request.</param>
144
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
145
+ public void loginByCustomId(AuthenticateModels.LoginByCustomIdRequestData requestData, Action<AuthenticateResponseModels.LoginByCustomIdOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
146
+ {
147
+ GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByCustomIdOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
148
+ }
149
+
150
+ /// <summary>
151
+ /// Asynchronous login using a custom ID.
152
+ /// </summary>
153
+ /// <param name="requestData">The request data containing the custom ID.</param>
154
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
155
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
156
+ /// <param name="customTags">Custom tags to send along with the request.</param>
157
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
158
+ /// <returns>A task representing the asynchronous operation, returning the operation response.</returns>
159
+ public Task<AuthenticateResponseModels.LoginByCustomIdOperationResponse> loginByCustomIdAsync(AuthenticateModels.LoginByCustomIdRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
160
+ {
161
+ return GNNetwork.sendViaHttpAsync<AuthenticateRequestModels.LoginByCustomIdOperationRequest, AuthenticateResponseModels.LoginByCustomIdOperationResponse>(new AuthenticateRequestModels.LoginByCustomIdOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
162
+ }
163
+
164
+ /// <summary>
165
+ /// Login using an editor device ID.
166
+ /// </summary>
167
+ /// <param name="requestData">The request data containing the editor device ID.</param>
168
+ /// <param name="onResponse">Callback to handle the response of the operation.</param>
169
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
170
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
171
+ /// <param name="customTags">Custom tags to send along with the request.</param>
172
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
173
+ public void loginByEditorDeviceId(AuthenticateModels.LoginByEditorDeviceIdRequestData requestData, Action<AuthenticateResponseModels.LoginByEditorDeviceIdOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
174
+ {
175
+ GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByEditorDeviceIdOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
176
+ }
177
+
178
+ /// <summary>
179
+ /// Asynchronous login using an editor device ID.
180
+ /// </summary>
181
+ /// <param name="requestData">The request data containing the editor device ID.</param>
182
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
183
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
184
+ /// <param name="customTags">Custom tags to send along with the request.</param>
185
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
186
+ /// <returns>A task representing the asynchronous operation, returning the operation response.</returns>
187
+ public Task<AuthenticateResponseModels.LoginByEditorDeviceIdOperationResponse> loginByEditorDeviceIdAsync(AuthenticateModels.LoginByEditorDeviceIdRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
188
+ {
189
+ return GNNetwork.sendViaHttpAsync<AuthenticateRequestModels.LoginByEditorDeviceIdOperationRequest, AuthenticateResponseModels.LoginByEditorDeviceIdOperationResponse>(new AuthenticateRequestModels.LoginByEditorDeviceIdOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
190
+ }
191
+
192
+ /// <summary>
193
+ /// Login using a Facebook account.
194
+ /// </summary>
195
+ /// <param name="requestData">The request data containing Facebook account information.</param>
196
+ /// <param name="onResponse">Callback to handle the response of the operation.</param>
197
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
198
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
199
+ /// <param name="customTags">Custom tags to send along with the request.</param>
200
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
201
+ public void loginByFacebook(AuthenticateModels.LoginByFacebookRequestData requestData, Action<AuthenticateResponseModels.LoginByFacebookOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
202
+ {
203
+ GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByFacebookOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
204
+ }
205
+
206
+ /// <summary>
207
+ /// Asynchronous login using a Facebook account.
208
+ /// </summary>
209
+ /// <param name="requestData">The request data containing Facebook account information.</param>
210
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
211
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
212
+ /// <param name="customTags">Custom tags to send along with the request.</param>
213
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
214
+ public Task<AuthenticateResponseModels.LoginByFacebookOperationResponse> loginByFacebookAsync(AuthenticateModels.LoginByFacebookRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
215
+ {
216
+ return GNNetwork.sendViaHttpAsync<AuthenticateRequestModels.LoginByFacebookOperationRequest, AuthenticateResponseModels.LoginByFacebookOperationResponse>(new AuthenticateRequestModels.LoginByFacebookOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
217
+ }
218
+
219
+ /// <summary>
220
+ /// Login using a generic service.
221
+ /// </summary>
222
+ /// <param name="requestData">The request data containing generic service information.</param>
223
+ /// <param name="onResponse">Callback to handle the response of the operation.</param>
224
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
225
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
226
+ /// <param name="customTags">Custom tags to send along with the request.</param>
227
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
228
+ public void loginByGenericService(AuthenticateModels.LoginByGenericServiceRequestData requestData, Action<AuthenticateResponseModels.LoginByGenericServiceOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
229
+ {
230
+ GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByGenericServiceOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
231
+ }
232
+
233
+ /// <summary>
234
+ /// Asynchronous login using a generic service.
235
+ /// </summary>
236
+ /// <param name="requestData">The request data containing generic service information.</param>
237
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
238
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
239
+ /// <param name="customTags">Custom tags to send along with the request.</param>
240
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
241
+ /// <returns>A task representing the asynchronous operation, returning the operation response.</returns>
242
+ public Task<AuthenticateResponseModels.LoginByGenericServiceOperationResponse> loginByGenericServiceAsync(AuthenticateModels.LoginByGenericServiceRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
243
+ {
244
+ return GNNetwork.sendViaHttpAsync<AuthenticateRequestModels.LoginByGenericServiceOperationRequest, AuthenticateResponseModels.LoginByGenericServiceOperationResponse>(new AuthenticateRequestModels.LoginByGenericServiceOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
245
+ }
246
+
247
+ /// <summary>
248
+ /// Login using a Google account.
249
+ /// </summary>
250
+ /// <param name="requestData">The request data containing Google account information.</param>
251
+ /// <param name="onResponse">Callback to handle the response of the operation.</param>
252
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
253
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
254
+ /// <param name="customTags">Custom tags to send along with the request.</param>
255
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
256
+ public void loginByGoogle(AuthenticateModels.LoginByGoogleRequestData requestData, Action<AuthenticateResponseModels.LoginByGoogleOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
257
+ {
258
+ GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByGoogleOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
259
+ }
260
+
261
+ /// <summary>
262
+ /// Asynchronous login using a Google account.
263
+ /// </summary>
264
+ /// <param name="requestData">The request data containing Google account information.</param>
265
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
266
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
267
+ /// <param name="customTags">Custom tags to send along with the request.</param>
268
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
269
+ /// <returns>A task representing the asynchronous operation, returning the operation response.</returns>
270
+ public Task<AuthenticateResponseModels.LoginByGoogleOperationResponse> loginByGoogleAsync(AuthenticateModels.LoginByGoogleRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
271
+ {
272
+ return GNNetwork.sendViaHttpAsync<AuthenticateRequestModels.LoginByGoogleOperationRequest, AuthenticateResponseModels.LoginByGoogleOperationResponse>(new AuthenticateRequestModels.LoginByGoogleOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
273
+ }
274
+
275
+ /// <summary>
276
+ /// Login using a Google play game service account.
277
+ /// </summary>
278
+ /// <param name="requestData">The request data containing Google account information.</param>
279
+ /// <param name="onResponse">Callback to handle the response of the operation.</param>
280
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
281
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
282
+ /// <param name="customTags">Custom tags to send along with the request.</param>
283
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
284
+ public void loginByGooglePlayGameService(AuthenticateModels.LoginByGooglePlayGameServiceRequestData requestData, Action<AuthenticateResponseModels.LoginByGooglePlayGameServiceOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
285
+ {
286
+ GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByGooglePlayGameServiceOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
287
+ }
288
+
289
+ /// <summary>
290
+ /// Asynchronous login using a Google play game service account.
291
+ /// </summary>
292
+ /// <param name="requestData">The request data containing Google account information.</param>
293
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
294
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
295
+ /// <param name="customTags">Custom tags to send along with the request.</param>
296
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
297
+ /// <returns>A task representing the asynchronous operation, returning the operation response.</returns>
298
+ public Task<AuthenticateResponseModels.LoginByGooglePlayGameServiceOperationResponse> loginByGooglePlayGameServiceAsync(AuthenticateModels.LoginByGooglePlayGameServiceRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
299
+ {
300
+ return GNNetwork.sendViaHttpAsync<AuthenticateRequestModels.LoginByGooglePlayGameServiceOperationRequest, AuthenticateResponseModels.LoginByGooglePlayGameServiceOperationResponse>(new AuthenticateRequestModels.LoginByGooglePlayGameServiceOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
301
+ }
302
+
303
+ /// <summary>
304
+ /// Login using a Game Center account.
305
+ /// </summary>
306
+ /// <param name="requestData">The request data containing Google account information.</param>
307
+ /// <param name="onResponse">Callback to handle the response of the operation.</param>
308
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
309
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
310
+ /// <param name="customTags">Custom tags to send along with the request.</param>
311
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
312
+ public void loginByGameCenter(AuthenticateModels.LoginByGameCenterRequestData requestData, Action<AuthenticateResponseModels.LoginByGameCenterOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
313
+ {
314
+ GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByGameCenterOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
315
+ }
316
+
317
+ /// <summary>
318
+ /// Asynchronous login using a Game Center account.
319
+ /// </summary>
320
+ /// <param name="requestData">The request data containing Google account information.</param>
321
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
322
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
323
+ /// <param name="customTags">Custom tags to send along with the request.</param>
324
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
325
+ /// <returns>A task representing the asynchronous operation, returning the operation response.</returns>
326
+ public Task<AuthenticateResponseModels.LoginByGameCenterOperationResponse> loginByGameCenterAsync(AuthenticateModels.LoginByGameCenterRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
327
+ {
328
+ return GNNetwork.sendViaHttpAsync<AuthenticateRequestModels.LoginByGameCenterOperationRequest, AuthenticateResponseModels.LoginByGameCenterOperationResponse>(new AuthenticateRequestModels.LoginByGameCenterOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
329
+ }
330
+
331
+ /// <summary>
332
+ /// Login using an iOS device ID.
333
+ /// </summary>
334
+ /// <param name="requestData">The request data containing iOS device ID information.</param>
335
+ /// <param name="onResponse">Callback to handle the response of the operation.</param>
336
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
337
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
338
+ /// <param name="customTags">Custom tags to send along with the request.</param>
339
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
340
+ public void loginByiOSDeviceId(AuthenticateModels.LoginByiOSDeviceIdRequestData requestData, Action<AuthenticateResponseModels.LoginByiOSDeviceIdOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
341
+ {
342
+ GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByiOSDeviceIdOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
343
+ }
344
+
345
+ /// <summary>
346
+ /// Asynchronous login using an iOS device ID.
347
+ /// </summary>
348
+ /// <param name="requestData">The request data containing iOS device ID information.</param>
349
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
350
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
351
+ /// <param name="customTags">Custom tags to send along with the request.</param>
352
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
353
+ /// <returns>A task representing the asynchronous operation, returning the operation response.</returns>
354
+ public Task<AuthenticateResponseModels.LoginByiOSDeviceIdOperationResponse> loginByiOSDeviceIdAsync(AuthenticateModels.LoginByiOSDeviceIdRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
355
+ {
356
+ return GNNetwork.sendViaHttpAsync<AuthenticateRequestModels.LoginByiOSDeviceIdOperationRequest, AuthenticateResponseModels.LoginByiOSDeviceIdOperationResponse>(new AuthenticateRequestModels.LoginByiOSDeviceIdOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
357
+ }
358
+
359
+ /// <summary>
360
+ /// Login using a Linux device ID.
361
+ /// </summary>
362
+ /// <param name="requestData">The request data containing Linux device ID information.</param>
363
+ /// <param name="onResponse">Callback to handle the response of the operation.</param>
364
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
365
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
366
+ /// <param name="customTags">Custom tags to send along with the request.</param>
367
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
368
+ public void loginByLinuxDeviceId(AuthenticateModels.LoginByLinuxDeviceIdRequestData requestData, Action<AuthenticateResponseModels.LoginByLinuxDeviceIdOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
369
+ {
370
+ GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByLinuxDeviceIdOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
371
+ }
372
+
373
+ /// <summary>
374
+ /// Asynchronous login using a Linux device ID.
375
+ /// </summary>
376
+ /// <param name="requestData">The request data containing Linux device ID information.</param>
377
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
378
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
379
+ /// <param name="customTags">Custom tags to send along with the request.</param>
380
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
381
+ /// <returns>A task representing the asynchronous operation, returning the operation response.</returns>
382
+ public Task<AuthenticateResponseModels.LoginByLinuxDeviceIdOperationResponse> loginByLinuxDeviceIdAsync(AuthenticateModels.LoginByLinuxDeviceIdRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
383
+ {
384
+ return GNNetwork.sendViaHttpAsync<AuthenticateRequestModels.LoginByLinuxDeviceIdOperationRequest, AuthenticateResponseModels.LoginByLinuxDeviceIdOperationResponse>(new AuthenticateRequestModels.LoginByLinuxDeviceIdOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
385
+ }
386
+
387
+ /// <summary>
388
+ /// Login using a macOS device ID.
389
+ /// </summary>
390
+ /// <param name="requestData">The request data containing macOS device ID information.</param>
391
+ /// <param name="onResponse">Callback to handle the response of the operation.</param>
392
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
393
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
394
+ /// <param name="customTags">Custom tags to send along with the request.</param>
395
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
396
+ public void loginByMacOSDeviceId(AuthenticateModels.LoginByMacOSDeviceIdRequestData requestData, Action<AuthenticateResponseModels.LoginByMacOSDeviceIdOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
397
+ {
398
+ GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByMacOSDeviceIdOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
399
+ }
400
+
401
+ /// <summary>
402
+ /// Asynchronous login using a macOS device ID.
403
+ /// </summary>
404
+ /// <param name="requestData">The request data containing macOS device ID information.</param>
405
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
406
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
407
+ /// <param name="customTags">Custom tags to send along with the request.</param>
408
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
409
+ /// <returns>A task representing the asynchronous operation, returning the operation response.</returns>
410
+ public Task<AuthenticateResponseModels.LoginByMacOSDeviceIdOperationResponse> loginByMacOSDeviceIdAsync(AuthenticateModels.LoginByMacOSDeviceIdRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
411
+ {
412
+ return GNNetwork.sendViaHttpAsync<AuthenticateRequestModels.LoginByMacOSDeviceIdOperationRequest, AuthenticateResponseModels.LoginByMacOSDeviceIdOperationResponse>(new AuthenticateRequestModels.LoginByMacOSDeviceIdOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
413
+ }
414
+
415
+ /// <summary>
416
+ /// Login using a Windows device ID.
417
+ /// </summary>
418
+ /// <param name="requestData">The request data containing Windows device ID information.</param>
419
+ /// <param name="onResponse">Callback to handle the response of the operation.</param>
420
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
421
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
422
+ /// <param name="customTags">Custom tags to send along with the request.</param>
423
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
424
+ public void loginByWindowsDeviceId(AuthenticateModels.LoginByWindowsDeviceIdRequestData requestData, Action<AuthenticateResponseModels.LoginByWindowsDeviceIdOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
425
+ {
426
+ GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByWindowsDeviceIdOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
427
+ }
428
+
429
+ /// <summary>
430
+ /// Asynchronous login using a Windows device ID.
431
+ /// </summary>
432
+ /// <param name="requestData">The request data containing Windows device ID information.</param>
433
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
434
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
435
+ /// <param name="customTags">Custom tags to send along with the request.</param>
436
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
437
+ /// <returns>A task representing the asynchronous operation, returning the operation response.</returns>
438
+ public Task<AuthenticateResponseModels.LoginByWindowsDeviceIdOperationResponse> loginByWindowsDeviceIdAsync(AuthenticateModels.LoginByWindowsDeviceIdRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
439
+ {
440
+ return GNNetwork.sendViaHttpAsync<AuthenticateRequestModels.LoginByWindowsDeviceIdOperationRequest, AuthenticateResponseModels.LoginByWindowsDeviceIdOperationResponse>(new AuthenticateRequestModels.LoginByWindowsDeviceIdOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
441
+ }
442
+
443
+ /// <summary>
444
+ /// Login using a Windows Phone device ID.
445
+ /// </summary>
446
+ /// <param name="requestData">The request data containing Windows Phone device ID information.</param>
447
+ /// <param name="onResponse">Callback to handle the response of the operation.</param>
448
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
449
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
450
+ /// <param name="customTags">Custom tags to send along with the request.</param>
451
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
452
+ public void loginByWindowsPhoneDeviceId(AuthenticateModels.LoginByWindowsPhoneDeviceIdRequestData requestData, Action<AuthenticateResponseModels.LoginByWindowsPhoneDeviceIdOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
453
+ {
454
+ GNNetwork.sendViaHttp(new AuthenticateRequestModels.LoginByWindowsPhoneDeviceIdOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
455
+ }
456
+
457
+ /// <summary>
458
+ /// Asynchronous login using a Windows Phone device ID.
459
+ /// </summary>
460
+ /// <param name="requestData">The request data containing Windows Phone device ID information.</param>
461
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
462
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
463
+ /// <param name="customTags">Custom tags to send along with the request.</param>
464
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
465
+ /// <returns>A task representing the asynchronous operation, returning the operation response.</returns>
466
+ public Task<AuthenticateResponseModels.LoginByWindowsPhoneDeviceIdOperationResponse> loginByWindowsPhoneDeviceIdAsync(AuthenticateModels.LoginByWindowsPhoneDeviceIdRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
467
+ {
468
+ return GNNetwork.sendViaHttpAsync<AuthenticateRequestModels.LoginByWindowsPhoneDeviceIdOperationRequest, AuthenticateResponseModels.LoginByWindowsPhoneDeviceIdOperationResponse>(new AuthenticateRequestModels.LoginByWindowsPhoneDeviceIdOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
469
+ }
470
+
471
+ /// <summary>
472
+ /// Register a new account.
473
+ /// </summary>
474
+ /// <param name="requestData">The request data containing account registration information.</param>
475
+ /// <param name="onResponse">Callback to handle the response of the operation.</param>
476
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
477
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
478
+ /// <param name="customTags">Custom tags to send along with the request.</param>
479
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
480
+ public void registerAccount(AuthenticateModels.RegisterAccountRequestData requestData, Action<AuthenticateResponseModels.RegisterAccountOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
481
+ {
482
+ GNNetwork.sendViaHttp(new AuthenticateRequestModels.RegisterAccountOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
483
+ }
484
+
485
+ /// <summary>
486
+ /// Asynchronous registration of a new account.
487
+ /// </summary>
488
+ /// <param name="requestData">The request data containing account registration information.</param>
489
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
490
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
491
+ /// <param name="customTags">Custom tags to send along with the request.</param>
492
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
493
+ /// <returns>A task representing the asynchronous operation, returning the operation response.</returns>
494
+ public Task<AuthenticateResponseModels.RegisterAccountOperationResponse> registerAccountAsync(AuthenticateModels.RegisterAccountRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
495
+ {
496
+ return GNNetwork.sendViaHttpAsync<AuthenticateRequestModels.RegisterAccountOperationRequest, AuthenticateResponseModels.RegisterAccountOperationResponse>(new AuthenticateRequestModels.RegisterAccountOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
497
+ }
498
+
499
+ /// <summary>
500
+ /// Refresh the authentication token.
501
+ /// </summary>
502
+ /// <param name="requestData">The request data containing the refresh token information.</param>
503
+ /// <param name="onResponse">Callback to handle the response of the operation.</param>
504
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
505
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
506
+ /// <param name="customTags">Custom tags to send along with the request.</param>
507
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
508
+ public void refreshAuthToken(AuthenticateModels.RefreshAuthTokenRequestData requestData, Action<AuthenticateResponseModels.RefreshAuthTokenOperationResponse> onResponse = null, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
509
+ {
510
+ GNNetwork.sendViaHttp(new AuthenticateRequestModels.RefreshAuthTokenOperationRequest(requestData, timeout), onResponse, overrideAuthToken, overrideSecretKey, customTags);
511
+ }
512
+
513
+ /// <summary>
514
+ /// Asynchronous refresh of the authentication token.
515
+ /// </summary>
516
+ /// <param name="requestData">The request data containing the refresh token information.</param>
517
+ /// <param name="overrideAuthToken">Optional override for the authentication token.</param>
518
+ /// <param name="overrideSecretKey">Optional override for the secret key.</param>
519
+ /// <param name="customTags">Custom tags to send along with the request.</param>
520
+ /// <param name="timeout">The timeout duration for the request, in seconds.</param>
521
+ /// <returns>A task representing the asynchronous operation, returning the operation response.</returns>
522
+ public Task<AuthenticateResponseModels.RefreshAuthTokenOperationResponse> refreshAuthTokenAsync(AuthenticateModels.RefreshAuthTokenRequestData requestData, string overrideAuthToken = null, string overrideSecretKey = null, GNHashtable customTags = null, int timeout = OperationRequest.defaultTimeOut)
523
+ {
524
+ return GNNetwork.sendViaHttpAsync<AuthenticateRequestModels.RefreshAuthTokenOperationRequest, AuthenticateResponseModels.RefreshAuthTokenOperationResponse>(new AuthenticateRequestModels.RefreshAuthTokenOperationRequest(requestData, timeout), overrideAuthToken, overrideSecretKey, customTags);
525
+ }
526
+
527
+ public class ServerApi
528
+ {
529
+ }
530
+
531
+ public class AdminApi
532
+ {
533
+ }
534
+
535
+ }
536
+
537
+ public static partial class GNNetwork
538
+ {
539
+
540
+ public static AuthenticateApi authenticate { get; }
108
541
  }
109
542
 
110
543
  }