Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ziqian zhang
Grasscutter
Commits
a8293102
Commit
a8293102
authored
Jun 07, 2022
by
Melledy
Committed by
GitHub
Jun 07, 2022
Browse files
Merge branch 'development' into stable
parents
304b9cb8
ecf7a81a
Changes
410
Hide whitespace changes
Inline
Side-by-side
src/main/java/emu/grasscutter/game/world/World.java
View file @
a8293102
package
emu.grasscutter.game.world
;
package
emu.grasscutter.game.world
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.Collection
;
import
java.util.Collections
;
import
java.util.Collections
;
import
java.util.Iterator
;
import
java.util.Iterator
;
import
java.util.LinkedList
;
import
java.util.List
;
import
java.util.List
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
import
emu.grasscutter.game.entity.GameEntity
;
import
emu.grasscutter.game.player.Player
;
import
emu.grasscutter.game.player.Player
;
import
emu.grasscutter.game.player.Player.SceneLoadState
;
import
emu.grasscutter.game.player.Player.SceneLoadState
;
import
emu.grasscutter.game.props.ClimateType
;
import
emu.grasscutter.game.props.EnterReason
;
import
emu.grasscutter.game.props.EnterReason
;
import
emu.grasscutter.game.props.EntityIdType
;
import
emu.grasscutter.game.props.EntityIdType
;
import
emu.grasscutter.game.props.FightProperty
;
import
emu.grasscutter.game.props.SceneType
;
import
emu.grasscutter.game.props.LifeState
;
import
emu.grasscutter.data.GameData
;
import
emu.grasscutter.data.GameData
;
import
emu.grasscutter.data.def.DungeonData
;
import
emu.grasscutter.data.excels.DungeonData
;
import
emu.grasscutter.data.def.SceneData
;
import
emu.grasscutter.data.excels.SceneData
;
import
emu.grasscutter.game.entity.EntityAvatar
;
import
emu.grasscutter.game.entity.EntityClientGadget
;
import
emu.grasscutter.game.entity.EntityBaseGadget
;
import
emu.grasscutter.net.packet.BasePacket
;
import
emu.grasscutter.net.packet.BasePacket
;
import
emu.grasscutter.net.proto.AttackResultOuterClass.AttackResult
;
import
emu.grasscutter.net.proto.EnterTypeOuterClass.EnterType
;
import
emu.grasscutter.net.proto.EnterTypeOuterClass.EnterType
;
import
emu.grasscutter.net.proto.VisionTypeOuterClass.VisionType
;
import
emu.grasscutter.scripts.data.SceneConfig
;
import
emu.grasscutter.scripts.data.SceneConfig
;
import
emu.grasscutter.server.game.GameServer
;
import
emu.grasscutter.server.game.GameServer
;
import
emu.grasscutter.server.packet.send.PacketDelTeamEntityNotify
;
import
emu.grasscutter.server.packet.send.PacketDelTeamEntityNotify
;
import
emu.grasscutter.server.packet.send.PacketEntityFightPropUpdateNotify
;
import
emu.grasscutter.server.packet.send.PacketLifeStateChangeNotify
;
import
emu.grasscutter.server.packet.send.PacketPlayerEnterSceneNotify
;
import
emu.grasscutter.server.packet.send.PacketPlayerEnterSceneNotify
;
import
emu.grasscutter.server.packet.send.PacketSceneEntityAppearNotify
;
import
emu.grasscutter.server.packet.send.PacketSceneEntityDisappearNotify
;
import
emu.grasscutter.server.packet.send.PacketScenePlayerInfoNotify
;
import
emu.grasscutter.server.packet.send.PacketScenePlayerInfoNotify
;
import
emu.grasscutter.server.packet.send.PacketSyncScenePlayTeamEntityNotify
;
import
emu.grasscutter.server.packet.send.PacketSyncScenePlayTeamEntityNotify
;
import
emu.grasscutter.server.packet.send.PacketSyncTeamEntityNotify
;
import
emu.grasscutter.server.packet.send.PacketSyncTeamEntityNotify
;
...
@@ -207,7 +193,7 @@ public class World implements Iterable<Player> {
...
@@ -207,7 +193,7 @@ public class World implements Iterable<Player> {
World
world
=
new
World
(
victim
);
World
world
=
new
World
(
victim
);
world
.
addPlayer
(
victim
);
world
.
addPlayer
(
victim
);
victim
.
sendPacket
(
new
PacketPlayerEnterSceneNotify
(
victim
,
EnterType
.
ENTER_SELF
,
EnterReason
.
TeamKick
,
victim
.
getSceneId
(),
victim
.
getPos
()));
victim
.
sendPacket
(
new
PacketPlayerEnterSceneNotify
(
victim
,
EnterType
.
ENTER_
TYPE_
SELF
,
EnterReason
.
TeamKick
,
victim
.
getSceneId
(),
victim
.
getPos
()));
}
}
}
}
}
}
...
@@ -274,14 +260,17 @@ public class World implements Iterable<Player> {
...
@@ -274,14 +260,17 @@ public class World implements Iterable<Player> {
}
}
// Get enter types
// Get enter types
EnterType
enterType
=
EnterType
.
ENTER_JUMP
;
EnterType
enterType
=
EnterType
.
ENTER_
TYPE_
JUMP
;
EnterReason
enterReason
=
EnterReason
.
TransPoint
;
EnterReason
enterReason
=
EnterReason
.
TransPoint
;
if
(
dungeonData
!=
null
)
{
if
(
dungeonData
!=
null
)
{
enterType
=
EnterType
.
ENTER_DUNGEON
;
enterType
=
EnterType
.
ENTER_
TYPE_
DUNGEON
;
enterReason
=
EnterReason
.
DungeonEnter
;
enterReason
=
EnterReason
.
DungeonEnter
;
}
else
if
(
oldScene
==
newScene
)
{
}
else
if
(
oldScene
==
newScene
)
{
enterType
=
EnterType
.
ENTER_GOTO
;
enterType
=
EnterType
.
ENTER_TYPE_GOTO
;
}
else
if
(
newScene
.
getSceneType
()
==
SceneType
.
SCENE_HOME_WORLD
)
{
// Home
enterType
=
EnterType
.
ENTER_TYPE_SELF_HOME
;
}
}
// Teleport packet
// Teleport packet
...
...
src/main/java/emu/grasscutter/net/packet/PacketOpcodes.java
View file @
a8293102
package
emu.grasscutter.net.packet
;
package
emu.grasscutter.net.packet
;
import
java.util.Arrays
;
import
java.util.HashSet
;
import
java.util.List
;
public
class
PacketOpcodes
{
public
class
PacketOpcodes
{
// Empty
// Empty
public
static
final
int
NONE
=
0
;
public
static
final
int
NONE
=
0
;
// Opcodes
// Opcodes
public
static
final
int
AbilityChangeNotify
=
1179
;
public
static
final
int
AbilityChangeNotify
=
1155
;
public
static
final
int
AbilityInvocationFailNotify
=
1137
;
public
static
final
int
AbilityInvocationFailNotify
=
1132
;
public
static
final
int
AbilityInvocationFixedNotify
=
1160
;
public
static
final
int
AbilityInvocationFixedNotify
=
1109
;
public
static
final
int
AbilityInvocationsNotify
=
1133
;
public
static
final
int
AbilityInvocationsNotify
=
1131
;
public
static
final
int
AcceptCityReputationRequestReq
=
2845
;
public
static
final
int
AcceptCityReputationRequestReq
=
2835
;
public
static
final
int
AcceptCityReputationRequestRsp
=
2875
;
public
static
final
int
AcceptCityReputationRequestRsp
=
2849
;
public
static
final
int
AchievementAllDataNotify
=
1155
;
public
static
final
int
AchievementAllDataNotify
=
2668
;
public
static
final
int
AchievementUpdateNotify
=
1146
;
public
static
final
int
AchievementUpdateNotify
=
2659
;
public
static
final
int
ActivityCoinInfoNotify
=
2056
;
public
static
final
int
ActivityCoinInfoNotify
=
2094
;
public
static
final
int
ActivityCondStateChangeNotify
=
2162
;
public
static
final
int
ActivityCondStateChangeNotify
=
2120
;
public
static
final
int
ActivityDisableTransferPointInteractionNotify
=
8295
;
public
static
final
int
ActivityDisableTransferPointInteractionNotify
=
8686
;
public
static
final
int
ActivityInfoNotify
=
2023
;
public
static
final
int
ActivityInfoNotify
=
2125
;
public
static
final
int
ActivityPlayOpenAnimNotify
=
2164
;
public
static
final
int
ActivityPlayOpenAnimNotify
=
2146
;
public
static
final
int
ActivitySaleChangeNotify
=
2043
;
public
static
final
int
ActivitySaleChangeNotify
=
2109
;
public
static
final
int
ActivityScheduleInfoNotify
=
2180
;
public
static
final
int
ActivityScheduleInfoNotify
=
2033
;
public
static
final
int
ActivityScheduleInfoNotify_1
=
2187
;
public
static
final
int
ActivitySelectAvatarCardReq
=
2030
;
public
static
final
int
ActivitySelectAvatarCardReq
=
2153
;
public
static
final
int
ActivitySelectAvatarCardRsp
=
2127
;
public
static
final
int
ActivitySelectAvatarCardRsp
=
2069
;
public
static
final
int
ActivityTakeAllScoreRewardReq
=
8424
;
public
static
final
int
ActivityTakeAllScoreRewardReq
=
8708
;
public
static
final
int
ActivityTakeAllScoreRewardRsp
=
8692
;
public
static
final
int
ActivityTakeAllScoreRewardRsp
=
8836
;
public
static
final
int
ActivityTakeScoreRewardReq
=
8321
;
public
static
final
int
ActivityTakeScoreRewardReq
=
8767
;
public
static
final
int
ActivityTakeScoreRewardRsp
=
8218
;
public
static
final
int
ActivityTakeScoreRewardRsp
=
8445
;
public
static
final
int
ActivityTakeWatcherRewardBatchReq
=
2079
;
public
static
final
int
ActivityTakeWatcherRewardBatchReq
=
2027
;
public
static
final
int
ActivityTakeWatcherRewardBatchRsp
=
2150
;
public
static
final
int
ActivityTakeWatcherRewardBatchRsp
=
2036
;
public
static
final
int
ActivityTakeWatcherRewardReq
=
2090
;
public
static
final
int
ActivityTakeWatcherRewardReq
=
2074
;
public
static
final
int
ActivityTakeWatcherRewardRsp
=
2025
;
public
static
final
int
ActivityTakeWatcherRewardRsp
=
2180
;
public
static
final
int
ActivityUpdateWatcherNotify
=
2172
;
public
static
final
int
ActivityTakeWatcherRewardRsp_1
=
2187
;
public
static
final
int
AddBlacklistReq
=
4050
;
public
static
final
int
ActivityUpdateWatcherNotify
=
2101
;
public
static
final
int
AddBlacklistReq
=
4067
;
public
static
final
int
AddBlacklistRsp
=
4020
;
public
static
final
int
AddBlacklistRsp
=
4020
;
public
static
final
int
AddFriendNotify
=
402
6
;
public
static
final
int
AddFriendNotify
=
402
4
;
public
static
final
int
AddNoGachaAvatarCardNotify
=
1
740
;
public
static
final
int
AddNoGachaAvatarCardNotify
=
1
648
;
public
static
final
int
AddQuestContentProgressReq
=
4
93
;
public
static
final
int
AddQuestContentProgressReq
=
4
17
;
public
static
final
int
AddQuestContentProgressRsp
=
4
44
;
public
static
final
int
AddQuestContentProgressRsp
=
4
85
;
public
static
final
int
AddRandTaskInfoNotify
=
1
47
;
public
static
final
int
AddRandTaskInfoNotify
=
1
16
;
public
static
final
int
AddSeenMonsterNotify
=
2
42
;
public
static
final
int
AddSeenMonsterNotify
=
2
51
;
public
static
final
int
AdjustWorldLevelReq
=
1
04
;
public
static
final
int
AdjustWorldLevelReq
=
1
95
;
public
static
final
int
AdjustWorldLevelRsp
=
1
06
;
public
static
final
int
AdjustWorldLevelRsp
=
1
15
;
public
static
final
int
AllCoopInfoNotify
=
198
5
;
public
static
final
int
AllCoopInfoNotify
=
19
6
8
;
public
static
final
int
AllMarkPointNotify
=
3
462
;
public
static
final
int
AllMarkPointNotify
=
3
195
;
public
static
final
int
AllSeenMonsterNotify
=
2
7
6
;
public
static
final
int
AllSeenMonsterNotify
=
2
2
6
;
public
static
final
int
AllWidgetDataNotify
=
42
84
;
public
static
final
int
AllWidgetDataNotify
=
42
73
;
public
static
final
int
AnchorPointDataNotify
=
428
5
;
public
static
final
int
AnchorPointDataNotify
=
42
6
8
;
public
static
final
int
AnchorPointOpReq
=
42
98
;
public
static
final
int
AnchorPointOpReq
=
42
54
;
public
static
final
int
AnchorPointOpRsp
=
42
63
;
public
static
final
int
AnchorPointOpRsp
=
42
78
;
public
static
final
int
AnimatorForceSetAirMoveNotify
=
3
08
;
public
static
final
int
AnimatorForceSetAirMoveNotify
=
3
46
;
public
static
final
int
AntiAddictNotify
=
1
77
;
public
static
final
int
AntiAddictNotify
=
1
48
;
public
static
final
int
ArenaChallengeFinishNotify
=
208
3
;
public
static
final
int
ArenaChallengeFinishNotify
=
208
2
;
public
static
final
int
AskAddFriendNotify
=
40
62
;
public
static
final
int
AskAddFriendNotify
=
40
38
;
public
static
final
int
AskAddFriendReq
=
403
7
;
public
static
final
int
AskAddFriendReq
=
403
2
;
public
static
final
int
AskAddFriendRsp
=
40
93
;
public
static
final
int
AskAddFriendRsp
=
40
17
;
public
static
final
int
AsterLargeInfoNotify
=
21
33
;
public
static
final
int
AsterLargeInfoNotify
=
21
92
;
public
static
final
int
AsterLittleInfoNotify
=
2
05
8
;
public
static
final
int
AsterLittleInfoNotify
=
2
18
8
;
public
static
final
int
AsterMidCampInfoNotify
=
2
115
;
public
static
final
int
AsterMidCampInfoNotify
=
2
020
;
public
static
final
int
AsterMidInfoNotify
=
21
5
1
;
public
static
final
int
AsterMidInfoNotify
=
21
2
1
;
public
static
final
int
AsterMiscInfoNotify
=
2
098
;
public
static
final
int
AsterMiscInfoNotify
=
2
187
;
public
static
final
int
AsterProgressInfoNotify
=
2
065
;
public
static
final
int
AsterProgressInfoNotify
=
2
193
;
public
static
final
int
AvatarAddNotify
=
175
9
;
public
static
final
int
AvatarAddNotify
=
175
7
;
public
static
final
int
AvatarBuffAddNotify
=
3
67
;
public
static
final
int
AvatarBuffAddNotify
=
3
50
;
public
static
final
int
AvatarBuffDelNotify
=
320
;
public
static
final
int
AvatarBuffDelNotify
=
320
;
public
static
final
int
AvatarCardChangeReq
=
6
67
;
public
static
final
int
AvatarCardChangeReq
=
6
50
;
public
static
final
int
AvatarCardChangeRsp
=
620
;
public
static
final
int
AvatarCardChangeRsp
=
620
;
public
static
final
int
AvatarChangeAnimHashReq
=
1
630
;
public
static
final
int
AvatarChangeAnimHashReq
=
1
798
;
public
static
final
int
AvatarChangeAnimHashRsp
=
1
747
;
public
static
final
int
AvatarChangeAnimHashRsp
=
1
622
;
public
static
final
int
AvatarChangeCostumeNotify
=
17
4
8
;
public
static
final
int
AvatarChangeCostumeNotify
=
178
0
;
public
static
final
int
AvatarChangeCostumeReq
=
1
650
;
public
static
final
int
AvatarChangeCostumeReq
=
1
734
;
public
static
final
int
AvatarChangeCostumeRsp
=
1
632
;
public
static
final
int
AvatarChangeCostumeRsp
=
1
723
;
public
static
final
int
AvatarChangeElementTypeReq
=
17
41
;
public
static
final
int
AvatarChangeElementTypeReq
=
17
06
;
public
static
final
int
AvatarChangeElementTypeRsp
=
1
626
;
public
static
final
int
AvatarChangeElementTypeRsp
=
1
708
;
public
static
final
int
AvatarDataNotify
=
1
757
;
public
static
final
int
AvatarDataNotify
=
1
695
;
public
static
final
int
AvatarDelNotify
=
16
24
;
public
static
final
int
AvatarDelNotify
=
16
08
;
public
static
final
int
AvatarDieAnimationEndReq
=
16
35
;
public
static
final
int
AvatarDieAnimationEndReq
=
16
16
;
public
static
final
int
AvatarDieAnimationEndRsp
=
1
638
;
public
static
final
int
AvatarDieAnimationEndRsp
=
1
765
;
public
static
final
int
AvatarEnterElementViewNotify
=
3
66
;
public
static
final
int
AvatarEnterElementViewNotify
=
3
11
;
public
static
final
int
AvatarEquipAffixStartNotify
=
1
734
;
public
static
final
int
AvatarEquipAffixStartNotify
=
1
609
;
public
static
final
int
AvatarEquipChangeNotify
=
6
74
;
public
static
final
int
AvatarEquipChangeNotify
=
6
90
;
public
static
final
int
AvatarExpeditionAllDataReq
=
1
721
;
public
static
final
int
AvatarExpeditionAllDataReq
=
1
659
;
public
static
final
int
AvatarExpeditionAllDataRsp
=
1
800
;
public
static
final
int
AvatarExpeditionAllDataRsp
=
1
636
;
public
static
final
int
AvatarExpeditionCallBackReq
=
16
07
;
public
static
final
int
AvatarExpeditionCallBackReq
=
16
55
;
public
static
final
int
AvatarExpeditionCallBackRsp
=
1
783
;
public
static
final
int
AvatarExpeditionCallBackRsp
=
1
642
;
public
static
final
int
AvatarExpeditionDataNotify
=
1
777
;
public
static
final
int
AvatarExpeditionDataNotify
=
1
698
;
public
static
final
int
AvatarExpeditionGetRewardReq
=
160
4
;
public
static
final
int
AvatarExpeditionGetRewardReq
=
160
3
;
public
static
final
int
AvatarExpeditionGetRewardRsp
=
1
731
;
public
static
final
int
AvatarExpeditionGetRewardRsp
=
1
646
;
public
static
final
int
AvatarExpeditionStartReq
=
1
788
;
public
static
final
int
AvatarExpeditionStartReq
=
1
675
;
public
static
final
int
AvatarExpeditionStartRsp
=
1
786
;
public
static
final
int
AvatarExpeditionStartRsp
=
1
688
;
public
static
final
int
AvatarFetterDataNotify
=
17
18
;
public
static
final
int
AvatarFetterDataNotify
=
17
77
;
public
static
final
int
AvatarFetterLevelRewardReq
=
17
17
;
public
static
final
int
AvatarFetterLevelRewardReq
=
17
04
;
public
static
final
int
AvatarFetterLevelRewardRsp
=
16
9
0
;
public
static
final
int
AvatarFetterLevelRewardRsp
=
160
6
;
public
static
final
int
AvatarFightPropNotify
=
123
7
;
public
static
final
int
AvatarFightPropNotify
=
123
2
;
public
static
final
int
AvatarFightPropUpdateNotify
=
12
93
;
public
static
final
int
AvatarFightPropUpdateNotify
=
12
17
;
public
static
final
int
AvatarFlycloakChangeNotify
=
1
7
61
;
public
static
final
int
AvatarFlycloakChangeNotify
=
16
8
1
;
public
static
final
int
AvatarFollowRouteNotify
=
3
210
;
public
static
final
int
AvatarFollowRouteNotify
=
3
353
;
public
static
final
int
AvatarGainCostumeNotify
=
1
778
;
public
static
final
int
AvatarGainCostumeNotify
=
1
670
;
public
static
final
int
AvatarGainFlycloakNotify
=
16
76
;
public
static
final
int
AvatarGainFlycloakNotify
=
16
15
;
public
static
final
int
AvatarLifeStateChangeNotify
=
12
4
5
;
public
static
final
int
AvatarLifeStateChangeNotify
=
12
3
5
;
public
static
final
int
AvatarPromoteGetRewardReq
=
1
784
;
public
static
final
int
AvatarPromoteGetRewardReq
=
1
676
;
public
static
final
int
AvatarPromoteGetRewardRsp
=
1
776
;
public
static
final
int
AvatarPromoteGetRewardRsp
=
1
613
;
public
static
final
int
AvatarPromoteReq
=
1
66
1
;
public
static
final
int
AvatarPromoteReq
=
1
71
1
;
public
static
final
int
AvatarPromoteRsp
=
1
712
;
public
static
final
int
AvatarPromoteRsp
=
1
668
;
public
static
final
int
AvatarPropChangeReasonNotify
=
12
75
;
public
static
final
int
AvatarPropChangeReasonNotify
=
12
49
;
public
static
final
int
AvatarPropNotify
=
12
79
;
public
static
final
int
AvatarPropNotify
=
12
55
;
public
static
final
int
AvatarSatiationDataNotify
=
163
9
;
public
static
final
int
AvatarSatiationDataNotify
=
163
2
;
public
static
final
int
AvatarSkillChangeNotify
=
10
88
;
public
static
final
int
AvatarSkillChangeNotify
=
10
30
;
public
static
final
int
AvatarSkillDepotChangeNotify
=
10
15
;
public
static
final
int
AvatarSkillDepotChangeNotify
=
10
37
;
public
static
final
int
AvatarSkillInfoNotify
=
10
4
5
;
public
static
final
int
AvatarSkillInfoNotify
=
10
3
5
;
public
static
final
int
AvatarSkillMaxChargeCountNotify
=
10
44
;
public
static
final
int
AvatarSkillMaxChargeCountNotify
=
10
85
;
public
static
final
int
AvatarSkillUpgradeReq
=
10
91
;
public
static
final
int
AvatarSkillUpgradeReq
=
10
27
;
public
static
final
int
AvatarSkillUpgradeRsp
=
10
9
7
;
public
static
final
int
AvatarSkillUpgradeRsp
=
10
0
7
;
public
static
final
int
AvatarTeamUpdateNotify
=
1
649
;
public
static
final
int
AvatarTeamUpdateNotify
=
1
713
;
public
static
final
int
AvatarUnlockTalentNotify
=
101
0
;
public
static
final
int
AvatarUnlockTalentNotify
=
10
4
1
;
public
static
final
int
AvatarUpgradeReq
=
16
6
0
;
public
static
final
int
AvatarUpgradeReq
=
16
8
0
;
public
static
final
int
AvatarUpgradeRsp
=
17
35
;
public
static
final
int
AvatarUpgradeRsp
=
17
79
;
public
static
final
int
AvatarWearFlycloakReq
=
1
677
;
public
static
final
int
AvatarWearFlycloakReq
=
1
728
;
public
static
final
int
AvatarWearFlycloakRsp
=
17
82
;
public
static
final
int
AvatarWearFlycloakRsp
=
17
70
;
public
static
final
int
BackMyWorldReq
=
21
9
;
public
static
final
int
BackMyWorldReq
=
2
2
1
;
public
static
final
int
BackMyWorldRsp
=
2
69
;
public
static
final
int
BackMyWorldRsp
=
2
23
;
public
static
final
int
BargainOfferPriceReq
=
4
0
9
;
public
static
final
int
BargainOfferPriceReq
=
4
1
9
;
public
static
final
int
BargainOfferPriceRsp
=
4
65
;
public
static
final
int
BargainOfferPriceRsp
=
4
12
;
public
static
final
int
BargainStartNotify
=
4
89
;
public
static
final
int
BargainStartNotify
=
4
06
;
public
static
final
int
BargainTerminateNotify
=
4
03
;
public
static
final
int
BargainTerminateNotify
=
4
58
;
public
static
final
int
BattlePassAllDataNotify
=
26
35
;
public
static
final
int
BattlePassAllDataNotify
=
26
18
;
public
static
final
int
BattlePassBuySuccNotify
=
261
2
;
public
static
final
int
BattlePassBuySuccNotify
=
261
4
;
public
static
final
int
BattlePassCurScheduleUpdateNotify
=
264
8
;
public
static
final
int
BattlePassCurScheduleUpdateNotify
=
26
0
4
;
public
static
final
int
BattlePassMissionDelNotify
=
264
5
;
public
static
final
int
BattlePassMissionDelNotify
=
264
3
;
public
static
final
int
BattlePassMissionUpdateNotify
=
26
25
;
public
static
final
int
BattlePassMissionUpdateNotify
=
26
09
;
public
static
final
int
BeginCameraSceneLookNotify
=
2
61
;
public
static
final
int
BeginCameraSceneLookNotify
=
2
03
;
public
static
final
int
BigTalentPointConvertReq
=
103
7
;
public
static
final
int
BigTalentPointConvertReq
=
103
2
;
public
static
final
int
BigTalentPointConvertRsp
=
10
93
;
public
static
final
int
BigTalentPointConvertRsp
=
10
17
;
public
static
final
int
BlessingAcceptAllGivePicReq
=
21
76
;
public
static
final
int
BlessingAcceptAllGivePicReq
=
21
23
;
public
static
final
int
BlessingAcceptAllGivePicRsp
=
2
05
0
;
public
static
final
int
BlessingAcceptAllGivePicRsp
=
2
18
0
;
public
static
final
int
BlessingAcceptGivePicReq
=
2
134
;
public
static
final
int
BlessingAcceptGivePicReq
=
2
006
;
public
static
final
int
BlessingAcceptGivePicRsp
=
2
117
;
public
static
final
int
BlessingAcceptGivePicRsp
=
2
048
;
public
static
final
int
BlessingGetAllRecvPicRecordListReq
=
20
90
;
public
static
final
int
BlessingGetAllRecvPicRecordListReq
=
20
76
;
public
static
final
int
BlessingGetAllRecvPicRecordListRsp
=
2
140
;
public
static
final
int
BlessingGetAllRecvPicRecordListRsp
=
2
013
;
public
static
final
int
BlessingGetFriendPicListReq
=
20
77
;
public
static
final
int
BlessingGetFriendPicListReq
=
20
81
;
public
static
final
int
BlessingGetFriendPicListRsp
=
2
182
;
public
static
final
int
BlessingGetFriendPicListRsp
=
2
015
;
public
static
final
int
BlessingGiveFriendPicReq
=
2
161
;
public
static
final
int
BlessingGiveFriendPicReq
=
2
009
;
public
static
final
int
BlessingGiveFriendPicRsp
=
2
076
;
public
static
final
int
BlessingGiveFriendPicRsp
=
2
104
;
public
static
final
int
BlessingRecvFriendPicNotify
=
21
8
4
;
public
static
final
int
BlessingRecvFriendPicNotify
=
21
3
4
;
public
static
final
int
BlessingRedeemRewardReq
=
21
7
2
;
public
static
final
int
BlessingRedeemRewardReq
=
212
8
;
public
static
final
int
BlessingRedeemRewardRsp
=
2
039
;
public
static
final
int
BlessingRedeemRewardRsp
=
2
170
;
public
static
final
int
BlessingScanReq
=
2
186
;
public
static
final
int
BlessingScanReq
=
2
012
;
public
static
final
int
BlessingScanRsp
=
20
07
;
public
static
final
int
BlessingScanRsp
=
20
32
;
public
static
final
int
BlitzRushParkourRestartReq
=
8
212
;
public
static
final
int
BlitzRushParkourRestartReq
=
8
355
;
public
static
final
int
BlitzRushParkourRestartRsp
=
89
62
;
public
static
final
int
BlitzRushParkourRestartRsp
=
89
43
;
public
static
final
int
BlossomBriefInfoNotify
=
271
0
;
public
static
final
int
BlossomBriefInfoNotify
=
27
4
1
;
public
static
final
int
BlossomChestCreateNotify
=
27
93
;
public
static
final
int
BlossomChestCreateNotify
=
27
17
;
public
static
final
int
BlossomChestInfoNotify
=
8
4
5
;
public
static
final
int
BlossomChestInfoNotify
=
8
3
5
;
public
static
final
int
BonusActivityInfoReq
=
25
9
7
;
public
static
final
int
BonusActivityInfoReq
=
25
0
7
;
public
static
final
int
BonusActivityInfoRsp
=
25
88
;
public
static
final
int
BonusActivityInfoRsp
=
25
30
;
public
static
final
int
BonusActivityUpdateNotify
=
25
91
;
public
static
final
int
BonusActivityUpdateNotify
=
25
27
;
public
static
final
int
BossChestActivateNotify
=
8
44
;
public
static
final
int
BossChestActivateNotify
=
8
85
;
public
static
final
int
BounceConjuringSettleNotify
=
833
9
;
public
static
final
int
BounceConjuringSettleNotify
=
83
1
3
;
public
static
final
int
BuoyantCombatSettleNotify
=
9000
;
public
static
final
int
BuoyantCombatSettleNotify
=
8347
;
public
static
final
int
BuyBattlePassLevelReq
=
26
39
;
public
static
final
int
BuyBattlePassLevelReq
=
26
12
;
public
static
final
int
BuyBattlePassLevelRsp
=
26
21
;
public
static
final
int
BuyBattlePassLevelRsp
=
26
46
;
public
static
final
int
BuyGoodsReq
=
71
0
;
public
static
final
int
BuyGoodsReq
=
7
4
1
;
public
static
final
int
BuyGoodsRsp
=
7
15
;
public
static
final
int
BuyGoodsRsp
=
7
37
;
public
static
final
int
BuyResinReq
=
6
3
0
;
public
static
final
int
BuyResinReq
=
60
2
;
public
static
final
int
BuyResinRsp
=
6
47
;
public
static
final
int
BuyResinRsp
=
6
16
;
public
static
final
int
CalcWeaponUpgradeReturnItemsReq
=
6
43
;
public
static
final
int
CalcWeaponUpgradeReturnItemsReq
=
6
10
;
public
static
final
int
CalcWeaponUpgradeReturnItemsRsp
=
6
8
6
;
public
static
final
int
CalcWeaponUpgradeReturnItemsRsp
=
6
6
6
;
public
static
final
int
CancelCityReputationRequestReq
=
28
34
;
public
static
final
int
CancelCityReputationRequestReq
=
28
82
;
public
static
final
int
CancelCityReputationRequestRsp
=
28
79
;
public
static
final
int
CancelCityReputationRequestRsp
=
28
55
;
public
static
final
int
CancelCoopTaskReq
=
19
89
;
public
static
final
int
CancelCoopTaskReq
=
19
62
;
public
static
final
int
CancelCoopTaskRsp
=
19
71
;
public
static
final
int
CancelCoopTaskRsp
=
19
96
;
public
static
final
int
CancelFinishParentQuestNotify
=
49
2
;
public
static
final
int
CancelFinishParentQuestNotify
=
4
5
9
;
public
static
final
int
CanUseSkillNotify
=
10
55
;
public
static
final
int
CanUseSkillNotify
=
10
98
;
public
static
final
int
CardProductRewardNotify
=
414
8
;
public
static
final
int
CardProductRewardNotify
=
41
0
4
;
public
static
final
int
ChallengeDataNotify
=
9
8
3
;
public
static
final
int
ChallengeDataNotify
=
9
6
3
;
public
static
final
int
ChallengeRecordNotify
=
9
0
9
;
public
static
final
int
ChallengeRecordNotify
=
9
1
9
;
public
static
final
int
ChangeAvatarReq
=
1
743
;
public
static
final
int
ChangeAvatarReq
=
1
662
;
public
static
final
int
ChangeAvatarRsp
=
1
672
;
public
static
final
int
ChangeAvatarRsp
=
1
710
;
public
static
final
int
ChangeGameTimeReq
=
1
75
;
public
static
final
int
ChangeGameTimeReq
=
1
49
;
public
static
final
int
ChangeGameTimeRsp
=
1
34
;
public
static
final
int
ChangeGameTimeRsp
=
1
82
;
public
static
final
int
ChangeMailStarNotify
=
14
9
7
;
public
static
final
int
ChangeMailStarNotify
=
14
0
7
;
public
static
final
int
ChangeMpTeamAvatarReq
=
1
794
;
public
static
final
int
ChangeMpTeamAvatarReq
=
1
689
;
public
static
final
int
ChangeMpTeamAvatarRsp
=
16
29
;
public
static
final
int
ChangeMpTeamAvatarRsp
=
16
17
;
public
static
final
int
ChangeServerGlobalValueNotify
=
65
;
public
static
final
int
ChangeServerGlobalValueNotify
=
12
;
public
static
final
int
ChangeTeamNameReq
=
17
93
;
public
static
final
int
ChangeTeamNameReq
=
17
62
;
public
static
final
int
ChangeTeamNameRsp
=
17
07
;
public
static
final
int
ChangeTeamNameRsp
=
17
89
;
public
static
final
int
ChangeWorldToSingleModeNotify
=
32
93
;
public
static
final
int
ChangeWorldToSingleModeNotify
=
32
60
;
public
static
final
int
ChangeWorldToSingleModeReq
=
31
7
4
;
public
static
final
int
ChangeWorldToSingleModeReq
=
314
0
;
public
static
final
int
ChangeWorldToSingleModeRsp
=
3
308
;
public
static
final
int
ChangeWorldToSingleModeRsp
=
308
3
;
public
static
final
int
ChannelerSlabStageActiveChallengeIndexNotify
=
8
578
;
public
static
final
int
ChannelerSlabStageActiveChallengeIndexNotify
=
8
864
;
public
static
final
int
ChannelerSlabStageOneoffDungeonNotify
=
8
137
;
public
static
final
int
ChannelerSlabStageOneoffDungeonNotify
=
8
522
;
public
static
final
int
ChannellerSlabCheckEnterLoopDungeonReq
=
8
68
4
;
public
static
final
int
ChannellerSlabCheckEnterLoopDungeonReq
=
8
30
4
;
public
static
final
int
ChannellerSlabCheckEnterLoopDungeonRsp
=
8
376
;
public
static
final
int
ChannellerSlabCheckEnterLoopDungeonRsp
=
8
928
;
public
static
final
int
ChannellerSlabEnterLoopDungeonReq
=
8
090
;
public
static
final
int
ChannellerSlabEnterLoopDungeonReq
=
8
687
;
public
static
final
int
ChannellerSlabEnterLoopDungeonRsp
=
8
120
;
public
static
final
int
ChannellerSlabEnterLoopDungeonRsp
=
8
639
;
public
static
final
int
ChannellerSlabLoopDungeonChallengeInfoNotify
=
8
263
;
public
static
final
int
ChannellerSlabLoopDungeonChallengeInfoNotify
=
8
555
;
public
static
final
int
ChannellerSlabLoopDungeonSelectConditionReq
=
8
741
;
public
static
final
int
ChannellerSlabLoopDungeonSelectConditionReq
=
8
383
;
public
static
final
int
ChannellerSlabLoopDungeonSelectConditionRsp
=
8
341
;
public
static
final
int
ChannellerSlabLoopDungeonSelectConditionRsp
=
8
979
;
public
static
final
int
ChannellerSlabLoopDungeonTakeFirstPassRewardReq
=
891
4
;
public
static
final
int
ChannellerSlabLoopDungeonTakeFirstPassRewardReq
=
891
0
;
public
static
final
int
ChannellerSlabLoopDungeonTakeFirstPassRewardRsp
=
8
503
;
public
static
final
int
ChannellerSlabLoopDungeonTakeFirstPassRewardRsp
=
8
482
;
public
static
final
int
ChannellerSlabLoopDungeonTakeScoreRewardReq
=
8
012
;
public
static
final
int
ChannellerSlabLoopDungeonTakeScoreRewardReq
=
8
305
;
public
static
final
int
ChannellerSlabLoopDungeonTakeScoreRewardRsp
=
8
123
;
public
static
final
int
ChannellerSlabLoopDungeonTakeScoreRewardRsp
=
8
552
;
public
static
final
int
ChannellerSlabOneOffDungeonInfoNotify
=
8
795
;
public
static
final
int
ChannellerSlabOneOffDungeonInfoNotify
=
8
008
;
public
static
final
int
ChannellerSlabOneOffDungeonInfoReq
=
8
772
;
public
static
final
int
ChannellerSlabOneOffDungeonInfoReq
=
8
295
;
public
static
final
int
ChannellerSlabOneOffDungeonInfoRsp
=
871
5
;
public
static
final
int
ChannellerSlabOneOffDungeonInfoRsp
=
871
6
;
public
static
final
int
ChannellerSlabSaveAssistInfoReq
=
8
518
;
public
static
final
int
ChannellerSlabSaveAssistInfoReq
=
8
860
;
public
static
final
int
ChannellerSlabSaveAssistInfoRsp
=
8
773
;
public
static
final
int
ChannellerSlabSaveAssistInfoRsp
=
8
320
;
public
static
final
int
ChannellerSlabTakeoffBuffReq
=
8
40
7
;
public
static
final
int
ChannellerSlabTakeoffBuffReq
=
8
57
7
;
public
static
final
int
ChannellerSlabTakeoffBuffRsp
=
8
260
;
public
static
final
int
ChannellerSlabTakeoffBuffRsp
=
8
689
;
public
static
final
int
ChannellerSlabWearBuffReq
=
8
850
;
public
static
final
int
ChannellerSlabWearBuffReq
=
8
132
;
public
static
final
int
ChannellerSlabWearBuffRsp
=
8
203
;
public
static
final
int
ChannellerSlabWearBuffRsp
=
8
315
;
public
static
final
int
ChapterStateNotify
=
4
55
;
public
static
final
int
ChapterStateNotify
=
4
98
;
public
static
final
int
ChatChannelDataNotify
=
504
7
;
public
static
final
int
ChatChannelDataNotify
=
495
7
;
public
static
final
int
ChatChannelUpdateNotify
=
5041
;
public
static
final
int
ChatChannelUpdateNotify
=
4977
;
public
static
final
int
ChatHistoryNotify
=
32
65
;
public
static
final
int
ChatHistoryNotify
=
32
13
;
public
static
final
int
CheckAddItemExceedLimitNotify
=
63
9
;
public
static
final
int
CheckAddItemExceedLimitNotify
=
6
5
3
;
public
static
final
int
CheckSegmentCRCNotify
=
5
6
;
public
static
final
int
CheckSegmentCRCNotify
=
8
6
;
public
static
final
int
CheckSegmentCRCReq
=
8
3
;
public
static
final
int
CheckSegmentCRCReq
=
6
3
;
public
static
final
int
ChessEscapedMonstersNotify
=
53
9
4
;
public
static
final
int
ChessEscapedMonstersNotify
=
53
7
4
;
public
static
final
int
ChessLeftMonstersNotify
=
53
78
;
public
static
final
int
ChessLeftMonstersNotify
=
53
91
;
public
static
final
int
ChessManualRefreshCardsReq
=
53
25
;
public
static
final
int
ChessManualRefreshCardsReq
=
53
73
;
public
static
final
int
ChessManualRefreshCardsRsp
=
53
49
;
public
static
final
int
ChessManualRefreshCardsRsp
=
53
61
;
public
static
final
int
ChessPickCardNotify
=
53
77
;
public
static
final
int
ChessPickCardNotify
=
53
48
;
public
static
final
int
ChessPickCardReq
=
53
43
;
public
static
final
int
ChessPickCardReq
=
53
10
;
public
static
final
int
ChessPickCardRsp
=
53
8
6
;
public
static
final
int
ChessPickCardRsp
=
53
6
6
;
public
static
final
int
ChessPlayerInfoNotify
=
538
5
;
public
static
final
int
ChessPlayerInfoNotify
=
538
8
;
public
static
final
int
ChessSelectedCardsNotify
=
533
9
;
public
static
final
int
ChessSelectedCardsNotify
=
53
5
3
;
public
static
final
int
ChooseCurAvatarTeamReq
=
1
713
;
public
static
final
int
ChooseCurAvatarTeamReq
=
1
800
;
public
static
final
int
ChooseCurAvatarTeamRsp
=
16
08
;
public
static
final
int
ChooseCurAvatarTeamRsp
=
16
73
;
public
static
final
int
CityReputationDataNotify
=
28
55
;
public
static
final
int
CityReputationDataNotify
=
28
98
;
public
static
final
int
CityReputationLevelupNotify
=
283
7
;
public
static
final
int
CityReputationLevelupNotify
=
283
2
;
public
static
final
int
ClearRoguelikeCurseNotify
=
8
997
;
public
static
final
int
ClearRoguelikeCurseNotify
=
8
291
;
public
static
final
int
ClientAbilitiesInitFinishCombineNotify
=
11
44
;
public
static
final
int
ClientAbilitiesInitFinishCombineNotify
=
11
85
;
public
static
final
int
ClientAbilityChangeNotify
=
11
91
;
public
static
final
int
ClientAbilityChangeNotify
=
11
27
;
public
static
final
int
ClientAbilityInitBeginNotify
=
111
0
;
public
static
final
int
ClientAbilityInitBeginNotify
=
11
4
1
;
public
static
final
int
ClientAbilityInitFinishNotify
=
11
15
;
public
static
final
int
ClientAbilityInitFinishNotify
=
11
37
;
public
static
final
int
ClientAIStateNotify
=
11
28
;
public
static
final
int
ClientAIStateNotify
=
11
97
;
public
static
final
int
ClientBulletCreateNotify
=
89
;
public
static
final
int
ClientBulletCreateNotify
=
6
;
public
static
final
int
ClientCollectorDataNotify
=
426
2
;
public
static
final
int
ClientCollectorDataNotify
=
426
4
;
public
static
final
int
ClientHashDebugNotify
=
31
63
;
public
static
final
int
ClientHashDebugNotify
=
31
92
;
public
static
final
int
ClientLoadingCostumeVerificationNotify
=
3
133
;
public
static
final
int
ClientLoadingCostumeVerificationNotify
=
3
488
;
public
static
final
int
ClientLockGameTimeNotify
=
1
9
4
;
public
static
final
int
ClientLockGameTimeNotify
=
1
7
4
;
public
static
final
int
ClientNewMailNotify
=
14
34
;
public
static
final
int
ClientNewMailNotify
=
14
82
;
public
static
final
int
ClientPauseNotify
=
2
78
;
public
static
final
int
ClientPauseNotify
=
2
91
;
public
static
final
int
ClientReconnectNotify
=
91
;
public
static
final
int
ClientReconnectNotify
=
27
;
public
static
final
int
ClientReportNotify
=
28
;
public
static
final
int
ClientReportNotify
=
97
;
public
static
final
int
ClientScriptEventNotify
=
21
8
;
public
static
final
int
ClientScriptEventNotify
=
21
4
;
public
static
final
int
ClientTransmitReq
=
2
5
2
;
public
static
final
int
ClientTransmitReq
=
2
7
2
;
public
static
final
int
ClientTransmitRsp
=
29
2
;
public
static
final
int
ClientTransmitRsp
=
2
5
9
;
public
static
final
int
ClientTriggerEventNotify
=
1
9
7
;
public
static
final
int
ClientTriggerEventNotify
=
1
0
7
;
public
static
final
int
CloseCommonTipsNotify
=
3
187
;
public
static
final
int
CloseCommonTipsNotify
=
3
496
;
public
static
final
int
ClosedItemNotify
=
6
9
4
;
public
static
final
int
ClosedItemNotify
=
6
7
4
;
public
static
final
int
CodexDataFullNotify
=
420
4
;
public
static
final
int
CodexDataFullNotify
=
420
1
;
public
static
final
int
CodexDataUpdateNotify
=
420
5
;
public
static
final
int
CodexDataUpdateNotify
=
42
1
0
;
public
static
final
int
CombatInvocationsNotify
=
3
47
;
public
static
final
int
CombatInvocationsNotify
=
3
16
;
public
static
final
int
CombineDataNotify
=
6
49
;
public
static
final
int
CombineDataNotify
=
6
61
;
public
static
final
int
CombineFormulaDataNotify
=
68
5
;
public
static
final
int
CombineFormulaDataNotify
=
68
8
;
public
static
final
int
CombineReq
=
6
63
;
public
static
final
int
CombineReq
=
6
54
;
public
static
final
int
CombineRsp
=
6
08
;
public
static
final
int
CombineRsp
=
6
46
;
public
static
final
int
CommonPlayerTipsNotify
=
8
928
;
public
static
final
int
CommonPlayerTipsNotify
=
8
490
;
public
static
final
int
CompoundDataNotify
=
1
81
;
public
static
final
int
CompoundDataNotify
=
1
36
;
public
static
final
int
CompoundUnlockNotify
=
1
99
;
public
static
final
int
CompoundUnlockNotify
=
1
81
;
public
static
final
int
CookDataNotify
=
1
6
4
;
public
static
final
int
CookDataNotify
=
14
2
;
public
static
final
int
CookGradeDataNotify
=
1
66
;
public
static
final
int
CookGradeDataNotify
=
1
11
;
public
static
final
int
CookRecipeDataNotify
=
101
;
public
static
final
int
CookRecipeDataNotify
=
101
;
public
static
final
int
CoopCgShowNotify
=
198
3
;
public
static
final
int
CoopCgShowNotify
=
198
9
;
public
static
final
int
CoopCgUpdateNotify
=
19
93
;
public
static
final
int
CoopCgUpdateNotify
=
19
66
;
public
static
final
int
CoopChapterUpdateNotify
=
19
86
;
public
static
final
int
CoopChapterUpdateNotify
=
19
97
;
public
static
final
int
CoopDataNotify
=
19
6
7
;
public
static
final
int
CoopDataNotify
=
197
6
;
public
static
final
int
CoopPointUpdateNotify
=
1987
;
public
static
final
int
CoopPointUpdateNotify
=
1987
;
public
static
final
int
CoopProgressUpdateNotify
=
2000
;
public
static
final
int
CoopProgressUpdateNotify
=
1961
;
public
static
final
int
CoopRewardUpdateNotify
=
1976
;
public
static
final
int
CoopRewardUpdateNotify
=
1951
;
public
static
final
int
CreateMassiveEntityNotify
=
336
;
public
static
final
int
CreateMassiveEntityNotify
=
325
;
public
static
final
int
CreateMassiveEntityReq
=
323
;
public
static
final
int
CreateMassiveEntityReq
=
370
;
public
static
final
int
CreateMassiveEntityRsp
=
313
;
public
static
final
int
CreateMassiveEntityRsp
=
329
;
public
static
final
int
CreateVehicleReq
=
809
;
public
static
final
int
CreateVehicleReq
=
819
;
public
static
final
int
CreateVehicleRsp
=
865
;
public
static
final
int
CreateVehicleRsp
=
812
;
public
static
final
int
CutSceneBeginNotify
=
241
;
public
static
final
int
CutSceneBeginNotify
=
300
;
public
static
final
int
CutSceneEndNotify
=
214
;
public
static
final
int
CutSceneEndNotify
=
299
;
public
static
final
int
CutSceneFinishNotify
=
248
;
public
static
final
int
CutSceneFinishNotify
=
294
;
public
static
final
int
DailyTaskDataNotify
=
124
;
public
static
final
int
DailyTaskDataNotify
=
183
;
public
static
final
int
DailyTaskFilterCityReq
=
159
;
public
static
final
int
DailyTaskFilterCityReq
=
192
;
public
static
final
int
DailyTaskFilterCityRsp
=
150
;
public
static
final
int
DailyTaskFilterCityRsp
=
118
;
public
static
final
int
DailyTaskProgressNotify
=
161
;
public
static
final
int
DailyTaskProgressNotify
=
103
;
public
static
final
int
DailyTaskScoreRewardNotify
=
138
;
public
static
final
int
DailyTaskScoreRewardNotify
=
134
;
public
static
final
int
DailyTaskUnlockedCitiesNotify
=
119
;
public
static
final
int
DailyTaskUnlockedCitiesNotify
=
121
;
public
static
final
int
DataResVersionNotify
=
136
;
public
static
final
int
DataResVersionNotify
=
125
;
public
static
final
int
DealAddFriendReq
=
4044
;
public
static
final
int
DealAddFriendReq
=
4085
;
public
static
final
int
DealAddFriendRsp
=
4045
;
public
static
final
int
DealAddFriendRsp
=
4035
;
public
static
final
int
DeleteFriendNotify
=
4083
;
public
static
final
int
DebugNotify
=
101
;
public
static
final
int
DeleteFriendReq
=
4079
;
public
static
final
int
DeleteFriendNotify
=
4063
;
public
static
final
int
DeleteFriendRsp
=
4091
;
public
static
final
int
DeleteFriendReq
=
4055
;
public
static
final
int
DelMailReq
=
1493
;
public
static
final
int
DeleteFriendRsp
=
4027
;
public
static
final
int
DelMailRsp
=
1444
;
public
static
final
int
DelMailReq
=
1417
;
public
static
final
int
DelScenePlayTeamEntityNotify
=
3117
;
public
static
final
int
DelMailRsp
=
1485
;
public
static
final
int
DelTeamEntityNotify
=
330
;
public
static
final
int
DelScenePlayTeamEntityNotify
=
3087
;
public
static
final
int
DestroyMassiveEntityNotify
=
324
;
public
static
final
int
DelTeamEntityNotify
=
302
;
public
static
final
int
DestroyMaterialReq
=
670
;
public
static
final
int
DestroyMassiveEntityNotify
=
383
;
public
static
final
int
DestroyMaterialRsp
=
654
;
public
static
final
int
DestroyMaterialReq
=
678
;
public
static
final
int
DigActivityChangeGadgetStateReq
=
8283
;
public
static
final
int
DestroyMaterialRsp
=
608
;
public
static
final
int
DigActivityChangeGadgetStateRsp
=
8609
;
public
static
final
int
DigActivityChangeGadgetStateReq
=
8155
;
public
static
final
int
DigActivityMarkPointChangeNotify
=
8143
;
public
static
final
int
DigActivityChangeGadgetStateRsp
=
8851
;
public
static
final
int
DisableRoguelikeTrapNotify
=
8029
;
public
static
final
int
DigActivityMarkPointChangeNotify
=
8679
;
public
static
final
int
DoGachaReq
=
1510
;
public
static
final
int
DisableRoguelikeTrapNotify
=
8250
;
public
static
final
int
DoGachaRsp
=
1515
;
public
static
final
int
DoGachaReq
=
1541
;
public
static
final
int
DoRoguelikeDungeonCardGachaReq
=
8897
;
public
static
final
int
DoGachaRsp
=
1537
;
public
static
final
int
DoRoguelikeDungeonCardGachaRsp
=
8973
;
public
static
final
int
DoRoguelikeDungeonCardGachaReq
=
8764
;
public
static
final
int
DoSetPlayerBornDataNotify
=
174
;
public
static
final
int
DoRoguelikeDungeonCardGachaRsp
=
8641
;
public
static
final
int
DraftGuestReplyInviteNotify
=
5445
;
public
static
final
int
DoSetPlayerBornDataNotify
=
190
;
public
static
final
int
DraftGuestReplyInviteReq
=
5493
;
public
static
final
int
DraftGuestReplyInviteNotify
=
5435
;
public
static
final
int
DraftGuestReplyInviteRsp
=
5444
;
public
static
final
int
DraftGuestReplyInviteReq
=
5417
;
public
static
final
int
DraftGuestReplyTwiceConfirmNotify
=
5488
;
public
static
final
int
DraftGuestReplyInviteRsp
=
5485
;
public
static
final
int
DraftGuestReplyTwiceConfirmReq
=
5479
;
public
static
final
int
DraftGuestReplyTwiceConfirmNotify
=
5430
;
public
static
final
int
DraftGuestReplyTwiceConfirmRsp
=
5491
;
public
static
final
int
DraftGuestReplyTwiceConfirmReq
=
5455
;
public
static
final
int
DraftInviteResultNotify
=
5475
;
public
static
final
int
DraftGuestReplyTwiceConfirmRsp
=
5427
;
public
static
final
int
DraftOwnerInviteNotify
=
5437
;
public
static
final
int
DraftInviteResultNotify
=
5449
;
public
static
final
int
DraftOwnerStartInviteReq
=
5410
;
public
static
final
int
DraftOwnerInviteNotify
=
5432
;
public
static
final
int
DraftOwnerStartInviteRsp
=
5415
;
public
static
final
int
DraftOwnerStartInviteReq
=
5441
;
public
static
final
int
DraftOwnerTwiceConfirmNotify
=
5434
;
public
static
final
int
DraftOwnerStartInviteRsp
=
5437
;
public
static
final
int
DraftTwiceConfirmResultNotify
=
5497
;
public
static
final
int
DraftOwnerTwiceConfirmNotify
=
5482
;
public
static
final
int
DragonSpineChapterFinishNotify
=
2196
;
public
static
final
int
DraftTwiceConfirmResultNotify
=
5407
;
public
static
final
int
DragonSpineChapterOpenNotify
=
2070
;
public
static
final
int
DragonSpineChapterFinishNotify
=
2135
;
public
static
final
int
DragonSpineChapterProgressChangeNotify
=
2001
;
public
static
final
int
DragonSpineChapterOpenNotify
=
2119
;
public
static
final
int
DragonSpineCoinChangeNotify
=
2189
;
public
static
final
int
DragonSpineChapterProgressChangeNotify
=
2102
;
public
static
final
int
DropHintNotify
=
673
;
public
static
final
int
DragonSpineCoinChangeNotify
=
2031
;
public
static
final
int
DropItemReq
=
634
;
public
static
final
int
DropHintNotify
=
622
;
public
static
final
int
DropItemRsp
=
679
;
public
static
final
int
DropItemReq
=
682
;
public
static
final
int
DropSubfieldReq
=
232
;
public
static
final
int
DropItemRsp
=
655
;
public
static
final
int
DropSubfieldRsp
=
251
;
public
static
final
int
DungeonCandidateTeamChangeAvatarReq
=
984
;
public
static
final
int
DungeonCandidateTeamChangeAvatarReq
=
958
;
public
static
final
int
DungeonCandidateTeamChangeAvatarRsp
=
970
;
public
static
final
int
DungeonCandidateTeamChangeAvatarRsp
=
923
;
public
static
final
int
DungeonCandidateTeamCreateReq
=
942
;
public
static
final
int
DungeonCandidateTeamCreateReq
=
964
;
public
static
final
int
DungeonCandidateTeamCreateRsp
=
901
;
public
static
final
int
DungeonCandidateTeamCreateRsp
=
901
;
public
static
final
int
DungeonCandidateTeamDismissNotify
=
9
80
;
public
static
final
int
DungeonCandidateTeamDismissNotify
=
9
13
;
public
static
final
int
DungeonCandidateTeamInfoNotify
=
9
65
;
public
static
final
int
DungeonCandidateTeamInfoNotify
=
9
12
;
public
static
final
int
DungeonCandidateTeamInviteNotify
=
9
03
;
public
static
final
int
DungeonCandidateTeamInviteNotify
=
9
58
;
public
static
final
int
DungeonCandidateTeamInviteReq
=
9
66
;
public
static
final
int
DungeonCandidateTeamInviteReq
=
9
11
;
public
static
final
int
DungeonCandidateTeamInviteRsp
=
9
73
;
public
static
final
int
DungeonCandidateTeamInviteRsp
=
9
22
;
public
static
final
int
DungeonCandidateTeamKickReq
=
9
63
;
public
static
final
int
DungeonCandidateTeamKickReq
=
9
54
;
public
static
final
int
DungeonCandidateTeamKickRsp
=
9
08
;
public
static
final
int
DungeonCandidateTeamKickRsp
=
9
46
;
public
static
final
int
DungeonCandidateTeamLeaveReq
=
9
17
;
public
static
final
int
DungeonCandidateTeamLeaveReq
=
9
33
;
public
static
final
int
DungeonCandidateTeamLeaveRsp
=
9
81
;
public
static
final
int
DungeonCandidateTeamLeaveRsp
=
9
36
;
public
static
final
int
DungeonCandidateTeamPlayerLeaveNotify
=
920
;
public
static
final
int
DungeonCandidateTeamPlayerLeaveNotify
=
920
;
public
static
final
int
DungeonCandidateTeamRefuseNotify
=
9
67
;
public
static
final
int
DungeonCandidateTeamRefuseNotify
=
9
50
;
public
static
final
int
DungeonCandidateTeamReplyInviteReq
=
92
7
;
public
static
final
int
DungeonCandidateTeamReplyInviteReq
=
92
8
;
public
static
final
int
DungeonCandidateTeamReplyInviteRsp
=
9
02
;
public
static
final
int
DungeonCandidateTeamReplyInviteRsp
=
9
76
;
public
static
final
int
DungeonCandidateTeamSetChangingAvatarReq
=
9
54
;
public
static
final
int
DungeonCandidateTeamSetChangingAvatarReq
=
9
08
;
public
static
final
int
DungeonCandidateTeamSetChangingAvatarRsp
=
9
35
;
public
static
final
int
DungeonCandidateTeamSetChangingAvatarRsp
=
9
04
;
public
static
final
int
DungeonCandidateTeamSetReadyReq
=
9
5
2
;
public
static
final
int
DungeonCandidateTeamSetReadyReq
=
9
7
2
;
public
static
final
int
DungeonCandidateTeamSetReadyRsp
=
99
2
;
public
static
final
int
DungeonCandidateTeamSetReadyRsp
=
9
5
9
;
public
static
final
int
DungeonChallengeBeginNotify
=
9
74
;
public
static
final
int
DungeonChallengeBeginNotify
=
9
90
;
public
static
final
int
DungeonChallengeFinishNotify
=
9
5
6
;
public
static
final
int
DungeonChallengeFinishNotify
=
9
8
6
;
public
static
final
int
DungeonDataNotify
=
94
6
;
public
static
final
int
DungeonDataNotify
=
94
5
;
public
static
final
int
DungeonDieOptionReq
=
9
91
;
public
static
final
int
DungeonDieOptionReq
=
9
27
;
public
static
final
int
DungeonDieOptionRsp
=
9
9
7
;
public
static
final
int
DungeonDieOptionRsp
=
9
0
7
;
public
static
final
int
DungeonEntryInfoReq
=
9
6
0
;
public
static
final
int
DungeonEntryInfoReq
=
90
9
;
public
static
final
int
DungeonEntryInfoRsp
=
93
3
;
public
static
final
int
DungeonEntryInfoRsp
=
93
1
;
public
static
final
int
DungeonEntryToBeExploreNotify
=
3
067
;
public
static
final
int
DungeonEntryToBeExploreNotify
=
3
414
;
public
static
final
int
DungeonFollowNotify
=
92
6
;
public
static
final
int
DungeonFollowNotify
=
92
4
;
public
static
final
int
DungeonGetStatueDropReq
=
9
62
;
public
static
final
int
DungeonGetStatueDropReq
=
9
38
;
public
static
final
int
DungeonGetStatueDropRsp
=
9
89
;
public
static
final
int
DungeonGetStatueDropRsp
=
9
06
;
public
static
final
int
DungeonInterruptChallengeReq
=
93
8
;
public
static
final
int
DungeonInterruptChallengeReq
=
93
4
;
public
static
final
int
DungeonInterruptChallengeRsp
=
9
3
0
;
public
static
final
int
DungeonInterruptChallengeRsp
=
90
2
;
public
static
final
int
DungeonPlayerDieNotify
=
9
79
;
public
static
final
int
DungeonPlayerDieNotify
=
9
55
;
public
static
final
int
DungeonPlayerDieReq
=
9
28
;
public
static
final
int
DungeonPlayerDieReq
=
9
97
;
public
static
final
int
DungeonPlayerDieRsp
=
9
55
;
public
static
final
int
DungeonPlayerDieRsp
=
9
98
;
public
static
final
int
DungeonRestartInviteNotify
=
9
84
;
public
static
final
int
DungeonRestartInviteNotify
=
9
77
;
public
static
final
int
DungeonRestartInviteReplyNotify
=
9
72
;
public
static
final
int
DungeonRestartInviteReplyNotify
=
9
89
;
public
static
final
int
DungeonRestartInviteReplyReq
=
9
12
;
public
static
final
int
DungeonRestartInviteReplyReq
=
9
43
;
public
static
final
int
DungeonRestartInviteReplyRsp
=
9
53
;
public
static
final
int
DungeonRestartInviteReplyRsp
=
9
87
;
public
static
final
int
DungeonRestartReq
=
93
2
;
public
static
final
int
DungeonRestartReq
=
9
9
3
;
public
static
final
int
DungeonRestartResultNotify
=
97
0
;
public
static
final
int
DungeonRestartResultNotify
=
97
8
;
public
static
final
int
DungeonRestartRsp
=
9
51
;
public
static
final
int
DungeonRestartRsp
=
9
60
;
public
static
final
int
DungeonReviseLevelNotify
=
95
7
;
public
static
final
int
DungeonReviseLevelNotify
=
9
0
5
;
public
static
final
int
DungeonSettleNotify
=
9
34
;
public
static
final
int
DungeonSettleNotify
=
9
82
;
public
static
final
int
DungeonShowReminderNotify
=
9
88
;
public
static
final
int
DungeonShowReminderNotify
=
9
30
;
public
static
final
int
DungeonSlipRevivePointActivateReq
=
9
24
;
public
static
final
int
DungeonSlipRevivePointActivateReq
=
9
83
;
public
static
final
int
DungeonSlipRevivePointActivateRsp
=
9
61
;
public
static
final
int
DungeonSlipRevivePointActivateRsp
=
9
03
;
public
static
final
int
DungeonWayPointActivateReq
=
9
4
5
;
public
static
final
int
DungeonWayPointActivateReq
=
9
3
5
;
public
static
final
int
DungeonWayPointActivateRsp
=
9
75
;
public
static
final
int
DungeonWayPointActivateRsp
=
9
49
;
public
static
final
int
DungeonWayPointNotify
=
9
44
;
public
static
final
int
DungeonWayPointNotify
=
9
85
;
public
static
final
int
EchoNotify
=
62
;
public
static
final
int
EchoNotify
=
38
;
public
static
final
int
EchoShellTakeRewardReq
=
8
801
;
public
static
final
int
EchoShellTakeRewardReq
=
8
074
;
public
static
final
int
EchoShellTakeRewardRsp
=
8
888
;
public
static
final
int
EchoShellTakeRewardRsp
=
8
446
;
public
static
final
int
EchoShellUpdateNotify
=
8
730
;
public
static
final
int
EchoShellUpdateNotify
=
8
077
;
public
static
final
int
EffigyChallengeInfoNotify
=
215
9
;
public
static
final
int
EffigyChallengeInfoNotify
=
215
3
;
public
static
final
int
EffigyChallengeResultNotify
=
20
2
4
;
public
static
final
int
EffigyChallengeResultNotify
=
20
6
4
;
public
static
final
int
EndCameraSceneLookNotify
=
23
8
;
public
static
final
int
EndCameraSceneLookNotify
=
23
4
;
public
static
final
int
EnterChessDungeonReq
=
8
336
;
public
static
final
int
EnterChessDungeonReq
=
8
571
;
public
static
final
int
EnterChessDungeonRsp
=
8
5
81
;
public
static
final
int
EnterChessDungeonRsp
=
881
9
;
public
static
final
int
EnterFishingReq
=
58
35
;
public
static
final
int
EnterFishingReq
=
58
18
;
public
static
final
int
EnterFishingRsp
=
58
25
;
public
static
final
int
EnterFishingRsp
=
58
09
;
public
static
final
int
EnterMechanicusDungeonReq
=
39
79
;
public
static
final
int
EnterMechanicusDungeonReq
=
39
55
;
public
static
final
int
EnterMechanicusDungeonRsp
=
39
91
;
public
static
final
int
EnterMechanicusDungeonRsp
=
39
27
;
public
static
final
int
EnterRoguelikeDungeonNotify
=
8
330
;
public
static
final
int
EnterRoguelikeDungeonNotify
=
8
646
;
public
static
final
int
EnterSceneDoneReq
=
2
68
;
public
static
final
int
EnterSceneDoneReq
=
2
79
;
public
static
final
int
EnterSceneDoneRsp
=
29
0
;
public
static
final
int
EnterSceneDoneRsp
=
2
6
9
;
public
static
final
int
EnterScenePeerNotify
=
2
82
;
public
static
final
int
EnterScenePeerNotify
=
2
57
;
public
static
final
int
EnterSceneReadyReq
=
2
98
;
public
static
final
int
EnterSceneReadyReq
=
2
44
;
public
static
final
int
EnterSceneReadyRsp
=
2
96
;
public
static
final
int
EnterSceneReadyRsp
=
2
52
;
public
static
final
int
EnterSceneWeatherAreaNotify
=
2
5
8
;
public
static
final
int
EnterSceneWeatherAreaNotify
=
28
4
;
public
static
final
int
EnterTransPointRegionNotify
=
2
55
;
public
static
final
int
EnterTransPointRegionNotify
=
2
98
;
public
static
final
int
EnterTrialAvatarActivityDungeonReq
=
20
31
;
public
static
final
int
EnterTrialAvatarActivityDungeonReq
=
20
57
;
public
static
final
int
EnterTrialAvatarActivityDungeonRsp
=
2
175
;
public
static
final
int
EnterTrialAvatarActivityDungeonRsp
=
2
021
;
public
static
final
int
EnterWorldAreaReq
=
2
73
;
public
static
final
int
EnterWorldAreaReq
=
2
22
;
public
static
final
int
EnterWorldAreaRsp
=
2
63
;
public
static
final
int
EnterWorldAreaRsp
=
2
54
;
public
static
final
int
EntityAiKillSelfNotify
=
37
0
;
public
static
final
int
EntityAiKillSelfNotify
=
37
8
;
public
static
final
int
EntityAiSyncNotify
=
3
12
;
public
static
final
int
EntityAiSyncNotify
=
3
43
;
public
static
final
int
EntityAuthorityChangeNotify
=
3
03
;
public
static
final
int
EntityAuthorityChangeNotify
=
3
58
;
public
static
final
int
EntityConfigHashNotify
=
3
458
;
public
static
final
int
EntityConfigHashNotify
=
3
271
;
public
static
final
int
EntityFightPropChangeReasonNotify
=
12
44
;
public
static
final
int
EntityFightPropChangeReasonNotify
=
12
85
;
public
static
final
int
EntityFightPropNotify
=
121
0
;
public
static
final
int
EntityFightPropNotify
=
12
4
1
;
public
static
final
int
EntityFightPropUpdateNotify
=
12
15
;
public
static
final
int
EntityFightPropUpdateNotify
=
12
37
;
public
static
final
int
EntityForceSyncReq
=
2
08
;
public
static
final
int
EntityForceSyncReq
=
2
46
;
public
static
final
int
EntityForceSyncRsp
=
2
17
;
public
static
final
int
EntityForceSyncRsp
=
2
33
;
public
static
final
int
EntityJumpNotify
=
22
6
;
public
static
final
int
EntityJumpNotify
=
22
4
;
public
static
final
int
EntityMoveRoomNotify
=
3
135
;
public
static
final
int
EntityMoveRoomNotify
=
3
209
;
public
static
final
int
EntityPropNotify
=
12
6
0
;
public
static
final
int
EntityPropNotify
=
120
9
;
public
static
final
int
EntityTagChangeNotify
=
32
62
;
public
static
final
int
EntityTagChangeNotify
=
32
73
;
public
static
final
int
EquipRoguelikeRuneReq
=
85
79
;
public
static
final
int
EquipRoguelikeRuneReq
=
85
10
;
public
static
final
int
EquipRoguelikeRuneRsp
=
8
412
;
public
static
final
int
EquipRoguelikeRuneRsp
=
8
516
;
public
static
final
int
EvtAiSyncCombatThreatInfoNotify
=
3
51
;
public
static
final
int
EvtAiSyncCombatThreatInfoNotify
=
3
60
;
public
static
final
int
EvtAiSyncSkillCdNotify
=
3
17
;
public
static
final
int
EvtAiSyncSkillCdNotify
=
3
33
;
public
static
final
int
EvtAnimatorParameterNotify
=
33
3
;
public
static
final
int
EvtAnimatorParameterNotify
=
33
1
;
public
static
final
int
EvtAnimatorStateChangedNotify
=
3
79
;
public
static
final
int
EvtAnimatorStateChangedNotify
=
3
55
;
public
static
final
int
EvtAvatarEnterFocusNotify
=
3
89
;
public
static
final
int
EvtAvatarEnterFocusNotify
=
3
06
;
public
static
final
int
EvtAvatarExitFocusNotify
=
3
0
9
;
public
static
final
int
EvtAvatarExitFocusNotify
=
3
1
9
;
public
static
final
int
EvtAvatarLockChairReq
=
3
54
;
public
static
final
int
EvtAvatarLockChairReq
=
3
08
;
public
static
final
int
EvtAvatarLockChairRsp
=
3
35
;
public
static
final
int
EvtAvatarLockChairRsp
=
3
04
;
public
static
final
int
EvtAvatarSitDownNotify
=
39
2
;
public
static
final
int
EvtAvatarSitDownNotify
=
3
5
9
;
public
static
final
int
EvtAvatarStandUpNotify
=
3
5
8
;
public
static
final
int
EvtAvatarStandUpNotify
=
38
4
;
public
static
final
int
EvtAvatarUpdateFocusNotify
=
3
65
;
public
static
final
int
EvtAvatarUpdateFocusNotify
=
3
12
;
public
static
final
int
EvtBeingHitNotify
=
3
6
0
;
public
static
final
int
EvtBeingHitNotify
=
30
9
;
public
static
final
int
EvtBeingHitsCombineNotify
=
3
81
;
public
static
final
int
EvtBeingHitsCombineNotify
=
3
36
;
public
static
final
int
EvtBulletDeactiveNotify
=
3
88
;
public
static
final
int
EvtBulletDeactiveNotify
=
3
30
;
public
static
final
int
EvtBulletHitNotify
=
3
9
7
;
public
static
final
int
EvtBulletHitNotify
=
3
0
7
;
public
static
final
int
EvtBulletMoveNotify
=
3
62
;
public
static
final
int
EvtBulletMoveNotify
=
3
38
;
public
static
final
int
EvtCostStaminaNotify
=
3
75
;
public
static
final
int
EvtCostStaminaNotify
=
3
49
;
public
static
final
int
EvtCreateGadgetNotify
=
33
7
;
public
static
final
int
EvtCreateGadgetNotify
=
33
2
;
public
static
final
int
EvtDestroyGadgetNotify
=
3
93
;
public
static
final
int
EvtDestroyGadgetNotify
=
3
17
;
public
static
final
int
EvtDestroyServerGadgetNotify
=
3
72
;
public
static
final
int
EvtDestroyServerGadgetNotify
=
3
89
;
public
static
final
int
EvtDoSkillSuccNotify
=
3
15
;
public
static
final
int
EvtDoSkillSuccNotify
=
3
37
;
public
static
final
int
EvtEntityRenderersChangedNotify
=
3
63
;
public
static
final
int
EvtEntityRenderersChangedNotify
=
3
54
;
public
static
final
int
EvtEntityStartDieEndNotify
=
3
28
;
public
static
final
int
EvtEntityStartDieEndNotify
=
3
97
;
public
static
final
int
EvtFaceToDirNotify
=
3
4
5
;
public
static
final
int
EvtFaceToDirNotify
=
3
3
5
;
public
static
final
int
EvtFaceToEntityNotify
=
3
44
;
public
static
final
int
EvtFaceToEntityNotify
=
3
85
;
public
static
final
int
EvtRushMoveNotify
=
3
91
;
public
static
final
int
EvtRushMoveNotify
=
3
27
;
public
static
final
int
EvtSetAttackTargetNotify
=
3
34
;
public
static
final
int
EvtSetAttackTargetNotify
=
3
82
;
public
static
final
int
ExclusiveRuleNotify
=
1
69
;
public
static
final
int
ExclusiveRuleNotify
=
1
23
;
public
static
final
int
ExecuteGadgetLuaReq
=
2
31
;
public
static
final
int
ExecuteGadgetLuaReq
=
2
67
;
public
static
final
int
ExecuteGadgetLuaRsp
=
2
40
;
public
static
final
int
ExecuteGadgetLuaRsp
=
2
71
;
public
static
final
int
ExecuteGroupTriggerReq
=
2
84
;
public
static
final
int
ExecuteGroupTriggerReq
=
2
77
;
public
static
final
int
ExecuteGroupTriggerRsp
=
2
12
;
public
static
final
int
ExecuteGroupTriggerRsp
=
2
43
;
public
static
final
int
ExitFishingReq
=
581
2
;
public
static
final
int
ExitFishingReq
=
581
4
;
public
static
final
int
ExitFishingRsp
=
58
39
;
public
static
final
int
ExitFishingRsp
=
58
12
;
public
static
final
int
ExitSceneWeatherAreaNotify
=
2
23
;
public
static
final
int
ExitSceneWeatherAreaNotify
=
2
70
;
public
static
final
int
ExitTransPointRegionNotify
=
24
6
;
public
static
final
int
ExitTransPointRegionNotify
=
24
5
;
public
static
final
int
ExpeditionChallengeEnterRegionNotify
=
20
9
5
;
public
static
final
int
ExpeditionChallengeEnterRegionNotify
=
205
0
;
public
static
final
int
ExpeditionChallengeFinishedNotify
=
2
197
;
public
static
final
int
ExpeditionChallengeFinishedNotify
=
2
034
;
public
static
final
int
ExpeditionRecallReq
=
21
14
;
public
static
final
int
ExpeditionRecallReq
=
21
22
;
public
static
final
int
ExpeditionRecallRsp
=
21
08
;
public
static
final
int
ExpeditionRecallRsp
=
21
56
;
public
static
final
int
ExpeditionStartReq
=
20
3
2
;
public
static
final
int
ExpeditionStartReq
=
202
6
;
public
static
final
int
ExpeditionStartRsp
=
21
48
;
public
static
final
int
ExpeditionStartRsp
=
21
63
;
public
static
final
int
ExpeditionTakeRewardReq
=
2
05
3
;
public
static
final
int
ExpeditionTakeRewardReq
=
2
17
3
;
public
static
final
int
ExpeditionTakeRewardRsp
=
21
81
;
public
static
final
int
ExpeditionTakeRewardRsp
=
21
96
;
public
static
final
int
FindHilichurlAcceptQuestNotify
=
8
292
;
public
static
final
int
FindHilichurlAcceptQuestNotify
=
8
465
;
public
static
final
int
FindHilichurlFinishSecondQuestNotify
=
8
799
;
public
static
final
int
FindHilichurlFinishSecondQuestNotify
=
8
981
;
public
static
final
int
FinishDeliveryNotify
=
21
26
;
public
static
final
int
FinishDeliveryNotify
=
21
58
;
public
static
final
int
FinishedParentQuestNotify
=
4
15
;
public
static
final
int
FinishedParentQuestNotify
=
4
37
;
public
static
final
int
FinishedParentQuestUpdateNotify
=
43
7
;
public
static
final
int
FinishedParentQuestUpdateNotify
=
43
2
;
public
static
final
int
FinishMainCoopReq
=
19
63
;
public
static
final
int
FinishMainCoopReq
=
19
78
;
public
static
final
int
FinishMainCoopRsp
=
195
1
;
public
static
final
int
FinishMainCoopRsp
=
195
3
;
public
static
final
int
FishAttractNotify
=
58
21
;
public
static
final
int
FishAttractNotify
=
58
46
;
public
static
final
int
FishBaitGoneNotify
=
58
46
;
public
static
final
int
FishBaitGoneNotify
=
58
27
;
public
static
final
int
FishBattleBeginReq
=
58
15
;
public
static
final
int
FishBattleBeginReq
=
58
02
;
public
static
final
int
FishBattleBeginRsp
=
58
27
;
public
static
final
int
FishBattleBeginRsp
=
58
13
;
public
static
final
int
FishBattleEndReq
=
5837
;
public
static
final
int
FishBattleEndReq
=
5837
;
public
static
final
int
FishBattleEndRsp
=
58
06
;
public
static
final
int
FishBattleEndRsp
=
58
32
;
public
static
final
int
FishBiteReq
=
58
43
;
public
static
final
int
FishBiteReq
=
58
16
;
public
static
final
int
FishBiteRsp
=
58
26
;
public
static
final
int
FishBiteRsp
=
58
01
;
public
static
final
int
FishCastRodReq
=
58
13
;
public
static
final
int
FishCastRodReq
=
58
28
;
public
static
final
int
FishCastRodRsp
=
580
1
;
public
static
final
int
FishCastRodRsp
=
580
3
;
public
static
final
int
FishChosenNotify
=
58
17
;
public
static
final
int
FishChosenNotify
=
58
26
;
public
static
final
int
FishEscapeNotify
=
58
36
;
public
static
final
int
FishEscapeNotify
=
58
47
;
public
static
final
int
FishingGallerySettleNotify
=
88
70
;
public
static
final
int
FishingGallerySettleNotify
=
88
96
;
public
static
final
int
FishPoolDataNotify
=
58
50
;
public
static
final
int
FishPoolDataNotify
=
58
11
;
public
static
final
int
FleurFairBalloonSettleNotify
=
219
2
;
public
static
final
int
FleurFairBalloonSettleNotify
=
21
3
9
;
public
static
final
int
FleurFairBuffEnergyNotify
=
539
2
;
public
static
final
int
FleurFairBuffEnergyNotify
=
53
5
9
;
public
static
final
int
FleurFairFallSettleNotify
=
20
15
;
public
static
final
int
FleurFairFallSettleNotify
=
20
97
;
public
static
final
int
FleurFairFinishGalleryStageNotify
=
53
23
;
public
static
final
int
FleurFairFinishGalleryStageNotify
=
53
70
;
public
static
final
int
FleurFairMusicGameSettleReq
=
2
064
;
public
static
final
int
FleurFairMusicGameSettleReq
=
2
115
;
public
static
final
int
FleurFairMusicGameSettleRsp
=
2
040
;
public
static
final
int
FleurFairMusicGameSettleRsp
=
2
124
;
public
static
final
int
FleurFairMusicGameStartReq
=
21
05
;
public
static
final
int
FleurFairMusicGameStartReq
=
21
71
;
public
static
final
int
FleurFairMusicGameStartRsp
=
21
7
9
;
public
static
final
int
FleurFairMusicGameStartRsp
=
21
4
9
;
public
static
final
int
FleurFairReplayMiniGameReq
=
21
46
;
public
static
final
int
FleurFairReplayMiniGameReq
=
21
52
;
public
static
final
int
FleurFairReplayMiniGameRsp
=
2
089
;
public
static
final
int
FleurFairReplayMiniGameRsp
=
2
101
;
public
static
final
int
FleurFairStageSettleNotify
=
53
5
8
;
public
static
final
int
FleurFairStageSettleNotify
=
538
4
;
public
static
final
int
FlightActivityRestartReq
=
2
073
;
public
static
final
int
FlightActivityRestartReq
=
2
164
;
public
static
final
int
FlightActivityRestartRsp
=
20
45
;
public
static
final
int
FlightActivityRestartRsp
=
20
02
;
public
static
final
int
FlightActivitySettleNotify
=
2
195
;
public
static
final
int
FlightActivitySettleNotify
=
2
084
;
public
static
final
int
FocusAvatarReq
=
1
710
;
public
static
final
int
FocusAvatarReq
=
1
652
;
public
static
final
int
FocusAvatarRsp
=
1
77
2
;
public
static
final
int
FocusAvatarRsp
=
1
61
2
;
public
static
final
int
ForceAddPlayerFriendReq
=
40
84
;
public
static
final
int
ForceAddPlayerFriendReq
=
40
77
;
public
static
final
int
ForceAddPlayerFriendRsp
=
40
12
;
public
static
final
int
ForceAddPlayerFriendRsp
=
40
43
;
public
static
final
int
ForceDragAvatarNotify
=
3
056
;
public
static
final
int
ForceDragAvatarNotify
=
3
425
;
public
static
final
int
ForceDragBackTransferNotify
=
3
171
;
public
static
final
int
ForceDragBackTransferNotify
=
3
088
;
public
static
final
int
ForgeDataNotify
=
6
77
;
public
static
final
int
ForgeDataNotify
=
6
48
;
public
static
final
int
ForgeFormulaDataNotify
=
6
25
;
public
static
final
int
ForgeFormulaDataNotify
=
6
73
;
public
static
final
int
ForgeGetQueueDataReq
=
6
81
;
public
static
final
int
ForgeGetQueueDataReq
=
6
36
;
public
static
final
int
ForgeGetQueueDataRsp
=
62
7
;
public
static
final
int
ForgeGetQueueDataRsp
=
62
8
;
public
static
final
int
ForgeQueueDataNotify
=
6
17
;
public
static
final
int
ForgeQueueDataNotify
=
6
33
;
public
static
final
int
ForgeQueueManipulateReq
=
69
2
;
public
static
final
int
ForgeQueueManipulateReq
=
6
5
9
;
public
static
final
int
ForgeQueueManipulateRsp
=
6
5
8
;
public
static
final
int
ForgeQueueManipulateRsp
=
68
4
;
public
static
final
int
ForgeStartReq
=
6
02
;
public
static
final
int
ForgeStartReq
=
6
76
;
public
static
final
int
ForgeStartRsp
=
6
5
2
;
public
static
final
int
ForgeStartRsp
=
6
7
2
;
public
static
final
int
FoundationNotify
=
8
74
;
public
static
final
int
FoundationNotify
=
8
90
;
public
static
final
int
FoundationReq
=
8
55
;
public
static
final
int
FoundationReq
=
8
98
;
public
static
final
int
FoundationRsp
=
84
6
;
public
static
final
int
FoundationRsp
=
84
5
;
public
static
final
int
FriendInfoChangeNotify
=
408
5
;
public
static
final
int
FriendInfoChangeNotify
=
408
8
;
public
static
final
int
FunitureMakeMakeInfoChangeNotify
=
4
523
;
public
static
final
int
FunitureMakeMakeInfoChangeNotify
=
4
488
;
public
static
final
int
FurnitureCurModuleArrangeCountNotify
=
4
770
;
public
static
final
int
FurnitureCurModuleArrangeCountNotify
=
4
681
;
public
static
final
int
FurnitureMakeBeHelpedNotify
=
4
825
;
public
static
final
int
FurnitureMakeBeHelpedNotify
=
4
626
;
public
static
final
int
FurnitureMakeCancelReq
=
4
495
;
public
static
final
int
FurnitureMakeCancelReq
=
4
834
;
public
static
final
int
FurnitureMakeCancelRsp
=
4
814
;
public
static
final
int
FurnitureMakeCancelRsp
=
4
660
;
public
static
final
int
FurnitureMakeFinishNotify
=
4
70
7
;
public
static
final
int
FurnitureMakeFinishNotify
=
4
55
7
;
public
static
final
int
FurnitureMakeHelpReq
=
4
779
;
public
static
final
int
FurnitureMakeHelpReq
=
4
580
;
public
static
final
int
FurnitureMakeHelpRsp
=
4
455
;
public
static
final
int
FurnitureMakeHelpRsp
=
4
722
;
public
static
final
int
FurnitureMakeReq
=
4
885
;
public
static
final
int
FurnitureMakeReq
=
4
551
;
public
static
final
int
FurnitureMakeRsp
=
4
819
;
public
static
final
int
FurnitureMakeRsp
=
4
530
;
public
static
final
int
FurnitureMakeStartReq
=
45
1
8
;
public
static
final
int
FurnitureMakeStartReq
=
458
2
;
public
static
final
int
FurnitureMakeStartRsp
=
4
521
;
public
static
final
int
FurnitureMakeStartRsp
=
4
463
;
public
static
final
int
GachaOpenWishNotify
=
15
44
;
public
static
final
int
GachaOpenWishNotify
=
15
85
;
public
static
final
int
GachaSimpleInfoNotify
=
15
4
5
;
public
static
final
int
GachaSimpleInfoNotify
=
15
3
5
;
public
static
final
int
GachaWishReq
=
153
7
;
public
static
final
int
GachaWishReq
=
153
2
;
public
static
final
int
GachaWishRsp
=
15
93
;
public
static
final
int
GachaWishRsp
=
15
17
;
public
static
final
int
GadgetAutoPickDropInfoNotify
=
8
88
;
public
static
final
int
GadgetAutoPickDropInfoNotify
=
8
30
;
public
static
final
int
GadgetChainLevelChangeNotify
=
82
6
;
public
static
final
int
GadgetChainLevelChangeNotify
=
82
4
;
public
static
final
int
GadgetChainLevelUpdateNotify
=
8
8
3
;
public
static
final
int
GadgetChainLevelUpdateNotify
=
8
6
3
;
public
static
final
int
GadgetCustomTreeInfoNotify
=
8
73
;
public
static
final
int
GadgetCustomTreeInfoNotify
=
8
22
;
public
static
final
int
GadgetGeneralRewardInfoNotify
=
8
9
7
;
public
static
final
int
GadgetGeneralRewardInfoNotify
=
8
0
7
;
public
static
final
int
GadgetInteractReq
=
8
6
0
;
public
static
final
int
GadgetInteractReq
=
80
9
;
public
static
final
int
GadgetInteractRsp
=
83
3
;
public
static
final
int
GadgetInteractRsp
=
83
1
;
public
static
final
int
GadgetPlayDataNotify
=
8
79
;
public
static
final
int
GadgetPlayDataNotify
=
8
55
;
public
static
final
int
GadgetPlayStartNotify
=
8
75
;
public
static
final
int
GadgetPlayStartNotify
=
8
49
;
public
static
final
int
GadgetPlayStopNotify
=
8
34
;
public
static
final
int
GadgetPlayStopNotify
=
8
82
;
public
static
final
int
GadgetPlayUidOpNotify
=
8
91
;
public
static
final
int
GadgetPlayUidOpNotify
=
8
27
;
public
static
final
int
GadgetStateNotify
=
81
0
;
public
static
final
int
GadgetStateNotify
=
8
4
1
;
public
static
final
int
GadgetTalkChangeNotify
=
8
5
6
;
public
static
final
int
GadgetTalkChangeNotify
=
8
8
6
;
public
static
final
int
GalleryBalloonScoreNotify
=
551
0
;
public
static
final
int
GalleryBalloonScoreNotify
=
55
4
1
;
public
static
final
int
GalleryBalloonShootNotify
=
553
3
;
public
static
final
int
GalleryBalloonShootNotify
=
553
1
;
public
static
final
int
GalleryBounceConjuringHitNotify
=
55
55
;
public
static
final
int
GalleryBounceConjuringHitNotify
=
55
98
;
public
static
final
int
GalleryBrokenFloorFallNotify
=
55
91
;
public
static
final
int
GalleryBrokenFloorFallNotify
=
55
27
;
public
static
final
int
GalleryBulletHitNotify
=
55
79
;
public
static
final
int
GalleryBulletHitNotify
=
55
55
;
public
static
final
int
GalleryFallCatchNotify
=
553
7
;
public
static
final
int
GalleryFallCatchNotify
=
553
2
;
public
static
final
int
GalleryFallScoreNotify
=
55
93
;
public
static
final
int
GalleryFallScoreNotify
=
55
17
;
public
static
final
int
GalleryFlowerCatchNotify
=
55
75
;
public
static
final
int
GalleryFlowerCatchNotify
=
55
49
;
public
static
final
int
GalleryPreStartNotify
=
55
34
;
public
static
final
int
GalleryPreStartNotify
=
55
82
;
public
static
final
int
GalleryStartNotify
=
55
6
0
;
public
static
final
int
GalleryStartNotify
=
550
9
;
public
static
final
int
GalleryStopNotify
=
55
15
;
public
static
final
int
GalleryStopNotify
=
55
37
;
public
static
final
int
GallerySumoKillMonsterNotify
=
554
6
;
public
static
final
int
GallerySumoKillMonsterNotify
=
554
5
;
public
static
final
int
GetActivityInfoReq
=
20
11
;
public
static
final
int
GetActivityInfoReq
=
20
67
;
public
static
final
int
GetActivityInfoRsp
=
21
70
;
public
static
final
int
GetActivityInfoRsp
=
21
44
;
public
static
final
int
GetActivityScheduleReq
=
2
663
;
public
static
final
int
GetActivityScheduleReq
=
2
049
;
public
static
final
int
GetActivityScheduleRsp
=
2
651
;
public
static
final
int
GetActivityScheduleRsp
=
2
044
;
public
static
final
int
GetActivityShopSheetInfoReq
=
7
44
;
public
static
final
int
GetActivityShopSheetInfoReq
=
7
85
;
public
static
final
int
GetActivityShopSheetInfoRsp
=
7
4
5
;
public
static
final
int
GetActivityShopSheetInfoRsp
=
7
3
5
;
public
static
final
int
GetAllActivatedBargainDataReq
=
4
80
;
public
static
final
int
GetAllActivatedBargainDataReq
=
4
13
;
public
static
final
int
GetAllActivatedBargainDataRsp
=
4
6
4
;
public
static
final
int
GetAllActivatedBargainDataRsp
=
44
2
;
public
static
final
int
GetAllH5ActivityInfoReq
=
56
7
5
;
public
static
final
int
GetAllH5ActivityInfoReq
=
565
9
;
public
static
final
int
GetAllH5ActivityInfoRsp
=
568
5
;
public
static
final
int
GetAllH5ActivityInfoRsp
=
56
6
8
;
public
static
final
int
GetAllMailReq
=
14
79
;
public
static
final
int
GetAllMailReq
=
14
55
;
public
static
final
int
GetAllMailRsp
=
14
91
;
public
static
final
int
GetAllMailRsp
=
14
27
;
public
static
final
int
GetAllSceneGalleryInfoReq
=
55
44
;
public
static
final
int
GetAllSceneGalleryInfoReq
=
55
85
;
public
static
final
int
GetAllSceneGalleryInfoRsp
=
55
4
5
;
public
static
final
int
GetAllSceneGalleryInfoRsp
=
55
3
5
;
public
static
final
int
GetAllUnlockNameCardReq
=
40
65
;
public
static
final
int
GetAllUnlockNameCardReq
=
40
12
;
public
static
final
int
GetAllUnlockNameCardRsp
=
40
03
;
public
static
final
int
GetAllUnlockNameCardRsp
=
40
58
;
public
static
final
int
GetAreaExplorePointReq
=
22
7
;
public
static
final
int
GetAreaExplorePointReq
=
22
8
;
public
static
final
int
GetAreaExplorePointRsp
=
2
02
;
public
static
final
int
GetAreaExplorePointRsp
=
2
76
;
public
static
final
int
GetAuthkeyReq
=
14
4
5
;
public
static
final
int
GetAuthkeyReq
=
14
3
5
;
public
static
final
int
GetAuthkeyRsp
=
14
75
;
public
static
final
int
GetAuthkeyRsp
=
14
49
;
public
static
final
int
GetAuthSalesmanInfoReq
=
2
082
;
public
static
final
int
GetAuthSalesmanInfoReq
=
2
161
;
public
static
final
int
GetAuthSalesmanInfoRsp
=
2
173
;
public
static
final
int
GetAuthSalesmanInfoRsp
=
2
039
;
public
static
final
int
GetBargainDataReq
=
4
67
;
public
static
final
int
GetBargainDataReq
=
4
50
;
public
static
final
int
GetBargainDataRsp
=
420
;
public
static
final
int
GetBargainDataRsp
=
420
;
public
static
final
int
GetBattlePassProductReq
=
26
43
;
public
static
final
int
GetBattlePassProductReq
=
26
16
;
public
static
final
int
GetBattlePassProductRsp
=
26
26
;
public
static
final
int
GetBattlePassProductRsp
=
26
01
;
public
static
final
int
GetBlossomBriefInfoListReq
=
27
6
0
;
public
static
final
int
GetBlossomBriefInfoListReq
=
270
9
;
public
static
final
int
GetBlossomBriefInfoListRsp
=
273
3
;
public
static
final
int
GetBlossomBriefInfoListRsp
=
273
1
;
public
static
final
int
GetBonusActivityRewardReq
=
25
28
;
public
static
final
int
GetBonusActivityRewardReq
=
25
97
;
public
static
final
int
GetBonusActivityRewardRsp
=
25
55
;
public
static
final
int
GetBonusActivityRewardRsp
=
25
98
;
public
static
final
int
GetChatEmojiCollectionReq
=
405
7
;
public
static
final
int
GetChatEmojiCollectionReq
=
40
0
5
;
public
static
final
int
GetChatEmojiCollectionRsp
=
40
43
;
public
static
final
int
GetChatEmojiCollectionRsp
=
40
10
;
public
static
final
int
GetCityHuntingOfferReq
=
4
456
;
public
static
final
int
GetCityHuntingOfferReq
=
4
343
;
public
static
final
int
GetCityHuntingOfferRsp
=
4
747
;
public
static
final
int
GetCityHuntingOfferRsp
=
4
304
;
public
static
final
int
GetCityReputationInfoReq
=
28
6
0
;
public
static
final
int
GetCityReputationInfoReq
=
280
9
;
public
static
final
int
GetCityReputationInfoRsp
=
283
3
;
public
static
final
int
GetCityReputationInfoRsp
=
283
1
;
public
static
final
int
GetCityReputationMapInfoReq
=
28
91
;
public
static
final
int
GetCityReputationMapInfoReq
=
28
27
;
public
static
final
int
GetCityReputationMapInfoRsp
=
28
9
7
;
public
static
final
int
GetCityReputationMapInfoRsp
=
28
0
7
;
public
static
final
int
GetCompoundDataReq
=
12
7
;
public
static
final
int
GetCompoundDataReq
=
12
8
;
public
static
final
int
GetCompoundDataRsp
=
1
02
;
public
static
final
int
GetCompoundDataRsp
=
1
76
;
public
static
final
int
GetDailyDungeonEntryInfoReq
=
9
13
;
public
static
final
int
GetDailyDungeonEntryInfoReq
=
9
29
;
public
static
final
int
GetDailyDungeonEntryInfoRsp
=
9
36
;
public
static
final
int
GetDailyDungeonEntryInfoRsp
=
9
25
;
public
static
final
int
GetDungeonEntryExploreConditionReq
=
3
208
;
public
static
final
int
GetDungeonEntryExploreConditionReq
=
3
136
;
public
static
final
int
GetDungeonEntryExploreConditionRsp
=
3
391
;
public
static
final
int
GetDungeonEntryExploreConditionRsp
=
3
099
;
public
static
final
int
GetExpeditionAssistInfoListReq
=
21
24
;
public
static
final
int
GetExpeditionAssistInfoListReq
=
21
81
;
public
static
final
int
GetExpeditionAssistInfoListRsp
=
2
168
;
public
static
final
int
GetExpeditionAssistInfoListRsp
=
2
045
;
public
static
final
int
GetFriendShowAvatarInfoReq
=
40
61
;
public
static
final
int
GetFriendShowAvatarInfoReq
=
40
03
;
public
static
final
int
GetFriendShowAvatarInfoRsp
=
403
8
;
public
static
final
int
GetFriendShowAvatarInfoRsp
=
403
4
;
public
static
final
int
GetFriendShowNameCardInfoReq
=
403
2
;
public
static
final
int
GetFriendShowNameCardInfoReq
=
40
9
3
;
public
static
final
int
GetFriendShowNameCardInfoRsp
=
40
51
;
public
static
final
int
GetFriendShowNameCardInfoRsp
=
40
60
;
public
static
final
int
GetFurnitureCurModuleArrangeCountReq
=
46
18
;
public
static
final
int
GetFurnitureCurModuleArrangeCountReq
=
46
03
;
public
static
final
int
GetGachaInfoReq
=
15
6
0
;
public
static
final
int
GetGachaInfoReq
=
150
9
;
public
static
final
int
GetGachaInfoRsp
=
153
3
;
public
static
final
int
GetGachaInfoRsp
=
153
1
;
public
static
final
int
GetHomeLevelUpRewardReq
=
4
508
;
public
static
final
int
GetHomeLevelUpRewardReq
=
4
747
;
public
static
final
int
GetHomeLevelUpRewardRsp
=
4
864
;
public
static
final
int
GetHomeLevelUpRewardRsp
=
4
517
;
public
static
final
int
GetHuntingOfferRewardReq
=
4
769
;
public
static
final
int
GetHuntingOfferRewardReq
=
4
328
;
public
static
final
int
GetHuntingOfferRewardRsp
=
4
860
;
public
static
final
int
GetHuntingOfferRewardRsp
=
4
303
;
public
static
final
int
GetInvestigationMonsterReq
=
192
8
;
public
static
final
int
GetInvestigationMonsterReq
=
19
0
2
;
public
static
final
int
GetInvestigationMonsterRsp
=
19
2
1
;
public
static
final
int
GetInvestigationMonsterRsp
=
19
1
1
;
public
static
final
int
GetMailItemReq
=
14
15
;
public
static
final
int
GetMailItemReq
=
14
37
;
public
static
final
int
GetMailItemRsp
=
143
7
;
public
static
final
int
GetMailItemRsp
=
143
2
;
public
static
final
int
GetMapAreaReq
=
3
269
;
public
static
final
int
GetMapAreaReq
=
3
466
;
public
static
final
int
GetMapAreaRsp
=
3
366
;
public
static
final
int
GetMapAreaRsp
=
3
012
;
public
static
final
int
GetMapMarkTipsReq
=
33
07
;
public
static
final
int
GetMapMarkTipsReq
=
33
29
;
public
static
final
int
GetMapMarkTipsRsp
=
3
040
;
public
static
final
int
GetMapMarkTipsRsp
=
3
118
;
public
static
final
int
GetMechanicusInfoReq
=
39
6
0
;
public
static
final
int
GetMechanicusInfoReq
=
390
9
;
public
static
final
int
GetMechanicusInfoRsp
=
393
3
;
public
static
final
int
GetMechanicusInfoRsp
=
393
1
;
public
static
final
int
GetNextResourceInfoReq
=
13
9
;
public
static
final
int
GetNextResourceInfoReq
=
1
5
3
;
public
static
final
int
GetNextResourceInfoRsp
=
1
87
;
public
static
final
int
GetNextResourceInfoRsp
=
1
39
;
public
static
final
int
GetOnlinePlayerInfoReq
=
4
6
;
public
static
final
int
GetOnlinePlayerInfoReq
=
4
5
;
public
static
final
int
GetOnlinePlayerInfoRsp
=
74
;
public
static
final
int
GetOnlinePlayerInfoRsp
=
90
;
public
static
final
int
GetOnlinePlayerListReq
=
4
5
;
public
static
final
int
GetOnlinePlayerListReq
=
3
5
;
public
static
final
int
GetOnlinePlayerListRsp
=
75
;
public
static
final
int
GetOnlinePlayerListRsp
=
49
;
public
static
final
int
GetOpActivityInfoReq
=
51
6
0
;
public
static
final
int
GetOpActivityInfoReq
=
510
9
;
public
static
final
int
GetOpActivityInfoRsp
=
513
3
;
public
static
final
int
GetOpActivityInfoRsp
=
513
1
;
public
static
final
int
GetPlayerAskFriendListReq
=
40
54
;
public
static
final
int
GetPlayerAskFriendListReq
=
40
08
;
public
static
final
int
GetPlayerAskFriendListRsp
=
40
35
;
public
static
final
int
GetPlayerAskFriendListRsp
=
40
04
;
public
static
final
int
GetPlayerBlacklistReq
=
40
02
;
public
static
final
int
GetPlayerBlacklistReq
=
40
76
;
public
static
final
int
GetPlayerBlacklistRsp
=
40
5
2
;
public
static
final
int
GetPlayerBlacklistRsp
=
40
7
2
;
public
static
final
int
GetPlayerFriendListReq
=
40
6
0
;
public
static
final
int
GetPlayerFriendListReq
=
400
9
;
public
static
final
int
GetPlayerFriendListRsp
=
403
3
;
public
static
final
int
GetPlayerFriendListRsp
=
403
1
;
public
static
final
int
GetPlayerHomeCompInfoReq
=
4
540
;
public
static
final
int
GetPlayerHomeCompInfoReq
=
4
845
;
public
static
final
int
GetPlayerMpModeAvailabilityReq
=
18
43
;
public
static
final
int
GetPlayerMpModeAvailabilityReq
=
18
16
;
public
static
final
int
GetPlayerMpModeAvailabilityRsp
=
18
26
;
public
static
final
int
GetPlayerMpModeAvailabilityRsp
=
18
01
;
public
static
final
int
GetPlayerSocialDetailReq
=
40
75
;
public
static
final
int
GetPlayerSocialDetailReq
=
40
49
;
public
static
final
int
GetPlayerSocialDetailRsp
=
40
34
;
public
static
final
int
GetPlayerSocialDetailRsp
=
40
82
;
public
static
final
int
GetPlayerTokenReq
=
1
6
0
;
public
static
final
int
GetPlayerTokenReq
=
10
9
;
public
static
final
int
GetPlayerTokenRsp
=
13
3
;
public
static
final
int
GetPlayerTokenRsp
=
13
1
;
public
static
final
int
GetPushTipsRewardReq
=
22
65
;
public
static
final
int
GetPushTipsRewardReq
=
22
12
;
public
static
final
int
GetPushTipsRewardRsp
=
22
03
;
public
static
final
int
GetPushTipsRewardRsp
=
22
58
;
public
static
final
int
GetQuestTalkHistoryReq
=
4
4
5
;
public
static
final
int
GetQuestTalkHistoryReq
=
4
3
5
;
public
static
final
int
GetQuestTalkHistoryRsp
=
4
75
;
public
static
final
int
GetQuestTalkHistoryRsp
=
4
49
;
public
static
final
int
GetRecentMpPlayerListReq
=
40
66
;
public
static
final
int
GetRecentMpPlayerListReq
=
40
11
;
public
static
final
int
GetRecentMpPlayerListRsp
=
40
73
;
public
static
final
int
GetRecentMpPlayerListRsp
=
40
22
;
public
static
final
int
GetRegionSearchReq
=
56
13
;
public
static
final
int
GetRegionSearchReq
=
56
28
;
public
static
final
int
GetReunionMissionInfoReq
=
50
93
;
public
static
final
int
GetReunionMissionInfoReq
=
50
66
;
public
static
final
int
GetReunionMissionInfoRsp
=
50
76
;
public
static
final
int
GetReunionMissionInfoRsp
=
50
51
;
public
static
final
int
GetReunionPrivilegeInfoReq
=
50
89
;
public
static
final
int
GetReunionPrivilegeInfoReq
=
50
62
;
public
static
final
int
GetReunionPrivilegeInfoRsp
=
50
71
;
public
static
final
int
GetReunionPrivilegeInfoRsp
=
50
96
;
public
static
final
int
GetReunionSignInInfoReq
=
50
63
;
public
static
final
int
GetReunionSignInInfoReq
=
50
78
;
public
static
final
int
GetReunionSignInInfoRsp
=
505
1
;
public
static
final
int
GetReunionSignInInfoRsp
=
505
3
;
public
static
final
int
GetSceneAreaReq
=
2
62
;
public
static
final
int
GetSceneAreaReq
=
2
38
;
public
static
final
int
GetSceneAreaRsp
=
2
89
;
public
static
final
int
GetSceneAreaRsp
=
2
06
;
public
static
final
int
GetSceneNpcPositionReq
=
5
15
;
public
static
final
int
GetSceneNpcPositionReq
=
5
37
;
public
static
final
int
GetSceneNpcPositionRsp
=
53
7
;
public
static
final
int
GetSceneNpcPositionRsp
=
53
2
;
public
static
final
int
GetScenePerformanceReq
=
3
217
;
public
static
final
int
GetScenePerformanceReq
=
3
340
;
public
static
final
int
GetScenePerformanceRsp
=
3
319
;
public
static
final
int
GetScenePerformanceRsp
=
3
447
;
public
static
final
int
GetScenePointReq
=
2
88
;
public
static
final
int
GetScenePointReq
=
2
30
;
public
static
final
int
GetScenePointRsp
=
2
28
;
public
static
final
int
GetScenePointRsp
=
2
97
;
public
static
final
int
GetShopmallDataReq
=
73
7
;
public
static
final
int
GetShopmallDataReq
=
73
2
;
public
static
final
int
GetShopmallDataRsp
=
7
93
;
public
static
final
int
GetShopmallDataRsp
=
7
17
;
public
static
final
int
GetShopReq
=
7
6
0
;
public
static
final
int
GetShopReq
=
70
9
;
public
static
final
int
GetShopRsp
=
73
3
;
public
static
final
int
GetShopRsp
=
73
1
;
public
static
final
int
GetSignInRewardReq
=
253
7
;
public
static
final
int
GetSignInRewardReq
=
253
2
;
public
static
final
int
GetSignInRewardRsp
=
25
93
;
public
static
final
int
GetSignInRewardRsp
=
25
17
;
public
static
final
int
GetWidgetSlotReq
=
42
58
;
public
static
final
int
GetWidgetSlotReq
=
42
67
;
public
static
final
int
GetWidgetSlotRsp
=
4
294
;
public
static
final
int
GetWidgetSlotRsp
=
4
300
;
public
static
final
int
GetWorldMpInfoReq
=
3
439
;
public
static
final
int
GetWorldMpInfoReq
=
3
264
;
public
static
final
int
GetWorldMpInfoRsp
=
3
424
;
public
static
final
int
GetWorldMpInfoRsp
=
3
179
;
public
static
final
int
GiveUpRoguelikeDungeonCardReq
=
8
425
;
public
static
final
int
GiveUpRoguelikeDungeonCardReq
=
8
977
;
public
static
final
int
GiveUpRoguelikeDungeonCardRsp
=
8
976
;
public
static
final
int
GiveUpRoguelikeDungeonCardRsp
=
8
583
;
public
static
final
int
GivingRecordChangeNotify
=
1
72
;
public
static
final
int
GivingRecordChangeNotify
=
1
89
;
public
static
final
int
GivingRecordNotify
=
1
53
;
public
static
final
int
GivingRecordNotify
=
1
87
;
public
static
final
int
GMShowNavMeshReq
=
23
84
;
public
static
final
int
GMShowNavMeshReq
=
23
77
;
public
static
final
int
GMShowNavMeshRsp
=
23
12
;
public
static
final
int
GMShowNavMeshRsp
=
23
43
;
public
static
final
int
GMShowObstacleReq
=
233
2
;
public
static
final
int
GMShowObstacleReq
=
23
9
3
;
public
static
final
int
GMShowObstacleRsp
=
23
51
;
public
static
final
int
GMShowObstacleRsp
=
23
60
;
public
static
final
int
GmTalkNotify
=
3
;
public
static
final
int
GmTalkNotify
=
58
;
public
static
final
int
GmTalkReq
=
3
3
;
public
static
final
int
GmTalkReq
=
3
1
;
public
static
final
int
GmTalkRsp
=
1
0
;
public
static
final
int
GmTalkRsp
=
4
1
;
public
static
final
int
GrantRewardNotify
=
6
80
;
public
static
final
int
GrantRewardNotify
=
6
13
;
public
static
final
int
GroupLinkAllNotify
=
578
5
;
public
static
final
int
GroupLinkAllNotify
=
57
6
8
;
public
static
final
int
GroupLinkChangeNotify
=
57
7
5
;
public
static
final
int
GroupLinkChangeNotify
=
575
9
;
public
static
final
int
GroupLinkDeleteNotify
=
579
5
;
public
static
final
int
GroupLinkDeleteNotify
=
579
3
;
public
static
final
int
GroupSuiteNotify
=
3
368
;
public
static
final
int
GroupSuiteNotify
=
3
476
;
public
static
final
int
GroupUnloadNotify
=
3
019
;
public
static
final
int
GroupUnloadNotify
=
3
416
;
public
static
final
int
GuestBeginEnterSceneNotify
=
3
033
;
public
static
final
int
GuestBeginEnterSceneNotify
=
3
125
;
public
static
final
int
GuestPostEnterSceneNotify
=
3
198
;
public
static
final
int
GuestPostEnterSceneNotify
=
3
379
;
public
static
final
int
H5ActivityIdsNotify
=
569
5
;
public
static
final
int
H5ActivityIdsNotify
=
569
3
;
public
static
final
int
HideAndSeekPlayerReadyNotify
=
53
3
0
;
public
static
final
int
HideAndSeekPlayerReadyNotify
=
530
2
;
public
static
final
int
HideAndSeekPlayerSetAvatarNotify
=
53
47
;
public
static
final
int
HideAndSeekPlayerSetAvatarNotify
=
53
16
;
public
static
final
int
HideAndSeekSelectAvatarReq
=
53
13
;
public
static
final
int
HideAndSeekSelectAvatarReq
=
53
29
;
public
static
final
int
HideAndSeekSelectAvatarRsp
=
53
36
;
public
static
final
int
HideAndSeekSelectAvatarRsp
=
53
25
;
public
static
final
int
HideAndSeekSelectSkillReq
=
8
689
;
public
static
final
int
HideAndSeekSelectSkillReq
=
8
307
;
public
static
final
int
HideAndSeekSelectSkillRsp
=
8
948
;
public
static
final
int
HideAndSeekSelectSkillRsp
=
8
227
;
public
static
final
int
HideAndSeekSetReadyReq
=
53
24
;
public
static
final
int
HideAndSeekSetReadyReq
=
53
83
;
public
static
final
int
HideAndSeekSetReadyRsp
=
53
61
;
public
static
final
int
HideAndSeekSetReadyRsp
=
53
03
;
public
static
final
int
HideAndSeekSettleNotify
=
533
8
;
public
static
final
int
HideAndSeekSettleNotify
=
533
4
;
public
static
final
int
HitClientTrivialNotify
=
2
50
;
public
static
final
int
HitClientTrivialNotify
=
2
18
;
public
static
final
int
HitTreeNotify
=
3
43
2
;
public
static
final
int
HitTreeNotify
=
3
22
2
;
public
static
final
int
HomeAvatarAllFinishRewardNotify
=
46
12
;
public
static
final
int
HomeAvatarAllFinishRewardNotify
=
46
48
;
public
static
final
int
HomeAvatarCostumeChangeNotify
=
4
888
;
public
static
final
int
HomeAvatarCostumeChangeNotify
=
4
685
;
public
static
final
int
HomeAvatarRewardEventGetReq
=
4
568
;
public
static
final
int
HomeAvatarRewardEventGetReq
=
4
775
;
public
static
final
int
HomeAvatarRewardEventGetRsp
=
4
45
3
;
public
static
final
int
HomeAvatarRewardEventGetRsp
=
4
87
3
;
public
static
final
int
HomeAvatarRewardEventNotify
=
4
801
;
public
static
final
int
HomeAvatarRewardEventNotify
=
4
789
;
public
static
final
int
HomeAvatarSummonAllEventNotify
=
4
575
;
public
static
final
int
HomeAvatarSummonAllEventNotify
=
4
617
;
public
static
final
int
HomeAvatarSummonEventReq
=
4
871
;
public
static
final
int
HomeAvatarSummonEventReq
=
4
615
;
public
static
final
int
HomeAvatarSummonEventRsp
=
4
895
;
public
static
final
int
HomeAvatarSummonEventRsp
=
4
498
;
public
static
final
int
HomeAvatarSummonFinishReq
=
4
654
;
public
static
final
int
HomeAvatarSummonFinishReq
=
4
748
;
public
static
final
int
HomeAvatarSummonFinishRsp
=
4
503
;
public
static
final
int
HomeAvatarSummonFinishRsp
=
4
782
;
public
static
final
int
HomeAvatarTalkFinishInfoNotify
=
4
800
;
public
static
final
int
HomeAvatarTalkFinishInfoNotify
=
4
502
;
public
static
final
int
HomeAvatarTalkReq
=
4
610
;
public
static
final
int
HomeAvatarTalkReq
=
4
712
;
public
static
final
int
HomeAvatarTalkRsp
=
4
507
;
public
static
final
int
HomeAvatarTalkRsp
=
4
700
;
public
static
final
int
HomeAvtarAllFinishRewardNotify
=
4
546
;
public
static
final
int
HomeAvtarAllFinishRewardNotify
=
4
849
;
public
static
final
int
HomeBasicInfoNotify
=
48
69
;
public
static
final
int
HomeBasicInfoNotify
=
48
72
;
public
static
final
int
HomeBlockNotify
=
4
784
;
public
static
final
int
HomeBlockNotify
=
4
542
;
public
static
final
int
HomeChangeEditModeReq
=
4
483
;
public
static
final
int
HomeChangeEditModeReq
=
4
625
;
public
static
final
int
HomeChangeEditModeRsp
=
488
0
;
public
static
final
int
HomeChangeEditModeRsp
=
488
5
;
public
static
final
int
HomeChangeModuleReq
=
46
04
;
public
static
final
int
HomeChangeModuleReq
=
46
88
;
public
static
final
int
HomeChangeModuleRsp
=
4
63
1
;
public
static
final
int
HomeChangeModuleRsp
=
4
82
1
;
public
static
final
int
HomeChooseModuleReq
=
4
567
;
public
static
final
int
HomeChooseModuleReq
=
4
479
;
public
static
final
int
HomeChooseModuleRsp
=
4
633
;
public
static
final
int
HomeChooseModuleRsp
=
4
745
;
public
static
final
int
HomeComfortInfoNotify
=
4649
;
public
static
final
int
HomeComfortInfoNotify
=
4649
;
public
static
final
int
HomeCustomFurnitureInfoNotify
=
4636
;
public
static
final
int
HomeCustomFurnitureInfoNotify
=
4482
;
public
static
final
int
HomeEditCustomFurnitureReq
=
4621
;
public
static
final
int
HomeEditCustomFurnitureReq
=
4516
;
public
static
final
int
HomeEditCustomFurnitureRsp
=
4804
;
public
static
final
int
HomeEditCustomFurnitureRsp
=
4871
;
public
static
final
int
HomeFishFarmingInfoNotify
=
4893
;
public
static
final
int
HomeFishFarmingInfoNotify
=
4682
;
public
static
final
int
HomeGetArrangementInfoReq
=
4480
;
public
static
final
int
HomeGetArrangementInfoReq
=
4848
;
public
static
final
int
HomeGetArrangementInfoRsp
=
4781
;
public
static
final
int
HomeGetArrangementInfoRsp
=
4456
;
public
static
final
int
HomeGetBasicInfoReq
=
4839
;
public
static
final
int
HomeGetBasicInfoReq
=
4535
;
public
static
final
int
HomeGetFishFarmingInfoReq
=
4848
;
public
static
final
int
HomeGetFishFarmingInfoReq
=
4455
;
public
static
final
int
HomeGetFishFarmingInfoRsp
=
4451
;
public
static
final
int
HomeGetFishFarmingInfoRsp
=
4889
;
public
static
final
int
HomeGetOnlineStatusReq
=
4673
;
public
static
final
int
HomeGetOnlineStatusReq
=
4796
;
public
static
final
int
HomeGetOnlineStatusRsp
=
4626
;
public
static
final
int
HomeGetOnlineStatusRsp
=
4554
;
public
static
final
int
HomeKickPlayerReq
=
4547
;
public
static
final
int
HomeKickPlayerReq
=
4809
;
public
static
final
int
HomeKickPlayerRsp
=
4897
;
public
static
final
int
HomeKickPlayerRsp
=
4752
;
public
static
final
int
HomeLimitedShopBuyGoodsReq
=
4620
;
public
static
final
int
HomeLimitedShopBuyGoodsReq
=
4638
;
public
static
final
int
HomeLimitedShopBuyGoodsRsp
=
4667
;
public
static
final
int
HomeLimitedShopBuyGoodsRsp
=
4790
;
public
static
final
int
HomeLimitedShopGoodsListReq
=
4706
;
public
static
final
int
HomeLimitedShopGoodsListReq
=
4579
;
public
static
final
int
HomeLimitedShopGoodsListRsp
=
4587
;
public
static
final
int
HomeLimitedShopGoodsListRsp
=
4846
;
public
static
final
int
HomeLimitedShopInfoChangeNotify
=
4691
;
public
static
final
int
HomeLimitedShopInfoChangeNotify
=
4814
;
public
static
final
int
HomeLimitedShopInfoNotify
=
4679
;
public
static
final
int
HomeLimitedShopInfoNotify
=
4621
;
public
static
final
int
HomeLimitedShopInfoReq
=
4715
;
public
static
final
int
HomeLimitedShopInfoReq
=
4616
;
public
static
final
int
HomeLimitedShopInfoRsp
=
4808
;
public
static
final
int
HomeLimitedShopInfoRsp
=
4585
;
public
static
final
int
HomeMarkPointNotify
=
4764
;
public
static
final
int
HomeMarkPointNotify
=
4746
;
public
static
final
int
HomeModuleSeenReq
=
4642
;
public
static
final
int
HomeModuleSeenReq
=
4546
;
public
static
final
int
HomeModuleSeenRsp
=
4688
;
public
static
final
int
HomeModuleSeenRsp
=
4526
;
public
static
final
int
HomeModuleUnlockNotify
=
4778
;
public
static
final
int
HomeModuleUnlockNotify
=
4781
;
public
static
final
int
HomePlantFieldNotify
=
4529
;
public
static
final
int
HomePlantFieldNotify
=
4466
;
public
static
final
int
HomePlantInfoNotify
=
4832
;
public
static
final
int
HomePlantInfoNotify
=
4835
;
public
static
final
int
HomePlantInfoReq
=
4771
;
public
static
final
int
HomePlantInfoReq
=
4833
;
public
static
final
int
HomePlantInfoRsp
=
4806
;
public
static
final
int
HomePlantInfoRsp
=
4859
;
public
static
final
int
HomePlantSeedReq
=
4730
;
public
static
final
int
HomePlantSeedReq
=
4614
;
public
static
final
int
HomePlantSeedRsp
=
4857
;
public
static
final
int
HomePlantSeedRsp
=
4804
;
public
static
final
int
HomePlantWeedReq
=
4760
;
public
static
final
int
HomePlantWeedReq
=
4877
;
public
static
final
int
HomePlantWeedRsp
=
4463
;
public
static
final
int
HomePlantWeedRsp
=
4575
;
public
static
final
int
HomePriorCheckNotify
=
4601
;
public
static
final
int
HomePriorCheckNotify
=
4690
;
public
static
final
int
HomeResourceNotify
=
4513
;
public
static
final
int
HomeResourceNotify
=
4806
;
public
static
final
int
HomeResourceTakeFetterExpReq
=
4884
;
public
static
final
int
HomeResourceTakeFetterExpReq
=
4840
;
public
static
final
int
HomeResourceTakeFetterExpRsp
=
4608
;
public
static
final
int
HomeResourceTakeFetterExpRsp
=
4500
;
public
static
final
int
HomeResourceTakeHomeCoinReq
=
4812
;
public
static
final
int
HomeResourceTakeHomeCoinReq
=
4763
;
public
static
final
int
HomeResourceTakeHomeCoinRsp
=
4481
;
public
static
final
int
HomeResourceTakeHomeCoinRsp
=
4658
;
public
static
final
int
HomeSceneInitFinishReq
=
4520
;
public
static
final
int
HomeSceneInitFinishReq
=
4552
;
public
static
final
int
HomeSceneInitFinishRsp
=
4605
;
public
static
final
int
HomeSceneInitFinishRsp
=
4592
;
public
static
final
int
HomeSceneJumpReq
=
4862
;
public
static
final
int
HomeSceneJumpReq
=
4659
;
public
static
final
int
HomeSceneJumpRsp
=
4663
;
public
static
final
int
HomeSceneJumpRsp
=
4570
;
public
static
final
int
HomeTransferReq
=
4656
;
public
static
final
int
HomeTransferReq
=
4880
;
public
static
final
int
HomeTransferRsp
=
4669
;
public
static
final
int
HomeTransferRsp
=
4767
;
public
static
final
int
HomeUpdateArrangementInfoReq
=
4632
;
public
static
final
int
HomeUpdateArrangementInfoReq
=
4472
;
public
static
final
int
HomeUpdateArrangementInfoRsp
=
4820
;
public
static
final
int
HomeUpdateArrangementInfoRsp
=
4822
;
public
static
final
int
HomeUpdateFishFarmingInfoReq
=
4810
;
public
static
final
int
HomeUpdateFishFarmingInfoReq
=
4604
;
public
static
final
int
HomeUpdateFishFarmingInfoRsp
=
4500
;
public
static
final
int
HomeUpdateFishFarmingInfoRsp
=
4856
;
public
static
final
int
HostPlayerNotify
=
310
;
public
static
final
int
HostPlayerNotify
=
341
;
public
static
final
int
HuntingFailNotify
=
4345
;
public
static
final
int
HuntingFailNotify
=
4302
;
public
static
final
int
HuntingGiveUpReq
=
4313
;
public
static
final
int
HuntingGiveUpReq
=
4337
;
public
static
final
int
HuntingGiveUpRsp
=
4301
;
public
static
final
int
HuntingGiveUpRsp
=
4332
;
public
static
final
int
HuntingOngoingNotify
=
4348
;
public
static
final
int
HuntingOngoingNotify
=
4313
;
public
static
final
int
HuntingRevealClueNotify
=
4564
;
public
static
final
int
HuntingRevealClueNotify
=
4347
;
public
static
final
int
HuntingRevealFinalNotify
=
4335
;
public
static
final
int
HuntingRevealFinalNotify
=
4316
;
public
static
final
int
HuntingStartNotify
=
4694
;
public
static
final
int
HuntingStartNotify
=
4326
;
public
static
final
int
HuntingSuccessNotify
=
4325
;
public
static
final
int
HuntingSuccessNotify
=
4301
;
public
static
final
int
InBattleMechanicusBuildingPointsNotify
=
5344
;
public
static
final
int
InBattleMechanicusBuildingPointsNotify
=
5385
;
public
static
final
int
InBattleMechanicusCardResultNotify
=
5388
;
public
static
final
int
InBattleMechanicusCardResultNotify
=
5330
;
public
static
final
int
InBattleMechanicusConfirmCardNotify
=
5397
;
public
static
final
int
InBattleMechanicusConfirmCardNotify
=
5307
;
public
static
final
int
InBattleMechanicusConfirmCardReq
=
5379
;
public
static
final
int
InBattleMechanicusConfirmCardReq
=
5355
;
public
static
final
int
InBattleMechanicusConfirmCardRsp
=
5391
;
public
static
final
int
InBattleMechanicusConfirmCardRsp
=
5327
;
public
static
final
int
InBattleMechanicusExcapeMonsterNotify
=
5337
;
public
static
final
int
InBattleMechanicusExcapeMonsterNotify
=
5332
;
public
static
final
int
InBattleMechanicusLeftMonsterNotify
=
5393
;
public
static
final
int
InBattleMechanicusLeftMonsterNotify
=
5317
;
public
static
final
int
InBattleMechanicusPickCardNotify
=
5334
;
public
static
final
int
InBattleMechanicusPickCardNotify
=
5382
;
public
static
final
int
InBattleMechanicusPickCardReq
=
5345
;
public
static
final
int
InBattleMechanicusPickCardReq
=
5335
;
public
static
final
int
InBattleMechanicusPickCardRsp
=
5375
;
public
static
final
int
InBattleMechanicusPickCardRsp
=
5349
;
public
static
final
int
InBattleMechanicusSettleNotify
=
5355
;
public
static
final
int
InBattleMechanicusSettleNotify
=
5398
;
public
static
final
int
InteractDailyDungeonInfoNotify
=
947
;
public
static
final
int
InteractDailyDungeonInfoNotify
=
916
;
public
static
final
int
InterruptGalleryReq
=
5597
;
public
static
final
int
InterruptGalleryReq
=
5507
;
public
static
final
int
InterruptGalleryRsp
=
5588
;
public
static
final
int
InterruptGalleryRsp
=
5530
;
public
static
final
int
InvestigationMonsterUpdateNotify
=
1918
;
public
static
final
int
InvestigationMonsterUpdateNotify
=
1922
;
public
static
final
int
ItemAddHintNotify
=
637
;
public
static
final
int
ItemAddHintNotify
=
632
;
public
static
final
int
ItemCdGroupTimeNotify
=
666
;
public
static
final
int
ItemCdGroupTimeNotify
=
611
;
public
static
final
int
ItemExceedLimitNotify
=
639
;
public
static
final
int
ItemGivingReq
=
178
;
public
static
final
int
ItemGivingReq
=
170
;
public
static
final
int
ItemGivingRsp
=
108
;
public
static
final
int
ItemGivingRsp
=
154
;
public
static
final
int
JoinHomeWorldFailNotify
=
4863
;
public
static
final
int
JoinHomeWorldFailNotify
=
4502
;
public
static
final
int
JoinPlayerFailNotify
=
268
;
public
static
final
int
JoinPlayerFailNotify
=
295
;
public
static
final
int
JoinPlayerSceneReq
=
253
;
public
static
final
int
JoinPlayerSceneReq
=
239
;
public
static
final
int
JoinPlayerSceneRsp
=
239
;
public
static
final
int
JoinPlayerSceneRsp
=
287
;
public
static
final
int
KeepAliveNotify
=
9
;
public
static
final
int
KeepAliveNotify
=
60
;
public
static
final
int
LeaveSceneReq
=
231
;
public
static
final
int
LeaveSceneReq
=
233
;
public
static
final
int
LeaveSceneRsp
=
241
;
public
static
final
int
LeaveSceneRsp
=
210
;
public
static
final
int
LeaveWorldNotify
=
3420
;
public
static
final
int
LeaveWorldNotify
=
3203
;
public
static
final
int
LevelupCityReq
=
287
;
public
static
final
int
LevelupCityReq
=
253
;
public
static
final
int
LevelupCityRsp
=
289
;
public
static
final
int
LevelupCityRsp
=
272
;
public
static
final
int
LifeStateChangeNotify
=
1231
;
public
static
final
int
LifeStateChangeNotify
=
1233
;
public
static
final
int
LiveEndNotify
=
801
;
public
static
final
int
LiveEndNotify
=
801
;
public
static
final
int
LiveStartNotify
=
820
;
public
static
final
int
LiveStartNotify
=
820
;
public
static
final
int
LoadActivityTerrainNotify
=
2152
;
public
static
final
int
LoadActivityTerrainNotify
=
2175
;
public
static
final
int
LuaEnvironmentEffectNotify
=
3175
;
public
static
final
int
LuaEnvironmentEffectNotify
=
3289
;
public
static
final
int
LuaSetOptionNotify
=
353
;
public
static
final
int
LuaSetOptionNotify
=
387
;
public
static
final
int
LunaRiteAreaFinishNotify
=
8822
;
public
static
final
int
LunaRiteAreaFinishNotify
=
8107
;
public
static
final
int
LunaRiteGroupBundleRegisterNotify
=
8956
;
public
static
final
int
LunaRiteGroupBundleRegisterNotify
=
8327
;
public
static
final
int
LunaRiteHintPointRemoveNotify
=
8544
;
public
static
final
int
LunaRiteHintPointRemoveNotify
=
8420
;
public
static
final
int
LunaRiteHintPointReq
=
8173
;
public
static
final
int
LunaRiteHintPointReq
=
8342
;
public
static
final
int
LunaRiteHintPointRsp
=
8129
;
public
static
final
int
LunaRiteHintPointRsp
=
8481
;
public
static
final
int
LunaRiteSacrificeReq
=
8364
;
public
static
final
int
LunaRiteSacrificeReq
=
8062
;
public
static
final
int
LunaRiteSacrificeRsp
=
8328
;
public
static
final
int
LunaRiteSacrificeRsp
=
8401
;
public
static
final
int
LunaRiteTakeSacrificeRewardReq
=
8987
;
public
static
final
int
LunaRiteTakeSacrificeRewardReq
=
8669
;
public
static
final
int
LunaRiteTakeSacrificeRewardRsp
=
8352
;
public
static
final
int
LunaRiteTakeSacrificeRewardRsp
=
8252
;
public
static
final
int
MailChangeNotify
=
1433
;
public
static
final
int
MailChangeNotify
=
1431
;
public
static
final
int
MainCoopUpdateNotify
=
1975
;
public
static
final
int
MainCoopUpdateNotify
=
1959
;
public
static
final
int
MapAreaChangeNotify
=
3055
;
public
static
final
int
MapAreaChangeNotify
=
3103
;
public
static
final
int
MarkEntityInMinMapNotify
=
230
;
public
static
final
int
MarkEntityInMinMapNotify
=
202
;
public
static
final
int
MarkMapReq
=
3053
;
public
static
final
int
MarkMapReq
=
3208
;
public
static
final
int
MarkMapRsp
=
3139
;
public
static
final
int
MarkMapRsp
=
3421
;
public
static
final
int
MarkNewNotify
=
1291
;
public
static
final
int
MarkNewNotify
=
1227
;
public
static
final
int
MarkTargetInvestigationMonsterNotify
=
1924
;
public
static
final
int
MarkTargetInvestigationMonsterNotify
=
1928
;
public
static
final
int
MassiveEntityElementOpBatchNotify
=
384
;
public
static
final
int
MassiveEntityElementOpBatchNotify
=
377
;
public
static
final
int
MassiveEntityStateChangedNotify
=
361
;
public
static
final
int
MassiveEntityStateChangedNotify
=
303
;
public
static
final
int
MaterialDeleteReturnNotify
=
632
;
public
static
final
int
MaterialDeleteReturnNotify
=
693
;
public
static
final
int
MaterialDeleteUpdateNotify
=
612
;
public
static
final
int
MaterialDeleteUpdateNotify
=
643
;
public
static
final
int
McoinExchangeHcoinReq
=
653
;
public
static
final
int
McoinExchangeHcoinReq
=
687
;
public
static
final
int
McoinExchangeHcoinRsp
=
672
;
public
static
final
int
McoinExchangeHcoinRsp
=
689
;
public
static
final
int
MechanicusCandidateTeamCreateReq
=
3928
;
public
static
final
int
MechanicusCandidateTeamCreateReq
=
3997
;
public
static
final
int
MechanicusCandidateTeamCreateRsp
=
3955
;
public
static
final
int
MechanicusCandidateTeamCreateRsp
=
3998
;
public
static
final
int
MechanicusCloseNotify
=
3993
;
public
static
final
int
MechanicusCloseNotify
=
3917
;
public
static
final
int
MechanicusCoinNotify
=
3915
;
public
static
final
int
MechanicusCoinNotify
=
3937
;
public
static
final
int
MechanicusLevelupGearReq
=
3975
;
public
static
final
int
MechanicusLevelupGearReq
=
3949
;
public
static
final
int
MechanicusLevelupGearRsp
=
3934
;
public
static
final
int
MechanicusLevelupGearRsp
=
3982
;
public
static
final
int
MechanicusOpenNotify
=
3937
;
public
static
final
int
MechanicusOpenNotify
=
3932
;
public
static
final
int
MechanicusSequenceOpenNotify
=
3910
;
public
static
final
int
MechanicusSequenceOpenNotify
=
3941
;
public
static
final
int
MechanicusUnlockGearReq
=
3944
;
public
static
final
int
MechanicusUnlockGearReq
=
3985
;
public
static
final
int
MechanicusUnlockGearRsp
=
3945
;
public
static
final
int
MechanicusUnlockGearRsp
=
3935
;
public
static
final
int
MeetNpcReq
=
544
;
public
static
final
int
MeetNpcReq
=
585
;
public
static
final
int
MeetNpcRsp
=
545
;
public
static
final
int
MeetNpcRsp
=
535
;
public
static
final
int
MetNpcIdListNotify
=
593
;
public
static
final
int
MetNpcIdListNotify
=
517
;
public
static
final
int
MiracleRingDataNotify
=
5245
;
public
static
final
int
MiracleRingDataNotify
=
5243
;
public
static
final
int
MiracleRingDeliverItemReq
=
5217
;
public
static
final
int
MiracleRingDeliverItemReq
=
5226
;
public
static
final
int
MiracleRingDeliverItemRsp
=
5236
;
public
static
final
int
MiracleRingDeliverItemRsp
=
5247
;
public
static
final
int
MiracleRingDestroyNotify
=
5243
;
public
static
final
int
MiracleRingDestroyNotify
=
5216
;
public
static
final
int
MiracleRingDropResultNotify
=
5201
;
public
static
final
int
MiracleRingDropResultNotify
=
5203
;
public
static
final
int
MiracleRingTakeRewardReq
=
5248
;
public
static
final
int
MiracleRingTakeRewardReq
=
5204
;
public
static
final
int
MiracleRingTakeRewardRsp
=
5213
;
public
static
final
int
MiracleRingTakeRewardRsp
=
5228
;
public
static
final
int
MistTrialDunegonFailNotify
=
8337
;
public
static
final
int
MistTrialDunegonFailNotify
=
8580
;
public
static
final
int
MistTrialGetChallengeMissionReq
=
8250
;
public
static
final
int
MistTrialGetChallengeMissionReq
=
8668
;
public
static
final
int
MistTrialGetChallengeMissionRsp
=
8894
;
public
static
final
int
MistTrialGetChallengeMissionRsp
=
8385
;
public
static
final
int
MistTrialSelectAvatarAndEnterDungeonReq
=
8186
;
public
static
final
int
MistTrialSelectAvatarAndEnterDungeonReq
=
8318
;
public
static
final
int
MistTrialSelectAvatarAndEnterDungeonRsp
=
8522
;
public
static
final
int
MistTrialSelectAvatarAndEnterDungeonRsp
=
8403
;
public
static
final
int
MonsterAIConfigHashNotify
=
3024
;
public
static
final
int
MonsterAIConfigHashNotify
=
3121
;
public
static
final
int
MonsterAlertChangeNotify
=
380
;
public
static
final
int
MonsterAlertChangeNotify
=
313
;
public
static
final
int
MonsterForceAlertNotify
=
364
;
public
static
final
int
MonsterForceAlertNotify
=
342
;
public
static
final
int
MonsterPointArrayRouteUpdateNotify
=
3292
;
public
static
final
int
MonsterPointArrayRouteUpdateNotify
=
3138
;
public
static
final
int
MonsterSummonTagNotify
=
1360
;
public
static
final
int
MonsterSummonTagNotify
=
1309
;
public
static
final
int
MpBlockNotify
=
1824
;
public
static
final
int
MpBlockNotify
=
1808
;
public
static
final
int
MpPlayGuestReplyInviteReq
=
1850
;
public
static
final
int
MpPlayGuestReplyInviteReq
=
1811
;
public
static
final
int
MpPlayGuestReplyInviteRsp
=
1822
;
public
static
final
int
MpPlayGuestReplyInviteRsp
=
1841
;
public
static
final
int
MpPlayGuestReplyNotify
=
1802
;
public
static
final
int
MpPlayGuestReplyNotify
=
1805
;
public
static
final
int
MpPlayInviteResultNotify
=
1830
;
public
static
final
int
MpPlayInviteResultNotify
=
1806
;
public
static
final
int
MpPlayOwnerCheckReq
=
1812
;
public
static
final
int
MpPlayOwnerCheckReq
=
1814
;
public
static
final
int
MpPlayOwnerCheckRsp
=
1839
;
public
static
final
int
MpPlayOwnerCheckRsp
=
1812
;
public
static
final
int
MpPlayOwnerInviteNotify
=
1831
;
public
static
final
int
MpPlayOwnerInviteNotify
=
1815
;
public
static
final
int
MpPlayOwnerStartInviteReq
=
1821
;
public
static
final
int
MpPlayOwnerStartInviteReq
=
1846
;
public
static
final
int
MpPlayOwnerStartInviteRsp
=
1846
;
public
static
final
int
MpPlayOwnerStartInviteRsp
=
1827
;
public
static
final
int
MpPlayPrepareInterruptNotify
=
1838
;
public
static
final
int
MpPlayPrepareInterruptNotify
=
1848
;
public
static
final
int
MpPlayPrepareNotify
=
1833
;
public
static
final
int
MpPlayPrepareNotify
=
1839
;
public
static
final
int
MultistagePlayEndNotify
=
5307
;
public
static
final
int
MultistagePlayEndNotify
=
5375
;
public
static
final
int
MultistagePlayFinishStageReq
=
5333
;
public
static
final
int
MultistagePlayFinishStageReq
=
5331
;
public
static
final
int
MultistagePlayFinishStageRsp
=
5328
;
public
static
final
int
MultistagePlayFinishStageRsp
=
5397
;
public
static
final
int
MultistagePlayInfoNotify
=
5360
;
public
static
final
int
MultistagePlayInfoNotify
=
5309
;
public
static
final
int
MultistagePlaySettleNotify
=
5318
;
public
static
final
int
MultistagePlaySettleNotify
=
5314
;
public
static
final
int
MultistagePlayStageEndNotify
=
5321
;
public
static
final
int
MultistagePlayStageEndNotify
=
5340
;
public
static
final
int
MusicGameSettleReq
=
8851
;
public
static
final
int
MusicGameSettleReq
=
8745
;
public
static
final
int
MusicGameSettleRsp
=
8028
;
public
static
final
int
MusicGameSettleRsp
=
8288
;
public
static
final
int
MusicGameStartReq
=
8760
;
public
static
final
int
MusicGameStartReq
=
8927
;
public
static
final
int
MusicGameStartRsp
=
8922
;
public
static
final
int
MusicGameStartRsp
=
8101
;
public
static
final
int
NavMeshStatsNotify
=
2353
;
public
static
final
int
NavMeshStatsNotify
=
2387
;
public
static
final
int
NormalUidOpNotify
=
5735
;
public
static
final
int
NormalUidOpNotify
=
5718
;
public
static
final
int
NpcTalkReq
=
560
;
public
static
final
int
NpcTalkReq
=
509
;
public
static
final
int
NpcTalkRsp
=
533
;
public
static
final
int
NpcTalkRsp
=
531
;
public
static
final
int
ObstacleModifyNotify
=
2310
;
public
static
final
int
ObstacleModifyNotify
=
2341
;
public
static
final
int
OfferingInteractReq
=
2916
;
public
static
final
int
OfferingInteractReq
=
2908
;
public
static
final
int
OfferingInteractRsp
=
2912
;
public
static
final
int
OfferingInteractRsp
=
2923
;
public
static
final
int
OneoffGatherPointDetectorDataNotify
=
4289
;
public
static
final
int
OneoffGatherPointDetectorDataNotify
=
4262
;
public
static
final
int
OpActivityDataNotify
=
5110
;
public
static
final
int
OpActivityDataNotify
=
5141
;
public
static
final
int
OpActivityStateNotify
=
2560
;
public
static
final
int
OpActivityStateNotify
=
2509
;
public
static
final
int
OpActivityUpdateNotify
=
5115
;
public
static
final
int
OpActivityUpdateNotify
=
5137
;
public
static
final
int
OpenBlossomCircleCampGuideNotify
=
2744
;
public
static
final
int
OpenBlossomCircleCampGuideNotify
=
2785
;
public
static
final
int
OpenStateChangeNotify
=
165
;
public
static
final
int
OpenStateChangeNotify
=
112
;
public
static
final
int
OpenStateUpdateNotify
=
109
;
public
static
final
int
OpenStateUpdateNotify
=
119
;
public
static
final
int
OrderDisplayNotify
=
4101
;
public
static
final
int
OrderDisplayNotify
=
4103
;
public
static
final
int
OrderFinishNotify
=
4145
;
public
static
final
int
OrderFinishNotify
=
4143
;
public
static
final
int
OtherPlayerEnterHomeNotify
=
4591
;
public
static
final
int
OtherPlayerEnterHomeNotify
=
4609
;
public
static
final
int
PacketHead
=
13371337
;
public
static
final
int
PathfindingEnterSceneReq
=
2332
;
public
static
final
int
PathfindingEnterSceneReq
=
2337
;
public
static
final
int
PathfindingEnterSceneRsp
=
2317
;
public
static
final
int
PathfindingEnterSceneRsp
=
2393
;
public
static
final
int
PathfindingPingNotify
=
2337
;
public
static
final
int
PathfindingPingNotify
=
2315
;
public
static
final
int
PersonalLineAllDataReq
=
446
;
public
static
final
int
PersonalLineAllDataReq
=
408
;
public
static
final
int
PersonalLineAllDataRsp
=
433
;
public
static
final
int
PersonalLineAllDataRsp
=
417
;
public
static
final
int
PersonalLineNewUnlockNotify
=
470
;
public
static
final
int
PersonalLineNewUnlockNotify
=
423
;
public
static
final
int
PersonalSceneJumpReq
=
266
;
public
static
final
int
PersonalSceneJumpReq
=
286
;
public
static
final
int
PersonalSceneJumpRsp
=
248
;
public
static
final
int
PersonalSceneJumpRsp
=
277
;
public
static
final
int
PingReq
=
32
;
public
static
final
int
PingReq
=
37
;
public
static
final
int
PingRsp
=
17
;
public
static
final
int
PingRsp
=
93
;
public
static
final
int
PlantFlowerAcceptAllGiveFlowerReq
=
8017
;
public
static
final
int
PlantFlowerAcceptAllGiveFlowerReq
=
8775
;
public
static
final
int
PlantFlowerAcceptAllGiveFlowerRsp
=
8831
;
public
static
final
int
PlantFlowerAcceptAllGiveFlowerRsp
=
8174
;
public
static
final
int
PlantFlowerAcceptGiveFlowerReq
=
8137
;
public
static
final
int
PlantFlowerAcceptGiveFlowerReq
=
8525
;
public
static
final
int
PlantFlowerAcceptGiveFlowerRsp
=
8431
;
public
static
final
int
PlantFlowerAcceptGiveFlowerRsp
=
8957
;
public
static
final
int
PlantFlowerEditFlowerCombinationReq
=
8506
;
public
static
final
int
PlantFlowerEditFlowerCombinationReq
=
8347
;
public
static
final
int
PlantFlowerEditFlowerCombinationRsp
=
8335
;
public
static
final
int
PlantFlowerEditFlowerCombinationRsp
=
8625
;
public
static
final
int
PlantFlowerGetCanGiveFriendFlowerReq
=
8648
;
public
static
final
int
PlantFlowerGetCanGiveFriendFlowerReq
=
8617
;
public
static
final
int
PlantFlowerGetCanGiveFriendFlowerRsp
=
8507
;
public
static
final
int
PlantFlowerGetCanGiveFriendFlowerRsp
=
8091
;
public
static
final
int
PlantFlowerGetFriendFlowerWishListReq
=
8840
;
public
static
final
int
PlantFlowerGetFriendFlowerWishListReq
=
8893
;
public
static
final
int
PlantFlowerGetFriendFlowerWishListRsp
=
8553
;
public
static
final
int
PlantFlowerGetFriendFlowerWishListRsp
=
8476
;
public
static
final
int
PlantFlowerGetRecvFlowerListReq
=
8914
;
public
static
final
int
PlantFlowerGetRecvFlowerListReq
=
8459
;
public
static
final
int
PlantFlowerGetRecvFlowerListRsp
=
8929
;
public
static
final
int
PlantFlowerGetRecvFlowerListRsp
=
8597
;
public
static
final
int
PlantFlowerGetSeedInfoReq
=
8913
;
public
static
final
int
PlantFlowerGetSeedInfoReq
=
8535
;
public
static
final
int
PlantFlowerGetSeedInfoRsp
=
8932
;
public
static
final
int
PlantFlowerGetSeedInfoRsp
=
8584
;
public
static
final
int
PlantFlowerGiveFriendFlowerReq
=
8836
;
public
static
final
int
PlantFlowerGiveFriendFlowerReq
=
8934
;
public
static
final
int
PlantFlowerGiveFriendFlowerRsp
=
8893
;
public
static
final
int
PlantFlowerGiveFriendFlowerRsp
=
8456
;
public
static
final
int
PlantFlowerHaveRecvFlowerNotify
=
8174
;
public
static
final
int
PlantFlowerHaveRecvFlowerNotify
=
8711
;
public
static
final
int
PlantFlowerSetFlowerWishReq
=
8650
;
public
static
final
int
PlantFlowerSetFlowerWishReq
=
8601
;
public
static
final
int
PlantFlowerSetFlowerWishRsp
=
8588
;
public
static
final
int
PlantFlowerSetFlowerWishRsp
=
8550
;
public
static
final
int
PlantFlowerTakeSeedRewardReq
=
8182
;
public
static
final
int
PlantFlowerTakeSeedRewardReq
=
8317
;
public
static
final
int
PlantFlowerTakeSeedRewardRsp
=
8386
;
public
static
final
int
PlantFlowerTakeSeedRewardRsp
=
8152
;
public
static
final
int
PlatformChangeRouteNotify
=
205
;
public
static
final
int
PlatformChangeRouteNotify
=
257
;
public
static
final
int
PlatformStartRouteNotify
=
208
;
public
static
final
int
PlatformStartRouteNotify
=
254
;
public
static
final
int
PlatformStopRouteNotify
=
204
;
public
static
final
int
PlatformStopRouteNotify
=
235
;
public
static
final
int
PlayerAllowEnterMpAfterAgreeMatchNotify
=
4151
;
public
static
final
int
PlayerAllowEnterMpAfterAgreeMatchNotify
=
4176
;
public
static
final
int
PlayerApplyEnterHomeNotify
=
4504
;
public
static
final
int
PlayerApplyEnterHomeNotify
=
4614
;
public
static
final
int
PlayerApplyEnterHomeResultNotify
=
4766
;
public
static
final
int
PlayerApplyEnterHomeResultNotify
=
4580
;
public
static
final
int
PlayerApplyEnterHomeResultReq
=
4568
;
public
static
final
int
PlayerApplyEnterHomeResultReq
=
4603
;
public
static
final
int
PlayerApplyEnterHomeResultRsp
=
4697
;
public
static
final
int
PlayerApplyEnterHomeResultRsp
=
4849
;
public
static
final
int
PlayerApplyEnterMpAfterMatchAgreedNotify
=
4163
;
public
static
final
int
PlayerApplyEnterMpAfterMatchAgreedNotify
=
4177
;
public
static
final
int
PlayerApplyEnterMpNotify
=
1818
;
public
static
final
int
PlayerApplyEnterMpNotify
=
1835
;
public
static
final
int
PlayerApplyEnterMpReq
=
1809
;
public
static
final
int
PlayerApplyEnterMpReq
=
1825
;
public
static
final
int
PlayerApplyEnterMpResultNotify
=
1804
;
public
static
final
int
PlayerApplyEnterMpResultNotify
=
1848
;
public
static
final
int
PlayerApplyEnterMpResultReq
=
1828
;
public
static
final
int
PlayerApplyEnterMpResultReq
=
1813
;
public
static
final
int
PlayerApplyEnterMpResultRsp
=
1803
;
public
static
final
int
PlayerApplyEnterMpResultRsp
=
1801
;
public
static
final
int
PlayerApplyEnterMpRsp
=
1843
;
public
static
final
int
PlayerApplyEnterMpRsp
=
1845
;
public
static
final
int
PlayerCancelMatchReq
=
4154
;
public
static
final
int
PlayerCancelMatchReq
=
4198
;
public
static
final
int
PlayerCancelMatchRsp
=
4178
;
public
static
final
int
PlayerCancelMatchRsp
=
4163
;
public
static
final
int
PlayerChatCDNotify
=
3464
;
public
static
final
int
PlayerChatCDNotify
=
3173
;
public
static
final
int
PlayerChatNotify
=
3295
;
public
static
final
int
PlayerChatNotify
=
3485
;
public
static
final
int
PlayerChatReq
=
3378
;
public
static
final
int
PlayerChatReq
=
3403
;
public
static
final
int
PlayerChatRsp
=
3321
;
public
static
final
int
PlayerChatRsp
=
3045
;
public
static
final
int
PlayerCompoundMaterialReq
=
122
;
public
static
final
int
PlayerCompoundMaterialReq
=
173
;
public
static
final
int
PlayerCompoundMaterialRsp
=
154
;
public
static
final
int
PlayerCompoundMaterialRsp
=
163
;
public
static
final
int
PlayerConfirmMatchReq
=
4197
;
public
static
final
int
PlayerConfirmMatchReq
=
4186
;
public
static
final
int
PlayerConfirmMatchRsp
=
4166
;
public
static
final
int
PlayerConfirmMatchRsp
=
4193
;
public
static
final
int
PlayerCookArgsReq
=
104
;
public
static
final
int
PlayerCookArgsReq
=
135
;
public
static
final
int
PlayerCookArgsRsp
=
105
;
public
static
final
int
PlayerCookArgsRsp
=
157
;
public
static
final
int
PlayerCookReq
=
158
;
public
static
final
int
PlayerCookReq
=
103
;
public
static
final
int
PlayerCookRsp
=
150
;
public
static
final
int
PlayerCookRsp
=
167
;
public
static
final
int
PlayerDataNotify
=
135
;
public
static
final
int
PlayerDataNotify
=
145
;
public
static
final
int
PlayerEnterDungeonReq
=
941
;
public
static
final
int
PlayerEnterDungeonReq
=
910
;
public
static
final
int
PlayerEnterDungeonRsp
=
937
;
public
static
final
int
PlayerEnterDungeonRsp
=
915
;
public
static
final
int
PlayerEnterSceneInfoNotify
=
274
;
public
static
final
int
PlayerEnterSceneInfoNotify
=
294
;
public
static
final
int
PlayerEnterSceneNotify
=
209
;
public
static
final
int
PlayerEnterSceneNotify
=
260
;
public
static
final
int
PlayerEyePointStateNotify
=
3376
;
public
static
final
int
PlayerEyePointStateNotify
=
3461
;
public
static
final
int
PlayerFishingDataNotify
=
5815
;
public
static
final
int
PlayerFishingDataNotify
=
5831
;
public
static
final
int
PlayerForceExitReq
=
173
;
public
static
final
int
PlayerForceExitReq
=
125
;
public
static
final
int
PlayerForceExitRsp
=
161
;
public
static
final
int
PlayerForceExitRsp
=
149
;
public
static
final
int
PlayerGameTimeNotify
=
155
;
public
static
final
int
PlayerGameTimeNotify
=
179
;
public
static
final
int
PlayerGeneralMatchConfirmNotify
=
4182
;
public
static
final
int
PlayerGeneralMatchConfirmNotify
=
4156
;
public
static
final
int
PlayerGeneralMatchDismissNotify
=
4187
;
public
static
final
int
PlayerGeneralMatchDismissNotify
=
4187
;
public
static
final
int
PlayerGetForceQuitBanInfoReq
=
416
2
;
public
static
final
int
PlayerGetForceQuitBanInfoReq
=
416
4
;
public
static
final
int
PlayerGetForceQuitBanInfoRsp
=
41
89
;
public
static
final
int
PlayerGetForceQuitBanInfoRsp
=
41
62
;
public
static
final
int
PlayerHomeCompInfoNotify
=
4
8
63
;
public
static
final
int
PlayerHomeCompInfoNotify
=
4
5
63
;
public
static
final
int
PlayerInjectFixNotify
=
18
5
;
public
static
final
int
PlayerInjectFixNotify
=
18
8
;
public
static
final
int
PlayerInvestigationAllInfoNotify
=
19
2
0
;
public
static
final
int
PlayerInvestigationAllInfoNotify
=
190
5
;
public
static
final
int
PlayerInvestigationNotify
=
19
01
;
public
static
final
int
PlayerInvestigationNotify
=
19
27
;
public
static
final
int
PlayerInvestigationTargetNotify
=
19
19
;
public
static
final
int
PlayerInvestigationTargetNotify
=
19
06
;
public
static
final
int
PlayerLevelRewardUpdateNotify
=
1
12
;
public
static
final
int
PlayerLevelRewardUpdateNotify
=
1
43
;
public
static
final
int
PlayerLoginReq
=
11
0
;
public
static
final
int
PlayerLoginReq
=
1
4
1
;
public
static
final
int
PlayerLoginRsp
=
1
15
;
public
static
final
int
PlayerLoginRsp
=
1
37
;
public
static
final
int
PlayerLogoutNotify
=
1
44
;
public
static
final
int
PlayerLogoutNotify
=
1
85
;
public
static
final
int
PlayerLogoutReq
=
13
7
;
public
static
final
int
PlayerLogoutReq
=
13
2
;
public
static
final
int
PlayerLogoutRsp
=
1
93
;
public
static
final
int
PlayerLogoutRsp
=
1
17
;
public
static
final
int
PlayerLuaShellNotify
=
1
43
;
public
static
final
int
PlayerLuaShellNotify
=
1
10
;
public
static
final
int
PlayerMatchAgreedResultNotify
=
41
6
5
;
public
static
final
int
PlayerMatchAgreedResultNotify
=
415
2
;
public
static
final
int
PlayerMatchInfoNotify
=
419
5
;
public
static
final
int
PlayerMatchInfoNotify
=
419
3
;
public
static
final
int
PlayerMatchStopNotify
=
415
1
;
public
static
final
int
PlayerMatchStopNotify
=
415
3
;
public
static
final
int
PlayerMatchSuccNotify
=
41
6
7
;
public
static
final
int
PlayerMatchSuccNotify
=
417
6
;
public
static
final
int
PlayerOfferingDataNotify
=
291
5
;
public
static
final
int
PlayerOfferingDataNotify
=
29
0
1
;
public
static
final
int
PlayerOfferingReq
=
29
14
;
public
static
final
int
PlayerOfferingReq
=
29
06
;
public
static
final
int
PlayerOfferingRsp
=
291
7
;
public
static
final
int
PlayerOfferingRsp
=
291
1
;
public
static
final
int
PlayerPreEnterMpNotify
=
18
36
;
public
static
final
int
PlayerPreEnterMpNotify
=
18
47
;
public
static
final
int
PlayerPropChangeNotify
=
1
5
6
;
public
static
final
int
PlayerPropChangeNotify
=
1
8
6
;
public
static
final
int
PlayerPropChangeReasonNotify
=
12
34
;
public
static
final
int
PlayerPropChangeReasonNotify
=
12
82
;
public
static
final
int
PlayerPropNotify
=
1
91
;
public
static
final
int
PlayerPropNotify
=
1
27
;
public
static
final
int
PlayerQuitDungeonReq
=
93
7
;
public
static
final
int
PlayerQuitDungeonReq
=
93
2
;
public
static
final
int
PlayerQuitDungeonRsp
=
9
93
;
public
static
final
int
PlayerQuitDungeonRsp
=
9
17
;
public
static
final
int
PlayerQuitFromHomeNotify
=
47
5
7
;
public
static
final
int
PlayerQuitFromHomeNotify
=
477
6
;
public
static
final
int
PlayerQuitFromMpNotify
=
18
17
;
public
static
final
int
PlayerQuitFromMpNotify
=
18
26
;
public
static
final
int
PlayerRandomCookReq
=
120
;
public
static
final
int
PlayerRandomCookReq
=
120
;
public
static
final
int
PlayerRandomCookRsp
=
1
80
;
public
static
final
int
PlayerRandomCookRsp
=
1
13
;
public
static
final
int
PlayerRechargeDataNotify
=
41
13
;
public
static
final
int
PlayerRechargeDataNotify
=
41
28
;
public
static
final
int
PlayerReportReq
=
409
2
;
public
static
final
int
PlayerReportReq
=
40
5
9
;
public
static
final
int
PlayerReportRsp
=
40
5
8
;
public
static
final
int
PlayerReportRsp
=
408
4
;
public
static
final
int
PlayerRoutineDataNotify
=
35
35
;
public
static
final
int
PlayerRoutineDataNotify
=
35
18
;
public
static
final
int
PlayerSetLanguageReq
=
1
23
;
public
static
final
int
PlayerSetLanguageReq
=
1
70
;
public
static
final
int
PlayerSetLanguageRsp
=
1
13
;
public
static
final
int
PlayerSetLanguageRsp
=
1
29
;
public
static
final
int
PlayerSetOnlyMPWithPSPlayerReq
=
18
15
;
public
static
final
int
PlayerSetOnlyMPWithPSPlayerReq
=
18
02
;
public
static
final
int
PlayerSetOnlyMPWithPSPlayerRsp
=
18
27
;
public
static
final
int
PlayerSetOnlyMPWithPSPlayerRsp
=
18
13
;
public
static
final
int
PlayerSetPauseReq
=
19
2
;
public
static
final
int
PlayerSetPauseReq
=
1
5
9
;
public
static
final
int
PlayerSetPauseRsp
=
1
5
8
;
public
static
final
int
PlayerSetPauseRsp
=
18
4
;
public
static
final
int
PlayerStartMatchReq
=
418
5
;
public
static
final
int
PlayerStartMatchReq
=
41
6
8
;
public
static
final
int
PlayerStartMatchRsp
=
41
7
5
;
public
static
final
int
PlayerStartMatchRsp
=
415
9
;
public
static
final
int
PlayerStoreNotify
=
6
6
0
;
public
static
final
int
PlayerStoreNotify
=
60
9
;
public
static
final
int
PlayerTimeNotify
=
1
5
2
;
public
static
final
int
PlayerTimeNotify
=
1
7
2
;
public
static
final
int
PlayerWorldSceneInfoListNotify
=
3
386
;
public
static
final
int
PlayerWorldSceneInfoListNotify
=
3
172
;
public
static
final
int
PostEnterSceneReq
=
3
390
;
public
static
final
int
PostEnterSceneReq
=
3
097
;
public
static
final
int
PostEnterSceneRsp
=
3
213
;
public
static
final
int
PostEnterSceneRsp
=
3
344
;
public
static
final
int
PrivateChatNotify
=
49
60
;
public
static
final
int
PrivateChatNotify
=
49
91
;
public
static
final
int
PrivateChatReq
=
5010
;
public
static
final
int
PrivateChatReq
=
4959
;
public
static
final
int
PrivateChatRsp
=
498
3
;
public
static
final
int
PrivateChatRsp
=
498
1
;
public
static
final
int
PrivateChatSetSequenceReq
=
49
65
;
public
static
final
int
PrivateChatSetSequenceReq
=
49
87
;
public
static
final
int
PrivateChatSetSequenceRsp
=
498
7
;
public
static
final
int
PrivateChatSetSequenceRsp
=
498
2
;
public
static
final
int
ProfilePictureChangeNotify
=
40
53
;
public
static
final
int
ProfilePictureChangeNotify
=
40
87
;
public
static
final
int
ProjectorOptionReq
=
8
80
;
public
static
final
int
ProjectorOptionReq
=
8
13
;
public
static
final
int
ProjectorOptionRsp
=
8
6
4
;
public
static
final
int
ProjectorOptionRsp
=
84
2
;
public
static
final
int
ProudSkillChangeNotify
=
10
79
;
public
static
final
int
ProudSkillChangeNotify
=
10
55
;
public
static
final
int
ProudSkillExtraLevelNotify
=
10
28
;
public
static
final
int
ProudSkillExtraLevelNotify
=
10
97
;
public
static
final
int
ProudSkillUpgradeReq
=
10
75
;
public
static
final
int
ProudSkillUpgradeReq
=
10
49
;
public
static
final
int
ProudSkillUpgradeRsp
=
10
34
;
public
static
final
int
ProudSkillUpgradeRsp
=
10
82
;
public
static
final
int
PSNBlackListNotify
=
407
0
;
public
static
final
int
PSNBlackListNotify
=
407
8
;
public
static
final
int
PSNFriendListNotify
=
40
72
;
public
static
final
int
PSNFriendListNotify
=
40
89
;
public
static
final
int
PSPlayerApplyEnterMpReq
=
1837
;
public
static
final
int
PSPlayerApplyEnterMpReq
=
1837
;
public
static
final
int
PSPlayerApplyEnterMpRsp
=
18
06
;
public
static
final
int
PSPlayerApplyEnterMpRsp
=
18
32
;
public
static
final
int
PullPrivateChatReq
=
5043
;
public
static
final
int
PullPrivateChatReq
=
4967
;
public
static
final
int
PullPrivateChatRsp
=
4994
;
public
static
final
int
PullPrivateChatRsp
=
5035
;
public
static
final
int
PullRecentChatReq
=
49
9
5
;
public
static
final
int
PullRecentChatReq
=
49
8
5
;
public
static
final
int
PullRecentChatRsp
=
5025
;
public
static
final
int
PullRecentChatRsp
=
4999
;
public
static
final
int
PushTipsAllDataNotify
=
222
6
;
public
static
final
int
PushTipsAllDataNotify
=
222
4
;
public
static
final
int
PushTipsChangeNotify
=
22
62
;
public
static
final
int
PushTipsChangeNotify
=
22
38
;
public
static
final
int
PushTipsReadFinishReq
=
22
89
;
public
static
final
int
PushTipsReadFinishReq
=
22
06
;
public
static
final
int
PushTipsReadFinishRsp
=
22
0
9
;
public
static
final
int
PushTipsReadFinishRsp
=
22
1
9
;
public
static
final
int
QueryCodexMonsterBeKilledNumReq
=
4207
;
public
static
final
int
QueryCodexMonsterBeKilledNumReq
=
4207
;
public
static
final
int
QueryCodexMonsterBeKilledNumRsp
=
420
8
;
public
static
final
int
QueryCodexMonsterBeKilledNumRsp
=
420
5
;
public
static
final
int
QueryPathReq
=
23
6
0
;
public
static
final
int
QueryPathReq
=
230
9
;
public
static
final
int
QueryPathRsp
=
233
3
;
public
static
final
int
QueryPathRsp
=
233
1
;
public
static
final
int
QuestCreateEntityReq
=
4
34
;
public
static
final
int
QuestCreateEntityReq
=
4
82
;
public
static
final
int
QuestCreateEntityRsp
=
4
79
;
public
static
final
int
QuestCreateEntityRsp
=
4
55
;
public
static
final
int
QuestDelNotify
=
41
0
;
public
static
final
int
QuestDelNotify
=
4
4
1
;
public
static
final
int
QuestDestroyEntityReq
=
4
91
;
public
static
final
int
QuestDestroyEntityReq
=
4
27
;
public
static
final
int
QuestDestroyEntityRsp
=
4
9
7
;
public
static
final
int
QuestDestroyEntityRsp
=
4
0
7
;
public
static
final
int
QuestDestroyNpcReq
=
42
6
;
public
static
final
int
QuestDestroyNpcReq
=
42
4
;
public
static
final
int
QuestDestroyNpcRsp
=
4
62
;
public
static
final
int
QuestDestroyNpcRsp
=
4
38
;
public
static
final
int
QuestGlobalVarNotify
=
4
66
;
public
static
final
int
QuestGlobalVarNotify
=
4
11
;
public
static
final
int
QuestListNotify
=
4
6
0
;
public
static
final
int
QuestListNotify
=
40
9
;
public
static
final
int
QuestListUpdateNotify
=
43
3
;
public
static
final
int
QuestListUpdateNotify
=
43
1
;
public
static
final
int
QuestProgressUpdateNotify
=
44
6
;
public
static
final
int
QuestProgressUpdateNotify
=
44
5
;
public
static
final
int
QuestTransmitReq
=
4
73
;
public
static
final
int
QuestTransmitReq
=
4
22
;
public
static
final
int
QuestTransmitRsp
=
4
63
;
public
static
final
int
QuestTransmitRsp
=
4
54
;
public
static
final
int
QuestUpdateQuestTimeVarNotify
=
4
5
8
;
public
static
final
int
QuestUpdateQuestTimeVarNotify
=
48
4
;
public
static
final
int
QuestUpdateQuestVarNotify
=
4
8
3
;
public
static
final
int
QuestUpdateQuestVarNotify
=
4
6
3
;
public
static
final
int
QuestUpdateQuestVarReq
=
4
74
;
public
static
final
int
QuestUpdateQuestVarReq
=
4
90
;
public
static
final
int
QuestUpdateQuestVarRsp
=
4
5
6
;
public
static
final
int
QuestUpdateQuestVarRsp
=
4
8
6
;
public
static
final
int
QuickUseWidgetReq
=
42
76
;
public
static
final
int
QuickUseWidgetReq
=
42
51
;
public
static
final
int
QuickUseWidgetRsp
=
42
6
5
;
public
static
final
int
QuickUseWidgetRsp
=
425
2
;
public
static
final
int
ReadMailNotify
=
141
0
;
public
static
final
int
ReadMailNotify
=
14
4
1
;
public
static
final
int
ReadPrivateChatReq
=
4984
;
public
static
final
int
ReadPrivateChatReq
=
5032
;
public
static
final
int
ReadPrivateChatRsp
=
50
29
;
public
static
final
int
ReadPrivateChatRsp
=
50
05
;
public
static
final
int
ReceivedTrialAvatarActivityRewardReq
=
20
20
;
public
static
final
int
ReceivedTrialAvatarActivityRewardReq
=
20
54
;
public
static
final
int
ReceivedTrialAvatarActivityRewardRsp
=
2
087
;
public
static
final
int
ReceivedTrialAvatarActivityRewardRsp
=
2
199
;
public
static
final
int
RechargeReq
=
41
35
;
public
static
final
int
RechargeReq
=
41
18
;
public
static
final
int
RechargeRsp
=
41
25
;
public
static
final
int
RechargeRsp
=
41
09
;
public
static
final
int
RedeemLegendaryKeyReq
=
4
81
;
public
static
final
int
RedeemLegendaryKeyReq
=
4
36
;
public
static
final
int
RedeemLegendaryKeyRsp
=
42
7
;
public
static
final
int
RedeemLegendaryKeyRsp
=
42
8
;
public
static
final
int
RefreshBackgroundAvatarReq
=
1
744
;
public
static
final
int
RefreshBackgroundAvatarReq
=
1
660
;
public
static
final
int
RefreshBackgroundAvatarRsp
=
171
9
;
public
static
final
int
RefreshBackgroundAvatarRsp
=
17
5
1
;
public
static
final
int
RefreshRoguelikeDungeonCardReq
=
8
433
;
public
static
final
int
RefreshRoguelikeDungeonCardReq
=
8
072
;
public
static
final
int
RefreshRoguelikeDungeonCardRsp
=
86
78
;
public
static
final
int
RefreshRoguelikeDungeonCardRsp
=
86
44
;
public
static
final
int
RegionSearchChangeRegionNotify
=
56
25
;
public
static
final
int
RegionSearchChangeRegionNotify
=
56
09
;
public
static
final
int
RegionSearchNotify
=
56
35
;
public
static
final
int
RegionSearchNotify
=
56
18
;
public
static
final
int
ReliquaryDecomposeReq
=
6
06
;
public
static
final
int
ReliquaryDecomposeReq
=
6
15
;
public
static
final
int
ReliquaryDecomposeRsp
=
6
5
9
;
public
static
final
int
ReliquaryDecomposeRsp
=
69
2
;
public
static
final
int
ReliquaryPromoteReq
=
6
65
;
public
static
final
int
ReliquaryPromoteReq
=
6
12
;
public
static
final
int
ReliquaryPromoteRsp
=
6
03
;
public
static
final
int
ReliquaryPromoteRsp
=
6
58
;
public
static
final
int
ReliquaryUpgradeReq
=
6
89
;
public
static
final
int
ReliquaryUpgradeReq
=
6
06
;
public
static
final
int
ReliquaryUpgradeRsp
=
6
0
9
;
public
static
final
int
ReliquaryUpgradeRsp
=
6
1
9
;
public
static
final
int
RemoveBlacklistReq
=
40
80
;
public
static
final
int
RemoveBlacklistReq
=
40
13
;
public
static
final
int
RemoveBlacklistRsp
=
40
6
4
;
public
static
final
int
RemoveBlacklistRsp
=
404
2
;
public
static
final
int
RemoveRandTaskInfoNotify
=
13
2
;
public
static
final
int
RemoveRandTaskInfoNotify
=
1
9
3
;
public
static
final
int
ReportFightAntiCheatNotify
=
35
7
;
public
static
final
int
ReportFightAntiCheatNotify
=
3
0
5
;
public
static
final
int
ReportTrackingIOInfoNotify
=
41
17
;
public
static
final
int
ReportTrackingIOInfoNotify
=
41
26
;
public
static
final
int
RequestLiveInfoReq
=
8
03
;
public
static
final
int
RequestLiveInfoReq
=
8
58
;
public
static
final
int
RequestLiveInfoRsp
=
8
67
;
public
static
final
int
RequestLiveInfoRsp
=
8
50
;
public
static
final
int
ResinCardDataUpdateNotify
=
41
26
;
public
static
final
int
ResinCardDataUpdateNotify
=
41
01
;
public
static
final
int
ResinChangeNotify
=
6
23
;
public
static
final
int
ResinChangeNotify
=
6
70
;
public
static
final
int
RestartEffigyChallengeReq
=
20
61
;
public
static
final
int
RestartEffigyChallengeReq
=
20
23
;
public
static
final
int
RestartEffigyChallengeRsp
=
21
12
;
public
static
final
int
RestartEffigyChallengeRsp
=
21
33
;
public
static
final
int
ReunionActivateNotify
=
50
81
;
public
static
final
int
ReunionActivateNotify
=
50
65
;
public
static
final
int
ReunionBriefInfoReq
=
508
5
;
public
static
final
int
ReunionBriefInfoReq
=
50
6
8
;
public
static
final
int
ReunionBriefInfoRsp
=
50
7
5
;
public
static
final
int
ReunionBriefInfoRsp
=
505
9
;
public
static
final
int
ReunionDailyRefreshNotify
=
50
72
;
public
static
final
int
ReunionDailyRefreshNotify
=
50
91
;
public
static
final
int
ReunionPrivilegeChangeNotify
=
5
100
;
public
static
final
int
ReunionPrivilegeChangeNotify
=
5
061
;
public
static
final
int
ReunionSettleNotify
=
50
96
;
public
static
final
int
ReunionSettleNotify
=
50
77
;
public
static
final
int
RobotPushPlayerDataNotify
=
88
;
public
static
final
int
RobotPushPlayerDataNotify
=
30
;
public
static
final
int
RogueCellUpdateNotify
=
80
74
;
public
static
final
int
RogueCellUpdateNotify
=
80
22
;
public
static
final
int
RogueDungeonPlayerCellChangeNotify
=
8
784
;
public
static
final
int
RogueDungeonPlayerCellChangeNotify
=
8
832
;
public
static
final
int
RogueHealAvatarsReq
=
8
959
;
public
static
final
int
RogueHealAvatarsReq
=
8
331
;
public
static
final
int
RogueHealAvatarsRsp
=
8
473
;
public
static
final
int
RogueHealAvatarsRsp
=
8
937
;
public
static
final
int
RoguelikeCardGachaNotify
=
8
079
;
public
static
final
int
RoguelikeCardGachaNotify
=
8
618
;
public
static
final
int
RoguelikeEffectDataNotify
=
8
529
;
public
static
final
int
RoguelikeEffectDataNotify
=
8
606
;
public
static
final
int
RoguelikeEffectViewReq
=
83
96
;
public
static
final
int
RoguelikeEffectViewReq
=
83
77
;
public
static
final
int
RoguelikeEffectViewRsp
=
8
04
0
;
public
static
final
int
RoguelikeEffectViewRsp
=
8
77
0
;
public
static
final
int
RoguelikeGiveUpReq
=
8
716
;
public
static
final
int
RoguelikeGiveUpReq
=
8
988
;
public
static
final
int
RoguelikeGiveUpRsp
=
8
728
;
public
static
final
int
RoguelikeGiveUpRsp
=
8
009
;
public
static
final
int
RoguelikeMistClearNotify
=
8
471
;
public
static
final
int
RoguelikeMistClearNotify
=
8
198
;
public
static
final
int
RoguelikeRefreshCardCostUpdateNotify
=
8
304
;
public
static
final
int
RoguelikeRefreshCardCostUpdateNotify
=
8
912
;
public
static
final
int
RoguelikeResourceBonusPropUpdateNotify
=
8
312
;
public
static
final
int
RoguelikeResourceBonusPropUpdateNotify
=
8
823
;
public
static
final
int
RoguelikeRuneRecordUpdateNotify
=
8
985
;
public
static
final
int
RoguelikeRuneRecordUpdateNotify
=
8
497
;
public
static
final
int
RoguelikeSelectAvatarAndEnterDungeonReq
=
8
6
97
;
public
static
final
int
RoguelikeSelectAvatarAndEnterDungeonReq
=
897
5
;
public
static
final
int
RoguelikeSelectAvatarAndEnterDungeonRsp
=
8
377
;
public
static
final
int
RoguelikeSelectAvatarAndEnterDungeonRsp
=
8
471
;
public
static
final
int
RoguelikeTakeStageFirstPassRewardReq
=
8
667
;
public
static
final
int
RoguelikeTakeStageFirstPassRewardReq
=
8
205
;
public
static
final
int
RoguelikeTakeStageFirstPassRewardRsp
=
8
101
;
public
static
final
int
RoguelikeTakeStageFirstPassRewardRsp
=
8
409
;
public
static
final
int
RogueResumeDungeonReq
=
84
96
;
public
static
final
int
RogueResumeDungeonReq
=
84
17
;
public
static
final
int
RogueResumeDungeonRsp
=
8
759
;
public
static
final
int
RogueResumeDungeonRsp
=
8
565
;
public
static
final
int
RogueSwitchAvatarReq
=
8
856
;
public
static
final
int
RogueSwitchAvatarReq
=
8
930
;
public
static
final
int
RogueSwitchAvatarRsp
=
8
141
;
public
static
final
int
RogueSwitchAvatarRsp
=
8
556
;
public
static
final
int
SalesmanDeliverItemReq
=
21
03
;
public
static
final
int
SalesmanDeliverItemReq
=
21
18
;
public
static
final
int
SalesmanDeliverItemRsp
=
2
19
8
;
public
static
final
int
SalesmanDeliverItemRsp
=
2
03
8
;
public
static
final
int
SalesmanTakeRewardReq
=
20
91
;
public
static
final
int
SalesmanTakeRewardReq
=
20
07
;
public
static
final
int
SalesmanTakeRewardRsp
=
21
71
;
public
static
final
int
SalesmanTakeRewardRsp
=
21
00
;
public
static
final
int
SalesmanTakeSpecialRewardReq
=
2
156
;
public
static
final
int
SalesmanTakeSpecialRewardReq
=
2
065
;
public
static
final
int
SalesmanTakeSpecialRewardRsp
=
210
2
;
public
static
final
int
SalesmanTakeSpecialRewardRsp
=
210
7
;
public
static
final
int
SaveCoopDialogReq
=
19
72
;
public
static
final
int
SaveCoopDialogReq
=
19
91
;
public
static
final
int
SaveCoopDialogRsp
=
195
2
;
public
static
final
int
SaveCoopDialogRsp
=
195
5
;
public
static
final
int
SaveMainCoopReq
=
199
5
;
public
static
final
int
SaveMainCoopReq
=
199
3
;
public
static
final
int
SaveMainCoopRsp
=
19
98
;
public
static
final
int
SaveMainCoopRsp
=
19
54
;
public
static
final
int
SceneAreaUnlockNotify
=
2
0
9
;
public
static
final
int
SceneAreaUnlockNotify
=
2
1
9
;
public
static
final
int
SceneAreaWeatherNotify
=
2
13
;
public
static
final
int
SceneAreaWeatherNotify
=
2
29
;
public
static
final
int
SceneAudioNotify
=
3
26
0
;
public
static
final
int
SceneAudioNotify
=
3
43
0
;
public
static
final
int
SceneAvatarStaminaStepReq
=
2
34
;
public
static
final
int
SceneAvatarStaminaStepReq
=
2
82
;
public
static
final
int
SceneAvatarStaminaStepRsp
=
2
79
;
public
static
final
int
SceneAvatarStaminaStepRsp
=
2
55
;
public
static
final
int
SceneCreateEntityReq
=
2
67
;
public
static
final
int
SceneCreateEntityReq
=
2
50
;
public
static
final
int
SceneCreateEntityRsp
=
220
;
public
static
final
int
SceneCreateEntityRsp
=
220
;
public
static
final
int
SceneDataNotify
=
317
9
;
public
static
final
int
SceneDataNotify
=
31
1
7
;
public
static
final
int
SceneDestroyEntityReq
=
2
80
;
public
static
final
int
SceneDestroyEntityReq
=
2
13
;
public
static
final
int
SceneDestroyEntityRsp
=
2
6
4
;
public
static
final
int
SceneDestroyEntityRsp
=
24
2
;
public
static
final
int
SceneEntitiesMoveCombineNotify
=
3
312
;
public
static
final
int
SceneEntitiesMoveCombineNotify
=
3
298
;
public
static
final
int
SceneEntitiesMovesReq
=
2
21
;
public
static
final
int
SceneEntitiesMovesReq
=
2
40
;
public
static
final
int
SceneEntitiesMovesRsp
=
2
0
7
;
public
static
final
int
SceneEntitiesMovesRsp
=
27
5
;
public
static
final
int
SceneEntityAppearNotify
=
2
93
;
public
static
final
int
SceneEntityAppearNotify
=
2
17
;
public
static
final
int
SceneEntityDisappearNotify
=
2
44
;
public
static
final
int
SceneEntityDisappearNotify
=
2
85
;
public
static
final
int
SceneEntityDrownReq
=
2
65
;
public
static
final
int
SceneEntityDrownReq
=
2
12
;
public
static
final
int
SceneEntityDrownRsp
=
2
03
;
public
static
final
int
SceneEntityDrownRsp
=
2
58
;
public
static
final
int
SceneEntityMoveNotify
=
2
91
;
public
static
final
int
SceneEntityMoveNotify
=
2
27
;
public
static
final
int
SceneEntityMoveReq
=
2
4
5
;
public
static
final
int
SceneEntityMoveReq
=
2
3
5
;
public
static
final
int
SceneEntityMoveRsp
=
2
75
;
public
static
final
int
SceneEntityMoveRsp
=
2
49
;
public
static
final
int
SceneEntityUpdateNotify
=
3
423
;
public
static
final
int
SceneEntityUpdateNotify
=
3
089
;
public
static
final
int
SceneForceLockNotify
=
2
66
;
public
static
final
int
SceneForceLockNotify
=
2
11
;
public
static
final
int
SceneForceUnlockNotify
=
201
;
public
static
final
int
SceneForceUnlockNotify
=
201
;
public
static
final
int
SceneGalleryInfoNotify
=
5528
;
public
static
final
int
SceneGalleryInfoNotify
=
5597
;
public
static
final
int
SceneInitFinishReq
=
215
;
public
static
final
int
SceneInitFinishReq
=
237
;
public
static
final
int
SceneInitFinishRsp
=
237
;
public
static
final
int
SceneInitFinishRsp
=
232
;
public
static
final
int
SceneKickPlayerNotify
=
259
;
public
static
final
int
SceneKickPlayerNotify
=
292
;
public
static
final
int
SceneKickPlayerReq
=
204
;
public
static
final
int
SceneKickPlayerReq
=
295
;
public
static
final
int
SceneKickPlayerRsp
=
206
;
public
static
final
int
SceneKickPlayerRsp
=
215
;
public
static
final
int
ScenePlayBattleInfoListNotify
=
4378
;
public
static
final
int
ScenePlayBattleInfoListNotify
=
4447
;
public
static
final
int
ScenePlayBattleInfoNotify
=
4410
;
public
static
final
int
ScenePlayBattleInfoNotify
=
4359
;
public
static
final
int
ScenePlayBattleInterruptNotify
=
4441
;
public
static
final
int
ScenePlayBattleInterruptNotify
=
4377
;
public
static
final
int
ScenePlayBattleResultNotify
=
4447
;
public
static
final
int
ScenePlayBattleResultNotify
=
4357
;
public
static
final
int
ScenePlayBattleUidOpNotify
=
4438
;
public
static
final
int
ScenePlayBattleUidOpNotify
=
4380
;
public
static
final
int
ScenePlayerInfoNotify
=
236
;
public
static
final
int
ScenePlayerInfoNotify
=
225
;
public
static
final
int
ScenePlayerLocationNotify
=
297
;
public
static
final
int
ScenePlayerLocationNotify
=
207
;
public
static
final
int
ScenePlayerSoundNotify
=
243
;
public
static
final
int
ScenePlayerSoundNotify
=
210
;
public
static
final
int
ScenePlayGuestReplyInviteReq
=
4394
;
public
static
final
int
ScenePlayGuestReplyInviteReq
=
4435
;
public
static
final
int
ScenePlayGuestReplyInviteRsp
=
4395
;
public
static
final
int
ScenePlayGuestReplyInviteRsp
=
4385
;
public
static
final
int
ScenePlayGuestReplyNotify
=
4425
;
public
static
final
int
ScenePlayGuestReplyNotify
=
4399
;
public
static
final
int
ScenePlayInfoListNotify
=
4429
;
public
static
final
int
ScenePlayInfoListNotify
=
4405
;
public
static
final
int
ScenePlayInviteResultNotify
=
4384
;
public
static
final
int
ScenePlayInviteResultNotify
=
4432
;
public
static
final
int
ScenePlayOutofRegionNotify
=
4405
;
public
static
final
int
ScenePlayOutofRegionNotify
=
4448
;
public
static
final
int
ScenePlayOwnerCheckReq
=
4383
;
public
static
final
int
ScenePlayOwnerCheckReq
=
4381
;
public
static
final
int
ScenePlayOwnerCheckRsp
=
4360
;
public
static
final
int
ScenePlayOwnerCheckRsp
=
4391
;
public
static
final
int
ScenePlayOwnerInviteNotify
=
4443
;
public
static
final
int
ScenePlayOwnerInviteNotify
=
4367
;
public
static
final
int
ScenePlayOwnerStartInviteReq
=
4365
;
public
static
final
int
ScenePlayOwnerStartInviteReq
=
4387
;
public
static
final
int
ScenePlayOwnerStartInviteRsp
=
4387
;
public
static
final
int
ScenePlayOwnerStartInviteRsp
=
4382
;
public
static
final
int
ScenePointUnlockNotify
=
274
;
public
static
final
int
ScenePointUnlockNotify
=
290
;
public
static
final
int
SceneRouteChangeNotify
=
270
;
public
static
final
int
SceneRouteChangeNotify
=
278
;
public
static
final
int
SceneTeamUpdateNotify
=
1696
;
public
static
final
int
SceneTeamUpdateNotify
=
1699
;
public
static
final
int
SceneTimeNotify
=
229
;
public
static
final
int
SceneTimeNotify
=
262
;
public
static
final
int
SceneTransToPointReq
=
256
;
public
static
final
int
SceneTransToPointReq
=
286
;
public
static
final
int
SceneTransToPointRsp
=
283
;
public
static
final
int
SceneTransToPointRsp
=
263
;
public
static
final
int
SceneUnlockInfoNotify
=
3386
;
public
static
final
int
SceneWeatherForcastReq
=
3190
;
public
static
final
int
SceneWeatherForcastReq
=
3167
;
public
static
final
int
SceneWeatherForcastRsp
=
3063
;
public
static
final
int
SceneWeatherForcastRsp
=
3023
;
public
static
final
int
SeaLampCoinNotify
=
2096
;
public
static
final
int
SeaLampCoinNotify
=
2028
;
public
static
final
int
SeaLampContributeItemReq
=
2168
;
public
static
final
int
SeaLampContributeItemReq
=
2122
;
public
static
final
int
SeaLampContributeItemRsp
=
2159
;
public
static
final
int
SeaLampContributeItemRsp
=
2084
;
public
static
final
int
SeaLampFlyLampNotify
=
2051
;
public
static
final
int
SeaLampFlyLampNotify
=
2075
;
public
static
final
int
SeaLampFlyLampReq
=
2071
;
public
static
final
int
SeaLampFlyLampReq
=
2174
;
public
static
final
int
SeaLampFlyLampRsp
=
2019
;
public
static
final
int
SeaLampFlyLampRsp
=
2080
;
public
static
final
int
SeaLampPopularityNotify
=
2112
;
public
static
final
int
SeaLampPopularityNotify
=
2062
;
public
static
final
int
SeaLampTakeContributionRewardReq
=
2069
;
public
static
final
int
SeaLampTakeContributionRewardReq
=
2052
;
public
static
final
int
SeaLampTakeContributionRewardRsp
=
2103
;
public
static
final
int
SeaLampTakeContributionRewardRsp
=
2057
;
public
static
final
int
SeaLampTakePhaseRewardReq
=
2092
;
public
static
final
int
SeaLampTakePhaseRewardReq
=
2109
;
public
static
final
int
SeaLampTakePhaseRewardRsp
=
2160
;
public
static
final
int
SeaLampTakePhaseRewardRsp
=
2132
;
public
static
final
int
SealBattleBeginNotify
=
273
;
public
static
final
int
SealBattleBeginNotify
=
225
;
public
static
final
int
SealBattleEndNotify
=
261
;
public
static
final
int
SealBattleEndNotify
=
249
;
public
static
final
int
SealBattleProgressNotify
=
288
;
public
static
final
int
SealBattleProgressNotify
=
285
;
public
static
final
int
SeeMonsterReq
=
281
;
public
static
final
int
SeeMonsterReq
=
299
;
public
static
final
int
SeeMonsterRsp
=
264
;
public
static
final
int
SeeMonsterRsp
=
300
;
public
static
final
int
SelectAsterMidDifficultyReq
=
2190
;
public
static
final
int
SelectAsterMidDifficultyReq
=
2019
;
public
static
final
int
SelectAsterMidDifficultyRsp
=
2010
;
public
static
final
int
SelectAsterMidDifficultyRsp
=
2003
;
public
static
final
int
SelectEffigyChallengeConditionReq
=
2111
;
public
static
final
int
SelectEffigyChallengeConditionReq
=
2143
;
public
static
final
int
SelectEffigyChallengeConditionRsp
=
2068
;
public
static
final
int
SelectEffigyChallengeConditionRsp
=
2072
;
public
static
final
int
SelectRoguelikeDungeonCardReq
=
8070
;
public
static
final
int
SelectRoguelikeDungeonCardReq
=
8964
;
public
static
final
int
SelectRoguelikeDungeonCardRsp
=
8040
;
public
static
final
int
SelectRoguelikeDungeonCardRsp
=
8572
;
public
static
final
int
SelectWorktopOptionReq
=
832
;
public
static
final
int
SelectWorktopOptionReq
=
837
;
public
static
final
int
SelectWorktopOptionRsp
=
817
;
public
static
final
int
SelectWorktopOptionRsp
=
893
;
public
static
final
int
ServerAnnounceNotify
=
2029
;
public
static
final
int
ServerAnnounceNotify
=
2199
;
public
static
final
int
ServerAnnounceRevokeNotify
=
2141
;
public
static
final
int
ServerAnnounceRevokeNotify
=
2129
;
public
static
final
int
ServerBuffChangeNotify
=
393
;
public
static
final
int
ServerBuffChangeNotify
=
332
;
public
static
final
int
ServerCondMeetQuestListUpdateNotify
=
401
;
public
static
final
int
ServerCondMeetQuestListUpdateNotify
=
401
;
public
static
final
int
ServerDisconnectClientNotify
=
1
8
6
;
public
static
final
int
ServerDisconnectClientNotify
=
1
6
6
;
public
static
final
int
ServerGlobalValueChangeNotify
=
11
88
;
public
static
final
int
ServerGlobalValueChangeNotify
=
11
30
;
public
static
final
int
ServerLogNotify
=
79
;
public
static
final
int
ServerLogNotify
=
55
;
public
static
final
int
ServerMessageNotify
=
57
25
;
public
static
final
int
ServerMessageNotify
=
57
09
;
public
static
final
int
ServerTimeNotify
=
34
;
public
static
final
int
ServerTimeNotify
=
82
;
public
static
final
int
ServerUpdateGlobalValueNotify
=
11
9
7
;
public
static
final
int
ServerUpdateGlobalValueNotify
=
11
0
7
;
public
static
final
int
SetBattlePassViewedReq
=
2637
;
public
static
final
int
SetBattlePassViewedReq
=
2637
;
public
static
final
int
SetBattlePassViewedRsp
=
26
06
;
public
static
final
int
SetBattlePassViewedRsp
=
26
32
;
public
static
final
int
SetChatEmojiCollectionReq
=
40
8
6
;
public
static
final
int
SetChatEmojiCollectionReq
=
40
6
6
;
public
static
final
int
SetChatEmojiCollectionRsp
=
40
77
;
public
static
final
int
SetChatEmojiCollectionRsp
=
40
48
;
public
static
final
int
SetCoopChapterViewedReq
=
19
80
;
public
static
final
int
SetCoopChapterViewedReq
=
19
56
;
public
static
final
int
SetCoopChapterViewedRsp
=
19
8
8
;
public
static
final
int
SetCoopChapterViewedRsp
=
19
9
8
;
public
static
final
int
SetCurExpeditionChallengeIdReq
=
2
017
;
public
static
final
int
SetCurExpeditionChallengeIdReq
=
2
130
;
public
static
final
int
SetCurExpeditionChallengeIdRsp
=
209
9
;
public
static
final
int
SetCurExpeditionChallengeIdRsp
=
209
3
;
public
static
final
int
SetEntityClientDataNotify
=
33
03
;
public
static
final
int
SetEntityClientDataNotify
=
33
75
;
public
static
final
int
SetEquipLockStateReq
=
6
35
;
public
static
final
int
SetEquipLockStateReq
=
6
04
;
public
static
final
int
SetEquipLockStateRsp
=
65
7
;
public
static
final
int
SetEquipLockStateRsp
=
6
0
5
;
public
static
final
int
SetFriendEnterHomeOptionReq
=
461
3
;
public
static
final
int
SetFriendEnterHomeOptionReq
=
4
7
61
;
public
static
final
int
SetFriendEnterHomeOptionRsp
=
4
724
;
public
static
final
int
SetFriendEnterHomeOptionRsp
=
4
590
;
public
static
final
int
SetFriendRemarkNameReq
=
40
23
;
public
static
final
int
SetFriendRemarkNameReq
=
40
70
;
public
static
final
int
SetFriendRemarkNameRsp
=
40
13
;
public
static
final
int
SetFriendRemarkNameRsp
=
40
29
;
public
static
final
int
SetH5ActivityRedDotTimestampReq
=
56
98
;
public
static
final
int
SetH5ActivityRedDotTimestampReq
=
56
54
;
public
static
final
int
SetH5ActivityRedDotTimestampRsp
=
56
63
;
public
static
final
int
SetH5ActivityRedDotTimestampRsp
=
56
78
;
public
static
final
int
SetIsAutoUnlockSpecificEquipReq
=
6
87
;
public
static
final
int
SetIsAutoUnlockSpecificEquipReq
=
6
39
;
public
static
final
int
SetIsAutoUnlockSpecificEquipRsp
=
6
04
;
public
static
final
int
SetIsAutoUnlockSpecificEquipRsp
=
6
95
;
public
static
final
int
SetLimitOptimizationNotify
=
81
8
9
;
public
static
final
int
SetLimitOptimizationNotify
=
819
4
;
public
static
final
int
SetNameCardReq
=
40
89
;
public
static
final
int
SetNameCardReq
=
40
06
;
public
static
final
int
SetNameCardRsp
=
40
0
9
;
public
static
final
int
SetNameCardRsp
=
40
1
9
;
public
static
final
int
SetOpenStateReq
=
1
62
;
public
static
final
int
SetOpenStateReq
=
1
38
;
public
static
final
int
SetOpenStateRsp
=
1
89
;
public
static
final
int
SetOpenStateRsp
=
1
06
;
public
static
final
int
SetPlayerBirthdayReq
=
40
9
7
;
public
static
final
int
SetPlayerBirthdayReq
=
40
0
7
;
public
static
final
int
SetPlayerBirthdayRsp
=
40
88
;
public
static
final
int
SetPlayerBirthdayRsp
=
40
30
;
public
static
final
int
SetPlayerBornDataReq
=
1
55
;
public
static
final
int
SetPlayerBornDataReq
=
1
98
;
public
static
final
int
SetPlayerBornDataRsp
=
14
6
;
public
static
final
int
SetPlayerBornDataRsp
=
14
5
;
public
static
final
int
SetPlayerHeadImageReq
=
404
6
;
public
static
final
int
SetPlayerHeadImageReq
=
404
5
;
public
static
final
int
SetPlayerHeadImageRsp
=
40
74
;
public
static
final
int
SetPlayerHeadImageRsp
=
40
90
;
public
static
final
int
SetPlayerNameReq
=
1
8
3
;
public
static
final
int
SetPlayerNameReq
=
1
6
3
;
public
static
final
int
SetPlayerNameRsp
=
12
6
;
public
static
final
int
SetPlayerNameRsp
=
12
4
;
public
static
final
int
SetPlayerPropReq
=
1
88
;
public
static
final
int
SetPlayerPropReq
=
1
30
;
public
static
final
int
SetPlayerPropRsp
=
1
28
;
public
static
final
int
SetPlayerPropRsp
=
1
97
;
public
static
final
int
SetPlayerSignatureReq
=
40
28
;
public
static
final
int
SetPlayerSignatureReq
=
40
97
;
public
static
final
int
SetPlayerSignatureRsp
=
40
55
;
public
static
final
int
SetPlayerSignatureRsp
=
40
98
;
public
static
final
int
SetSceneWeatherAreaReq
=
2
71
;
public
static
final
int
SetSceneWeatherAreaReq
=
2
56
;
public
static
final
int
SetSceneWeatherAreaRsp
=
2
0
5
;
public
static
final
int
SetSceneWeatherAreaRsp
=
2
6
5
;
public
static
final
int
SetUpAvatarTeamReq
=
1
671
;
public
static
final
int
SetUpAvatarTeamReq
=
1
753
;
public
static
final
int
SetUpAvatarTeamRsp
=
16
3
4
;
public
static
final
int
SetUpAvatarTeamRsp
=
16
6
4
;
public
static
final
int
SetUpLunchBoxWidgetReq
=
42
86
;
public
static
final
int
SetUpLunchBoxWidgetReq
=
42
97
;
public
static
final
int
SetUpLunchBoxWidgetRsp
=
42
93
;
public
static
final
int
SetUpLunchBoxWidgetRsp
=
42
66
;
public
static
final
int
SetWidgetSlotReq
=
426
6
;
public
static
final
int
SetWidgetSlotReq
=
426
9
;
public
static
final
int
SetWidgetSlotRsp
=
42
79
;
public
static
final
int
SetWidgetSlotRsp
=
42
60
;
public
static
final
int
ShowClientGuideNotify
=
3
190
;
public
static
final
int
ShowClientGuideNotify
=
3
241
;
public
static
final
int
ShowClientTutorialNotify
=
3
374
;
public
static
final
int
ShowClientTutorialNotify
=
3
079
;
public
static
final
int
ShowCommonTipsNotify
=
3
27
7
;
public
static
final
int
ShowCommonTipsNotify
=
3
35
7
;
public
static
final
int
ShowMessageNotify
=
15
;
public
static
final
int
ShowMessageNotify
=
37
;
public
static
final
int
ShowTemplateReminderNotify
=
3
164
;
public
static
final
int
ShowTemplateReminderNotify
=
3
011
;
public
static
final
int
SignInInfoReq
=
251
0
;
public
static
final
int
SignInInfoReq
=
25
4
1
;
public
static
final
int
SignInInfoRsp
=
25
15
;
public
static
final
int
SignInInfoRsp
=
25
37
;
public
static
final
int
SocialDataNotify
=
40
63
;
public
static
final
int
SocialDataNotify
=
40
54
;
public
static
final
int
SpringUseReq
=
1
720
;
public
static
final
int
SpringUseReq
=
1
623
;
public
static
final
int
SpringUseRsp
=
17
27
;
public
static
final
int
SpringUseRsp
=
17
33
;
public
static
final
int
StartArenaChallengeLevelReq
=
2
022
;
public
static
final
int
StartArenaChallengeLevelReq
=
2
154
;
public
static
final
int
StartArenaChallengeLevelRsp
=
2
033
;
public
static
final
int
StartArenaChallengeLevelRsp
=
2
191
;
public
static
final
int
StartBuoyantCombatGalleryReq
=
8313
;
public
static
final
int
StartBuoyantCombatGalleryReq
=
9000
;
public
static
final
int
StartBuoyantCombatGalleryRsp
=
8
75
4
;
public
static
final
int
StartBuoyantCombatGalleryRsp
=
8
36
4
;
public
static
final
int
StartCoopPointReq
=
19
56
;
public
static
final
int
StartCoopPointReq
=
19
82
;
public
static
final
int
StartCoopPointRsp
=
196
2
;
public
static
final
int
StartCoopPointRsp
=
196
4
;
public
static
final
int
StartEffigyChallengeReq
=
21
23
;
public
static
final
int
StartEffigyChallengeReq
=
21
57
;
public
static
final
int
StartEffigyChallengeRsp
=
2
166
;
public
static
final
int
StartEffigyChallengeRsp
=
2
008
;
public
static
final
int
StartFishingReq
=
584
5
;
public
static
final
int
StartFishingReq
=
584
3
;
public
static
final
int
StartFishingRsp
=
584
8
;
public
static
final
int
StartFishingRsp
=
58
0
4
;
public
static
final
int
StartRogueEliteCellChallengeReq
=
8
620
;
public
static
final
int
StartRogueEliteCellChallengeReq
=
8
722
;
public
static
final
int
StartRogueEliteCellChallengeRsp
=
8
198
;
public
static
final
int
StartRogueEliteCellChallengeRsp
=
8
876
;
public
static
final
int
StartRogueNormalCellChallengeReq
=
8
748
;
public
static
final
int
StartRogueNormalCellChallengeReq
=
8
456
;
public
static
final
int
StartRogueNormalCellChallengeRsp
=
8
630
;
public
static
final
int
StartRogueNormalCellChallengeRsp
=
8
156
;
public
static
final
int
StoreItemChangeNotify
=
61
0
;
public
static
final
int
StoreItemChangeNotify
=
6
4
1
;
public
static
final
int
StoreItemDelNotify
=
6
15
;
public
static
final
int
StoreItemDelNotify
=
6
37
;
public
static
final
int
StoreWeightLimitNotify
=
63
3
;
public
static
final
int
StoreWeightLimitNotify
=
63
1
;
public
static
final
int
SummerTimeFloatSignalPositionNotify
=
8
389
;
public
static
final
int
SummerTimeFloatSignalPositionNotify
=
8
622
;
public
static
final
int
SummerTimeFloatSignalUpdateNotify
=
8
76
3
;
public
static
final
int
SummerTimeFloatSignalUpdateNotify
=
8
33
3
;
public
static
final
int
SummerTimeSprintBoatRestartReq
=
8
682
;
public
static
final
int
SummerTimeSprintBoatRestartReq
=
8
175
;
public
static
final
int
SummerTimeSprintBoatRestartRsp
=
856
2
;
public
static
final
int
SummerTimeSprintBoatRestartRsp
=
856
3
;
public
static
final
int
SummerTimeSprintBoatSettleNotify
=
81
50
;
public
static
final
int
SummerTimeSprintBoatSettleNotify
=
81
17
;
public
static
final
int
SumoDungeonSettleNotify
=
8
9
46
;
public
static
final
int
SumoDungeonSettleNotify
=
84
2
6
;
public
static
final
int
SumoEnterDungeonNotify
=
8
540
;
public
static
final
int
SumoEnterDungeonNotify
=
8
727
;
public
static
final
int
SumoLeaveDungeonNotify
=
84
6
0
;
public
static
final
int
SumoLeaveDungeonNotify
=
84
4
0
;
public
static
final
int
SumoRestartDungeonReq
=
8
602
;
public
static
final
int
SumoRestartDungeonReq
=
8
585
;
public
static
final
int
SumoRestartDungeonRsp
=
8
49
8
;
public
static
final
int
SumoRestartDungeonRsp
=
8
62
8
;
public
static
final
int
SumoSaveTeamReq
=
8
874
;
public
static
final
int
SumoSaveTeamReq
=
8
970
;
public
static
final
int
SumoSaveTeamRsp
=
8
287
;
public
static
final
int
SumoSaveTeamRsp
=
8
890
;
public
static
final
int
SumoSelectTeamAndEnterDungeonReq
=
8
605
;
public
static
final
int
SumoSelectTeamAndEnterDungeonReq
=
8
030
;
public
static
final
int
SumoSelectTeamAndEnterDungeonRsp
=
89
98
;
public
static
final
int
SumoSelectTeamAndEnterDungeonRsp
=
89
15
;
public
static
final
int
SumoSetNoSwitchPunishTimeNotify
=
8
804
;
public
static
final
int
SumoSetNoSwitchPunishTimeNotify
=
8
269
;
public
static
final
int
SumoSwitchTeamReq
=
8
718
;
public
static
final
int
SumoSwitchTeamReq
=
8
400
;
public
static
final
int
SumoSwitchTeamRsp
=
8
356
;
public
static
final
int
SumoSwitchTeamRsp
=
8
442
;
public
static
final
int
SyncScenePlayTeamEntityNotify
=
3
2
96
;
public
static
final
int
SyncScenePlayTeamEntityNotify
=
3
0
96
;
public
static
final
int
SyncTeamEntityNotify
=
33
8
;
public
static
final
int
SyncTeamEntityNotify
=
33
4
;
public
static
final
int
TakeAchievementGoalRewardReq
=
26
95
;
public
static
final
int
TakeAchievementGoalRewardReq
=
26
78
;
public
static
final
int
TakeAchievementGoalRewardRsp
=
26
98
;
public
static
final
int
TakeAchievementGoalRewardRsp
=
26
53
;
public
static
final
int
TakeAchievementRewardReq
=
26
85
;
public
static
final
int
TakeAchievementRewardReq
=
26
93
;
public
static
final
int
TakeAchievementRewardRsp
=
26
7
5
;
public
static
final
int
TakeAchievementRewardRsp
=
265
4
;
public
static
final
int
TakeAsterSpecialRewardReq
=
2
051
;
public
static
final
int
TakeAsterSpecialRewardReq
=
2
174
;
public
static
final
int
TakeAsterSpecialRewardRsp
=
20
41
;
public
static
final
int
TakeAsterSpecialRewardRsp
=
20
35
;
public
static
final
int
TakeBattlePassMissionPointReq
=
26
17
;
public
static
final
int
TakeBattlePassMissionPointReq
=
26
26
;
public
static
final
int
TakeBattlePassMissionPointRsp
=
26
36
;
public
static
final
int
TakeBattlePassMissionPointRsp
=
26
47
;
public
static
final
int
TakeBattlePassRewardReq
=
26
13
;
public
static
final
int
TakeBattlePassRewardReq
=
26
28
;
public
static
final
int
TakeBattlePassRewardRsp
=
260
1
;
public
static
final
int
TakeBattlePassRewardRsp
=
260
3
;
public
static
final
int
TakeCityReputationExploreRewardReq
=
28
88
;
public
static
final
int
TakeCityReputationExploreRewardReq
=
28
30
;
public
static
final
int
TakeCityReputationExploreRewardRsp
=
28
28
;
public
static
final
int
TakeCityReputationExploreRewardRsp
=
28
97
;
public
static
final
int
TakeCityReputationLevelRewardReq
=
281
0
;
public
static
final
int
TakeCityReputationLevelRewardReq
=
28
4
1
;
public
static
final
int
TakeCityReputationLevelRewardRsp
=
28
15
;
public
static
final
int
TakeCityReputationLevelRewardRsp
=
28
37
;
public
static
final
int
TakeCityReputationParentQuestReq
=
28
93
;
public
static
final
int
TakeCityReputationParentQuestReq
=
28
17
;
public
static
final
int
TakeCityReputationParentQuestRsp
=
28
44
;
public
static
final
int
TakeCityReputationParentQuestRsp
=
28
85
;
public
static
final
int
TakeCompoundOutputReq
=
1
08
;
public
static
final
int
TakeCompoundOutputReq
=
1
46
;
public
static
final
int
TakeCompoundOutputRsp
=
1
17
;
public
static
final
int
TakeCompoundOutputRsp
=
1
33
;
public
static
final
int
TakeCoopRewardReq
=
19
96
;
public
static
final
int
TakeCoopRewardReq
=
19
77
;
public
static
final
int
TakeCoopRewardRsp
=
19
81
;
public
static
final
int
TakeCoopRewardRsp
=
19
65
;
public
static
final
int
TakeDeliveryDailyRewardReq
=
20
55
;
public
static
final
int
TakeDeliveryDailyRewardReq
=
20
37
;
public
static
final
int
TakeDeliveryDailyRewardRsp
=
2
104
;
public
static
final
int
TakeDeliveryDailyRewardRsp
=
2
083
;
public
static
final
int
TakeEffigyFirstPassRewardReq
=
2
071
;
public
static
final
int
TakeEffigyFirstPassRewardReq
=
2
200
;
public
static
final
int
TakeEffigyFirstPassRewardRsp
=
203
4
;
public
static
final
int
TakeEffigyFirstPassRewardRsp
=
20
7
3
;
public
static
final
int
TakeEffigyRewardReq
=
2
113
;
public
static
final
int
TakeEffigyRewardReq
=
2
062
;
public
static
final
int
TakeEffigyRewardRsp
=
2
008
;
public
static
final
int
TakeEffigyRewardRsp
=
2
110
;
public
static
final
int
TakeFirstShareRewardReq
=
40
08
;
public
static
final
int
TakeFirstShareRewardReq
=
40
46
;
public
static
final
int
TakeFirstShareRewardRsp
=
40
17
;
public
static
final
int
TakeFirstShareRewardRsp
=
40
33
;
public
static
final
int
TakeFurnitureMakeReq
=
47
51
;
public
static
final
int
TakeFurnitureMakeReq
=
47
68
;
public
static
final
int
TakeFurnitureMakeRsp
=
4
457
;
public
static
final
int
TakeFurnitureMakeRsp
=
4
599
;
public
static
final
int
TakeHuntingOfferReq
=
4
750
;
public
static
final
int
TakeHuntingOfferReq
=
4
318
;
public
static
final
int
TakeHuntingOfferRsp
=
4
782
;
public
static
final
int
TakeHuntingOfferRsp
=
4
309
;
public
static
final
int
TakeInvestigationRewardReq
=
192
6
;
public
static
final
int
TakeInvestigationRewardReq
=
192
5
;
public
static
final
int
TakeInvestigationRewardRsp
=
19
25
;
public
static
final
int
TakeInvestigationRewardRsp
=
19
03
;
public
static
final
int
TakeInvestigationTargetRewardReq
=
191
5
;
public
static
final
int
TakeInvestigationTargetRewardReq
=
19
0
1
;
public
static
final
int
TakeInvestigationTargetRewardRsp
=
19
29
;
public
static
final
int
TakeInvestigationTargetRewardRsp
=
19
08
;
public
static
final
int
TakeMaterialDeleteReturnReq
=
6
51
;
public
static
final
int
TakeMaterialDeleteReturnReq
=
6
60
;
public
static
final
int
TakeMaterialDeleteReturnRsp
=
6
84
;
public
static
final
int
TakeMaterialDeleteReturnRsp
=
6
77
;
public
static
final
int
TakeoffEquipReq
=
6
55
;
public
static
final
int
TakeoffEquipReq
=
6
98
;
public
static
final
int
TakeoffEquipRsp
=
64
6
;
public
static
final
int
TakeoffEquipRsp
=
64
5
;
public
static
final
int
TakeOfferingLevelRewardReq
=
29
21
;
public
static
final
int
TakeOfferingLevelRewardReq
=
29
03
;
public
static
final
int
TakeOfferingLevelRewardRsp
=
29
1
0
;
public
static
final
int
TakeOfferingLevelRewardRsp
=
290
2
;
public
static
final
int
TakePlayerLevelRewardReq
=
1
51
;
public
static
final
int
TakePlayerLevelRewardReq
=
1
60
;
public
static
final
int
TakePlayerLevelRewardRsp
=
1
84
;
public
static
final
int
TakePlayerLevelRewardRsp
=
1
77
;
public
static
final
int
TakeRegionSearchRewardReq
=
564
5
;
public
static
final
int
TakeRegionSearchRewardReq
=
564
3
;
public
static
final
int
TakeRegionSearchRewardRsp
=
564
8
;
public
static
final
int
TakeRegionSearchRewardRsp
=
56
0
4
;
public
static
final
int
TakeResinCardDailyRewardReq
=
41
36
;
public
static
final
int
TakeResinCardDailyRewardReq
=
41
47
;
public
static
final
int
TakeResinCardDailyRewardRsp
=
41
43
;
public
static
final
int
TakeResinCardDailyRewardRsp
=
41
16
;
public
static
final
int
TakeReunionFirstGiftRewardReq
=
509
5
;
public
static
final
int
TakeReunionFirstGiftRewardReq
=
509
3
;
public
static
final
int
TakeReunionFirstGiftRewardRsp
=
50
98
;
public
static
final
int
TakeReunionFirstGiftRewardRsp
=
50
54
;
public
static
final
int
TakeReunionMissionRewardReq
=
50
56
;
public
static
final
int
TakeReunionMissionRewardReq
=
50
82
;
public
static
final
int
TakeReunionMissionRewardRsp
=
506
2
;
public
static
final
int
TakeReunionMissionRewardRsp
=
506
4
;
public
static
final
int
TakeReunionSignInRewardReq
=
50
6
7
;
public
static
final
int
TakeReunionSignInRewardReq
=
507
6
;
public
static
final
int
TakeReunionSignInRewardRsp
=
50
86
;
public
static
final
int
TakeReunionSignInRewardRsp
=
50
97
;
public
static
final
int
TakeReunionWatcherRewardReq
=
50
6
5
;
public
static
final
int
TakeReunionWatcherRewardReq
=
505
2
;
public
static
final
int
TakeReunionWatcherRewardRsp
=
50
77
;
public
static
final
int
TakeReunionWatcherRewardRsp
=
50
63
;
public
static
final
int
TaskVarNotify
=
1
78
;
public
static
final
int
TaskVarNotify
=
1
91
;
public
static
final
int
TeamResonanceChangeNotify
=
104
6
;
public
static
final
int
TeamResonanceChangeNotify
=
104
5
;
public
static
final
int
TowerAllDataReq
=
24
4
5
;
public
static
final
int
TowerAllDataReq
=
24
3
5
;
public
static
final
int
TowerAllDataRsp
=
24
75
;
public
static
final
int
TowerAllDataRsp
=
24
49
;
public
static
final
int
TowerBriefDataNotify
=
24
6
0
;
public
static
final
int
TowerBriefDataNotify
=
240
9
;
public
static
final
int
TowerBuffSelectReq
=
24
9
7
;
public
static
final
int
TowerBuffSelectReq
=
24
0
7
;
public
static
final
int
TowerBuffSelectRsp
=
24
88
;
public
static
final
int
TowerBuffSelectRsp
=
24
30
;
public
static
final
int
TowerCurLevelRecordChangeNotify
=
241
0
;
public
static
final
int
TowerCurLevelRecordChangeNotify
=
24
4
1
;
public
static
final
int
TowerDailyRewardProgressChangeNotify
=
24
15
;
public
static
final
int
TowerDailyRewardProgressChangeNotify
=
24
37
;
public
static
final
int
TowerEnterLevelReq
=
24
79
;
public
static
final
int
TowerEnterLevelReq
=
24
55
;
public
static
final
int
TowerEnterLevelRsp
=
24
91
;
public
static
final
int
TowerEnterLevelRsp
=
24
27
;
public
static
final
int
TowerFloorRecordChangeNotify
=
243
3
;
public
static
final
int
TowerFloorRecordChangeNotify
=
243
1
;
public
static
final
int
TowerGetFloorStarRewardReq
=
24
89
;
public
static
final
int
TowerGetFloorStarRewardReq
=
24
06
;
public
static
final
int
TowerGetFloorStarRewardRsp
=
24
0
9
;
public
static
final
int
TowerGetFloorStarRewardRsp
=
24
1
9
;
public
static
final
int
TowerLevelEndNotify
=
24
6
4
;
public
static
final
int
TowerLevelEndNotify
=
244
2
;
public
static
final
int
TowerLevelStarCondNotify
=
2401
;
public
static
final
int
TowerLevelStarCondNotify
=
2401
;
public
static
final
int
TowerMiddleLevelChangeTeamNotify
=
24
66
;
public
static
final
int
TowerMiddleLevelChangeTeamNotify
=
24
11
;
public
static
final
int
TowerRecordHandbookReq
=
24
73
;
public
static
final
int
TowerRecordHandbookReq
=
24
22
;
public
static
final
int
TowerRecordHandbookRsp
=
24
63
;
public
static
final
int
TowerRecordHandbookRsp
=
24
54
;
public
static
final
int
TowerSurrenderReq
=
242
6
;
public
static
final
int
TowerSurrenderReq
=
242
4
;
public
static
final
int
TowerSurrenderRsp
=
24
62
;
public
static
final
int
TowerSurrenderRsp
=
24
38
;
public
static
final
int
TowerTeamSelectReq
=
24
93
;
public
static
final
int
TowerTeamSelectReq
=
24
17
;
public
static
final
int
TowerTeamSelectRsp
=
24
44
;
public
static
final
int
TowerTeamSelectRsp
=
24
85
;
public
static
final
int
TreasureMapBonusChallengeNotify
=
2
121
;
public
static
final
int
TreasureMapBonusChallengeNotify
=
2
075
;
public
static
final
int
TreasureMapCurrencyNotify
=
2
127
;
public
static
final
int
TreasureMapCurrencyNotify
=
2
098
;
public
static
final
int
TreasureMapDetectorDataNotify
=
42
72
;
public
static
final
int
TreasureMapDetectorDataNotify
=
42
91
;
public
static
final
int
TreasureMapGuideTaskDoneNotify
=
2
200
;
public
static
final
int
TreasureMapGuideTaskDoneNotify
=
2
088
;
public
static
final
int
TreasureMapHostInfoNotify
=
8
960
;
public
static
final
int
TreasureMapHostInfoNotify
=
8
206
;
public
static
final
int
TreasureMapMpChallengeNotify
=
2
177
;
public
static
final
int
TreasureMapMpChallengeNotify
=
2
036
;
public
static
final
int
TreasureMapPreTaskDoneNotify
=
2
188
;
public
static
final
int
TreasureMapPreTaskDoneNotify
=
2
055
;
public
static
final
int
TreasureMapRegionActiveNotify
=
2
141
;
public
static
final
int
TreasureMapRegionActiveNotify
=
2
059
;
public
static
final
int
TreasureMapRegionInfoNotify
=
21
2
0
;
public
static
final
int
TreasureMapRegionInfoNotify
=
210
6
;
public
static
final
int
TrialAvatarFirstPassDungeonNotify
=
2
093
;
public
static
final
int
TrialAvatarFirstPassDungeonNotify
=
2
137
;
public
static
final
int
TrialAvatarInDungeonIndexNotify
=
2
138
;
public
static
final
int
TrialAvatarInDungeonIndexNotify
=
2
024
;
public
static
final
int
TriggerCreateGadgetToEquipPartNotify
=
3
73
;
public
static
final
int
TriggerCreateGadgetToEquipPartNotify
=
3
22
;
public
static
final
int
TriggerRoguelikeCurseNotify
=
8
878
;
public
static
final
int
TriggerRoguelikeCurseNotify
=
8
235
;
public
static
final
int
TriggerRoguelikeRuneReq
=
8
607
;
public
static
final
int
TriggerRoguelikeRuneReq
=
8
138
;
public
static
final
int
TriggerRoguelikeRuneRsp
=
8
246
;
public
static
final
int
TriggerRoguelikeRuneRsp
=
8
781
;
public
static
final
int
TryEnterHomeReq
=
4
622
;
public
static
final
int
TryEnterHomeReq
=
4
553
;
public
static
final
int
TryEnterHomeRsp
=
4
731
;
public
static
final
int
TryEnterHomeRsp
=
4
610
;
public
static
final
int
UnfreezeGroupLimitNotify
=
3
401
;
public
static
final
int
UnfreezeGroupLimitNotify
=
3
253
;
public
static
final
int
UnionCmdNotify
=
55
;
public
static
final
int
UnionCmdNotify
=
98
;
public
static
final
int
UnlockAvatarTalentReq
=
10
6
0
;
public
static
final
int
UnlockAvatarTalentReq
=
100
9
;
public
static
final
int
UnlockAvatarTalentRsp
=
103
3
;
public
static
final
int
UnlockAvatarTalentRsp
=
103
1
;
public
static
final
int
UnlockCoopChapterReq
=
19
6
5
;
public
static
final
int
UnlockCoopChapterReq
=
195
2
;
public
static
final
int
UnlockCoopChapterRsp
=
19
77
;
public
static
final
int
UnlockCoopChapterRsp
=
19
63
;
public
static
final
int
UnlockedFurnitureFormulaDataNotify
=
4
70
0
;
public
static
final
int
UnlockedFurnitureFormulaDataNotify
=
4
68
0
;
public
static
final
int
UnlockedFurnitureSuiteDataNotify
=
47
88
;
public
static
final
int
UnlockedFurnitureSuiteDataNotify
=
47
17
;
public
static
final
int
UnlockNameCardNotify
=
4001
;
public
static
final
int
UnlockNameCardNotify
=
4001
;
public
static
final
int
UnlockPersonalLineReq
=
4
02
;
public
static
final
int
UnlockPersonalLineReq
=
4
76
;
public
static
final
int
UnlockPersonalLineRsp
=
4
5
2
;
public
static
final
int
UnlockPersonalLineRsp
=
4
7
2
;
public
static
final
int
UnlockTransPointReq
=
3
421
;
public
static
final
int
UnlockTransPointReq
=
3
228
;
public
static
final
int
UnlockTransPointRsp
=
3
073
;
public
static
final
int
UnlockTransPointRsp
=
3
101
;
public
static
final
int
UnmarkEntityInMinMapNotify
=
2
47
;
public
static
final
int
UnmarkEntityInMinMapNotify
=
2
16
;
public
static
final
int
UpdateAbilityCreatedMovingPlatformNotify
=
8
28
;
public
static
final
int
UpdateAbilityCreatedMovingPlatformNotify
=
8
97
;
public
static
final
int
UpdatePlayerShowAvatarListReq
=
40
36
;
public
static
final
int
UpdatePlayerShowAvatarListReq
=
40
25
;
public
static
final
int
UpdatePlayerShowAvatarListRsp
=
40
24
;
public
static
final
int
UpdatePlayerShowAvatarListRsp
=
40
83
;
public
static
final
int
UpdatePlayerShowNameCardListReq
=
40
3
0
;
public
static
final
int
UpdatePlayerShowNameCardListReq
=
400
2
;
public
static
final
int
UpdatePlayerShowNameCardListRsp
=
40
47
;
public
static
final
int
UpdatePlayerShowNameCardListRsp
=
40
16
;
public
static
final
int
UpdatePS4BlockListReq
=
40
81
;
public
static
final
int
UpdatePS4BlockListReq
=
40
36
;
public
static
final
int
UpdatePS4BlockListRsp
=
402
7
;
public
static
final
int
UpdatePS4BlockListRsp
=
402
8
;
public
static
final
int
UpdatePS4FriendListNotify
=
40
5
6
;
public
static
final
int
UpdatePS4FriendListNotify
=
40
8
6
;
public
static
final
int
UpdatePS4FriendListReq
=
40
25
;
public
static
final
int
UpdatePS4FriendListReq
=
40
73
;
public
static
final
int
UpdatePS4FriendListRsp
=
40
49
;
public
static
final
int
UpdatePS4FriendListRsp
=
40
61
;
public
static
final
int
UpdateRedPointNotify
=
9
;
public
static
final
int
UpdateRedPointNotify
=
1
9
;
public
static
final
int
UpdateReunionWatcherNotify
=
5087
;
public
static
final
int
UpdateReunionWatcherNotify
=
5087
;
public
static
final
int
UpgradeRoguelikeShikigamiReq
=
8575
;
public
static
final
int
UpgradeRoguelikeShikigamiReq
=
8422
;
public
static
final
int
UpgradeRoguelikeShikigamiRsp
=
8440
;
public
static
final
int
UpgradeRoguelikeShikigamiRsp
=
8671
;
public
static
final
int
UseItemReq
=
645
;
public
static
final
int
UseItemReq
=
635
;
public
static
final
int
UseItemRsp
=
675
;
public
static
final
int
UseItemRsp
=
649
;
public
static
final
int
UseMiracleRingReq
=
5235
;
public
static
final
int
UseMiracleRingReq
=
5218
;
public
static
final
int
UseMiracleRingRsp
=
5225
;
public
static
final
int
UseMiracleRingRsp
=
5209
;
public
static
final
int
UseWidgetCreateGadgetReq
=
4278
;
public
static
final
int
UseWidgetCreateGadgetReq
=
4283
;
public
static
final
int
UseWidgetCreateGadgetRsp
=
4290
;
public
static
final
int
UseWidgetCreateGadgetRsp
=
4279
;
public
static
final
int
UseWidgetRetractGadgetReq
=
4255
;
public
static
final
int
UseWidgetRetractGadgetReq
=
4290
;
public
static
final
int
UseWidgetRetractGadgetRsp
=
4297
;
public
static
final
int
UseWidgetRetractGadgetRsp
=
4271
;
public
static
final
int
VehicleInteractReq
=
862
;
public
static
final
int
VehicleInteractReq
=
838
;
public
static
final
int
VehicleInteractRsp
=
889
;
public
static
final
int
VehicleInteractRsp
=
806
;
public
static
final
int
VehicleSpawnReq
=
809
;
public
static
final
int
VehicleStaminaNotify
=
811
;
public
static
final
int
VehicleSpawnRsp
=
865
;
public
static
final
int
ViewCodexReq
=
4203
;
public
static
final
int
VehicleStaminaNotify
=
866
;
public
static
final
int
ViewCodexRsp
=
4202
;
public
static
final
int
ViewCodexReq
=
4210
;
public
static
final
int
WatcherAllDataNotify
=
2209
;
public
static
final
int
ViewCodexRsp
=
4209
;
public
static
final
int
WatcherChangeNotify
=
2231
;
public
static
final
int
WatcherAllDataNotify
=
2260
;
public
static
final
int
WatcherEventNotify
=
2241
;
public
static
final
int
WatcherChangeNotify
=
2233
;
public
static
final
int
WatcherEventTypeNotify
=
2237
;
public
static
final
int
WatcherEventNotify
=
2210
;
public
static
final
int
WaterSpritePhaseFinishNotify
=
2028
;
public
static
final
int
WatcherEventTypeNotify
=
2215
;
public
static
final
int
WeaponAwakenReq
=
642
;
public
static
final
int
WaterSpritePhaseFinishNotify
=
2097
;
public
static
final
int
WeaponAwakenReq
=
664
;
public
static
final
int
WeaponAwakenRsp
=
601
;
public
static
final
int
WeaponAwakenRsp
=
601
;
public
static
final
int
WeaponPromoteReq
=
62
6
;
public
static
final
int
WeaponPromoteReq
=
62
4
;
public
static
final
int
WeaponPromoteRsp
=
6
62
;
public
static
final
int
WeaponPromoteRsp
=
6
38
;
public
static
final
int
WeaponUpgradeReq
=
6
5
6
;
public
static
final
int
WeaponUpgradeReq
=
6
8
6
;
public
static
final
int
WeaponUpgradeRsp
=
6
8
3
;
public
static
final
int
WeaponUpgradeRsp
=
6
6
3
;
public
static
final
int
WearEquipReq
=
6
88
;
public
static
final
int
WearEquipReq
=
6
30
;
public
static
final
int
WearEquipRsp
=
6
28
;
public
static
final
int
WearEquipRsp
=
6
97
;
public
static
final
int
WidgetActiveChangeNotify
=
42
73
;
public
static
final
int
WidgetActiveChangeNotify
=
42
95
;
public
static
final
int
WidgetCoolDownNotify
=
42
77
;
public
static
final
int
WidgetCoolDownNotify
=
42
63
;
public
static
final
int
WidgetDoBagReq
=
42
69
;
public
static
final
int
WidgetDoBagReq
=
42
84
;
public
static
final
int
WidgetDoBagRsp
=
42
70
;
public
static
final
int
WidgetDoBagRsp
=
42
86
;
public
static
final
int
WidgetGadgetAllDataNotify
=
42
60
;
public
static
final
int
WidgetGadgetAllDataNotify
=
42
85
;
public
static
final
int
WidgetGadgetDataNotify
=
42
68
;
public
static
final
int
WidgetGadgetDataNotify
=
42
92
;
public
static
final
int
WidgetGadgetDestroyNotify
=
42
82
;
public
static
final
int
WidgetGadgetDestroyNotify
=
42
75
;
public
static
final
int
WidgetReportReq
=
4287
;
public
static
final
int
WidgetReportReq
=
4287
;
public
static
final
int
WidgetReportRsp
=
42
56
;
public
static
final
int
WidgetReportRsp
=
42
82
;
public
static
final
int
WidgetSlotChangeNotify
=
42
99
;
public
static
final
int
WidgetSlotChangeNotify
=
42
74
;
public
static
final
int
WidgetUseAttachAbilityGroupChangeNotify
=
42
57
;
public
static
final
int
WidgetUseAttachAbilityGroupChangeNotify
=
42
99
;
public
static
final
int
WindSeedClientNotify
=
11
34
;
public
static
final
int
WindSeedClientNotify
=
11
82
;
public
static
final
int
WorktopOptionNotify
=
8
15
;
public
static
final
int
WorktopOptionNotify
=
8
37
;
public
static
final
int
WorldAllRoutineTypeNotify
=
35
25
;
public
static
final
int
WorldAllRoutineTypeNotify
=
35
09
;
public
static
final
int
WorldDataNotify
=
3
330
;
public
static
final
int
WorldDataNotify
=
3
131
;
public
static
final
int
WorldOwnerBlossomBriefInfoNotify
=
27
15
;
public
static
final
int
WorldOwnerBlossomBriefInfoNotify
=
27
37
;
public
static
final
int
WorldOwnerBlossomScheduleInfoNotify
=
273
7
;
public
static
final
int
WorldOwnerBlossomScheduleInfoNotify
=
273
2
;
public
static
final
int
WorldOwnerDailyTaskNotify
=
1
3
0
;
public
static
final
int
WorldOwnerDailyTaskNotify
=
10
2
;
public
static
final
int
WorldPlayerDieNotify
=
2
11
;
public
static
final
int
WorldPlayerDieNotify
=
2
96
;
public
static
final
int
WorldPlayerInfoNotify
=
3
088
;
public
static
final
int
WorldPlayerInfoNotify
=
3
304
;
public
static
final
int
WorldPlayerLocationNotify
=
2
24
;
public
static
final
int
WorldPlayerLocationNotify
=
2
83
;
public
static
final
int
WorldPlayerReviveReq
=
2
16
;
public
static
final
int
WorldPlayerReviveReq
=
2
47
;
public
static
final
int
WorldPlayerReviveRsp
=
2
22
;
public
static
final
int
WorldPlayerReviveRsp
=
2
80
;
public
static
final
int
WorldPlayerRTTNotify
=
2
6
;
public
static
final
int
WorldPlayerRTTNotify
=
2
4
;
public
static
final
int
WorldRoutineChangeNotify
=
354
8
;
public
static
final
int
WorldRoutineChangeNotify
=
35
0
4
;
public
static
final
int
WorldRoutineTypeCloseNotify
=
35
13
;
public
static
final
int
WorldRoutineTypeCloseNotify
=
35
28
;
public
static
final
int
WorldRoutineTypeRefreshNotify
=
354
5
;
public
static
final
int
WorldRoutineTypeRefreshNotify
=
354
3
;
// Unknown
// Unknown
public
static
final
int
UNKNOWN
=
2013
;
public
static
final
int
UNKNOWN_1
=
2042
;
public
static
final
int
UNKNOWN_2
=
343
;
public
static
final
int
UNKNOWN_3
=
4259
;
public
static
final
int
UNKNOWN_4
=
4261
;
public
static
final
int
UNKNOWN_5
=
4306
;
public
static
final
int
UNKNOWN_6
=
4315
;
public
static
final
int
UNKNOWN_7
=
4317
;
public
static
final
int
UNKNOWN_8
=
4326
;
public
static
final
int
UNKNOWN_9
=
4327
;
public
static
final
int
UNKNOWN_10
=
4336
;
public
static
final
int
UNKNOWN_11
=
4337
;
public
static
final
int
UNKNOWN_12
=
4343
;
public
static
final
int
UNKNOWN_13
=
5932
;
public
static
final
int
UNKNOWN_14
=
5959
;
public
static
final
int
UNKNOWN_15
=
67
;
public
static
final
int
UNKNOWN_16
=
8010
;
public
static
final
int
UNKNOWN_17
=
8024
;
public
static
final
int
UNKNOWN_18
=
8050
;
public
static
final
int
UNKNOWN_19
=
8077
;
public
static
final
int
UNKNOWN_20
=
8083
;
public
static
final
int
UNKNOWN_21
=
8114
;
public
static
final
int
UNKNOWN_22
=
8154
;
public
static
final
int
UNKNOWN_23
=
8157
;
public
static
final
int
UNKNOWN_24
=
8188
;
public
static
final
int
UNKNOWN_25
=
8190
;
public
static
final
int
UNKNOWN_26
=
8210
;
public
static
final
int
UNKNOWN_27
=
8385
;
public
static
final
int
UNKNOWN_28
=
8405
;
public
static
final
int
UNKNOWN_29
=
8420
;
public
static
final
int
UNKNOWN_30
=
8421
;
public
static
final
int
UNKNOWN_31
=
8429
;
public
static
final
int
UNKNOWN_32
=
8437
;
public
static
final
int
UNKNOWN_33
=
8439
;
public
static
final
int
UNKNOWN_34
=
8461
;
public
static
final
int
UNKNOWN_35
=
8502
;
public
static
final
int
UNKNOWN_36
=
8559
;
public
static
final
int
UNKNOWN_37
=
8580
;
public
static
final
int
UNKNOWN_38
=
8604
;
public
static
final
int
UNKNOWN_39
=
8710
;
public
static
final
int
UNKNOWN_40
=
8761
;
public
static
final
int
UNKNOWN_41
=
8787
;
public
static
final
int
UNKNOWN_42
=
8830
;
public
static
final
int
UNKNOWN_43
=
8877
;
public
static
final
int
UNKNOWN_44
=
8983
;
public
static
final
int
UNKNOWN_45
=
943
;
public
static
final
List
<
Integer
>
BANNED_PACKETS
=
Arrays
.
asList
(
PacketOpcodes
.
WindSeedClientNotify
,
PacketOpcodes
.
PlayerLuaShellNotify
);
public
static
final
HashSet
<
Integer
>
BANNED_PACKETS
=
new
HashSet
<
Integer
>()
{{
add
(
PacketOpcodes
.
WindSeedClientNotify
);
add
(
PacketOpcodes
.
PlayerLuaShellNotify
);
}};
}
}
src/main/java/emu/grasscutter/net/packet/PacketOpcodesUtil.java
View file @
a8293102
...
@@ -17,10 +17,12 @@ public class PacketOpcodesUtil {
...
@@ -17,10 +17,12 @@ public class PacketOpcodesUtil {
Field
[]
fields
=
PacketOpcodes
.
class
.
getFields
();
Field
[]
fields
=
PacketOpcodes
.
class
.
getFields
();
for
(
Field
f
:
fields
)
{
for
(
Field
f
:
fields
)
{
try
{
if
(
f
.
getType
().
equals
(
int
.
class
))
{
opcodeMap
.
put
(
f
.
getInt
(
null
),
f
.
getName
());
try
{
}
catch
(
Exception
e
)
{
opcodeMap
.
put
(
f
.
getInt
(
null
),
f
.
getName
());
e
.
printStackTrace
();
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
}
}
}
}
}
}
}
...
...
src/main/java/emu/grasscutter/plugin/Plugin.java
View file @
a8293102
...
@@ -3,11 +3,15 @@ package emu.grasscutter.plugin;
...
@@ -3,11 +3,15 @@ package emu.grasscutter.plugin;
import
emu.grasscutter.Grasscutter
;
import
emu.grasscutter.Grasscutter
;
import
emu.grasscutter.plugin.api.ServerHook
;
import
emu.grasscutter.plugin.api.ServerHook
;
import
emu.grasscutter.server.game.GameServer
;
import
emu.grasscutter.server.game.GameServer
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
java.io.File
;
import
java.io.File
;
import
java.io.InputStream
;
import
java.io.InputStream
;
import
java.net.URLClassLoader
;
import
java.net.URLClassLoader
;
import
static
emu
.
grasscutter
.
Configuration
.*;
/**
/**
* The base class for all plugins to extend.
* The base class for all plugins to extend.
*/
*/
...
@@ -17,6 +21,7 @@ public abstract class Plugin {
...
@@ -17,6 +21,7 @@ public abstract class Plugin {
private
PluginIdentifier
identifier
;
private
PluginIdentifier
identifier
;
private
URLClassLoader
classLoader
;
private
URLClassLoader
classLoader
;
private
File
dataFolder
;
private
File
dataFolder
;
private
Logger
logger
;
/**
/**
* This method is reflected into.
* This method is reflected into.
...
@@ -32,7 +37,8 @@ public abstract class Plugin {
...
@@ -32,7 +37,8 @@ public abstract class Plugin {
this
.
identifier
=
identifier
;
this
.
identifier
=
identifier
;
this
.
classLoader
=
classLoader
;
this
.
classLoader
=
classLoader
;
this
.
dataFolder
=
new
File
(
Grasscutter
.
getConfig
().
PLUGINS_FOLDER
,
identifier
.
name
);
this
.
dataFolder
=
new
File
(
PLUGIN
(),
identifier
.
name
);
this
.
logger
=
LoggerFactory
.
getLogger
(
identifier
.
name
);
if
(!
this
.
dataFolder
.
exists
()
&&
!
this
.
dataFolder
.
mkdirs
())
{
if
(!
this
.
dataFolder
.
exists
()
&&
!
this
.
dataFolder
.
mkdirs
())
{
Grasscutter
.
getLogger
().
warn
(
"Failed to create plugin data folder for "
+
this
.
identifier
.
name
);
Grasscutter
.
getLogger
().
warn
(
"Failed to create plugin data folder for "
+
this
.
identifier
.
name
);
...
@@ -101,6 +107,14 @@ public abstract class Plugin {
...
@@ -101,6 +107,14 @@ public abstract class Plugin {
public
final
ServerHook
getHandle
()
{
public
final
ServerHook
getHandle
()
{
return
this
.
server
;
return
this
.
server
;
}
}
/**
* Returns the plugin's logger.
* @return A SLF4J logger.
*/
public
final
Logger
getLogger
()
{
return
this
.
logger
;
}
/* Called when the plugin is first loaded. */
/* Called when the plugin is first loaded. */
public
void
onLoad
()
{
}
public
void
onLoad
()
{
}
...
...
src/main/java/emu/grasscutter/plugin/PluginManager.java
View file @
a8293102
...
@@ -7,6 +7,7 @@ import emu.grasscutter.server.event.HandlerPriority;
...
@@ -7,6 +7,7 @@ import emu.grasscutter.server.event.HandlerPriority;
import
emu.grasscutter.utils.Utils
;
import
emu.grasscutter.utils.Utils
;
import
java.io.File
;
import
java.io.File
;
import
java.io.FileNotFoundException
;
import
java.io.InputStreamReader
;
import
java.io.InputStreamReader
;
import
java.lang.reflect.Method
;
import
java.lang.reflect.Method
;
import
java.net.MalformedURLException
;
import
java.net.MalformedURLException
;
...
@@ -16,6 +17,8 @@ import java.util.*;
...
@@ -16,6 +17,8 @@ import java.util.*;
import
java.util.jar.JarEntry
;
import
java.util.jar.JarEntry
;
import
java.util.jar.JarFile
;
import
java.util.jar.JarFile
;
import
static
emu
.
grasscutter
.
Configuration
.*;
/**
/**
* Manages the server's plugins and the event system.
* Manages the server's plugins and the event system.
*/
*/
...
@@ -31,8 +34,7 @@ public final class PluginManager {
...
@@ -31,8 +34,7 @@ public final class PluginManager {
* Loads plugins from the config-specified directory.
* Loads plugins from the config-specified directory.
*/
*/
private
void
loadPlugins
()
{
private
void
loadPlugins
()
{
String
directory
=
Grasscutter
.
getConfig
().
PLUGINS_FOLDER
;
File
pluginsDir
=
new
File
(
Utils
.
toFilePath
(
PLUGIN
()));
File
pluginsDir
=
new
File
(
Utils
.
toFilePath
(
directory
));
if
(!
pluginsDir
.
exists
()
&&
!
pluginsDir
.
mkdirs
())
{
if
(!
pluginsDir
.
exists
()
&&
!
pluginsDir
.
mkdirs
())
{
Grasscutter
.
getLogger
().
error
(
"Failed to create plugins directory: "
+
pluginsDir
.
getAbsolutePath
());
Grasscutter
.
getLogger
().
error
(
"Failed to create plugins directory: "
+
pluginsDir
.
getAbsolutePath
());
return
;
return
;
...
@@ -89,6 +91,8 @@ public final class PluginManager {
...
@@ -89,6 +91,8 @@ public final class PluginManager {
fileReader
.
close
();
// Close the file reader.
fileReader
.
close
();
// Close the file reader.
}
catch
(
ClassNotFoundException
ignored
)
{
}
catch
(
ClassNotFoundException
ignored
)
{
Grasscutter
.
getLogger
().
warn
(
"Plugin "
+
plugin
.
getName
()
+
" has an invalid main class."
);
Grasscutter
.
getLogger
().
warn
(
"Plugin "
+
plugin
.
getName
()
+
" has an invalid main class."
);
}
catch
(
FileNotFoundException
ignored
)
{
Grasscutter
.
getLogger
().
warn
(
"Plugin "
+
plugin
.
getName
()
+
" lacks a valid config file."
);
}
}
}
catch
(
Exception
exception
)
{
}
catch
(
Exception
exception
)
{
Grasscutter
.
getLogger
().
error
(
"Failed to load plugin: "
+
plugin
.
getName
(),
exception
);
Grasscutter
.
getLogger
().
error
(
"Failed to load plugin: "
+
plugin
.
getName
(),
exception
);
...
...
src/main/java/emu/grasscutter/plugin/api/PlayerHook.java
View file @
a8293102
...
@@ -83,7 +83,7 @@ public final class PlayerHook {
...
@@ -83,7 +83,7 @@ public final class PlayerHook {
public
void
teleport
(
Position
position
)
{
public
void
teleport
(
Position
position
)
{
this
.
player
.
getPos
().
set
(
position
);
this
.
player
.
getPos
().
set
(
position
);
this
.
player
.
sendPacket
(
new
PacketPlayerEnterSceneNotify
(
this
.
player
,
this
.
player
.
sendPacket
(
new
PacketPlayerEnterSceneNotify
(
this
.
player
,
EnterType
.
ENTER_JUMP
,
EnterReason
.
TransPoint
,
EnterType
.
ENTER_
TYPE_
JUMP
,
EnterReason
.
TransPoint
,
this
.
player
.
getSceneId
(),
position
this
.
player
.
getSceneId
(),
position
));
));
}
}
...
...
src/main/java/emu/grasscutter/plugin/api/ServerHook.java
View file @
a8293102
package
emu.grasscutter.plugin.api
;
package
emu.grasscutter.plugin.api
;
import
emu.grasscutter.Grasscutter
;
import
emu.grasscutter.auth.AuthenticationSystem
;
import
emu.grasscutter.command.Command
;
import
emu.grasscutter.command.Command
;
import
emu.grasscutter.command.CommandHandler
;
import
emu.grasscutter.command.CommandHandler
;
import
emu.grasscutter.game.player.Player
;
import
emu.grasscutter.game.player.Player
;
import
emu.grasscutter.server.dispatch.DispatchServer
;
import
emu.grasscutter.server.game.GameServer
;
import
emu.grasscutter.server.game.GameServer
;
import
emu.grasscutter.server.http.HttpServer
;
import
emu.grasscutter.server.http.Router
;
import
java.util.LinkedList
;
import
java.util.LinkedList
;
import
java.util.List
;
import
java.util.List
;
...
@@ -15,7 +18,7 @@ import java.util.List;
...
@@ -15,7 +18,7 @@ import java.util.List;
public
final
class
ServerHook
{
public
final
class
ServerHook
{
private
static
ServerHook
instance
;
private
static
ServerHook
instance
;
private
final
GameServer
gameServer
;
private
final
GameServer
gameServer
;
private
final
DispatchServer
dispatch
Server
;
private
final
HttpServer
http
Server
;
/**
/**
* Gets the server hook instance.
* Gets the server hook instance.
...
@@ -28,11 +31,11 @@ public final class ServerHook {
...
@@ -28,11 +31,11 @@ public final class ServerHook {
/**
/**
* Hooks into a server.
* Hooks into a server.
* @param gameServer The game server to hook into.
* @param gameServer The game server to hook into.
* @param
dispatch
Server The
dispatch
server to hook into.
* @param
http
Server The
HTTP
server to hook into.
*/
*/
public
ServerHook
(
GameServer
gameServer
,
DispatchServer
dispatch
Server
)
{
public
ServerHook
(
GameServer
gameServer
,
HttpServer
http
Server
)
{
this
.
gameServer
=
gameServer
;
this
.
gameServer
=
gameServer
;
this
.
dispatch
Server
=
dispatch
Server
;
this
.
http
Server
=
http
Server
;
instance
=
this
;
instance
=
this
;
}
}
...
@@ -45,10 +48,10 @@ public final class ServerHook {
...
@@ -45,10 +48,10 @@ public final class ServerHook {
}
}
/**
/**
* @return The
dispatch
server.
* @return The
HTTP
server.
*/
*/
public
Dispatch
Server
get
Dispatch
Server
()
{
public
Http
Server
get
Http
Server
()
{
return
this
.
dispatch
Server
;
return
this
.
http
Server
;
}
}
/**
/**
...
@@ -70,4 +73,28 @@ public final class ServerHook {
...
@@ -70,4 +73,28 @@ public final class ServerHook {
Command
commandData
=
clazz
.
getAnnotation
(
Command
.
class
);
Command
commandData
=
clazz
.
getAnnotation
(
Command
.
class
);
this
.
gameServer
.
getCommandMap
().
registerCommand
(
commandData
.
label
(),
handler
);
this
.
gameServer
.
getCommandMap
().
registerCommand
(
commandData
.
label
(),
handler
);
}
}
/**
* Adds a router using an instance of a class.
* @param router A router instance.
*/
public
void
addRouter
(
Router
router
)
{
this
.
addRouter
(
router
.
getClass
());
}
/**
* Adds a router using a class.
* @param router The class of the router.
*/
public
void
addRouter
(
Class
<?
extends
Router
>
router
)
{
this
.
httpServer
.
addRouter
(
router
);
}
/**
* Sets the server's authentication system.
* @param authSystem An instance of the authentication system.
*/
public
void
setAuthSystem
(
AuthenticationSystem
authSystem
)
{
Grasscutter
.
setAuthenticationSystem
(
authSystem
);
}
}
}
\ No newline at end of file
src/main/java/emu/grasscutter/scripts/SceneScriptManager.java
View file @
a8293102
package
emu.grasscutter.scripts
;
package
emu.grasscutter.scripts
;
import
java.util.ArrayList
;
import
java.util.*
;
import
java.util.Arrays
;
import
java.util.HashMap
;
import
java.util.HashSet
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Set
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
import
javax.script.Bindings
;
import
javax.script.Bindings
;
import
javax.script.CompiledScript
;
import
javax.script.CompiledScript
;
import
javax.script.ScriptException
;
import
javax.script.ScriptException
;
import
org.luaj.vm2.LuaTable
;
import
emu.grasscutter.scripts.service.ScriptMonsterSpawnService
;
import
emu.grasscutter.scripts.service.ScriptMonsterTideService
;
import
org.luaj.vm2.LuaError
;
import
org.luaj.vm2.LuaValue
;
import
org.luaj.vm2.LuaValue
;
import
org.luaj.vm2.lib.jse.CoerceJavaToLua
;
import
org.luaj.vm2.lib.jse.CoerceJavaToLua
;
import
emu.grasscutter.Grasscutter
;
import
emu.grasscutter.Grasscutter
;
import
emu.grasscutter.data.GameData
;
import
emu.grasscutter.data.def.MonsterData
;
import
emu.grasscutter.data.def.WorldLevelData
;
import
emu.grasscutter.game.entity.EntityGadget
;
import
emu.grasscutter.game.entity.EntityGadget
;
import
emu.grasscutter.game.entity.EntityMonster
;
import
emu.grasscutter.game.entity.GameEntity
;
import
emu.grasscutter.game.props.EntityType
;
import
emu.grasscutter.game.world.Scene
;
import
emu.grasscutter.game.world.Scene
;
import
emu.grasscutter.scripts.constants.EventType
;
import
emu.grasscutter.scripts.constants.EventType
;
import
emu.grasscutter.scripts.constants.ScriptGadgetState
;
import
emu.grasscutter.scripts.constants.ScriptRegionShape
;
import
emu.grasscutter.scripts.data.SceneBlock
;
import
emu.grasscutter.scripts.data.SceneBlock
;
import
emu.grasscutter.scripts.data.SceneConfig
;
import
emu.grasscutter.scripts.data.SceneConfig
;
import
emu.grasscutter.scripts.data.SceneGadget
;
import
emu.grasscutter.scripts.data.SceneGadget
;
...
@@ -43,28 +31,43 @@ import emu.grasscutter.scripts.data.ScriptArgs;
...
@@ -43,28 +31,43 @@ import emu.grasscutter.scripts.data.ScriptArgs;
import
it.unimi.dsi.fastutil.ints.Int2ObjectMap
;
import
it.unimi.dsi.fastutil.ints.Int2ObjectMap
;
import
it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap
;
import
it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap
;
import
static
emu
.
grasscutter
.
Configuration
.*;
public
class
SceneScriptManager
{
public
class
SceneScriptManager
{
private
final
Scene
scene
;
private
final
Scene
scene
;
private
final
ScriptLib
scriptLib
;
private
final
ScriptLib
scriptLib
;
private
final
LuaValue
scriptLibLua
;
private
final
LuaValue
scriptLibLua
;
private
final
Map
<
String
,
Integer
>
variables
;
private
final
Map
<
String
,
Integer
>
variables
;
private
Bindings
bindings
;
private
Bindings
bindings
;
private
SceneConfig
config
;
private
SceneConfig
config
;
private
List
<
SceneBlock
>
blocks
;
private
List
<
SceneBlock
>
blocks
;
private
boolean
isInit
;
private
boolean
isInit
;
/**
private
final
Int2ObjectOpenHashMap
<
Set
<
SceneTrigger
>>
triggers
;
* SceneTrigger Set
*/
private
final
Map
<
String
,
SceneTrigger
>
triggers
;
/**
* current triggers controlled by RefreshGroup
*/
private
final
Int2ObjectOpenHashMap
<
Set
<
SceneTrigger
>>
currentTriggers
;
private
final
Int2ObjectOpenHashMap
<
SceneRegion
>
regions
;
private
final
Int2ObjectOpenHashMap
<
SceneRegion
>
regions
;
private
Map
<
Integer
,
SceneGroup
>
sceneGroups
;
private
SceneGroup
currentGroup
;
private
ScriptMonsterTideService
scriptMonsterTideService
;
private
ScriptMonsterSpawnService
scriptMonsterSpawnService
;
public
SceneScriptManager
(
Scene
scene
)
{
public
SceneScriptManager
(
Scene
scene
)
{
this
.
scene
=
scene
;
this
.
scene
=
scene
;
this
.
scriptLib
=
new
ScriptLib
(
this
);
this
.
scriptLib
=
new
ScriptLib
(
this
);
this
.
scriptLibLua
=
CoerceJavaToLua
.
coerce
(
this
.
scriptLib
);
this
.
scriptLibLua
=
CoerceJavaToLua
.
coerce
(
this
.
scriptLib
);
this
.
triggers
=
new
Int2ObjectOpenHashMap
<>();
this
.
triggers
=
new
HashMap
<>();
this
.
currentTriggers
=
new
Int2ObjectOpenHashMap
<>();
this
.
regions
=
new
Int2ObjectOpenHashMap
<>();
this
.
regions
=
new
Int2ObjectOpenHashMap
<>();
this
.
variables
=
new
HashMap
<>();
this
.
variables
=
new
HashMap
<>();
this
.
sceneGroups
=
new
HashMap
<>();
this
.
scriptMonsterSpawnService
=
new
ScriptMonsterSpawnService
(
this
);
// TEMPORARY
// TEMPORARY
if
(
this
.
getScene
().
getId
()
<
10
)
{
if
(
this
.
getScene
().
getId
()
<
10
)
{
return
;
return
;
...
@@ -94,6 +97,10 @@ public class SceneScriptManager {
...
@@ -94,6 +97,10 @@ public class SceneScriptManager {
return
config
;
return
config
;
}
}
public
SceneGroup
getCurrentGroup
()
{
return
currentGroup
;
}
public
List
<
SceneBlock
>
getBlocks
()
{
public
List
<
SceneBlock
>
getBlocks
()
{
return
blocks
;
return
blocks
;
}
}
...
@@ -103,17 +110,35 @@ public class SceneScriptManager {
...
@@ -103,17 +110,35 @@ public class SceneScriptManager {
}
}
public
Set
<
SceneTrigger
>
getTriggersByEvent
(
int
eventId
)
{
public
Set
<
SceneTrigger
>
getTriggersByEvent
(
int
eventId
)
{
return
t
riggers
.
computeIfAbsent
(
eventId
,
e
->
new
HashSet
<>());
return
currentT
riggers
.
computeIfAbsent
(
eventId
,
e
->
new
HashSet
<>());
}
}
public
void
registerTrigger
(
SceneTrigger
trigger
)
{
public
void
registerTrigger
(
SceneTrigger
trigger
)
{
this
.
triggers
.
put
(
trigger
.
name
,
trigger
);
getTriggersByEvent
(
trigger
.
event
).
add
(
trigger
);
getTriggersByEvent
(
trigger
.
event
).
add
(
trigger
);
}
}
public
void
deregisterTrigger
(
SceneTrigger
trigger
)
{
public
void
deregisterTrigger
(
SceneTrigger
trigger
)
{
this
.
triggers
.
remove
(
trigger
.
name
);
getTriggersByEvent
(
trigger
.
event
).
remove
(
trigger
);
getTriggersByEvent
(
trigger
.
event
).
remove
(
trigger
);
}
}
public
void
resetTriggers
(
List
<
String
>
triggerNames
)
{
for
(
var
name
:
triggerNames
){
var
instance
=
triggers
.
get
(
name
);
this
.
currentTriggers
.
get
(
instance
.
event
).
clear
();
this
.
currentTriggers
.
get
(
instance
.
event
).
add
(
instance
);
}
}
public
void
refreshGroup
(
SceneGroup
group
,
int
suiteIndex
){
var
suite
=
group
.
getSuiteByIndex
(
suiteIndex
);
if
(
suite
==
null
){
return
;
}
if
(
suite
.
triggers
.
size
()
>
0
){
resetTriggers
(
suite
.
triggers
);
}
spawnMonstersInGroup
(
group
,
suite
);
spawnGadgetsInGroup
(
group
,
suite
);
}
public
SceneRegion
getRegionById
(
int
id
)
{
public
SceneRegion
getRegionById
(
int
id
)
{
return
regions
.
get
(
id
);
return
regions
.
get
(
id
);
}
}
...
@@ -141,7 +166,7 @@ public class SceneScriptManager {
...
@@ -141,7 +166,7 @@ public class SceneScriptManager {
private
void
init
()
{
private
void
init
()
{
// Get compiled script if cached
// Get compiled script if cached
CompiledScript
cs
=
ScriptLoader
.
getScriptByPath
(
CompiledScript
cs
=
ScriptLoader
.
getScriptByPath
(
Grasscutter
.
getConfig
().
SCRIPTS_FOLDER
+
"Scene/"
+
getScene
().
getId
()
+
"/scene"
+
getScene
().
getId
()
+
"."
+
ScriptLoader
.
getScriptType
());
SCRIPT
(
"Scene/"
+
getScene
().
getId
()
+
"/scene"
+
getScene
().
getId
()
+
"."
+
ScriptLoader
.
getScriptType
())
)
;
if
(
cs
==
null
)
{
if
(
cs
==
null
)
{
Grasscutter
.
getLogger
().
warn
(
"No script found for scene "
+
getScene
().
getId
());
Grasscutter
.
getLogger
().
warn
(
"No script found for scene "
+
getScene
().
getId
());
...
@@ -188,7 +213,7 @@ public class SceneScriptManager {
...
@@ -188,7 +213,7 @@ public class SceneScriptManager {
private
void
loadBlockFromScript
(
SceneBlock
block
)
{
private
void
loadBlockFromScript
(
SceneBlock
block
)
{
CompiledScript
cs
=
ScriptLoader
.
getScriptByPath
(
CompiledScript
cs
=
ScriptLoader
.
getScriptByPath
(
Grasscutter
.
getConfig
().
SCRIPTS_FOLDER
+
"Scene/"
+
getScene
().
getId
()
+
"/scene"
+
getScene
().
getId
()
+
"_block"
+
block
.
id
+
"."
+
ScriptLoader
.
getScriptType
());
SCRIPT
(
"Scene/"
+
getScene
().
getId
()
+
"/scene"
+
getScene
().
getId
()
+
"_block"
+
block
.
id
+
"."
+
ScriptLoader
.
getScriptType
())
)
;
if
(
cs
==
null
)
{
if
(
cs
==
null
)
{
return
;
return
;
...
@@ -211,7 +236,7 @@ public class SceneScriptManager {
...
@@ -211,7 +236,7 @@ public class SceneScriptManager {
group
.
setLoaded
(
true
);
group
.
setLoaded
(
true
);
CompiledScript
cs
=
ScriptLoader
.
getScriptByPath
(
CompiledScript
cs
=
ScriptLoader
.
getScriptByPath
(
Grasscutter
.
getConfig
().
SCRIPTS_FOLDER
+
"Scene/"
+
getScene
().
getId
()
+
"/scene"
+
getScene
().
getId
()
+
"_group"
+
group
.
id
+
"."
+
ScriptLoader
.
getScriptType
());
SCRIPT
(
"Scene/"
+
getScene
().
getId
()
+
"/scene"
+
getScene
().
getId
()
+
"_group"
+
group
.
id
+
"."
+
ScriptLoader
.
getScriptType
())
)
;
if
(
cs
==
null
)
{
if
(
cs
==
null
)
{
return
;
return
;
...
@@ -222,7 +247,8 @@ public class SceneScriptManager {
...
@@ -222,7 +247,8 @@ public class SceneScriptManager {
cs
.
eval
(
getBindings
());
cs
.
eval
(
getBindings
());
// Set
// Set
group
.
monsters
=
ScriptLoader
.
getSerializer
().
toList
(
SceneMonster
.
class
,
bindings
.
get
(
"monsters"
));
group
.
monsters
=
ScriptLoader
.
getSerializer
().
toList
(
SceneMonster
.
class
,
bindings
.
get
(
"monsters"
)).
stream
()
.
collect
(
Collectors
.
toMap
(
x
->
x
.
config_id
,
y
->
y
));
group
.
gadgets
=
ScriptLoader
.
getSerializer
().
toList
(
SceneGadget
.
class
,
bindings
.
get
(
"gadgets"
));
group
.
gadgets
=
ScriptLoader
.
getSerializer
().
toList
(
SceneGadget
.
class
,
bindings
.
get
(
"gadgets"
));
group
.
triggers
=
ScriptLoader
.
getSerializer
().
toList
(
SceneTrigger
.
class
,
bindings
.
get
(
"triggers"
));
group
.
triggers
=
ScriptLoader
.
getSerializer
().
toList
(
SceneTrigger
.
class
,
bindings
.
get
(
"triggers"
));
group
.
suites
=
ScriptLoader
.
getSerializer
().
toList
(
SceneSuite
.
class
,
bindings
.
get
(
"suites"
));
group
.
suites
=
ScriptLoader
.
getSerializer
().
toList
(
SceneSuite
.
class
,
bindings
.
get
(
"suites"
));
...
@@ -235,21 +261,21 @@ public class SceneScriptManager {
...
@@ -235,21 +261,21 @@ public class SceneScriptManager {
// Add monsters to suite TODO optimize
// Add monsters to suite TODO optimize
Int2ObjectMap
<
Object
>
map
=
new
Int2ObjectOpenHashMap
<>();
Int2ObjectMap
<
Object
>
map
=
new
Int2ObjectOpenHashMap
<>();
group
.
monsters
.
forEach
(
m
->
map
.
put
(
m
.
config_id
,
m
));
group
.
monsters
.
entrySet
().
forEach
(
m
->
map
.
put
(
m
.
getValue
().
config_id
,
m
));
group
.
gadgets
.
forEach
(
m
->
map
.
put
(
m
.
config_id
,
m
));
group
.
gadgets
.
forEach
(
m
->
map
.
put
(
m
.
config_id
,
m
));
for
(
SceneSuite
suite
:
group
.
suites
)
{
for
(
SceneSuite
suite
:
group
.
suites
)
{
suite
.
sceneMonsters
=
new
ArrayList
<>(
suite
.
monsters
.
size
());
suite
.
sceneMonsters
=
new
ArrayList
<>(
suite
.
monsters
.
size
());
for
(
int
id
:
suite
.
monsters
)
{
suite
.
monsters
.
forEach
(
id
->
{
try
{
Object
objEntry
=
map
.
get
(
id
.
intValue
());
SceneMonster
monster
=
(
SceneMonster
)
map
.
get
(
id
);
if
(
objEntry
instanceof
Map
.
Entry
<?,?>
monsterEntry
)
{
if
(
monster
!=
null
)
{
Object
monster
=
monsterEntry
.
getValue
();
suite
.
sceneMonsters
.
add
(
monster
);
if
(
monster
instanceof
SceneMonster
sceneMonster
){
suite
.
sceneMonsters
.
add
(
sceneMonster
);
}
}
}
catch
(
Exception
e
)
{
continue
;
}
}
}
});
suite
.
sceneGadgets
=
new
ArrayList
<>(
suite
.
gadgets
.
size
());
suite
.
sceneGadgets
=
new
ArrayList
<>(
suite
.
gadgets
.
size
());
for
(
int
id
:
suite
.
gadgets
)
{
for
(
int
id
:
suite
.
gadgets
)
{
try
{
try
{
...
@@ -257,11 +283,10 @@ public class SceneScriptManager {
...
@@ -257,11 +283,10 @@ public class SceneScriptManager {
if
(
gadget
!=
null
)
{
if
(
gadget
!=
null
)
{
suite
.
sceneGadgets
.
add
(
gadget
);
suite
.
sceneGadgets
.
add
(
gadget
);
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
ignored
)
{
}
continue
;
}
}
}
}
}
this
.
sceneGroups
.
put
(
group
.
id
,
group
);
}
catch
(
ScriptException
e
)
{
}
catch
(
ScriptException
e
)
{
Grasscutter
.
getLogger
().
error
(
"Error loading group "
+
group
.
id
+
" in scene "
+
getScene
().
getId
(),
e
);
Grasscutter
.
getLogger
().
error
(
"Error loading group "
+
group
.
id
+
" in scene "
+
getScene
().
getId
(),
e
);
}
}
...
@@ -321,62 +346,43 @@ public class SceneScriptManager {
...
@@ -321,62 +346,43 @@ public class SceneScriptManager {
this
.
callEvent
(
EventType
.
EVENT_GADGET_CREATE
,
new
ScriptArgs
(
entity
.
getConfigId
()));
this
.
callEvent
(
EventType
.
EVENT_GADGET_CREATE
,
new
ScriptArgs
(
entity
.
getConfigId
()));
}
}
}
}
public
void
spawnMonstersInGroup
(
SceneGroup
group
,
int
suiteIndex
)
{
public
void
spawnMonstersInGroup
(
SceneGroup
group
,
int
suiteIndex
)
{
spawnMonstersInGroup
(
group
,
group
.
getSuiteByIndex
(
suiteIndex
));
var
suite
=
group
.
getSuiteByIndex
(
suiteIndex
);
if
(
suite
==
null
){
return
;
}
spawnMonstersInGroup
(
group
,
suite
);
}
public
void
spawnMonstersInGroup
(
SceneGroup
group
,
SceneSuite
suite
)
{
if
(
suite
==
null
||
suite
.
sceneMonsters
.
size
()
<=
0
){
return
;
}
this
.
currentGroup
=
group
;
suite
.
sceneMonsters
.
forEach
(
mob
->
this
.
scriptMonsterSpawnService
.
spawnMonster
(
group
.
id
,
mob
));
}
}
public
void
spawnMonstersInGroup
(
SceneGroup
group
)
{
public
void
spawnMonstersInGroup
(
SceneGroup
group
)
{
spawnMonstersInGroup
(
group
,
null
);
this
.
currentGroup
=
group
;
group
.
monsters
.
values
().
forEach
(
mob
->
this
.
scriptMonsterSpawnService
.
spawnMonster
(
group
.
id
,
mob
));
}
}
public
void
spawnMonstersInGroup
(
SceneGroup
group
,
SceneSuite
suite
)
{
List
<
SceneMonster
>
monsters
=
group
.
monsters
;
if
(
suite
!=
null
)
{
monsters
=
suite
.
sceneMonsters
;
}
List
<
GameEntity
>
toAdd
=
new
ArrayList
<>();
public
void
startMonsterTideInGroup
(
SceneGroup
group
,
Integer
[]
ordersConfigId
,
int
tideCount
,
int
sceneLimit
)
{
this
.
currentGroup
=
group
;
for
(
SceneMonster
monster
:
monsters
)
{
this
.
scriptMonsterTideService
=
MonsterData
data
=
GameData
.
getMonsterDataMap
().
get
(
monster
.
monster_id
);
new
ScriptMonsterTideService
(
this
,
group
,
tideCount
,
sceneLimit
,
ordersConfigId
);
if
(
data
==
null
)
{
}
continue
;
public
void
unloadCurrentMonsterTide
(){
}
if
(
this
.
getScriptMonsterTideService
()
==
null
){
return
;
// Calculate level
int
level
=
monster
.
level
;
if
(
getScene
().
getDungeonData
()
!=
null
)
{
level
=
getScene
().
getDungeonData
().
getShowLevel
();
}
else
if
(
getScene
().
getWorld
().
getWorldLevel
()
>
0
)
{
WorldLevelData
worldLevelData
=
GameData
.
getWorldLevelDataMap
().
get
(
getScene
().
getWorld
().
getWorldLevel
());
if
(
worldLevelData
!=
null
)
{
level
=
worldLevelData
.
getMonsterLevel
();
}
}
// Spawn mob
EntityMonster
entity
=
new
EntityMonster
(
getScene
(),
data
,
monster
.
pos
,
level
);
entity
.
getRotation
().
set
(
monster
.
rot
);
entity
.
setGroupId
(
group
.
id
);
entity
.
setConfigId
(
monster
.
config_id
);
toAdd
.
add
(
entity
);
}
if
(
toAdd
.
size
()
>
0
)
{
getScene
().
addEntities
(
toAdd
);
for
(
GameEntity
entity
:
toAdd
)
{
callEvent
(
EventType
.
EVENT_ANY_MONSTER_LIVE
,
new
ScriptArgs
(
entity
.
getConfigId
()));
}
}
}
this
.
getScriptMonsterTideService
().
unload
();
}
public
void
spawnMonstersByConfigId
(
int
configId
,
int
delayTime
)
{
// TODO delay
this
.
scriptMonsterSpawnService
.
spawnMonster
(
this
.
currentGroup
.
id
,
this
.
currentGroup
.
monsters
.
get
(
configId
));
}
}
// Events
// Events
public
void
callEvent
(
int
eventType
,
ScriptArgs
params
)
{
public
void
callEvent
(
int
eventType
,
ScriptArgs
params
)
{
...
@@ -395,14 +401,39 @@ public class SceneScriptManager {
...
@@ -395,14 +401,39 @@ public class SceneScriptManager {
if
(
params
!=
null
)
{
if
(
params
!=
null
)
{
args
=
CoerceJavaToLua
.
coerce
(
params
);
args
=
CoerceJavaToLua
.
coerce
(
params
);
}
}
ret
=
condition
.
call
(
this
.
getScriptLibLua
(),
args
);
ScriptLib
.
logger
.
trace
(
"Call Condition Trigger {}"
,
trigger
);
ret
=
safetyCall
(
trigger
.
condition
,
condition
,
args
);
}
}
if
(
ret
.
checkboolean
()
==
true
)
{
if
(
ret
.
isboolean
()
&&
ret
.
checkboolean
())
{
ScriptLib
.
logger
.
trace
(
"Call Action Trigger {}"
,
trigger
);
LuaValue
action
=
(
LuaValue
)
this
.
getBindings
().
get
(
trigger
.
action
);
LuaValue
action
=
(
LuaValue
)
this
.
getBindings
().
get
(
trigger
.
action
);
action
.
call
(
this
.
getScriptLibLua
(),
LuaValue
.
NIL
);
// TODO impl the param of SetGroupVariableValueByGroup
var
arg
=
new
ScriptArgs
();
arg
.
param2
=
100
;
var
args
=
CoerceJavaToLua
.
coerce
(
arg
);
safetyCall
(
trigger
.
action
,
action
,
args
);
}
}
//TODO some ret may not bool
}
}
}
}
public
LuaValue
safetyCall
(
String
name
,
LuaValue
func
,
LuaValue
args
){
try
{
return
func
.
call
(
this
.
getScriptLibLua
(),
args
);
}
catch
(
LuaError
error
){
ScriptLib
.
logger
.
error
(
"[LUA] call trigger failed {},{}"
,
name
,
args
,
error
);
return
LuaValue
.
valueOf
(-
1
);
}
}
public
ScriptMonsterTideService
getScriptMonsterTideService
()
{
return
scriptMonsterTideService
;
}
public
ScriptMonsterSpawnService
getScriptMonsterSpawnService
()
{
return
scriptMonsterSpawnService
;
}
}
}
src/main/java/emu/grasscutter/scripts/ScriptLib.java
View file @
a8293102
package
emu.grasscutter.scripts
;
package
emu.grasscutter.scripts
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.Optional
;
import
org.luaj.vm2.LuaTable
;
import
org.luaj.vm2.LuaValue
;
import
emu.grasscutter.Grasscutter
;
import
emu.grasscutter.data.GameData
;
import
emu.grasscutter.data.def.MonsterData
;
import
emu.grasscutter.game.dungeons.DungeonChallenge
;
import
emu.grasscutter.game.dungeons.DungeonChallenge
;
import
emu.grasscutter.game.entity.EntityGadget
;
import
emu.grasscutter.game.entity.EntityGadget
;
import
emu.grasscutter.game.entity.EntityMonster
;
import
emu.grasscutter.game.entity.EntityMonster
;
import
emu.grasscutter.game.entity.GameEntity
;
import
emu.grasscutter.game.entity.GameEntity
;
import
emu.grasscutter.scripts.constants.EventType
;
import
emu.grasscutter.scripts.data.SceneGroup
;
import
emu.grasscutter.scripts.data.SceneGroup
;
import
emu.grasscutter.scripts.data.SceneMonster
;
import
emu.grasscutter.scripts.data.SceneRegion
;
import
emu.grasscutter.scripts.data.SceneRegion
;
import
emu.grasscutter.s
cripts.data.ScriptArgs
;
import
emu.grasscutter.s
erver.packet.send.PacketCanUseSkillNotify
;
import
emu.grasscutter.server.packet.send.PacketGadgetStateNotify
;
import
emu.grasscutter.server.packet.send.PacketGadgetStateNotify
;
import
emu.grasscutter.server.packet.send.PacketWorktopOptionNotify
;
import
emu.grasscutter.server.packet.send.PacketWorktopOptionNotify
;
import
org.luaj.vm2.LuaTable
;
import
org.luaj.vm2.LuaValue
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
java.util.List
;
import
java.util.Optional
;
public
class
ScriptLib
{
public
class
ScriptLib
{
public
static
final
Logger
logger
=
LoggerFactory
.
getLogger
(
ScriptLib
.
class
);
private
final
SceneScriptManager
sceneScriptManager
;
private
final
SceneScriptManager
sceneScriptManager
;
public
ScriptLib
(
SceneScriptManager
sceneScriptManager
)
{
public
ScriptLib
(
SceneScriptManager
sceneScriptManager
)
{
...
@@ -32,8 +28,20 @@ public class ScriptLib {
...
@@ -32,8 +28,20 @@ public class ScriptLib {
public
SceneScriptManager
getSceneScriptManager
()
{
public
SceneScriptManager
getSceneScriptManager
()
{
return
sceneScriptManager
;
return
sceneScriptManager
;
}
}
private
String
printTable
(
LuaTable
table
){
StringBuilder
sb
=
new
StringBuilder
();
sb
.
append
(
"{"
);
for
(
var
meta
:
table
.
keys
()){
sb
.
append
(
meta
).
append
(
":"
).
append
(
table
.
get
(
meta
)).
append
(
","
);
}
sb
.
append
(
"}"
);
return
sb
.
toString
();
}
public
int
SetGadgetStateByConfigId
(
int
configId
,
int
gadgetState
)
{
public
int
SetGadgetStateByConfigId
(
int
configId
,
int
gadgetState
)
{
logger
.
debug
(
"[LUA] Call SetGadgetStateByConfigId with {},{}"
,
configId
,
gadgetState
);
Optional
<
GameEntity
>
entity
=
getSceneScriptManager
().
getScene
().
getEntities
().
values
().
stream
()
Optional
<
GameEntity
>
entity
=
getSceneScriptManager
().
getScene
().
getEntities
().
values
().
stream
()
.
filter
(
e
->
e
.
getConfigId
()
==
configId
).
findFirst
();
.
filter
(
e
->
e
.
getConfigId
()
==
configId
).
findFirst
();
...
@@ -53,6 +61,8 @@ public class ScriptLib {
...
@@ -53,6 +61,8 @@ public class ScriptLib {
}
}
public
int
SetGroupGadgetStateByConfigId
(
int
groupId
,
int
configId
,
int
gadgetState
)
{
public
int
SetGroupGadgetStateByConfigId
(
int
groupId
,
int
configId
,
int
gadgetState
)
{
logger
.
debug
(
"[LUA] Call SetGroupGadgetStateByConfigId with {},{},{}"
,
groupId
,
configId
,
gadgetState
);
List
<
GameEntity
>
list
=
getSceneScriptManager
().
getScene
().
getEntities
().
values
().
stream
()
List
<
GameEntity
>
list
=
getSceneScriptManager
().
getScene
().
getEntities
().
values
().
stream
()
.
filter
(
e
->
e
.
getGroupId
()
==
groupId
).
toList
();
.
filter
(
e
->
e
.
getGroupId
()
==
groupId
).
toList
();
...
@@ -71,6 +81,8 @@ public class ScriptLib {
...
@@ -71,6 +81,8 @@ public class ScriptLib {
}
}
public
int
SetWorktopOptionsByGroupId
(
int
groupId
,
int
configId
,
int
[]
options
)
{
public
int
SetWorktopOptionsByGroupId
(
int
groupId
,
int
configId
,
int
[]
options
)
{
logger
.
debug
(
"[LUA] Call SetWorktopOptionsByGroupId with {},{},{}"
,
groupId
,
configId
,
options
);
Optional
<
GameEntity
>
entity
=
getSceneScriptManager
().
getScene
().
getEntities
().
values
().
stream
()
Optional
<
GameEntity
>
entity
=
getSceneScriptManager
().
getScene
().
getEntities
().
values
().
stream
()
.
filter
(
e
->
e
.
getConfigId
()
==
configId
&&
e
.
getGroupId
()
==
groupId
).
findFirst
();
.
filter
(
e
->
e
.
getConfigId
()
==
configId
&&
e
.
getGroupId
()
==
groupId
).
findFirst
();
...
@@ -90,6 +102,8 @@ public class ScriptLib {
...
@@ -90,6 +102,8 @@ public class ScriptLib {
}
}
public
int
DelWorktopOptionByGroupId
(
int
groupId
,
int
configId
,
int
option
)
{
public
int
DelWorktopOptionByGroupId
(
int
groupId
,
int
configId
,
int
option
)
{
logger
.
debug
(
"[LUA] Call DelWorktopOptionByGroupId with {},{},{}"
,
groupId
,
configId
,
option
);
Optional
<
GameEntity
>
entity
=
getSceneScriptManager
().
getScene
().
getEntities
().
values
().
stream
()
Optional
<
GameEntity
>
entity
=
getSceneScriptManager
().
getScene
().
getEntities
().
values
().
stream
()
.
filter
(
e
->
e
.
getConfigId
()
==
configId
&&
e
.
getGroupId
()
==
groupId
).
findFirst
();
.
filter
(
e
->
e
.
getConfigId
()
==
configId
&&
e
.
getGroupId
()
==
groupId
).
findFirst
();
...
@@ -109,72 +123,110 @@ public class ScriptLib {
...
@@ -109,72 +123,110 @@ public class ScriptLib {
}
}
// Some fields are guessed
// Some fields are guessed
public
int
AutoMonsterTide
(
int
challengeIndex
,
int
groupId
,
int
[]
config_ids
,
int
param4
,
int
param5
,
int
param6
)
{
public
int
AutoMonsterTide
(
int
challengeIndex
,
int
groupId
,
Integer
[]
ordersConfigId
,
int
tideCount
,
int
sceneLimit
,
int
param6
)
{
logger
.
debug
(
"[LUA] Call AutoMonsterTide with {},{},{},{},{},{}"
,
challengeIndex
,
groupId
,
ordersConfigId
,
tideCount
,
sceneLimit
,
param6
);
SceneGroup
group
=
getSceneScriptManager
().
getGroupById
(
groupId
);
SceneGroup
group
=
getSceneScriptManager
().
getGroupById
(
groupId
);
if
(
group
==
null
||
group
.
monsters
==
null
)
{
if
(
group
==
null
||
group
.
monsters
==
null
)
{
return
1
;
return
1
;
}
}
// TODO just spawn all from group for now
this
.
getSceneScriptManager
().
startMonsterTideInGroup
(
group
,
ordersConfigId
,
tideCount
,
sceneLimit
);
this
.
getSceneScriptManager
().
spawnMonstersInGroup
(
group
);
return
0
;
return
0
;
}
}
public
int
AddExtraGroupSuite
(
int
groupId
,
int
suite
)
{
public
int
AddExtraGroupSuite
(
int
groupId
,
int
suite
)
{
logger
.
debug
(
"[LUA] Call AddExtraGroupSuite with {},{}"
,
groupId
,
suite
);
SceneGroup
group
=
getSceneScriptManager
().
getGroupById
(
groupId
);
SceneGroup
group
=
getSceneScriptManager
().
getGroupById
(
groupId
);
if
(
group
==
null
||
group
.
monsters
==
null
)
{
if
(
group
==
null
||
group
.
monsters
==
null
)
{
return
1
;
return
1
;
}
}
// TODO just spawn all from group for now
// avoid spawn wrong monster
if
(
getSceneScriptManager
().
getScene
().
getChallenge
()
!=
null
)
if
(!
getSceneScriptManager
().
getScene
().
getChallenge
().
inProgress
()
||
getSceneScriptManager
().
getScene
().
getChallenge
().
getGroup
().
id
!=
groupId
){
return
0
;
}
this
.
getSceneScriptManager
().
spawnMonstersInGroup
(
group
,
suite
);
this
.
getSceneScriptManager
().
spawnMonstersInGroup
(
group
,
suite
);
return
0
;
return
0
;
}
}
// param3 (probably time limit for timed dungeons)
// param3 (probably time limit for timed dungeons)
public
int
ActiveChallenge
(
int
challengeId
,
int
challengeIndex
,
int
param3
,
int
groupId
,
int
objectiveKills
,
int
param5
)
{
public
int
ActiveChallenge
(
int
challengeId
,
int
challengeIndex
,
int
timeLimitOrGroupId
,
int
groupId
,
int
objectiveKills
,
int
param5
)
{
logger
.
debug
(
"[LUA] Call ActiveChallenge with {},{},{},{},{},{}"
,
challengeId
,
challengeIndex
,
timeLimitOrGroupId
,
groupId
,
objectiveKills
,
param5
);
SceneGroup
group
=
getSceneScriptManager
().
getGroupById
(
groupId
);
SceneGroup
group
=
getSceneScriptManager
().
getGroupById
(
groupId
);
var
objective
=
objectiveKills
;
if
(
group
==
null
){
group
=
getSceneScriptManager
().
getGroupById
(
timeLimitOrGroupId
);
objective
=
groupId
;
}
if
(
group
==
null
||
group
.
monsters
==
null
)
{
if
(
group
==
null
||
group
.
monsters
==
null
)
{
return
1
;
return
1
;
}
}
DungeonChallenge
challenge
=
new
DungeonChallenge
(
getSceneScriptManager
().
getScene
(),
group
);
if
(
getSceneScriptManager
().
getScene
().
getChallenge
()
!=
null
&&
challenge
.
setChallengeId
(
challengeId
);
getSceneScriptManager
().
getScene
().
getChallenge
().
inProgress
())
challenge
.
setChallengeIndex
(
challengeIndex
);
{
challenge
.
setObjective
(
objectiveKills
);
return
0
;
}
DungeonChallenge
challenge
=
new
DungeonChallenge
(
getSceneScriptManager
().
getScene
(),
group
,
challengeId
,
challengeIndex
,
objective
);
// set if tower first stage (6-1)
challenge
.
setStage
(
getSceneScriptManager
().
getVariables
().
getOrDefault
(
"stage"
,
-
1
)
==
0
);
getSceneScriptManager
().
getScene
().
setChallenge
(
challenge
);
getSceneScriptManager
().
getScene
().
setChallenge
(
challenge
);
challenge
.
start
();
challenge
.
start
();
return
0
;
return
0
;
}
}
public
int
GetGroupMonsterCountByGroupId
(
int
groupId
)
{
public
int
GetGroupMonsterCountByGroupId
(
int
groupId
)
{
logger
.
debug
(
"[LUA] Call GetGroupMonsterCountByGroupId with {}"
,
groupId
);
return
(
int
)
getSceneScriptManager
().
getScene
().
getEntities
().
values
().
stream
()
return
(
int
)
getSceneScriptManager
().
getScene
().
getEntities
().
values
().
stream
()
.
filter
(
e
->
e
instanceof
EntityMonster
&&
e
.
getGroupId
()
==
groupId
)
.
filter
(
e
->
e
instanceof
EntityMonster
&&
e
.
getGroupId
()
==
groupId
)
.
count
();
.
count
();
}
}
public
int
GetGroupVariableValue
(
String
var
)
{
public
int
GetGroupVariableValue
(
String
var
)
{
logger
.
debug
(
"[LUA] Call GetGroupVariableValue with {}"
,
var
);
return
getSceneScriptManager
().
getVariables
().
getOrDefault
(
var
,
0
);
return
getSceneScriptManager
().
getVariables
().
getOrDefault
(
var
,
0
);
}
}
public
int
SetGroupVariableValue
(
String
var
,
int
value
)
{
public
int
SetGroupVariableValue
(
String
var
,
int
value
)
{
logger
.
debug
(
"[LUA] Call SetGroupVariableValue with {},{}"
,
var
,
value
);
getSceneScriptManager
().
getVariables
().
put
(
var
,
value
);
getSceneScriptManager
().
getVariables
().
put
(
var
,
value
);
return
0
;
return
0
;
}
}
public
LuaValue
ChangeGroupVariableValue
(
String
var
,
int
value
)
{
public
LuaValue
ChangeGroupVariableValue
(
String
var
,
int
value
)
{
logger
.
debug
(
"[LUA] Call ChangeGroupVariableValue with {},{}"
,
var
,
value
);
getSceneScriptManager
().
getVariables
().
put
(
var
,
getSceneScriptManager
().
getVariables
().
get
(
var
)
+
value
);
getSceneScriptManager
().
getVariables
().
put
(
var
,
getSceneScriptManager
().
getVariables
().
get
(
var
)
+
value
);
return
LuaValue
.
ZERO
;
return
LuaValue
.
ZERO
;
}
}
/**
* Set the actions and triggers to designated group
*/
public
int
RefreshGroup
(
LuaTable
table
)
{
public
int
RefreshGroup
(
LuaTable
table
)
{
logger
.
debug
(
"[LUA] Call RefreshGroup with {}"
,
printTable
(
table
));
// Kill and Respawn?
// Kill and Respawn?
int
groupId
=
table
.
get
(
"group_id"
).
toint
();
int
groupId
=
table
.
get
(
"group_id"
).
toint
();
int
suite
=
table
.
get
(
"suite"
).
toint
();
int
suite
=
table
.
get
(
"suite"
).
toint
();
...
@@ -185,13 +237,14 @@ public class ScriptLib {
...
@@ -185,13 +237,14 @@ public class ScriptLib {
return
1
;
return
1
;
}
}
this
.
getSceneScriptManager
().
spawnMonstersInGroup
(
group
,
suite
);
getSceneScriptManager
().
refreshGroup
(
group
,
suite
);
this
.
getSceneScriptManager
().
spawnGadgetsInGroup
(
group
,
suite
);
return
0
;
return
0
;
}
}
public
int
GetRegionEntityCount
(
LuaTable
table
)
{
public
int
GetRegionEntityCount
(
LuaTable
table
)
{
logger
.
debug
(
"[LUA] Call GetRegionEntityCount with {}"
,
table
);
int
regionId
=
table
.
get
(
"region_eid"
).
toint
();
int
regionId
=
table
.
get
(
"region_eid"
).
toint
();
int
entityType
=
table
.
get
(
"entity_type"
).
toint
();
int
entityType
=
table
.
get
(
"entity_type"
).
toint
();
...
@@ -205,21 +258,103 @@ public class ScriptLib {
...
@@ -205,21 +258,103 @@ public class ScriptLib {
}
}
public
void
PrintContextLog
(
String
msg
)
{
public
void
PrintContextLog
(
String
msg
)
{
Grasscutter
.
getL
ogger
()
.
info
(
"[LUA] "
+
msg
);
l
ogger
.
info
(
"[LUA] "
+
msg
);
}
}
public
int
TowerCountTimeStatus
(
int
var1
,
int
var2
){
public
int
TowerCountTimeStatus
(
int
isDone
,
int
var2
){
logger
.
debug
(
"[LUA] Call TowerCountTimeStatus with {},{}"
,
isDone
,
var2
);
// TODO record time
return
0
;
return
0
;
}
}
public
int
GetGroupMonsterCount
(
int
var1
){
public
int
GetGroupMonsterCount
(
int
var1
){
// Maybe...
logger
.
debug
(
"[LUA] Call GetGroupMonsterCount with {}"
,
return
GetGroupMonsterCountByGroupId
(
var1
);
var1
);
return
(
int
)
getSceneScriptManager
().
getScene
().
getEntities
().
values
().
stream
()
.
filter
(
e
->
e
instanceof
EntityMonster
&&
e
.
getGroupId
()
==
getSceneScriptManager
().
getCurrentGroup
().
id
)
.
count
();
}
}
public
int
SetMonsterBattleByGroup
(
int
var1
,
int
var2
,
int
var3
){
public
int
SetMonsterBattleByGroup
(
int
var1
,
int
var2
,
int
var3
){
logger
.
debug
(
"[LUA] Call SetMonsterBattleByGroup with {},{},{}"
,
var1
,
var2
,
var3
);
// TODO
return
0
;
return
0
;
}
}
public
int
CauseDungeonFail
(
int
var1
){
public
int
CauseDungeonFail
(
int
var1
){
logger
.
debug
(
"[LUA] Call CauseDungeonFail with {}"
,
var1
);
return
0
;
}
public
int
GetGroupVariableValueByGroup
(
String
name
,
int
groupId
){
logger
.
debug
(
"[LUA] Call GetGroupVariableValueByGroup with {},{}"
,
name
,
groupId
);
return
getSceneScriptManager
().
getVariables
().
getOrDefault
(
name
,
0
);
}
public
int
SetIsAllowUseSkill
(
int
canUse
,
int
var2
){
logger
.
debug
(
"[LUA] Call SetIsAllowUseSkill with {},{}"
,
canUse
,
var2
);
getSceneScriptManager
().
getScene
().
broadcastPacket
(
new
PacketCanUseSkillNotify
(
canUse
==
1
));
return
0
;
}
public
int
KillEntityByConfigId
(
LuaTable
table
){
logger
.
debug
(
"[LUA] Call KillEntityByConfigId with {}"
,
printTable
(
table
));
var
configId
=
table
.
get
(
"config_id"
);
if
(
configId
==
LuaValue
.
NIL
){
return
1
;
}
var
entity
=
getSceneScriptManager
().
getScene
().
getEntityByConfigId
(
configId
.
toint
());
if
(
entity
==
null
){
return
1
;
}
getSceneScriptManager
().
getScene
().
killEntity
(
entity
,
0
);
return
0
;
}
public
int
SetGroupVariableValueByGroup
(
String
key
,
int
value
,
int
groupId
){
logger
.
debug
(
"[LUA] Call SetGroupVariableValueByGroup with {},{},{}"
,
key
,
value
,
groupId
);
getSceneScriptManager
().
getVariables
().
put
(
key
,
value
);
return
0
;
}
public
int
CreateMonster
(
LuaTable
table
){
logger
.
debug
(
"[LUA] Call CreateMonster with {}"
,
printTable
(
table
));
var
configId
=
table
.
get
(
"config_id"
).
toint
();
var
delayTime
=
table
.
get
(
"delay_time"
).
toint
();
getSceneScriptManager
().
spawnMonstersByConfigId
(
configId
,
delayTime
);
return
0
;
}
public
int
TowerMirrorTeamSetUp
(
int
team
,
int
var1
)
{
logger
.
debug
(
"[LUA] Call TowerMirrorTeamSetUp with {},{}"
,
team
,
var1
);
getSceneScriptManager
().
unloadCurrentMonsterTide
();
getSceneScriptManager
().
getScene
().
getPlayers
().
get
(
0
).
getTowerManager
().
mirrorTeamSetUp
(
team
-
1
);
return
0
;
}
public
int
CreateGadget
(
LuaTable
table
){
logger
.
debug
(
"[LUA] Call CreateGadget with {}"
,
printTable
(
table
));
var
configId
=
table
.
get
(
"config_id"
).
toint
();
//TODO
return
0
;
return
0
;
}
}
}
}
src/main/java/emu/grasscutter/scripts/data/SceneGroup.java
View file @
a8293102
package
emu.grasscutter.scripts.data
;
package
emu.grasscutter.scripts.data
;
import
java.util.List
;
import
emu.grasscutter.utils.Position
;
import
emu.grasscutter.utils.Position
;
import
java.util.List
;
import
java.util.Map
;
public
class
SceneGroup
{
public
class
SceneGroup
{
public
transient
int
block_id
;
// Not an actual variable in the scripts but we will keep it here for reference
public
transient
int
block_id
;
// Not an actual variable in the scripts but we will keep it here for reference
public
int
id
;
public
int
id
;
public
int
refresh_id
;
public
int
refresh_id
;
public
Position
pos
;
public
Position
pos
;
public
List
<
SceneMonster
>
monsters
;
/**
* ConfigId - Monster
*/
public
Map
<
Integer
,
SceneMonster
>
monsters
;
public
List
<
SceneGadget
>
gadgets
;
public
List
<
SceneGadget
>
gadgets
;
public
List
<
SceneTrigger
>
triggers
;
public
List
<
SceneTrigger
>
triggers
;
public
List
<
SceneRegion
>
regions
;
public
List
<
SceneRegion
>
regions
;
...
...
src/main/java/emu/grasscutter/scripts/data/SceneTrigger.java
View file @
a8293102
...
@@ -7,4 +7,29 @@ public class SceneTrigger {
...
@@ -7,4 +7,29 @@ public class SceneTrigger {
public
String
source
;
public
String
source
;
public
String
condition
;
public
String
condition
;
public
String
action
;
public
String
action
;
@Override
public
boolean
equals
(
Object
obj
)
{
if
(
obj
instanceof
SceneTrigger
sceneTrigger
){
return
this
.
name
.
equals
(
sceneTrigger
.
name
);
}
return
super
.
equals
(
obj
);
}
@Override
public
int
hashCode
()
{
return
name
.
hashCode
();
}
@Override
public
String
toString
()
{
return
"SceneTrigger{"
+
"name='"
+
name
+
'\''
+
", config_id="
+
config_id
+
", event="
+
event
+
", source='"
+
source
+
'\''
+
", condition='"
+
condition
+
'\''
+
", action='"
+
action
+
'\''
+
'}'
;
}
}
}
src/main/java/emu/grasscutter/scripts/listener/ScriptMonsterListener.java
0 → 100644
View file @
a8293102
package
emu.grasscutter.scripts.listener
;
import
emu.grasscutter.game.entity.EntityMonster
;
public
interface
ScriptMonsterListener
{
void
onNotify
(
EntityMonster
sceneMonster
);
}
src/main/java/emu/grasscutter/scripts/serializer/LuaSerializer.java
View file @
a8293102
...
@@ -70,16 +70,14 @@ public class LuaSerializer implements Serializer {
...
@@ -70,16 +70,14 @@ public class LuaSerializer implements Serializer {
}
}
try
{
try
{
object
=
type
.
getDeclaredConstructor
().
newInstance
(
null
);
//noinspection ConfusingArgumentToVarargsMethod
object
=
type
.
getDeclaredConstructor
().
newInstance
();
LuaValue
[]
keys
=
table
.
keys
();
LuaValue
[]
keys
=
table
.
keys
();
for
(
LuaValue
k
:
keys
)
{
for
(
LuaValue
k
:
keys
)
{
try
{
try
{
Field
field
=
object
.
getClass
().
getDeclaredField
(
k
.
checkjstring
());
Field
field
=
object
.
getClass
().
getDeclaredField
(
k
.
checkjstring
());
if
(
field
==
null
)
{
continue
;
}
field
.
setAccessible
(
true
);
field
.
setAccessible
(
true
);
LuaValue
keyValue
=
table
.
get
(
k
);
LuaValue
keyValue
=
table
.
get
(
k
);
...
...
src/main/java/emu/grasscutter/scripts/service/ScriptMonsterSpawnService.java
0 → 100644
View file @
a8293102
package
emu.grasscutter.scripts.service
;
import
emu.grasscutter.data.GameData
;
import
emu.grasscutter.data.excels.MonsterData
;
import
emu.grasscutter.data.excels.WorldLevelData
;
import
emu.grasscutter.game.entity.EntityMonster
;
import
emu.grasscutter.scripts.SceneScriptManager
;
import
emu.grasscutter.scripts.constants.EventType
;
import
emu.grasscutter.scripts.data.SceneMonster
;
import
emu.grasscutter.scripts.data.ScriptArgs
;
import
emu.grasscutter.scripts.listener.ScriptMonsterListener
;
import
java.util.ArrayList
;
import
java.util.List
;
public
class
ScriptMonsterSpawnService
{
private
final
SceneScriptManager
sceneScriptManager
;
private
final
List
<
ScriptMonsterListener
>
onMonsterCreatedListener
=
new
ArrayList
<>();
private
final
List
<
ScriptMonsterListener
>
onMonsterDeadListener
=
new
ArrayList
<>();
public
ScriptMonsterSpawnService
(
SceneScriptManager
sceneScriptManager
){
this
.
sceneScriptManager
=
sceneScriptManager
;
}
public
void
addMonsterCreatedListener
(
ScriptMonsterListener
scriptMonsterListener
){
onMonsterCreatedListener
.
add
(
scriptMonsterListener
);
}
public
void
addMonsterDeadListener
(
ScriptMonsterListener
scriptMonsterListener
){
onMonsterDeadListener
.
add
(
scriptMonsterListener
);
}
public
void
removeMonsterCreatedListener
(
ScriptMonsterListener
scriptMonsterListener
){
onMonsterCreatedListener
.
remove
(
scriptMonsterListener
);
}
public
void
removeMonsterDeadListener
(
ScriptMonsterListener
scriptMonsterListener
){
onMonsterDeadListener
.
remove
(
scriptMonsterListener
);
}
public
void
onMonsterDead
(
EntityMonster
entityMonster
){
onMonsterDeadListener
.
forEach
(
l
->
l
.
onNotify
(
entityMonster
));
}
public
void
spawnMonster
(
int
groupId
,
SceneMonster
monster
)
{
if
(
monster
==
null
){
return
;
}
MonsterData
data
=
GameData
.
getMonsterDataMap
().
get
(
monster
.
monster_id
);
if
(
data
==
null
)
{
return
;
}
// Calculate level
int
level
=
monster
.
level
;
if
(
sceneScriptManager
.
getScene
().
getDungeonData
()
!=
null
)
{
level
=
sceneScriptManager
.
getScene
().
getDungeonData
().
getShowLevel
();
}
else
if
(
sceneScriptManager
.
getScene
().
getWorld
().
getWorldLevel
()
>
0
)
{
WorldLevelData
worldLevelData
=
GameData
.
getWorldLevelDataMap
().
get
(
sceneScriptManager
.
getScene
().
getWorld
().
getWorldLevel
());
if
(
worldLevelData
!=
null
)
{
level
=
worldLevelData
.
getMonsterLevel
();
}
}
// Spawn mob
EntityMonster
entity
=
new
EntityMonster
(
sceneScriptManager
.
getScene
(),
data
,
monster
.
pos
,
level
);
entity
.
getRotation
().
set
(
monster
.
rot
);
entity
.
setGroupId
(
groupId
);
entity
.
setConfigId
(
monster
.
config_id
);
onMonsterCreatedListener
.
forEach
(
action
->
action
.
onNotify
(
entity
));
sceneScriptManager
.
getScene
().
addEntity
(
entity
);
sceneScriptManager
.
callEvent
(
EventType
.
EVENT_ANY_MONSTER_LIVE
,
new
ScriptArgs
(
entity
.
getConfigId
()));
}
}
src/main/java/emu/grasscutter/scripts/service/ScriptMonsterTideService.java
0 → 100644
View file @
a8293102
package
emu.grasscutter.scripts.service
;
import
emu.grasscutter.game.entity.EntityMonster
;
import
emu.grasscutter.scripts.SceneScriptManager
;
import
emu.grasscutter.scripts.constants.EventType
;
import
emu.grasscutter.scripts.data.SceneGroup
;
import
emu.grasscutter.scripts.data.SceneMonster
;
import
emu.grasscutter.scripts.data.ScriptArgs
;
import
emu.grasscutter.scripts.listener.ScriptMonsterListener
;
import
java.util.List
;
import
java.util.concurrent.ConcurrentLinkedQueue
;
import
java.util.concurrent.atomic.AtomicInteger
;
public
class
ScriptMonsterTideService
{
private
final
SceneScriptManager
sceneScriptManager
;
private
final
SceneGroup
currentGroup
;
private
final
AtomicInteger
monsterAlive
;
private
final
AtomicInteger
monsterTideCount
;
private
final
AtomicInteger
monsterKillCount
;
private
final
int
monsterSceneLimit
;
private
final
ConcurrentLinkedQueue
<
Integer
>
monsterConfigOrders
;
private
final
OnMonsterCreated
onMonsterCreated
=
new
OnMonsterCreated
();
private
final
OnMonsterDead
onMonsterDead
=
new
OnMonsterDead
();
public
ScriptMonsterTideService
(
SceneScriptManager
sceneScriptManager
,
SceneGroup
group
,
int
tideCount
,
int
monsterSceneLimit
,
Integer
[]
ordersConfigId
){
this
.
sceneScriptManager
=
sceneScriptManager
;
this
.
currentGroup
=
group
;
this
.
monsterSceneLimit
=
monsterSceneLimit
;
this
.
monsterTideCount
=
new
AtomicInteger
(
tideCount
);
this
.
monsterKillCount
=
new
AtomicInteger
(
0
);
this
.
monsterAlive
=
new
AtomicInteger
(
0
);
this
.
monsterConfigOrders
=
new
ConcurrentLinkedQueue
<>(
List
.
of
(
ordersConfigId
));
this
.
sceneScriptManager
.
getScriptMonsterSpawnService
().
addMonsterCreatedListener
(
onMonsterCreated
);
this
.
sceneScriptManager
.
getScriptMonsterSpawnService
().
addMonsterDeadListener
(
onMonsterDead
);
// spawn the first turn
for
(
int
i
=
0
;
i
<
this
.
monsterSceneLimit
;
i
++)
{
this
.
sceneScriptManager
.
getScriptMonsterSpawnService
().
spawnMonster
(
group
.
id
,
getNextMonster
());
}
}
public
class
OnMonsterCreated
implements
ScriptMonsterListener
{
@Override
public
void
onNotify
(
EntityMonster
sceneMonster
)
{
if
(
monsterSceneLimit
>
0
){
monsterAlive
.
incrementAndGet
();
monsterTideCount
.
decrementAndGet
();
}
}
}
public
SceneMonster
getNextMonster
(){
var
nextId
=
this
.
monsterConfigOrders
.
poll
();
if
(
currentGroup
.
monsters
.
containsKey
(
nextId
)){
return
currentGroup
.
monsters
.
get
(
nextId
);
}
// TODO some monster config_id do not exist in groups, so temporarily set it to the first
return
currentGroup
.
monsters
.
values
().
stream
().
findFirst
().
orElse
(
null
);
}
public
class
OnMonsterDead
implements
ScriptMonsterListener
{
@Override
public
void
onNotify
(
EntityMonster
sceneMonster
)
{
if
(
monsterSceneLimit
<=
0
)
{
return
;
}
if
(
monsterAlive
.
decrementAndGet
()
>=
monsterSceneLimit
)
{
// maybe not happen
return
;
}
monsterKillCount
.
incrementAndGet
();
if
(
monsterTideCount
.
get
()
>
0
)
{
// add more
sceneScriptManager
.
getScriptMonsterSpawnService
().
spawnMonster
(
currentGroup
.
id
,
getNextMonster
());
}
// spawn the last turn of monsters
// fix the 5-2
sceneScriptManager
.
callEvent
(
EventType
.
EVENT_MONSTER_TIDE_DIE
,
new
ScriptArgs
(
monsterKillCount
.
get
()));
}
}
public
void
unload
(){
this
.
sceneScriptManager
.
getScriptMonsterSpawnService
().
removeMonsterCreatedListener
(
onMonsterCreated
);
this
.
sceneScriptManager
.
getScriptMonsterSpawnService
().
removeMonsterDeadListener
(
onMonsterDead
);
}
}
src/main/java/emu/grasscutter/server/dispatch/AnnouncementHandler.java
deleted
100644 → 0
View file @
304b9cb8
package
emu.grasscutter.server.dispatch
;
import
emu.grasscutter.Grasscutter
;
import
express.http.HttpContextHandler
;
import
express.http.Request
;
import
express.http.Response
;
import
java.io.File
;
import
java.io.FileInputStream
;
import
java.io.IOException
;
import
java.util.Objects
;
public
final
class
AnnouncementHandler
implements
HttpContextHandler
{
@Override
public
void
handle
(
Request
request
,
Response
response
)
throws
IOException
{
//event
if
(
Objects
.
equals
(
request
.
baseUrl
(),
"/common/hk4e_global/announcement/api/getAnnContent"
))
{
response
.
send
(
"{\"retcode\":0,\"message\":\"OK\",\"data\":"
+
readToString
(
new
File
(
Grasscutter
.
getConfig
().
DATA_FOLDER
+
"GameAnnouncement.json"
))
+
"}"
);
}
else
if
(
Objects
.
equals
(
request
.
baseUrl
(),
"/common/hk4e_global/announcement/api/getAnnList"
))
{
String
data
=
readToString
(
new
File
(
Grasscutter
.
getConfig
().
DATA_FOLDER
+
"GameAnnouncementList.json"
)).
replace
(
"System.currentTimeMillis()"
,
String
.
valueOf
(
System
.
currentTimeMillis
()));
response
.
send
(
"{\"retcode\":0,\"message\":\"OK\",\"data\": "
+
data
+
"}"
);
}
}
private
static
String
readToString
(
File
file
)
{
Long
filelength
=
file
.
length
();
byte
[]
filecontent
=
new
byte
[
filelength
.
intValue
()];
try
{
FileInputStream
in
=
new
FileInputStream
(
file
);
in
.
read
(
filecontent
);
in
.
close
();
}
catch
(
IOException
fileNotFoundException
)
{
fileNotFoundException
.
printStackTrace
();
}
return
new
String
(
filecontent
);
}
}
\ No newline at end of file
src/main/java/emu/grasscutter/server/dispatch/ClientLogHandler.java
deleted
100644 → 0
View file @
304b9cb8
package
emu.grasscutter.server.dispatch
;
import
express.http.HttpContextHandler
;
import
express.http.Request
;
import
express.http.Response
;
import
java.io.IOException
;
/**
* Used for processing crash dumps and logs generated by the game.
* Logs are in JSON, and are sent to the server for logging.
*/
public
final
class
ClientLogHandler
implements
HttpContextHandler
{
@Override
public
void
handle
(
Request
request
,
Response
response
)
throws
IOException
{
// TODO: Figure out how to dump request body and log to file.
response
.
send
(
"{\"code\":0}"
);
}
}
src/main/java/emu/grasscutter/server/dispatch/DispatchServer.java
deleted
100644 → 0
View file @
304b9cb8
package
emu.grasscutter.server.dispatch
;
import
com.google.gson.Gson
;
import
com.google.gson.GsonBuilder
;
import
com.google.protobuf.ByteString
;
import
emu.grasscutter.Config
;
import
emu.grasscutter.Grasscutter
;
import
emu.grasscutter.Grasscutter.ServerDebugMode
;
import
emu.grasscutter.Grasscutter.ServerRunMode
;
import
emu.grasscutter.database.DatabaseHelper
;
import
emu.grasscutter.game.Account
;
import
emu.grasscutter.net.proto.QueryCurrRegionHttpRspOuterClass.QueryCurrRegionHttpRsp
;
import
emu.grasscutter.net.proto.QueryRegionListHttpRspOuterClass.QueryRegionListHttpRsp
;
import
emu.grasscutter.net.proto.RegionInfoOuterClass.RegionInfo
;
import
emu.grasscutter.net.proto.RegionSimpleInfoOuterClass.RegionSimpleInfo
;
import
emu.grasscutter.server.dispatch.authentication.AuthenticationHandler
;
import
emu.grasscutter.server.dispatch.authentication.DefaultAuthenticationHandler
;
import
emu.grasscutter.server.dispatch.http.GachaRecordHandler
;
import
emu.grasscutter.server.dispatch.json.*
;
import
emu.grasscutter.server.dispatch.json.ComboTokenReqJson.LoginTokenData
;
import
emu.grasscutter.server.event.dispatch.QueryAllRegionsEvent
;
import
emu.grasscutter.server.event.dispatch.QueryCurrentRegionEvent
;
import
emu.grasscutter.tools.Tools
;
import
emu.grasscutter.utils.FileUtils
;
import
emu.grasscutter.utils.Utils
;
import
express.Express
;
import
io.javalin.http.staticfiles.Location
;
import
org.eclipse.jetty.server.Connector
;
import
org.eclipse.jetty.server.Server
;
import
org.eclipse.jetty.server.ServerConnector
;
import
org.eclipse.jetty.util.ssl.SslContextFactory
;
import
java.io.*
;
import
java.net.URLDecoder
;
import
java.util.*
;
import
static
emu
.
grasscutter
.
utils
.
Language
.
translate
;
public
final
class
DispatchServer
{
public
static
String
query_region_list
=
""
;
public
static
String
query_cur_region
=
""
;
private
final
Gson
gson
;
private
final
String
defaultServerName
=
"os_usa"
;
public
String
regionListBase64
;
public
Map
<
String
,
RegionData
>
regions
;
private
AuthenticationHandler
authHandler
;
private
Express
httpServer
;
public
DispatchServer
()
{
this
.
regions
=
new
HashMap
<>();
this
.
gson
=
new
GsonBuilder
().
create
();
this
.
loadQueries
();
this
.
initRegion
();
}
public
Express
getServer
()
{
return
httpServer
;
}
public
void
setHttpServer
(
Express
httpServer
)
{
this
.
httpServer
.
stop
();
this
.
httpServer
=
httpServer
;
this
.
httpServer
.
listen
(
Grasscutter
.
getConfig
().
getDispatchOptions
().
Port
);
}
public
Gson
getGsonFactory
()
{
return
gson
;
}
public
QueryCurrRegionHttpRsp
getCurrRegion
()
{
// Needs to be fixed by having the game servers connect to the dispatch server.
if
(
Grasscutter
.
getConfig
().
RunMode
==
ServerRunMode
.
HYBRID
)
{
return
regions
.
get
(
defaultServerName
).
parsedRegionQuery
;
}
Grasscutter
.
getLogger
().
warn
(
"[Dispatch] Unsupported run mode for getCurrRegion()"
);
return
null
;
}
public
void
loadQueries
()
{
File
file
;
file
=
new
File
(
Grasscutter
.
getConfig
().
DATA_FOLDER
+
"query_region_list.txt"
);
if
(
file
.
exists
())
{
query_region_list
=
new
String
(
FileUtils
.
read
(
file
));
}
else
{
Grasscutter
.
getLogger
().
warn
(
"[Dispatch] query_region_list not found! Using default region list."
);
}
file
=
new
File
(
Grasscutter
.
getConfig
().
DATA_FOLDER
+
"query_cur_region.txt"
);
if
(
file
.
exists
())
{
query_cur_region
=
new
String
(
FileUtils
.
read
(
file
));
}
else
{
Grasscutter
.
getLogger
().
warn
(
"[Dispatch] query_cur_region not found! Using default current region."
);
}
}
private
void
initRegion
()
{
try
{
byte
[]
decoded
=
Base64
.
getDecoder
().
decode
(
query_region_list
);
QueryRegionListHttpRsp
rl
=
QueryRegionListHttpRsp
.
parseFrom
(
decoded
);
byte
[]
decoded2
=
Base64
.
getDecoder
().
decode
(
query_cur_region
);
QueryCurrRegionHttpRsp
regionQuery
=
QueryCurrRegionHttpRsp
.
parseFrom
(
decoded2
);
List
<
RegionSimpleInfo
>
servers
=
new
ArrayList
<>();
List
<
String
>
usedNames
=
new
ArrayList
<>();
// List to check for potential naming conflicts
if
(
Grasscutter
.
getConfig
().
RunMode
==
ServerRunMode
.
HYBRID
)
{
// Automatically add the game server if in
// hybrid mode
RegionSimpleInfo
server
=
RegionSimpleInfo
.
newBuilder
()
.
setName
(
"os_usa"
)
.
setTitle
(
Grasscutter
.
getConfig
().
getGameServerOptions
().
Name
)
.
setType
(
"DEV_PUBLIC"
)
.
setDispatchUrl
(
"http"
+
(
Grasscutter
.
getConfig
().
getDispatchOptions
().
FrontHTTPS
?
"s"
:
""
)
+
"://"
+
(
Grasscutter
.
getConfig
().
getDispatchOptions
().
PublicIp
.
isEmpty
()
?
Grasscutter
.
getConfig
().
getDispatchOptions
().
Ip
:
Grasscutter
.
getConfig
().
getDispatchOptions
().
PublicIp
)
+
":"
+
(
Grasscutter
.
getConfig
().
getDispatchOptions
().
PublicPort
!=
0
?
Grasscutter
.
getConfig
().
getDispatchOptions
().
PublicPort
:
Grasscutter
.
getConfig
().
getDispatchOptions
().
Port
)
+
"/query_cur_region/"
+
defaultServerName
)
.
build
();
usedNames
.
add
(
defaultServerName
);
servers
.
add
(
server
);
RegionInfo
serverRegion
=
regionQuery
.
getRegionInfo
().
toBuilder
()
.
setGateserverIp
((
Grasscutter
.
getConfig
().
getGameServerOptions
().
PublicIp
.
isEmpty
()
?
Grasscutter
.
getConfig
().
getGameServerOptions
().
Ip
:
Grasscutter
.
getConfig
().
getGameServerOptions
().
PublicIp
))
.
setGateserverPort
(
Grasscutter
.
getConfig
().
getGameServerOptions
().
PublicPort
!=
0
?
Grasscutter
.
getConfig
().
getGameServerOptions
().
PublicPort
:
Grasscutter
.
getConfig
().
getGameServerOptions
().
Port
)
.
setSecretKey
(
ByteString
.
copyFrom
(
FileUtils
.
read
(
Grasscutter
.
getConfig
().
KEY_FOLDER
+
"dispatchSeed.bin"
)))
.
build
();
QueryCurrRegionHttpRsp
parsedRegionQuery
=
regionQuery
.
toBuilder
().
setRegionInfo
(
serverRegion
).
build
();
regions
.
put
(
defaultServerName
,
new
RegionData
(
parsedRegionQuery
,
Base64
.
getEncoder
().
encodeToString
(
parsedRegionQuery
.
toByteString
().
toByteArray
())));
}
else
{
if
(
Grasscutter
.
getConfig
().
getDispatchOptions
().
getGameServers
().
length
==
0
)
{
Grasscutter
.
getLogger
()
.
error
(
"[Dispatch] There are no game servers available. Exiting due to unplayable state."
);
System
.
exit
(
1
);
}
}
for
(
Config
.
DispatchServerOptions
.
RegionInfo
regionInfo
:
Grasscutter
.
getConfig
().
getDispatchOptions
()
.
getGameServers
())
{
if
(
usedNames
.
contains
(
regionInfo
.
Name
))
{
Grasscutter
.
getLogger
().
error
(
"Region name already in use."
);
continue
;
}
RegionSimpleInfo
server
=
RegionSimpleInfo
.
newBuilder
()
.
setName
(
regionInfo
.
Name
)
.
setTitle
(
regionInfo
.
Title
)
.
setType
(
"DEV_PUBLIC"
)
.
setDispatchUrl
(
"http"
+
(
Grasscutter
.
getConfig
().
getDispatchOptions
().
FrontHTTPS
?
"s"
:
""
)
+
"://"
+
(
Grasscutter
.
getConfig
().
getDispatchOptions
().
PublicIp
.
isEmpty
()
?
Grasscutter
.
getConfig
().
getDispatchOptions
().
Ip
:
Grasscutter
.
getConfig
().
getDispatchOptions
().
PublicIp
)
+
":"
+
(
Grasscutter
.
getConfig
().
getDispatchOptions
().
PublicPort
!=
0
?
Grasscutter
.
getConfig
().
getDispatchOptions
().
PublicPort
:
Grasscutter
.
getConfig
().
getDispatchOptions
().
Port
)
+
"/query_cur_region/"
+
regionInfo
.
Name
)
.
build
();
usedNames
.
add
(
regionInfo
.
Name
);
servers
.
add
(
server
);
RegionInfo
serverRegion
=
regionQuery
.
getRegionInfo
().
toBuilder
()
.
setGateserverIp
(
regionInfo
.
Ip
)
.
setGateserverPort
(
regionInfo
.
Port
)
.
setSecretKey
(
ByteString
.
copyFrom
(
FileUtils
.
read
(
Grasscutter
.
getConfig
().
KEY_FOLDER
+
"dispatchSeed.bin"
)))
.
build
();
QueryCurrRegionHttpRsp
parsedRegionQuery
=
regionQuery
.
toBuilder
().
setRegionInfo
(
serverRegion
).
build
();
regions
.
put
(
regionInfo
.
Name
,
new
RegionData
(
parsedRegionQuery
,
Base64
.
getEncoder
().
encodeToString
(
parsedRegionQuery
.
toByteString
().
toByteArray
())));
}
QueryRegionListHttpRsp
regionList
=
QueryRegionListHttpRsp
.
newBuilder
()
.
addAllRegionList
(
servers
)
.
setClientSecretKey
(
rl
.
getClientSecretKey
())
.
setClientCustomConfigEncrypted
(
rl
.
getClientCustomConfigEncrypted
())
.
setEnableLoginPc
(
true
)
.
build
();
this
.
regionListBase64
=
Base64
.
getEncoder
().
encodeToString
(
regionList
.
toByteString
().
toByteArray
());
}
catch
(
Exception
e
)
{
Grasscutter
.
getLogger
().
error
(
"[Dispatch] Error while initializing region info!"
,
e
);
}
}
public
void
start
()
throws
Exception
{
httpServer
=
new
Express
(
config
->
{
config
.
server
(()
->
{
Server
server
=
new
Server
();
ServerConnector
serverConnector
;
if
(
Grasscutter
.
getConfig
().
getDispatchOptions
().
UseSSL
)
{
SslContextFactory
.
Server
sslContextFactory
=
new
SslContextFactory
.
Server
();
File
keystoreFile
=
new
File
(
Grasscutter
.
getConfig
().
getDispatchOptions
().
KeystorePath
);
if
(
keystoreFile
.
exists
())
{
try
{
sslContextFactory
.
setKeyStorePath
(
keystoreFile
.
getPath
());
sslContextFactory
.
setKeyStorePassword
(
Grasscutter
.
getConfig
().
getDispatchOptions
().
KeystorePassword
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
Grasscutter
.
getLogger
().
warn
(
translate
(
"messages.dispatch.keystore.password_error"
));
try
{
sslContextFactory
.
setKeyStorePath
(
keystoreFile
.
getPath
());
sslContextFactory
.
setKeyStorePassword
(
"123456"
);
Grasscutter
.
getLogger
().
warn
(
translate
(
"messages.dispatch.keystore.default_password"
));
}
catch
(
Exception
e2
)
{
Grasscutter
.
getLogger
().
warn
(
translate
(
"messages.dispatch.keystore.general_error"
));
e2
.
printStackTrace
();
}
}
serverConnector
=
new
ServerConnector
(
server
,
sslContextFactory
);
}
else
{
Grasscutter
.
getLogger
().
warn
(
translate
(
"messages.dispatch.keystore.no_keystore_error"
));
Grasscutter
.
getConfig
().
getDispatchOptions
().
UseSSL
=
false
;
serverConnector
=
new
ServerConnector
(
server
);
}
}
else
{
serverConnector
=
new
ServerConnector
(
server
);
}
serverConnector
.
setPort
(
Grasscutter
.
getConfig
().
getDispatchOptions
().
Port
);
server
.
setConnectors
(
new
Connector
[]{
serverConnector
});
return
server
;
});
config
.
enforceSsl
=
Grasscutter
.
getConfig
().
getDispatchOptions
().
UseSSL
;
if
(
Grasscutter
.
getConfig
().
DebugMode
==
ServerDebugMode
.
ALL
)
{
config
.
enableDevLogging
();
}
if
(
Grasscutter
.
getConfig
().
getDispatchOptions
().
CORS
){
if
(
Grasscutter
.
getConfig
().
getDispatchOptions
().
CORSAllowedOrigins
.
length
>
0
)
config
.
enableCorsForOrigin
(
Grasscutter
.
getConfig
().
getDispatchOptions
().
CORSAllowedOrigins
);
else
config
.
enableCorsForAllOrigins
();
}
});
httpServer
.
get
(
"/"
,
(
req
,
res
)
->
res
.
send
(
translate
(
"messages.status.welcome"
)));
httpServer
.
raw
().
error
(
404
,
ctx
->
{
if
(
Grasscutter
.
getConfig
().
DebugMode
==
ServerDebugMode
.
MISSING
)
{
Grasscutter
.
getLogger
().
info
(
translate
(
"messages.dispatch.unhandled_request_error"
,
ctx
.
method
(),
ctx
.
url
()));
}
ctx
.
contentType
(
"text/html"
);
ctx
.
result
(
"<!doctype html><html lang=\"en\"><body><img src=\"https://http.cat/404\" /></body></html>"
);
// I'm like 70% sure this won't break anything.
});
// Authentication Handler
// These routes are so that authentication routes are always the same no matter what auth system is used.
httpServer
.
get
(
"/authentication/type"
,
(
req
,
res
)
->
{
res
.
send
(
this
.
getAuthHandler
().
getClass
().
getName
());
});
httpServer
.
post
(
"/authentication/login"
,
(
req
,
res
)
->
this
.
getAuthHandler
().
handleLogin
(
req
,
res
));
httpServer
.
post
(
"/authentication/register"
,
(
req
,
res
)
->
this
.
getAuthHandler
().
handleRegister
(
req
,
res
));
httpServer
.
post
(
"/authentication/change_password"
,
(
req
,
res
)
->
this
.
getAuthHandler
().
handleChangePassword
(
req
,
res
));
// Dispatch
httpServer
.
get
(
"/query_region_list"
,
(
req
,
res
)
->
{
// Log
Grasscutter
.
getLogger
().
info
(
String
.
format
(
"[Dispatch] Client %s request: query_region_list"
,
req
.
ip
()));
// Invoke event.
QueryAllRegionsEvent
event
=
new
QueryAllRegionsEvent
(
regionListBase64
);
event
.
call
();
// Respond with event result.
res
.
send
(
event
.
getRegionList
());
});
httpServer
.
get
(
"/query_cur_region/:id"
,
(
req
,
res
)
->
{
String
regionName
=
req
.
params
(
"id"
);
// Log
Grasscutter
.
getLogger
().
info
(
String
.
format
(
"Client %s request: query_cur_region/%s"
,
req
.
ip
(),
regionName
));
// Create a response form the request query parameters
String
response
=
"CAESGE5vdCBGb3VuZCB2ZXJzaW9uIGNvbmZpZw=="
;
if
(
req
.
query
().
values
().
size
()
>
0
)
{
response
=
regions
.
get
(
regionName
).
Base64
;
}
// Invoke event.
QueryCurrentRegionEvent
event
=
new
QueryCurrentRegionEvent
(
response
);
event
.
call
();
// Respond with event result.
res
.
send
(
event
.
getRegionInfo
());
});
// Login
httpServer
.
post
(
"/hk4e_global/mdk/shield/api/login"
,
(
req
,
res
)
->
{
// Get post data
LoginAccountRequestJson
requestData
=
null
;
try
{
String
body
=
req
.
ctx
().
body
();
requestData
=
getGsonFactory
().
fromJson
(
body
,
LoginAccountRequestJson
.
class
);
}
catch
(
Exception
ignored
)
{
}
// Create response json
if
(
requestData
==
null
)
{
return
;
}
Grasscutter
.
getLogger
().
info
(
translate
(
"messages.dispatch.account.login_attempt"
,
req
.
ip
()));
res
.
send
(
this
.
getAuthHandler
().
handleGameLogin
(
req
,
requestData
));
});
// Login via token
httpServer
.
post
(
"/hk4e_global/mdk/shield/api/verify"
,
(
req
,
res
)
->
{
// Get post data
LoginTokenRequestJson
requestData
=
null
;
try
{
String
body
=
req
.
ctx
().
body
();
requestData
=
getGsonFactory
().
fromJson
(
body
,
LoginTokenRequestJson
.
class
);
}
catch
(
Exception
ignored
)
{
}
// Create response json
if
(
requestData
==
null
)
{
return
;
}
LoginResultJson
responseData
=
new
LoginResultJson
();
Grasscutter
.
getLogger
().
info
(
translate
(
"messages.dispatch.account.login_token_attempt"
,
req
.
ip
()));
// Login
Account
account
=
DatabaseHelper
.
getAccountById
(
requestData
.
uid
);
// Test
if
(
account
==
null
||
!
account
.
getSessionKey
().
equals
(
requestData
.
token
))
{
responseData
.
retcode
=
-
111
;
responseData
.
message
=
translate
(
"messages.dispatch.account.account_cache_error"
);
Grasscutter
.
getLogger
().
info
(
translate
(
"messages.dispatch.account.login_token_error"
,
req
.
ip
()));
}
else
{
responseData
.
message
=
"OK"
;
responseData
.
data
.
account
.
uid
=
requestData
.
uid
;
responseData
.
data
.
account
.
token
=
requestData
.
token
;
responseData
.
data
.
account
.
email
=
account
.
getEmail
();
Grasscutter
.
getLogger
().
info
(
translate
(
"messages.dispatch.account.login_token_success"
,
req
.
ip
(),
requestData
.
uid
));
}
res
.
send
(
responseData
);
});
// Exchange for combo token
httpServer
.
post
(
"/hk4e_global/combo/granter/login/v2/login"
,
(
req
,
res
)
->
{
// Get post data
ComboTokenReqJson
requestData
=
null
;
try
{
String
body
=
req
.
ctx
().
body
();
requestData
=
getGsonFactory
().
fromJson
(
body
,
ComboTokenReqJson
.
class
);
}
catch
(
Exception
ignored
)
{
}
// Create response json
if
(
requestData
==
null
||
requestData
.
data
==
null
)
{
return
;
}
LoginTokenData
loginData
=
getGsonFactory
().
fromJson
(
requestData
.
data
,
LoginTokenData
.
class
);
// Get login
// data
ComboTokenResJson
responseData
=
new
ComboTokenResJson
();
// Login
Account
account
=
DatabaseHelper
.
getAccountById
(
loginData
.
uid
);
// Test
if
(
account
==
null
||
!
account
.
getSessionKey
().
equals
(
loginData
.
token
))
{
responseData
.
retcode
=
-
201
;
responseData
.
message
=
translate
(
"messages.dispatch.account.session_key_error"
);
Grasscutter
.
getLogger
().
info
(
translate
(
"messages.dispatch.account.combo_token_error"
,
req
.
ip
()));
}
else
{
responseData
.
message
=
"OK"
;
responseData
.
data
.
open_id
=
loginData
.
uid
;
responseData
.
data
.
combo_id
=
"157795300"
;
responseData
.
data
.
combo_token
=
account
.
generateLoginToken
();
Grasscutter
.
getLogger
().
info
(
translate
(
"messages.dispatch.account.combo_token_success"
,
req
.
ip
()));
}
res
.
send
(
responseData
);
});
// TODO: There are some missing route request types here (You can tell if they are missing if they are .all and not anything else)
// When http requests for theses routes are found please remove it from the list in DispatchHttpJsonHandler and update the route request types here
// Agreement and Protocol
// hk4e-sdk-os.hoyoverse.com
httpServer
.
get
(
"/hk4e_global/mdk/agreement/api/getAgreementInfos"
,
new
DispatchHttpJsonHandler
(
"{\"retcode\":0,\"message\":\"OK\",\"data\":{\"marketing_agreements\":[]}}"
));
// hk4e-sdk-os.hoyoverse.com
// this could be either GET or POST based on the observation of different clients
httpServer
.
all
(
"/hk4e_global/combo/granter/api/compareProtocolVersion"
,
new
DispatchHttpJsonHandler
(
"{\"retcode\":0,\"message\":\"OK\",\"data\":{\"modified\":true,\"protocol\":{\"id\":0,\"app_id\":4,\"language\":\"en\",\"user_proto\":\"\",\"priv_proto\":\"\",\"major\":7,\"minimum\":0,\"create_time\":\"0\",\"teenager_proto\":\"\",\"third_proto\":\"\"}}}"
));
// Game data
// hk4e-api-os.hoyoverse.com
httpServer
.
all
(
"/common/hk4e_global/announcement/api/getAlertPic"
,
new
DispatchHttpJsonHandler
(
"{\"retcode\":0,\"message\":\"OK\",\"data\":{\"total\":0,\"list\":[]}}"
));
// hk4e-api-os.hoyoverse.com
httpServer
.
all
(
"/common/hk4e_global/announcement/api/getAlertAnn"
,
new
DispatchHttpJsonHandler
(
"{\"retcode\":0,\"message\":\"OK\",\"data\":{\"alert\":false,\"alert_id\":0,\"remind\":true}}"
));
// hk4e-api-os.hoyoverse.com
httpServer
.
all
(
"/common/hk4e_global/announcement/api/getAnnList"
,
new
AnnouncementHandler
());
// hk4e-api-os-static.hoyoverse.com
httpServer
.
all
(
"/common/hk4e_global/announcement/api/getAnnContent"
,
new
AnnouncementHandler
());
// hk4e-sdk-os.hoyoverse.com
httpServer
.
all
(
"/hk4e_global/mdk/shopwindow/shopwindow/listPriceTier"
,
new
DispatchHttpJsonHandler
(
"{\"retcode\":0,\"message\":\"OK\",\"data\":{\"suggest_currency\":\"USD\",\"tiers\":[]}}"
));
// Captcha
// api-account-os.hoyoverse.com
httpServer
.
post
(
"/account/risky/api/check"
,
new
DispatchHttpJsonHandler
(
"{\"retcode\":0,\"message\":\"OK\",\"data\":{\"id\":\"none\",\"action\":\"ACTION_NONE\",\"geetest\":null}}"
));
// Config
// sdk-os-static.hoyoverse.com
httpServer
.
get
(
"/combo/box/api/config/sdk/combo"
,
new
DispatchHttpJsonHandler
(
"{\"retcode\":0,\"message\":\"OK\",\"data\":{\"vals\":{\"disable_email_bind_skip\":\"false\",\"email_bind_remind_interval\":\"7\",\"email_bind_remind\":\"true\"}}}"
));
// hk4e-sdk-os-static.hoyoverse.com
httpServer
.
get
(
"/hk4e_global/combo/granter/api/getConfig"
,
new
DispatchHttpJsonHandler
(
"{\"retcode\":0,\"message\":\"OK\",\"data\":{\"protocol\":true,\"qr_enabled\":false,\"log_level\":\"INFO\",\"announce_url\":\"https://webstatic-sea.hoyoverse.com/hk4e/announcement/index.html?sdk_presentation_style=fullscreen\\u0026sdk_screen_transparent=true\\u0026game_biz=hk4e_global\\u0026auth_appid=announcement\\u0026game=hk4e#/\",\"push_alias_type\":2,\"disable_ysdk_guard\":false,\"enable_announce_pic_popup\":true}}"
));
// hk4e-sdk-os-static.hoyoverse.com
httpServer
.
get
(
"/hk4e_global/mdk/shield/api/loadConfig"
,
new
DispatchHttpJsonHandler
(
"{\"retcode\":0,\"message\":\"OK\",\"data\":{\"id\":6,\"game_key\":\"hk4e_global\",\"client\":\"PC\",\"identity\":\"I_IDENTITY\",\"guest\":false,\"ignore_versions\":\"\",\"scene\":\"S_NORMAL\",\"name\":\"原神海外\",\"disable_regist\":false,\"enable_email_captcha\":false,\"thirdparty\":[\"fb\",\"tw\"],\"disable_mmt\":false,\"server_guest\":false,\"thirdparty_ignore\":{\"tw\":\"\",\"fb\":\"\"},\"enable_ps_bind_account\":false,\"thirdparty_login_configs\":{\"tw\":{\"token_type\":\"TK_GAME_TOKEN\",\"game_token_expires_in\":604800},\"fb\":{\"token_type\":\"TK_GAME_TOKEN\",\"game_token_expires_in\":604800}}}}"
));
// Test api?
// abtest-api-data-sg.hoyoverse.com
httpServer
.
post
(
"/data_abtest_api/config/experiment/list"
,
new
DispatchHttpJsonHandler
(
"{\"retcode\":0,\"success\":true,\"message\":\"\",\"data\":[{\"code\":1000,\"type\":2,\"config_id\":\"14\",\"period_id\":\"6036_99\",\"version\":\"1\",\"configs\":{\"cardType\":\"old\"}}]}"
));
// log-upload-os.mihoyo.com
httpServer
.
all
(
"/log/sdk/upload"
,
new
DispatchHttpJsonHandler
(
"{\"code\":0}"
));
httpServer
.
all
(
"/sdk/upload"
,
new
DispatchHttpJsonHandler
(
"{\"code\":0}"
));
httpServer
.
post
(
"/sdk/dataUpload"
,
new
DispatchHttpJsonHandler
(
"{\"code\":0}"
));
// /perf/config/verify?device_id=xxx&platform=x&name=xxx
httpServer
.
all
(
"/perf/config/verify"
,
new
DispatchHttpJsonHandler
(
"{\"code\":0}"
));
// Logging servers
// overseauspider.yuanshen.com
httpServer
.
all
(
"/log"
,
new
ClientLogHandler
());
// log-upload-os.mihoyo.com
httpServer
.
all
(
"/crash/dataUpload"
,
new
ClientLogHandler
());
// webstatic-sea.hoyoverse.com
httpServer
.
get
(
"/admin/mi18n/plat_oversea/m202003048/m202003048-version.json"
,
new
DispatchHttpJsonHandler
(
"{\"version\":51}"
));
// gacha record.
String
gachaMappingsPath
=
Utils
.
toFilePath
(
Grasscutter
.
getConfig
().
DATA_FOLDER
+
"/gacha_mappings.js"
);
// TODO: Only serve the html page and have a subsequent request to fetch the gacha data.
httpServer
.
get
(
"/gacha"
,
new
GachaRecordHandler
());
if
(!(
new
File
(
gachaMappingsPath
).
exists
()))
{
Tools
.
createGachaMapping
(
gachaMappingsPath
);
}
httpServer
.
raw
().
config
.
addSinglePageRoot
(
"/gacha/mappings"
,
gachaMappingsPath
,
Location
.
EXTERNAL
);
// static file support for plugins
httpServer
.
raw
().
config
.
precompressStaticFiles
=
false
;
// If this isn't set to false, files such as images may appear corrupted when serving static files
httpServer
.
listen
(
Grasscutter
.
getConfig
().
getDispatchOptions
().
Port
);
Grasscutter
.
getLogger
().
info
(
translate
(
"messages.dispatch.port_bind"
,
Integer
.
toString
(
httpServer
.
raw
().
port
())));
}
private
Map
<
String
,
String
>
parseQueryString
(
String
qs
)
{
Map
<
String
,
String
>
result
=
new
HashMap
<>();
if
(
qs
==
null
)
{
return
result
;
}
int
last
=
0
,
next
,
l
=
qs
.
length
();
while
(
last
<
l
)
{
next
=
qs
.
indexOf
(
'&'
,
last
);
if
(
next
==
-
1
)
{
next
=
l
;
}
if
(
next
>
last
)
{
int
eqPos
=
qs
.
indexOf
(
'='
,
last
);
try
{
if
(
eqPos
<
0
||
eqPos
>
next
)
{
result
.
put
(
URLDecoder
.
decode
(
qs
.
substring
(
last
,
next
),
"utf-8"
),
""
);
}
else
{
result
.
put
(
URLDecoder
.
decode
(
qs
.
substring
(
last
,
eqPos
),
"utf-8"
),
URLDecoder
.
decode
(
qs
.
substring
(
eqPos
+
1
,
next
),
"utf-8"
));
}
}
catch
(
UnsupportedEncodingException
e
)
{
throw
new
RuntimeException
(
e
);
// will never happen, utf-8 support is mandatory for java
}
}
last
=
next
+
1
;
}
return
result
;
}
public
AuthenticationHandler
getAuthHandler
()
{
if
(
authHandler
==
null
)
{
return
new
DefaultAuthenticationHandler
();
}
return
authHandler
;
}
public
boolean
registerAuthHandler
(
AuthenticationHandler
authHandler
)
{
if
(
this
.
authHandler
!=
null
)
{
Grasscutter
.
getLogger
().
error
(
String
.
format
(
"[Dispatch] Unable to register '%s' authentication handler. \n"
+
"The '%s' authentication handler has already been registered"
,
authHandler
.
getClass
().
getName
(),
this
.
authHandler
.
getClass
().
getName
()));
return
false
;
}
this
.
authHandler
=
authHandler
;
return
true
;
}
public
void
resetAuthHandler
()
{
this
.
authHandler
=
null
;
}
public
static
class
RegionData
{
QueryCurrRegionHttpRsp
parsedRegionQuery
;
String
Base64
;
public
RegionData
(
QueryCurrRegionHttpRsp
prq
,
String
b64
)
{
this
.
parsedRegionQuery
=
prq
;
this
.
Base64
=
b64
;
}
public
QueryCurrRegionHttpRsp
getParsedRegionQuery
()
{
return
parsedRegionQuery
;
}
public
String
getBase64
()
{
return
Base64
;
}
}
}
src/main/java/emu/grasscutter/server/dispatch/authentication/AuthenticationHandler.java
deleted
100644 → 0
View file @
304b9cb8
package
emu.grasscutter.server.dispatch.authentication
;
import
emu.grasscutter.server.dispatch.json.LoginAccountRequestJson
;
import
emu.grasscutter.server.dispatch.json.LoginResultJson
;
import
express.http.Request
;
import
express.http.Response
;
public
interface
AuthenticationHandler
{
// This is in case plugins also want some sort of authentication
void
handleLogin
(
Request
req
,
Response
res
);
void
handleRegister
(
Request
req
,
Response
res
);
void
handleChangePassword
(
Request
req
,
Response
res
);
LoginResultJson
handleGameLogin
(
Request
req
,
LoginAccountRequestJson
requestData
);
}
src/main/java/emu/grasscutter/server/dispatch/authentication/DefaultAuthenticationHandler.java
deleted
100644 → 0
View file @
304b9cb8
package
emu.grasscutter.server.dispatch.authentication
;
import
emu.grasscutter.Grasscutter
;
import
emu.grasscutter.database.DatabaseHelper
;
import
emu.grasscutter.game.Account
;
import
emu.grasscutter.server.dispatch.json.LoginAccountRequestJson
;
import
emu.grasscutter.server.dispatch.json.LoginResultJson
;
import
express.http.Request
;
import
express.http.Response
;
import
static
emu
.
grasscutter
.
utils
.
Language
.
translate
;
public
class
DefaultAuthenticationHandler
implements
AuthenticationHandler
{
@Override
public
void
handleLogin
(
Request
req
,
Response
res
)
{
res
.
send
(
"Authentication is not available with the default authentication method"
);
}
@Override
public
void
handleRegister
(
Request
req
,
Response
res
)
{
res
.
send
(
"Authentication is not available with the default authentication method"
);
}
@Override
public
void
handleChangePassword
(
Request
req
,
Response
res
)
{
res
.
send
(
"Authentication is not available with the default authentication method"
);
}
@Override
public
LoginResultJson
handleGameLogin
(
Request
req
,
LoginAccountRequestJson
requestData
)
{
LoginResultJson
responseData
=
new
LoginResultJson
();
// Login
Account
account
=
DatabaseHelper
.
getAccountByName
(
requestData
.
account
);
// Check if account exists, else create a new one.
if
(
account
==
null
)
{
// Account doesn't exist, so we can either auto create it if the config value is set.
if
(
Grasscutter
.
getConfig
().
getDispatchOptions
().
AutomaticallyCreateAccounts
)
{
// This account has been created AUTOMATICALLY. There will be no permissions added.
account
=
DatabaseHelper
.
createAccountWithId
(
requestData
.
account
,
0
);
for
(
String
permission
:
Grasscutter
.
getConfig
().
getDispatchOptions
().
defaultPermissions
)
{
account
.
addPermission
(
permission
);
}
if
(
account
!=
null
)
{
responseData
.
message
=
"OK"
;
responseData
.
data
.
account
.
uid
=
account
.
getId
();
responseData
.
data
.
account
.
token
=
account
.
generateSessionKey
();
responseData
.
data
.
account
.
email
=
account
.
getEmail
();
Grasscutter
.
getLogger
().
info
(
translate
(
"messages.dispatch.account.account_login_create_success"
,
req
.
ip
(),
responseData
.
data
.
account
.
uid
));
}
else
{
responseData
.
retcode
=
-
201
;
responseData
.
message
=
translate
(
"messages.dispatch.account.username_create_error"
);
Grasscutter
.
getLogger
().
info
(
translate
(
"messages.dispatch.account.account_login_create_error"
,
req
.
ip
()));
}
}
else
{
responseData
.
retcode
=
-
201
;
responseData
.
message
=
translate
(
"messages.dispatch.account.username_error"
);
Grasscutter
.
getLogger
().
info
(
translate
(
"messages.dispatch.account.account_login_exist_error"
,
req
.
ip
()));
}
}
else
{
// Account was found, log the player in
responseData
.
message
=
"OK"
;
responseData
.
data
.
account
.
uid
=
account
.
getId
();
responseData
.
data
.
account
.
token
=
account
.
generateSessionKey
();
responseData
.
data
.
account
.
email
=
account
.
getEmail
();
Grasscutter
.
getLogger
().
info
(
translate
(
"messages.dispatch.account.login_success"
,
req
.
ip
(),
responseData
.
data
.
account
.
uid
));
}
return
responseData
;
}
}
Prev
1
…
8
9
10
11
12
13
14
15
16
…
21
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment