com.xmobitea.changx.gn-unity 2.0.3 → 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 (239) hide show
  1. package/Editor/GNServerSettingsEditor.cs +16 -300
  2. package/Runtime/Common/GNArray.cs +387 -302
  3. package/Runtime/Common/GNArray.cs.meta +11 -11
  4. package/Runtime/Common/GNData.cs +61 -48
  5. package/Runtime/Common/GNData.cs.meta +11 -11
  6. package/Runtime/Common/GNHashtable.cs +404 -241
  7. package/Runtime/Common/GNHashtable.cs.meta +11 -11
  8. package/Runtime/Common/IGNData.cs +20 -11
  9. package/Runtime/Common/IGNData.cs.meta +11 -11
  10. package/Runtime/Common.meta +8 -8
  11. package/Runtime/Config/GNServerSettings.cs +136 -92
  12. package/Runtime/Config/GNServerSettings.cs.meta +11 -11
  13. package/Runtime/Config.meta +8 -8
  14. package/Runtime/Constant/Commands.cs +82 -19
  15. package/Runtime/Constant/Commands.cs.meta +11 -11
  16. package/Runtime/Constant/EnumType/FriendStatus.cs +12 -12
  17. package/Runtime/Constant/EnumType/FriendStatus.cs.meta +11 -11
  18. package/Runtime/Constant/EnumType/GoogleLoginType.cs +5 -5
  19. package/Runtime/Constant/EnumType/GoogleLoginType.cs.meta +11 -11
  20. package/Runtime/Constant/EnumType/GroupStatus.cs +7 -7
  21. package/Runtime/Constant/EnumType/GroupStatus.cs.meta +11 -11
  22. package/Runtime/Constant/EnumType/InvalidMemberType.cs +23 -23
  23. package/Runtime/Constant/EnumType/InvalidMemberType.cs.meta +11 -11
  24. package/Runtime/Constant/EnumType/ItemType.cs +5 -5
  25. package/Runtime/Constant/EnumType/ItemType.cs.meta +11 -11
  26. package/Runtime/Constant/EnumType/MatchmakingMemberStatus.cs +6 -6
  27. package/Runtime/Constant/EnumType/MatchmakingMemberStatus.cs.meta +11 -11
  28. package/Runtime/Constant/EnumType/MatchmakingTicketStatus.cs +2 -2
  29. package/Runtime/Constant/EnumType/MatchmakingTicketStatus.cs.meta +11 -11
  30. package/Runtime/Constant/EnumType/OwnerType.cs +3 -2
  31. package/Runtime/Constant/EnumType/OwnerType.cs.meta +11 -11
  32. package/Runtime/Constant/EnumType/PermissionDataItem.cs +10 -10
  33. package/Runtime/Constant/EnumType/PermissionDataItem.cs.meta +11 -11
  34. package/Runtime/Constant/EnumType/PushPlatformType.cs +10 -0
  35. package/Runtime/Constant/EnumType/PushPlatformType.cs.meta +11 -0
  36. package/Runtime/Constant/EnumType/RequestRole.cs +11 -11
  37. package/Runtime/Constant/EnumType/RequestRole.cs.meta +7 -7
  38. package/Runtime/Constant/EnumType/RequestType.cs +20 -19
  39. package/Runtime/Constant/EnumType/RequestType.cs.meta +11 -11
  40. package/Runtime/Constant/EnumType/StoreReceiveType.cs +13 -0
  41. package/Runtime/Constant/EnumType/StoreReceiveType.cs.meta +11 -0
  42. package/Runtime/Constant/EnumType.meta +8 -8
  43. package/Runtime/Constant/ErrorCode/GNErrorCode.cs +53 -48
  44. package/Runtime/Constant/ErrorCode/GNErrorCode.cs.meta +7 -7
  45. package/Runtime/Constant/ErrorCode.meta +8 -8
  46. package/Runtime/Constant/EventCode.cs +43 -16
  47. package/Runtime/Constant/EventCode.cs.meta +11 -11
  48. package/Runtime/Constant/OperationCode.cs +249 -211
  49. package/Runtime/Constant/OperationCode.cs.meta +11 -11
  50. package/Runtime/Constant/ParameterCode/GNParameterCode.cs +610 -466
  51. package/Runtime/Constant/ParameterCode/GNParameterCode.cs.meta +11 -11
  52. package/Runtime/Constant/ParameterCode/ParameterCode.cs +12 -12
  53. package/Runtime/Constant/ParameterCode/ParameterCode.cs.meta +11 -11
  54. package/Runtime/Constant/ParameterCode.meta +8 -8
  55. package/Runtime/Constant/ReturnCode.cs +73 -25
  56. package/Runtime/Constant/ReturnCode.cs.meta +11 -11
  57. package/Runtime/Constant.meta +8 -8
  58. package/Runtime/Entity/DataMember.cs +342 -124
  59. package/Runtime/Entity/DataMember.cs.meta +11 -11
  60. package/Runtime/Entity/GNMetadata.cs +72 -27
  61. package/Runtime/Entity/GNMetadata.cs.meta +11 -11
  62. package/Runtime/Entity/InvalidMember.cs +52 -33
  63. package/Runtime/Entity/InvalidMember.cs.meta +11 -11
  64. package/Runtime/Entity/Models/AuthenticateModels.cs +251 -207
  65. package/Runtime/Entity/Models/AuthenticateModels.cs.meta +11 -11
  66. package/Runtime/Entity/Models/AuthenticateRequestModels.cs +153 -131
  67. package/Runtime/Entity/Models/AuthenticateRequestModels.cs.meta +11 -11
  68. package/Runtime/Entity/Models/AuthenticateResponseModels.cs +61 -51
  69. package/Runtime/Entity/Models/AuthenticateResponseModels.cs.meta +11 -11
  70. package/Runtime/Entity/Models/CharacterPlayerModels.cs +985 -849
  71. package/Runtime/Entity/Models/CharacterPlayerModels.cs.meta +11 -11
  72. package/Runtime/Entity/Models/CharacterPlayerRequestModels.cs +957 -885
  73. package/Runtime/Entity/Models/CharacterPlayerRequestModels.cs.meta +11 -11
  74. package/Runtime/Entity/Models/CharacterPlayerResponseModels.cs +165 -150
  75. package/Runtime/Entity/Models/CharacterPlayerResponseModels.cs.meta +11 -11
  76. package/Runtime/Entity/Models/CloudScriptModels.cs +185 -0
  77. package/Runtime/Entity/Models/CloudScriptModels.cs.meta +11 -0
  78. package/Runtime/Entity/Models/CloudScriptRequestModels.cs +134 -0
  79. package/Runtime/Entity/Models/CloudScriptRequestModels.cs.meta +11 -0
  80. package/Runtime/Entity/Models/CloudScriptResponseModels.cs +34 -0
  81. package/Runtime/Entity/Models/CloudScriptResponseModels.cs.meta +11 -0
  82. package/Runtime/Entity/Models/ContentModels.cs +150 -153
  83. package/Runtime/Entity/Models/ContentModels.cs.meta +11 -11
  84. package/Runtime/Entity/Models/ContentRequestModels.cs +129 -129
  85. package/Runtime/Entity/Models/ContentRequestModels.cs.meta +11 -11
  86. package/Runtime/Entity/Models/ContentResponseModels.cs +24 -24
  87. package/Runtime/Entity/Models/ContentResponseModels.cs.meta +11 -11
  88. package/Runtime/Entity/Models/DashboardModels.cs +1684 -1156
  89. package/Runtime/Entity/Models/DashboardModels.cs.meta +11 -11
  90. package/Runtime/Entity/Models/DashboardRequestModels.cs +220 -147
  91. package/Runtime/Entity/Models/DashboardRequestModels.cs.meta +11 -11
  92. package/Runtime/Entity/Models/DashboardResponseModels.cs +92 -57
  93. package/Runtime/Entity/Models/DashboardResponseModels.cs.meta +11 -11
  94. package/Runtime/Entity/Models/GamePlayerModels.cs +1073 -933
  95. package/Runtime/Entity/Models/GamePlayerModels.cs.meta +11 -11
  96. package/Runtime/Entity/Models/GamePlayerRequestModels.cs +939 -867
  97. package/Runtime/Entity/Models/GamePlayerRequestModels.cs.meta +11 -11
  98. package/Runtime/Entity/Models/GamePlayerResponseModels.cs +162 -147
  99. package/Runtime/Entity/Models/GamePlayerResponseModels.cs.meta +11 -11
  100. package/Runtime/Entity/Models/GenericModels.cs +102 -102
  101. package/Runtime/Entity/Models/GenericModels.cs.meta +11 -11
  102. package/Runtime/Entity/Models/GroupModels.cs +812 -676
  103. package/Runtime/Entity/Models/GroupModels.cs.meta +11 -11
  104. package/Runtime/Entity/Models/GroupRequestModels.cs +741 -669
  105. package/Runtime/Entity/Models/GroupRequestModels.cs.meta +11 -11
  106. package/Runtime/Entity/Models/GroupResponseModels.cs +129 -114
  107. package/Runtime/Entity/Models/GroupResponseModels.cs.meta +11 -11
  108. package/Runtime/Entity/Models/InventoryModels.cs +667 -558
  109. package/Runtime/Entity/Models/InventoryModels.cs.meta +11 -11
  110. package/Runtime/Entity/Models/InventoryRequestModels.cs +626 -579
  111. package/Runtime/Entity/Models/InventoryRequestModels.cs.meta +11 -11
  112. package/Runtime/Entity/Models/InventoryResponseModels.cs +109 -99
  113. package/Runtime/Entity/Models/InventoryResponseModels.cs.meta +11 -11
  114. package/Runtime/Entity/Models/MasterPlayerModels.cs +1882 -1340
  115. package/Runtime/Entity/Models/MasterPlayerModels.cs.meta +11 -11
  116. package/Runtime/Entity/Models/MasterPlayerRequestModels.cs +1643 -1253
  117. package/Runtime/Entity/Models/MasterPlayerRequestModels.cs.meta +11 -11
  118. package/Runtime/Entity/Models/MasterPlayerResponseModels.cs +293 -213
  119. package/Runtime/Entity/Models/MasterPlayerResponseModels.cs.meta +11 -11
  120. package/Runtime/Entity/Models/MultiplayerModels.cs +293 -223
  121. package/Runtime/Entity/Models/MultiplayerModels.cs.meta +11 -11
  122. package/Runtime/Entity/Models/MultiplayerRequestModels.cs +199 -149
  123. package/Runtime/Entity/Models/MultiplayerRequestModels.cs.meta +11 -11
  124. package/Runtime/Entity/Models/MultiplayerResponseModels.cs +59 -49
  125. package/Runtime/Entity/Models/MultiplayerResponseModels.cs.meta +11 -11
  126. package/Runtime/Entity/Models/StoreInventoryModels.cs +514 -323
  127. package/Runtime/Entity/Models/StoreInventoryModels.cs.meta +11 -11
  128. package/Runtime/Entity/Models/StoreInventoryRequestModels.cs +236 -165
  129. package/Runtime/Entity/Models/StoreInventoryRequestModels.cs.meta +11 -11
  130. package/Runtime/Entity/Models/StoreInventoryResponseModels.cs +45 -30
  131. package/Runtime/Entity/Models/StoreInventoryResponseModels.cs.meta +11 -11
  132. package/Runtime/Entity/Models.meta +8 -8
  133. package/Runtime/Entity/OperationEvent.cs +111 -75
  134. package/Runtime/Entity/OperationEvent.cs.meta +11 -11
  135. package/Runtime/Entity/OperationHelper.cs +51 -35
  136. package/Runtime/Entity/OperationHelper.cs.meta +11 -11
  137. package/Runtime/Entity/OperationRequest.cs +142 -99
  138. package/Runtime/Entity/OperationRequest.cs.meta +11 -11
  139. package/Runtime/Entity/OperationResponse.cs +111 -63
  140. package/Runtime/Entity/OperationResponse.cs.meta +11 -11
  141. package/Runtime/Entity/Request/CustomOperationRequest.cs +112 -61
  142. package/Runtime/Entity/Request/CustomOperationRequest.cs.meta +11 -11
  143. package/Runtime/Entity/Request.meta +8 -8
  144. package/Runtime/Entity/Response/CustomOperationResponse.cs +84 -63
  145. package/Runtime/Entity/Response/CustomOperationResponse.cs.meta +11 -11
  146. package/Runtime/Entity/Response.meta +8 -8
  147. package/Runtime/Entity.meta +8 -8
  148. package/Runtime/GNNetwork.cs +496 -182
  149. package/Runtime/GNNetwork.cs.meta +11 -11
  150. package/Runtime/GNNetworkApi.cs +38 -19
  151. package/Runtime/GNNetworkApi.cs.meta +11 -11
  152. package/Runtime/GNNetworkAuthenticateApi.cs +531 -98
  153. package/Runtime/GNNetworkAuthenticateApi.cs.meta +11 -11
  154. package/Runtime/GNNetworkCharacterPlayerApi.cs +1587 -762
  155. package/Runtime/GNNetworkCharacterPlayerApi.cs.meta +11 -11
  156. package/Runtime/GNNetworkCloudScriptApi.cs +181 -0
  157. package/Runtime/GNNetworkCloudScriptApi.cs.meta +11 -0
  158. package/Runtime/GNNetworkContentApi.cs +238 -132
  159. package/Runtime/GNNetworkContentApi.cs.meta +11 -11
  160. package/Runtime/GNNetworkDashboardApi.cs +278 -117
  161. package/Runtime/GNNetworkDashboardApi.cs.meta +11 -11
  162. package/Runtime/GNNetworkGamePlayerApi.cs +1558 -747
  163. package/Runtime/GNNetworkGamePlayerApi.cs.meta +11 -11
  164. package/Runtime/GNNetworkGroupApi.cs +1228 -582
  165. package/Runtime/GNNetworkGroupApi.cs.meta +11 -11
  166. package/Runtime/GNNetworkInventoryApi.cs +1048 -507
  167. package/Runtime/GNNetworkInventoryApi.cs.meta +11 -11
  168. package/Runtime/GNNetworkMasterPlayerApi.cs +2586 -1067
  169. package/Runtime/GNNetworkMasterPlayerApi.cs.meta +11 -11
  170. package/Runtime/GNNetworkMultiplayerApi.cs +328 -147
  171. package/Runtime/GNNetworkMultiplayerApi.cs.meta +11 -11
  172. package/Runtime/GNNetworkStoreInventoryApi.cs +388 -162
  173. package/Runtime/GNNetworkStoreInventoryApi.cs.meta +11 -11
  174. package/Runtime/Helper/CodeHelper.cs +140 -98
  175. package/Runtime/Helper/CodeHelper.cs.meta +11 -11
  176. package/Runtime/Helper/ConverterService.cs +236 -52
  177. package/Runtime/Helper/ConverterService.cs.meta +11 -11
  178. package/Runtime/Helper/ParseGNHelper.cs +451 -451
  179. package/Runtime/Helper/ParseGNHelper.cs.meta +11 -11
  180. package/Runtime/Helper.meta +8 -8
  181. package/Runtime/Logger/GNDebug.cs +92 -49
  182. package/Runtime/Logger/GNDebug.cs.meta +11 -11
  183. package/Runtime/Logger.meta +8 -8
  184. package/Runtime/Networking/AuthenticateStatus.cs +57 -35
  185. package/Runtime/Networking/AuthenticateStatus.cs.meta +11 -11
  186. package/Runtime/Networking/Handler/IServerEventHandler.cs +25 -25
  187. package/Runtime/Networking/Handler/IServerEventHandler.cs.meta +11 -11
  188. package/Runtime/Networking/Handler/OnCharacterPlayerFriendUpdateEventHandler.cs +61 -32
  189. package/Runtime/Networking/Handler/OnCharacterPlayerFriendUpdateEventHandler.cs.meta +11 -11
  190. package/Runtime/Networking/Handler/OnCharacterPlayerGroupUpdateEventHandler.cs +54 -33
  191. package/Runtime/Networking/Handler/OnCharacterPlayerGroupUpdateEventHandler.cs.meta +11 -11
  192. package/Runtime/Networking/Handler/OnGamePlayerFriendUpdateEventHandler.cs +54 -32
  193. package/Runtime/Networking/Handler/OnGamePlayerFriendUpdateEventHandler.cs.meta +11 -11
  194. package/Runtime/Networking/Handler/OnGamePlayerGroupUpdateEventHandler.cs +54 -32
  195. package/Runtime/Networking/Handler/OnGamePlayerGroupUpdateEventHandler.cs.meta +11 -11
  196. package/Runtime/Networking/Handler/OnGroupMemberUpdateEventHandler.cs +48 -29
  197. package/Runtime/Networking/Handler/OnGroupMemberUpdateEventHandler.cs.meta +11 -11
  198. package/Runtime/Networking/Handler/OnGroupMessageUpdateEventHandler.cs +47 -29
  199. package/Runtime/Networking/Handler/OnGroupMessageUpdateEventHandler.cs.meta +11 -11
  200. package/Runtime/Networking/Handler.meta +8 -8
  201. package/Runtime/Networking/Http/HttpPeer.cs +68 -25
  202. package/Runtime/Networking/Http/HttpPeer.cs.meta +11 -11
  203. package/Runtime/Networking/Http/NetworkingHttpPeerBase.cs +65 -25
  204. package/Runtime/Networking/Http/NetworkingHttpPeerBase.cs.meta +11 -11
  205. package/Runtime/Networking/Http/NetworkingPeerHttpClientRequest.cs +513 -486
  206. package/Runtime/Networking/Http/NetworkingPeerHttpClientRequest.cs.meta +11 -11
  207. package/Runtime/Networking/Http/NetworkingPeerHttpRequest.cs +172 -142
  208. package/Runtime/Networking/Http/NetworkingPeerHttpRequest.cs.meta +11 -11
  209. package/Runtime/Networking/Http/NetworkingPeerUnityWebRequest.cs +225 -188
  210. package/Runtime/Networking/Http/NetworkingPeerUnityWebRequest.cs.meta +11 -11
  211. package/Runtime/Networking/Http.meta +8 -8
  212. package/Runtime/Networking/IPeer.cs +41 -19
  213. package/Runtime/Networking/IPeer.cs.meta +11 -11
  214. package/Runtime/Networking/NetworkingPeer.cs +198 -144
  215. package/Runtime/Networking/NetworkingPeer.cs.meta +11 -11
  216. package/Runtime/Networking/NetworkingPeerAPI.cs +20 -21
  217. package/Runtime/Networking/NetworkingPeerAPI.cs.meta +11 -11
  218. package/Runtime/Networking/OperationPending.cs +159 -95
  219. package/Runtime/Networking/OperationPending.cs.meta +11 -11
  220. package/Runtime/Networking/PeerBase.cs +305 -242
  221. package/Runtime/Networking/PeerBase.cs.meta +11 -11
  222. package/Runtime/Networking/Socket/NetworkingPeerSocketV2.cs +222 -185
  223. package/Runtime/Networking/Socket/NetworkingPeerSocketV2.cs.meta +11 -11
  224. package/Runtime/Networking/Socket/NetworkingPeerSocketV3.cs +235 -177
  225. package/Runtime/Networking/Socket/NetworkingPeerSocketV3.cs.meta +11 -11
  226. package/Runtime/Networking/Socket/NetworkingSocketPeerBase.cs +165 -23
  227. package/Runtime/Networking/Socket/NetworkingSocketPeerBase.cs.meta +11 -11
  228. package/Runtime/Networking/Socket/SocketPeer.cs +242 -197
  229. package/Runtime/Networking/Socket/SocketPeer.cs.meta +11 -11
  230. package/Runtime/Networking/Socket.meta +8 -8
  231. package/Runtime/Networking.meta +8 -8
  232. package/Runtime/Unity/ServiceCoroutine.cs +10 -0
  233. package/Runtime/Unity/ServiceCoroutine.cs.meta +11 -0
  234. package/Runtime/Unity/ServiceUpdate.cs +33 -20
  235. package/Runtime/Unity/ServiceUpdate.cs.meta +11 -11
  236. package/Runtime/Unity.meta +8 -8
  237. package/Runtime/XmobiTea.GN.runtime.asmdef +16 -16
  238. package/Runtime/XmobiTea.GN.runtime.asmdef.meta +7 -7
  239. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
