diff --git a/PacketOpcodes.java b/PacketOpcodes.java index 34685bb2..8de9e7b2 100644 --- a/PacketOpcodes.java +++ b/PacketOpcodes.java @@ -577,8 +577,8 @@ public class PacketOpcodes { public static final int GetAllActivatedBargainDataRsp = 445; public static final int GetAllH5ActivityInfoReq = 5695; public static final int GetAllH5ActivityInfoRsp = 5688; - public static final int GetAllMailReq = 188; - public static final int GetAllMailRsp = 125; + public static final int GetAllMailReq = 1424; + public static final int GetAllMailRsp = 1429; public static final int GetAllSceneGalleryInfoReq = 5580; public static final int GetAllSceneGalleryInfoRsp = 5570; public static final int GetAllUnlockNameCardReq = 4018; @@ -1279,8 +1279,8 @@ public class PacketOpcodes { public static final int SetLimitOptimizationNotify = 8763; public static final int SetNameCardReq = 4025; public static final int SetNameCardRsp = 4058; - public static final int SetOpenStateReq = 1424; - public static final int SetOpenStateRsp = 1429; + public static final int SetOpenStateReq = 188; + public static final int SetOpenStateRsp = 125; public static final int SetPlayerBirthdayReq = 4078; public static final int SetPlayerBirthdayRsp = 4016; public static final int SetPlayerBornDataReq = 169; diff --git a/cmdid.json b/cmdid.json index 49a9f3f1..9a3aacdb 100644 --- a/cmdid.json +++ b/cmdid.json @@ -2891,10 +2891,6 @@ "name": "GadgetTalkChangeNotify", "id": 846 }, - { - "name": "GAJONMHAAEK", - "id": 6441 - }, { "name": "GalleryBalloonScoreNotify", "id": 5587 @@ -3361,7 +3357,7 @@ }, { "name": "GetAllMailReq", - "id": 188 + "id": 1424 }, { "name": "GetAllMailResultNotify", @@ -3369,7 +3365,7 @@ }, { "name": "GetAllMailRsp", - "id": 125 + "id": 1429 }, { "name": "GetAllSceneGalleryInfoReq", @@ -7181,11 +7177,11 @@ }, { "name": "SetOpenStateReq", - "id": 1424 + "id": 188 }, { "name": "SetOpenStateRsp", - "id": 1429 + "id": 125 }, { "name": "SetPlayerBirthdayReq", diff --git a/cmdid_gc_update.json b/cmdid_gc_update.json index 17e5f63e..8df14f25 100644 --- a/cmdid_gc_update.json +++ b/cmdid_gc_update.json @@ -2844,12 +2844,12 @@ }, { "name": "GetAllMailReq", - "id": 188, + "id": 1424, "replace": 1427 }, { "name": "GetAllMailRsp", - "id": 125, + "id": 1429, "replace": 1439 }, { @@ -6343,12 +6343,12 @@ }, { "name": "SetOpenStateReq", - "id": 1424, + "id": 188, "replace": 189 }, { "name": "SetOpenStateRsp", - "id": 1429, + "id": 125, "replace": 144 }, { diff --git a/cmdid_ht_34.json b/cmdid_ht_34.json index 4582041b..32fb29f7 100644 --- a/cmdid_ht_34.json +++ b/cmdid_ht_34.json @@ -722,7 +722,6 @@ "GadgetPlayUidOpNotify": 829, "GadgetStateNotify": 887, "GadgetTalkChangeNotify": 846, - "GAJONMHAAEK": 6441, "GalleryBalloonScoreNotify": 5587, "GalleryBalloonShootNotify": 5555, "GalleryBounceConjuringHitNotify": 5569, @@ -839,9 +838,9 @@ "GetAllH5ActivityInfoReq": 5695, "GetAllH5ActivityInfoRsp": 5688, "GetAllMailNotify": 1416, - "GetAllMailReq": 188, + "GetAllMailReq": 1424, "GetAllMailResultNotify": 1413, - "GetAllMailRsp": 125, + "GetAllMailRsp": 1429, "GetAllSceneGalleryInfoReq": 5580, "GetAllSceneGalleryInfoRsp": 5570, "GetAllUnlockNameCardReq": 4018, @@ -1794,8 +1793,8 @@ "SetLimitOptimizationNotify": 8763, "SetNameCardReq": 4025, "SetNameCardRsp": 4058, - "SetOpenStateReq": 1424, - "SetOpenStateRsp": 1429, + "SetOpenStateReq": 188, + "SetOpenStateRsp": 125, "SetPlayerBirthdayReq": 4078, "SetPlayerBirthdayRsp": 4016, "SetPlayerBornDataReq": 169, diff --git a/gc_needed2.json b/gc_needed2.json index cce1046b..f96903a9 100644 --- a/gc_needed2.json +++ b/gc_needed2.json @@ -35,12 +35,6 @@ { "name": "ActivityInfo" }, - { - "name": "MusicGameActivityDetailInfo" - }, - { - "name": "UgcMusicBriefInfo" - }, { "name": "MusicBeatmapList" }, @@ -50,6 +44,9 @@ { "name": "MusicBeatmap" }, + { + "name": "UgcMusicBriefInfo" + }, { "name": "MusicGameRecord" }, @@ -389,9 +386,6 @@ { "name": "OnlinePlayerInfo" }, - { - "name": "PlayerApplyEnterMpResultNotify" - }, { "name": "PlayerLocationInfo" }, @@ -437,9 +431,6 @@ { "name": "MaterialInfo" }, - { - "name": "PlayerApplyEnterMpReason" - }, { "name": "InvestigationMonster" }, @@ -1496,6 +1487,9 @@ { "name": "PlayerApplyEnterMpNotify" }, + { + "name": "PlayerApplyEnterMpResultNotify" + }, { "name": "PlayerApplyEnterMpResultRsp" }, diff --git a/op.js b/op.js index c762da58..12b3a710 100644 --- a/op.js +++ b/op.js @@ -740,6 +740,6 @@ function scan_gc() { // cmdid_to_op(); // 4. update op // npx prettier --write PacketOpcodes.java // scan_gc(); // 5. scan gc -clean_proto_gen(); // 6. clean proto +// clean_proto_gen(); // 6. clean proto -//read_cmdid_ht_json(); +// read_cmdid_ht_json(); diff --git a/proto/MusicGameActivityDetailInfo.proto b/proto/MusicGameActivityDetailInfo.proto deleted file mode 100644 index 6429c3d6..00000000 --- a/proto/MusicGameActivityDetailInfo.proto +++ /dev/null @@ -1,12 +0,0 @@ -syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - - - -import "MusicBriefInfo.proto"; -import "MusicGameRecord.proto"; -message MusicGameActivityDetailInfo { - repeated MusicBriefInfo Unk3300_AAGCDCOIPJM = 2; - repeated MusicBriefInfo Unk3300_OKHAACGHMAP = 6; - map musicGameRecordMap = 8; -} diff --git a/proto/PlayerApplyEnterMpReason.proto b/proto/PlayerApplyEnterMpReason.proto deleted file mode 100644 index 4bafde8b..00000000 --- a/proto/PlayerApplyEnterMpReason.proto +++ /dev/null @@ -1,19 +0,0 @@ -// Proto has been converted from Sorapointa to Grasscutter format -syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - -enum PlayerApplyEnterMpReason { - PlayerJudge = 0; - SceneCannotEnter = 1; - PlayerCannotEnterMp = 2; - SystemJudge = 3; - AllowEnterPlayerFull = 4; - WorldLevelLowerThanHost = 5; - HostInMatch = 6; - PlayerInBlacklist = 7; - PsPlayerNotAcceptOthers = 8; - HostIsBlocked = 9; - OtherDataVersionNotLatest = 10; - DataVersionNotLatest = 11; - PlayerNotInPlayerWorld = 12; -}