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.
- package/Editor/GNServerSettingsEditor.cs +42 -322
- package/Runtime/Common/GNArray.cs +120 -35
- package/Runtime/Common/GNData.cs +19 -6
- package/Runtime/Common/GNHashtable.cs +174 -11
- package/Runtime/Common/IGNData.cs +11 -2
- package/Runtime/Config/GNServerSettings.cs +136 -92
- package/Runtime/Constant/Commands.cs +82 -19
- package/Runtime/Constant/EnumType/GoogleLoginType.cs +5 -5
- package/Runtime/Constant/EnumType/GroupStatus.cs +7 -7
- package/Runtime/Constant/EnumType/ItemType.cs +5 -5
- package/Runtime/Constant/EnumType/MatchmakingMemberStatus.cs +6 -6
- package/Runtime/Constant/EnumType/MatchmakingTicketStatus.cs +2 -2
- package/Runtime/Constant/EnumType/OwnerType.cs +3 -2
- package/Runtime/Constant/EnumType/PushPlatformType.cs +10 -0
- package/Runtime/Constant/EnumType/PushPlatformType.cs.meta +11 -0
- package/Runtime/Constant/EnumType/RequestType.cs +1 -0
- package/Runtime/Constant/EnumType/StoreReceiveType.cs +13 -0
- package/Runtime/Constant/EnumType/StoreReceiveType.cs.meta +11 -0
- package/Runtime/Constant/ErrorCode/GNErrorCode.cs +53 -48
- package/Runtime/Constant/EventCode.cs +29 -2
- package/Runtime/Constant/OperationCode.cs +249 -211
- package/Runtime/Constant/ParameterCode/GNParameterCode.cs +610 -466
- package/Runtime/Constant/ReturnCode.cs +50 -2
- package/Runtime/Entity/DataMember.cs +221 -3
- package/Runtime/Entity/GNMetadata.cs +46 -1
- package/Runtime/Entity/InvalidMember.cs +24 -5
- package/Runtime/Entity/Models/AuthenticateModels.cs +251 -207
- package/Runtime/Entity/Models/AuthenticateRequestModels.cs +153 -131
- package/Runtime/Entity/Models/AuthenticateResponseModels.cs +61 -51
- package/Runtime/Entity/Models/CharacterPlayerModels.cs +985 -849
- package/Runtime/Entity/Models/CharacterPlayerRequestModels.cs +957 -885
- package/Runtime/Entity/Models/CharacterPlayerResponseModels.cs +165 -150
- package/Runtime/Entity/Models/CloudScriptModels.cs +185 -0
- package/Runtime/Entity/Models/CloudScriptModels.cs.meta +11 -0
- package/Runtime/Entity/Models/CloudScriptRequestModels.cs +134 -0
- package/Runtime/Entity/Models/CloudScriptRequestModels.cs.meta +11 -0
- package/Runtime/Entity/Models/CloudScriptResponseModels.cs +34 -0
- package/Runtime/Entity/Models/CloudScriptResponseModels.cs.meta +11 -0
- package/Runtime/Entity/Models/ContentModels.cs +150 -153
- package/Runtime/Entity/Models/ContentRequestModels.cs +129 -129
- package/Runtime/Entity/Models/ContentResponseModels.cs +24 -24
- package/Runtime/Entity/Models/DashboardModels.cs +1684 -1156
- package/Runtime/Entity/Models/DashboardRequestModels.cs +220 -147
- package/Runtime/Entity/Models/DashboardResponseModels.cs +92 -57
- package/Runtime/Entity/Models/GamePlayerModels.cs +1073 -933
- package/Runtime/Entity/Models/GamePlayerRequestModels.cs +939 -867
- package/Runtime/Entity/Models/GamePlayerResponseModels.cs +162 -147
- package/Runtime/Entity/Models/GenericModels.cs +102 -102
- package/Runtime/Entity/Models/GroupModels.cs +812 -676
- package/Runtime/Entity/Models/GroupRequestModels.cs +741 -669
- package/Runtime/Entity/Models/GroupResponseModels.cs +129 -114
- package/Runtime/Entity/Models/InventoryModels.cs +667 -558
- package/Runtime/Entity/Models/InventoryRequestModels.cs +626 -579
- package/Runtime/Entity/Models/InventoryResponseModels.cs +109 -99
- package/Runtime/Entity/Models/MasterPlayerModels.cs +1882 -1340
- package/Runtime/Entity/Models/MasterPlayerRequestModels.cs +1643 -1253
- package/Runtime/Entity/Models/MasterPlayerResponseModels.cs +293 -213
- package/Runtime/Entity/Models/MultiplayerModels.cs +293 -223
- package/Runtime/Entity/Models/MultiplayerRequestModels.cs +199 -149
- package/Runtime/Entity/Models/MultiplayerResponseModels.cs +10 -0
- package/Runtime/Entity/Models/StoreInventoryModels.cs +514 -323
- package/Runtime/Entity/Models/StoreInventoryRequestModels.cs +236 -165
- package/Runtime/Entity/Models/StoreInventoryResponseModels.cs +45 -30
- package/Runtime/Entity/OperationEvent.cs +43 -7
- package/Runtime/Entity/OperationHelper.cs +18 -2
- package/Runtime/Entity/OperationRequest.cs +80 -37
- package/Runtime/Entity/OperationResponse.cs +111 -63
- package/Runtime/Entity/Request/CustomOperationRequest.cs +53 -2
- package/Runtime/Entity/Response/CustomOperationResponse.cs +25 -4
- package/Runtime/GNNetwork.cs +333 -21
- package/Runtime/GNNetworkApi.cs +25 -13
- package/Runtime/GNNetworkAuthenticateApi.cs +531 -98
- package/Runtime/GNNetworkCharacterPlayerApi.cs +1587 -762
- package/Runtime/GNNetworkCloudScriptApi.cs +181 -0
- package/Runtime/GNNetworkCloudScriptApi.cs.meta +11 -0
- package/Runtime/GNNetworkContentApi.cs +238 -132
- package/Runtime/GNNetworkDashboardApi.cs +278 -117
- package/Runtime/GNNetworkGamePlayerApi.cs +1558 -747
- package/Runtime/GNNetworkGroupApi.cs +1228 -582
- package/Runtime/GNNetworkInventoryApi.cs +1048 -507
- package/Runtime/GNNetworkMasterPlayerApi.cs +2586 -1067
- package/Runtime/GNNetworkMultiplayerApi.cs +328 -147
- package/Runtime/GNNetworkStoreInventoryApi.cs +388 -162
- package/Runtime/Helper/CodeHelper.cs +45 -3
- package/Runtime/Helper/ConverterService.cs +240 -85
- package/Runtime/Logger/GNDebug.cs +46 -3
- package/Runtime/Networking/AuthenticateStatus.cs +30 -8
- package/Runtime/Networking/Handler/IServerEventHandler.cs +8 -8
- package/Runtime/Networking/Handler/OnCharacterPlayerFriendUpdateEventHandler.cs +31 -2
- package/Runtime/Networking/Handler/OnCharacterPlayerGroupUpdateEventHandler.cs +24 -3
- package/Runtime/Networking/Handler/OnGamePlayerFriendUpdateEventHandler.cs +24 -2
- package/Runtime/Networking/Handler/OnGamePlayerGroupUpdateEventHandler.cs +24 -2
- package/Runtime/Networking/Handler/OnGroupMemberUpdateEventHandler.cs +21 -2
- package/Runtime/Networking/Handler/OnGroupMessageUpdateEventHandler.cs +20 -2
- package/Runtime/Networking/Http/HttpPeer.cs +68 -25
- package/Runtime/Networking/Http/NetworkingHttpPeerBase.cs +44 -4
- package/Runtime/Networking/Http/NetworkingPeerHttpClientRequest.cs +63 -40
- package/Runtime/Networking/Http/NetworkingPeerHttpRequest.cs +43 -13
- package/Runtime/Networking/Http/NetworkingPeerUnityWebRequest.cs +72 -39
- package/Runtime/Networking/IPeer.cs +24 -2
- package/Runtime/Networking/NetworkingPeer.cs +64 -10
- package/Runtime/Networking/NetworkingPeerAPI.cs +20 -21
- package/Runtime/Networking/OperationPending.cs +79 -15
- package/Runtime/Networking/PeerBase.cs +86 -23
- package/Runtime/Networking/Socket/NetworkingPeerSocketV2.cs +57 -18
- package/Runtime/Networking/Socket/NetworkingPeerSocketV3.cs +70 -10
- package/Runtime/Networking/Socket/NetworkingSocketPeerBase.cs +165 -23
- package/Runtime/Networking/Socket/SocketPeer.cs +63 -12
- package/Runtime/Unity/ServiceCoroutine.cs +10 -0
- package/Runtime/Unity/ServiceCoroutine.cs.meta +11 -0
- package/Runtime/Unity/ServiceUpdate.cs +14 -1
- package/package.json +1 -1
|
@@ -2,168 +2,178 @@
|
|
|
2
2
|
{
|
|
3
3
|
using XmobiTea.GN.Entity.Response;
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
public class InventoryResponseModels
|
|
6
|
+
{
|
|
7
|
+
public class AddSegmentOperationResponse : CustomOperationResponse<InventoryModels.EmptyResponseData>
|
|
8
|
+
{
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
}
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
public class GetAmountOperationResponse : CustomOperationResponse<InventoryModels.InventoryResponseData>
|
|
13
|
+
{
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
}
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
public class GetAvatarOperationResponse : CustomOperationResponse<InventoryModels.InventoryResponseData>
|
|
18
|
+
{
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
}
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
public class GetCatalogIdOperationResponse : CustomOperationResponse<InventoryModels.InventoryResponseData>
|
|
23
|
+
{
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
}
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
public class GetClassIdOperationResponse : CustomOperationResponse<InventoryModels.InventoryResponseData>
|
|
28
|
+
{
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
}
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
public class GetCustomDataOperationResponse : CustomOperationResponse<InventoryModels.InventoryResponseData>
|
|
33
|
+
{
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
}
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
public class GetDisplayNameOperationResponse : CustomOperationResponse<InventoryModels.InventoryResponseData>
|
|
38
|
+
{
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
}
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
public class GetItemDataOperationResponse : CustomOperationResponse<InventoryModels.InventoryResponseData>
|
|
43
|
+
{
|
|
44
44
|
|
|
45
|
-
|
|
45
|
+
}
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
public class GetItemInformationOperationResponse : CustomOperationResponse<InventoryModels.InventoryResponseData>
|
|
48
|
+
{
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
}
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
public class GetItemStatisticsOperationResponse : CustomOperationResponse<InventoryModels.InventoryResponseData>
|
|
53
|
+
{
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
}
|
|
56
56
|
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
public class GetItemsWithDisplayNameOperationResponse : CustomOperationResponse<InventoryModels.InventoriesWithItemIdResponseData>
|
|
58
|
+
{
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
}
|
|
61
61
|
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
public class GetItemsWithSegmentOperationResponse : CustomOperationResponse<InventoryModels.InventoriesWithItemIdResponseData>
|
|
63
|
+
{
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
}
|
|
66
66
|
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
public class GetItemsWithTagOperationResponse : CustomOperationResponse<InventoryModels.InventoriesWithItemIdResponseData>
|
|
68
|
+
{
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
}
|
|
71
71
|
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
public class GetItemTypeOperationResponse : CustomOperationResponse<InventoryModels.InventoryResponseData>
|
|
73
|
+
{
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
}
|
|
76
76
|
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
public class GetOwnerOperationResponse : CustomOperationResponse<InventoryModels.InventoryResponseData>
|
|
78
|
+
{
|
|
79
79
|
|
|
80
|
-
|
|
80
|
+
}
|
|
81
81
|
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
public class GetRemoveStatusOperationResponse : CustomOperationResponse<InventoryModels.InventoryResponseData>
|
|
83
|
+
{
|
|
84
84
|
|
|
85
|
-
|
|
85
|
+
}
|
|
86
86
|
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
public class GetSegmentOperationResponse : CustomOperationResponse<InventoryModels.InventoryResponseData>
|
|
88
|
+
{
|
|
89
89
|
|
|
90
|
-
|
|
90
|
+
}
|
|
91
91
|
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
public class GetStatisticsLeaderboardAroundItemOperationResponse : CustomOperationResponse<InventoryModels.GetStatisticsLeaderboardResponseData>
|
|
93
|
+
{
|
|
94
94
|
|
|
95
|
-
|
|
95
|
+
}
|
|
96
96
|
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
public class GetStatisticsLeaderboardOperationResponse : CustomOperationResponse<InventoryModels.GetStatisticsLeaderboardResponseData>
|
|
98
|
+
{
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
}
|
|
101
101
|
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
public class GetTagOperationResponse : CustomOperationResponse<InventoryModels.InventoryResponseData>
|
|
103
|
+
{
|
|
104
104
|
|
|
105
|
-
|
|
105
|
+
}
|
|
106
106
|
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
public class GetTsCreateOperationResponse : CustomOperationResponse<InventoryModels.InventoryResponseData>
|
|
108
|
+
{
|
|
109
109
|
|
|
110
|
-
|
|
110
|
+
}
|
|
111
111
|
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
public class RemoveSegmentOperationResponse : CustomOperationResponse<InventoryModels.EmptyResponseData>
|
|
113
|
+
{
|
|
114
114
|
|
|
115
|
-
|
|
115
|
+
}
|
|
116
116
|
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
public class RemoveTagOperationResponse : CustomOperationResponse<InventoryModels.EmptyResponseData>
|
|
118
|
+
{
|
|
119
119
|
|
|
120
|
-
|
|
120
|
+
}
|
|
121
121
|
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
public class SetAmountOperationResponse : CustomOperationResponse<InventoryModels.InventoryResponseData>
|
|
123
|
+
{
|
|
124
124
|
|
|
125
|
-
|
|
125
|
+
}
|
|
126
126
|
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
public class SetAvatarOperationResponse : CustomOperationResponse<InventoryModels.EmptyResponseData>
|
|
128
|
+
{
|
|
129
129
|
|
|
130
|
-
|
|
130
|
+
}
|
|
131
131
|
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
public class SetCustomDataOperationResponse : CustomOperationResponse<InventoryModels.InventoryResponseData>
|
|
133
|
+
{
|
|
134
134
|
|
|
135
|
-
|
|
135
|
+
}
|
|
136
136
|
|
|
137
|
-
|
|
138
|
-
|
|
137
|
+
public class SetDisplayNameOperationResponse : CustomOperationResponse<InventoryModels.EmptyResponseData>
|
|
138
|
+
{
|
|
139
139
|
|
|
140
|
-
|
|
140
|
+
}
|
|
141
141
|
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
public class SetItemDataOperationResponse : CustomOperationResponse<InventoryModels.InventoryResponseData>
|
|
143
|
+
{
|
|
144
144
|
|
|
145
|
-
|
|
145
|
+
}
|
|
146
146
|
|
|
147
|
-
|
|
148
|
-
|
|
147
|
+
public class SetItemStatisticsOperationResponse : CustomOperationResponse<InventoryModels.InventoryResponseData>
|
|
148
|
+
{
|
|
149
149
|
|
|
150
|
-
|
|
150
|
+
}
|
|
151
151
|
|
|
152
|
-
|
|
153
|
-
|
|
152
|
+
public class SetOwnerOperationResponse : CustomOperationResponse<InventoryModels.EmptyResponseData>
|
|
153
|
+
{
|
|
154
154
|
|
|
155
|
-
|
|
155
|
+
}
|
|
156
156
|
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
public class SetRemoveStatusOperationResponse : CustomOperationResponse<InventoryModels.EmptyResponseData>
|
|
158
|
+
{
|
|
159
159
|
|
|
160
|
-
|
|
160
|
+
}
|
|
161
161
|
|
|
162
|
-
|
|
163
|
-
|
|
162
|
+
public class SetTagOperationResponse : CustomOperationResponse<InventoryModels.EmptyResponseData>
|
|
163
|
+
{
|
|
164
164
|
|
|
165
|
-
|
|
165
|
+
}
|
|
166
166
|
|
|
167
|
-
|
|
167
|
+
public class GetCreateLeaderboardOperationResponse : CustomOperationResponse<InventoryModels.GetCreateLeaderboardResponseData>
|
|
168
|
+
{
|
|
169
|
+
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
public class GetStatisticsLogOperationResponse : CustomOperationResponse<InventoryModels.GetStatisticsLogResponseData>
|
|
173
|
+
{
|
|
174
|
+
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
}
|
|
168
178
|
|
|
169
179
|
}
|