- fileFormatVersion: 2
2
- guid: 65d122e8b13a93c4f893644d4c8f50ce
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: 65d122e8b13a93c4f893644d4c8f50ce
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant:
@@ -2,253 +2,268 @@
2
2
  {
3
3
  using XmobiTea.GN.Entity.Response;
4
4
 
5
- public class CharacterPlayerResponseModels
6
- {
7
- public class AddPlayerFriendOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
8
- {
5
+ public class CharacterPlayerResponseModels
6
+ {
7
+ public class AddPlayerFriendOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
8
+ {
9
9
 
10
- }
10
+ }
11
11
 
12
- public class AddSegmentOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
13
- {
12
+ public class AddSegmentOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
13
+ {
14
14
 
15
- }
15
+ }
16
16
 
17
- public class GetAvatarOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
18
- {
17
+ public class GetAvatarOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
18
+ {
19
19
 
20
- }
20
+ }
21
21
 
22
- public class GetCatalogIdOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
23
- {
22
+ public class GetCatalogIdOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
23
+ {
24
24
 
25
- }
25
+ }
26
26
 
27
- public class GetCountryCodeOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
28
- {
27
+ public class GetCountryCodeOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
28
+ {
29
29
 
30
- }
30
+ }
31
31
 
32
- public class GetCustomDataOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
33
- {
32
+ public class GetCustomDataOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
33
+ {
34
34
 
35
- }
35
+ }
36
36
 
37
- public class GetDisplayNameOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
38
- {
37
+ public class GetDisplayNameOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
38
+ {
39
39
 
40
- }
40
+ }
41
41
 
42
- public class GetFriendStatisticsLeaderboardAroundPlayerOperationResponse : CustomOperationResponse<CharacterPlayerModels.GetStatisticsLeaderboardResponseData>
43
- {
42
+ public class GetFriendStatisticsLeaderboardAroundPlayerOperationResponse : CustomOperationResponse<CharacterPlayerModels.GetStatisticsLeaderboardResponseData>
43
+ {
44
44
 
45
- }
45
+ }
46
46
 
47
- public class GetFriendStatisticsLeaderboardOperationResponse : CustomOperationResponse<CharacterPlayerModels.GetStatisticsLeaderboardResponseData>
48
- {
47
+ public class GetFriendStatisticsLeaderboardOperationResponse : CustomOperationResponse<CharacterPlayerModels.GetStatisticsLeaderboardResponseData>
48
+ {
49
49
 
50
- }
50
+ }
51
51
 
52
- public class GetIpAddressCreateOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
53
- {
52
+ public class GetIpAddressCreateOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
53
+ {
54
54
 
55
- }
55
+ }
56
56
 
57
- public class GetOwnerOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
58
- {
57
+ public class GetOwnerOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
58
+ {
59
59
 
60
- }
60
+ }
61
61
 
62
- public class GetPlayerBanOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
63
- {
62
+ public class GetPlayerBanOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
63
+ {
64
64
 
65
- }
65
+ }
66
66
 
67
- public class GetPlayerCurrencyOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
68
- {
67
+ public class GetPlayerCurrencyOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
68
+ {
69
69
 
70
- }
70
+ }
71
71
 
72
- public class GetPlayerDataOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
73
- {
72
+ public class GetPlayerDataOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
73
+ {
74
74
 
75
- }
75
+ }
76
76
 
77
- public class GetPlayerFriendOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
78
- {
77
+ public class GetPlayerFriendOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
78
+ {
79
79
 
80
- }
80
+ }
81
81
 
82
- public class GetPlayerGroupOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
83
- {
82
+ public class GetPlayerGroupOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
83
+ {
84
84
 
85
- }
85
+ }
86
86
 
87
- public class GetPlayerInformationOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
88
- {
87
+ public class GetPlayerInformationOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
88
+ {
89
89
 
90
- }
90
+ }
91
91
 
92
- public class GetPlayerInventoryOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
93
- {
92
+ public class GetPlayerInventoryOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
93
+ {
94
94
 
95
- }
95
+ }
96
96
 
97
- public class GetPlayerStatisticsOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
98
- {
97
+ public class GetPlayerStatisticsOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
98
+ {
99
99
 
100
- }
100
+ }
101
101
 
102
- public class GetPlayersWithDisplayNameOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayersWithCharacterIdResponseData>
103
- {
102
+ public class GetPlayersWithDisplayNameOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayersWithCharacterIdResponseData>
103
+ {
104
104
 
105
- }
105
+ }
106
106
 
107
- public class GetPlayersWithSegmentOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayersWithCharacterIdResponseData>
108
- {
107
+ public class GetPlayersWithSegmentOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayersWithCharacterIdResponseData>
108
+ {
109
109
 
110
- }
110
+ }
111
111
 
112
- public class GetPlayersWithTagOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayersWithCharacterIdResponseData>
113
- {
112
+ public class GetPlayersWithTagOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayersWithCharacterIdResponseData>
113
+ {
114
114
 
115
- }
115
+ }
116
116
 
117
- public class GetRemoveStatusOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
118
- {
117
+ public class GetRemoveStatusOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
118
+ {
119
119
 
120
- }
120
+ }
121
121
 
122
- public class GetSegmentOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
123
- {
122
+ public class GetSegmentOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
123
+ {
124
124
 
125
- }
125
+ }
126
126
 
127
- public class GetStatisticsLeaderboardAroundPlayerOperationResponse : CustomOperationResponse<CharacterPlayerModels.GetStatisticsLeaderboardResponseData>
128
- {
127
+ public class GetStatisticsLeaderboardAroundPlayerOperationResponse : CustomOperationResponse<CharacterPlayerModels.GetStatisticsLeaderboardResponseData>
128
+ {
129
129
 
130
- }
130
+ }
131
131
 
132
- public class GetStatisticsLeaderboardOperationResponse : CustomOperationResponse<CharacterPlayerModels.GetStatisticsLeaderboardResponseData>
133
- {
132
+ public class GetStatisticsLeaderboardOperationResponse : CustomOperationResponse<CharacterPlayerModels.GetStatisticsLeaderboardResponseData>
133
+ {
134
134
 
135
- }
135
+ }
136
136
 
137
- public class GetTagOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
138
- {
137
+ public class GetTagOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
138
+ {
139
139
 
140
- }
140
+ }
141
141
 
142
- public class GetTsCreateOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
143
- {
142
+ public class GetTsCreateOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
143
+ {
144
144
 
145
- }
145
+ }
146
146
 
147
- public class GetTsLastLoginOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
148
- {
147
+ public class GetTsLastLoginOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
148
+ {
149
149
 
150
- }
150
+ }
151
151
 
152
- public class GrantGroupOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
153
- {
152
+ public class GrantGroupOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
153
+ {
154
154
 
155
- }
155
+ }
156
156
 
157
- public class GrantPlayerItemOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
158
- {
157
+ public class GrantPlayerItemOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
158
+ {
159
159
 
160
- }
160
+ }
161
161
 
162
- public class JoinGroupOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
163
- {
162
+ public class JoinGroupOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
163
+ {
164
164
 
165
- }
165
+ }
166
166
 
167
- public class LeaveGroupOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
168
- {
167
+ public class LeaveGroupOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
168
+ {
169
169
 
170
- }
170
+ }
171
171
 
172
- public class RemovePlayerFriendOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
173
- {
172
+ public class RemovePlayerFriendOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
173
+ {
174
174
 
175
- }
175
+ }
176
176
 
177
- public class RemovePlayerItemOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
178
- {
177
+ public class RemovePlayerItemOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
178
+ {
179
179
 
180
- }
180
+ }
181
181
 
182
- public class RemoveSegmentOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
183
- {
182
+ public class RemoveSegmentOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
183
+ {
184
184
 
185
- }
185
+ }
186
186
 
187
- public class RemoveTagOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
188
- {
187
+ public class RemoveTagOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
188
+ {
189
189
 
190
- }
190
+ }
191
191
 
192
- public class SetAvatarOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
193
- {
192
+ public class SetAvatarOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
193
+ {
194
194
 
195
- }
195
+ }
196
196
 
197
- public class SetCountryCodeOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
198
- {
197
+ public class SetCountryCodeOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
198
+ {
199
199
 
200
- }
200
+ }
201
201
 
202
- public class SetCustomDataOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
203
- {
202
+ public class SetCustomDataOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
203
+ {
204
204
 
205
- }
205
+ }
206
206
 
207
- public class SetDisplayNameOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
208
- {
207
+ public class SetDisplayNameOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
208
+ {
209
209
 
210
- }
210
+ }
211
211
 
212
- public class SetOwnerOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
213
- {
212
+ public class SetOwnerOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
213
+ {
214
214
 
215
- }
215
+ }
216
216
 
217
- public class SetPlayerBanOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
218
- {
217
+ public class SetPlayerBanOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
218
+ {
219
219
 
220
- }
220
+ }
221
221
 
222
- public class SetPlayerCurrencyOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
223
- {
222
+ public class SetPlayerCurrencyOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
223
+ {
224
224
 
225
- }
225
+ }
226
226
 
227
- public class SetPlayerDataOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
228
- {
227
+ public class SetPlayerDataOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
228
+ {
229
229
 
230
- }
230
+ }
231
231
 
232
- public class SetPlayerStatisticsOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
233
- {
232
+ public class SetPlayerStatisticsOperationResponse : CustomOperationResponse<CharacterPlayerModels.CharacterPlayerResponseData>
233
+ {
234
234
 
235
- }
235
+ }
236
236
 
237
- public class SetRemoveStatusOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
238
- {
237
+ public class SetRemoveStatusOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
238
+ {
239
239
 
240
- }
240
+ }
241
241
 
242
- public class SetTagOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
243
- {
242
+ public class SetTagOperationResponse : CustomOperationResponse<CharacterPlayerModels.EmptyResponseData>
243
+ {
244
244
 
245
- }
245
+ }
246
246
 
247
- public class GetCurrencyLeaderboardOperationResponse : CustomOperationResponse<CharacterPlayerModels.GetCurrencyLeaderboardResponseData>
248
- {
247
+ public class GetCurrencyLeaderboardOperationResponse : CustomOperationResponse<CharacterPlayerModels.GetCurrencyLeaderboardResponseData>
248
+ {
249
249
 
250
- }
250
+ }
251
251
 
252
- }
252
+ public class GetCreateLeaderboardOperationResponse : CustomOperationResponse<CharacterPlayerModels.GetCreateLeaderboardResponseData>
253
+ {
254
+
255
+ }
256
+
257
+ public class GetStatisticsLogOperationResponse : CustomOperationResponse<CharacterPlayerModels.GetStatisticsLogResponseData>
258
+ {
259
+
260
+ }
261
+
262
+ public class GetCurrencyLogOperationResponse : CustomOperationResponse<CharacterPlayerModels.GetStatisticsLogResponseData>
263
+ {
264
+
265
+ }
266
+
267
+ }
253
268
 
254
269
  }
@@ -1,11 +1,11 @@
1
- fileFormatVersion: 2
2
- guid: b0ddd347f3669f3468296245189c75dd
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: b0ddd347f3669f3468296245189c75dd
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant:
@@ -0,0 +1,185 @@
1
+ namespace XmobiTea.GN.Entity.Models
2
+ {
3
+ using System.Collections.Generic;
4
+ using XmobiTea.GN.Constant;
5
+
6
+ public partial class CloudScriptModels
7
+ {
8
+ public class AddFunctionRequestData
9
+ {
10
+ [StringDataMember(code = GNParameterCode.Script, minLength = 0, maxLength = int.MaxValue, mustNonNull = true)]
11
+ public string script;
12
+
13
+ [BooleanDataMember(code = GNParameterCode.CanExecute)]
14
+ public string canExecute;
15
+
16
+ [BooleanDataMember(code = GNParameterCode.IsLive)]
17
+ public string isLive;
18
+
19
+ }
20
+
21
+ public class ServerAddFunctionRequestData : AddFunctionRequestData
22
+ {
23
+ }
24
+
25
+ public class AdminAddFunctionRequestData : ServerAddFunctionRequestData
26
+ {
27
+ }
28
+
29
+ public class EditFunctionRequestData
30
+ {
31
+ [StringDataMember(code = GNParameterCode.Version, minLength = 7, maxLength = 7, mustNonNull = true)]
32
+ public string version;
33
+
34
+ [BooleanDataMember(code = GNParameterCode.CanExecute)]
35
+ public string canExecute;
36
+
37
+ [BooleanDataMember(code = GNParameterCode.IsLive)]
38
+ public string isLive;
39
+
40
+ }
41
+
42
+ public class ServerEditFunctionRequestData : EditFunctionRequestData
43
+ {
44
+ }
45
+
46
+ public class AdminEditFunctionRequestData : ServerEditFunctionRequestData
47
+ {
48
+ }
49
+
50
+ public class ExecuteFunctionRequestData
51
+ {
52
+ [StringDataMember(code = GNParameterCode.UserId, minLength = 10, maxLength = 10, isOptional = true)]
53
+ public string? userId;
54
+
55
+ [StringDataMember(code = GNParameterCode.FunctionName, minLength = 3, maxLength = 30, mustNonNull = true)]
56
+ public string functionName;
57
+
58
+ [DataMember(code = GNParameterCode.FunctionParameters)]
59
+ public object functionParameters;
60
+
61
+ [StringDataMember(code = GNParameterCode.Version, minLength = 7, maxLength = 7, mustNonNull = true)]
62
+ public string version;
63
+
64
+ }
65
+
66
+ public class ServerExecuteFunctionRequestData : ExecuteFunctionRequestData
67
+ {
68
+ [StringDataMember(code = GNParameterCode.UserId, minLength = 10, maxLength = 10, mustNonNull = true)]
69
+ public new string userId;
70
+
71
+ }
72
+
73
+ public class AdminExecuteFunctionRequestData : ServerExecuteFunctionRequestData
74
+ {
75
+ }
76
+
77
+ public class GetFunctionRequestData
78
+ {
79
+ [StringDataMember(code = GNParameterCode.Version, minLength = 7, maxLength = 7, mustNonNull = true)]
80
+ public string version;
81
+
82
+ }
83
+
84
+ public class ServerGetFunctionRequestData : GetFunctionRequestData
85
+ {
86
+ }
87
+
88
+ public class AdminGetFunctionRequestData : ServerGetFunctionRequestData
89
+ {
90
+ }
91
+
92
+ public class GetFunctionsRequestData
93
+ {
94
+
95
+ }
96
+
97
+ public class ServerGetFunctionsRequestData : GetFunctionsRequestData
98
+ {
99
+ }
100
+
101
+ public class AdminGetFunctionsRequestData : ServerGetFunctionsRequestData
102
+ {
103
+ }
104
+
105
+ public class AddFunctionResponseData
106
+ {
107
+ [StringDataMember(code = GNParameterCode.Version)]
108
+ public string version;
109
+
110
+ [StringDataMember(code = GNParameterCode.Message)]
111
+ public string errorMessage;
112
+
113
+ }
114
+
115
+ public class EditFunctionResponseData
116
+ {
117
+ [StringDataMember(code = GNParameterCode.Message)]
118
+ public string errorMessage;
119
+
120
+ }
121
+
122
+ public class ExecuteFunctionResponseData
123
+ {
124
+ [NumberDataMember(code = GNParameterCode.Status)]
125
+ public int status;
126
+
127
+ [NumberDataMember(code = GNParameterCode.ExecutionTimeInMs)]
128
+ public int executionTimeInMs;
129
+
130
+ [NumberDataMember(code = GNParameterCode.MemoryUsedInBytes)]
131
+ public int memoryUsedInBytes;
132
+
133
+ [DataMember(code = GNParameterCode.FunctionResult)]
134
+ public object functionResult;
135
+
136
+ [StringDataMember(code = GNParameterCode.Message)]
137
+ public string errorMessage;
138
+
139
+ }
140
+
141
+ public class GetFunctionResponseData
142
+ {
143
+ [StringDataMember(code = GNParameterCode.Script)]
144
+ public string script;
145
+
146
+ [BooleanDataMember(code = GNParameterCode.CanExecute)]
147
+ public bool canExecute;
148
+
149
+ [BooleanDataMember(code = GNParameterCode.IsLive)]
150
+ public bool isLive;
151
+
152
+ [NumberDataMember(code = GNParameterCode.TsCreate)]
153
+ public long tsCreate;
154
+
155
+ [GNArrayDataMember(code = GNParameterCode.FunctionLogs, elementCls = typeof(string))]
156
+ public List<string> functionLogs;
157
+
158
+ }
159
+
160
+ public class FunctionResponseData
161
+ {
162
+ [StringDataMember(code = GNParameterCode.Version)]
163
+ public string version;
164
+
165
+ [BooleanDataMember(code = GNParameterCode.CanExecute)]
166
+ public bool canExecute;
167
+
168
+ }
169
+
170
+ public class GetFunctionsResponseData
171
+ {
172
+ [GNArrayDataMember(code = GNParameterCode.Results, elementCls = typeof(FunctionResponseData))]
173
+ public List<FunctionResponseData> results;
174
+
175
+ [StringDataMember(code = GNParameterCode.LatestVersion)]
176
+ public string latestVersion;
177
+
178
+ [StringDataMember(code = GNParameterCode.LiveLatestVersion)]
179
+ public string liveLatestVersion;
180
+
181
+ }
182
+
183
+ }
184
+
185
+ }
@@ -0,0 +1,11 @@
1
+ fileFormatVersion: 2
2
+ guid: af4a49608ccc97a40ae19e12f24eaccc
3
+ MonoImporter:
4
+ externalObjects: {}
5
+ serializedVersion: 2
6
+ defaultReferences: []
7
+ executionOrder: 0
8
+ icon: {instanceID: 0}
9
+ userData:
10
+ assetBundleName:
11
+ assetBundleVariant: