From 448048b9ea32e185cc638e1e6950e06f1ea48507 Mon Sep 17 00:00:00 2001 From: Akbar Yahya Date: Sat, 18 Feb 2023 14:21:28 +0800 Subject: [PATCH] Remove some useless proto --- proto/AbilityInvokeEntry.proto | 4 ---- proto/BattlePassMission.proto | 5 ----- proto/BattlePassMissionDelNotify.proto | 18 ------------------ proto/BlockInfo.proto | 5 ----- proto/CombatInvokeEntry.proto | 4 ---- proto/GetPlayerTokenRsp.proto | 4 ---- proto/HomeBlockDotPattern.proto | 5 ----- proto/MissionStatus.proto | 12 ------------ proto/PingReq.proto | 5 ----- proto/PlayerLoginReq.proto | 4 ---- proto/PlayerLoginRsp.proto | 4 ---- proto/RegionInfo.proto | 4 ---- proto/RobotPushPlayerDataNotify.proto | 5 ----- proto/UnionCmd.proto | 5 ----- proto/WindSeedClientNotify.proto | 4 ---- proto/bytes.proto | 9 --------- 16 files changed, 97 deletions(-) delete mode 100644 proto/BattlePassMissionDelNotify.proto delete mode 100644 proto/MissionStatus.proto delete mode 100644 proto/bytes.proto diff --git a/proto/AbilityInvokeEntry.proto b/proto/AbilityInvokeEntry.proto index f57ef500..db841c80 100644 --- a/proto/AbilityInvokeEntry.proto +++ b/proto/AbilityInvokeEntry.proto @@ -1,13 +1,9 @@ syntax = "proto3"; - option java_package = "emu.grasscutter.net.proto"; - - import "AbilityInvokeEntryHead.proto"; import "ForwardType.proto"; import "AbilityInvokeArgument.proto"; -import "bytes.proto"; message AbilityInvokeEntry { AbilityInvokeEntryHead head = 13; diff --git a/proto/BattlePassMission.proto b/proto/BattlePassMission.proto index a94e4100..52ef4bdb 100644 --- a/proto/BattlePassMission.proto +++ b/proto/BattlePassMission.proto @@ -1,11 +1,6 @@ syntax = "proto3"; - option java_package = "emu.grasscutter.net.proto"; - - -import "MissionStatus.proto"; - message BattlePassMission { enum MissionStatus { diff --git a/proto/BattlePassMissionDelNotify.proto b/proto/BattlePassMissionDelNotify.proto deleted file mode 100644 index 4dcb6f7c..00000000 --- a/proto/BattlePassMissionDelNotify.proto +++ /dev/null @@ -1,18 +0,0 @@ -syntax = "proto3"; - -option java_package = "emu.grasscutter.net.proto"; - - - - -message BattlePassMissionDelNotify { - //enum INMLJEGLKNJ { - // option allow_alias= true; - // NONE = 0; - // PEPPOHPHJOJ = 2646; - // DCDNILFDFLB = 0; - // NNBKOLMPOEA = 1; - //} - - repeated uint32 delMissionIdList = 11; -} diff --git a/proto/BlockInfo.proto b/proto/BlockInfo.proto index 84c5ce82..7add3398 100644 --- a/proto/BlockInfo.proto +++ b/proto/BlockInfo.proto @@ -1,11 +1,6 @@ syntax = "proto3"; - option java_package = "emu.grasscutter.net.proto"; - - -import "bytes.proto"; - message BlockInfo { uint32 blockId = 1; uint32 dataVersion = 2; diff --git a/proto/CombatInvokeEntry.proto b/proto/CombatInvokeEntry.proto index e7507137..4ea9b964 100644 --- a/proto/CombatInvokeEntry.proto +++ b/proto/CombatInvokeEntry.proto @@ -1,10 +1,6 @@ syntax = "proto3"; - option java_package = "emu.grasscutter.net.proto"; - - -import "bytes.proto"; import "CombatTypeArgument.proto"; import "ForwardType.proto"; diff --git a/proto/GetPlayerTokenRsp.proto b/proto/GetPlayerTokenRsp.proto index 2bce6e9e..897afd7b 100644 --- a/proto/GetPlayerTokenRsp.proto +++ b/proto/GetPlayerTokenRsp.proto @@ -1,10 +1,6 @@ syntax = "proto3"; - option java_package = "emu.grasscutter.net.proto"; - - -import "bytes.proto"; import "StopServer.proto"; message GetPlayerTokenRsp { diff --git a/proto/HomeBlockDotPattern.proto b/proto/HomeBlockDotPattern.proto index 35015ce4..acb61afb 100644 --- a/proto/HomeBlockDotPattern.proto +++ b/proto/HomeBlockDotPattern.proto @@ -1,11 +1,6 @@ syntax = "proto3"; - option java_package = "emu.grasscutter.net.proto"; - - -import "bytes.proto"; - message HomeBlockDotPattern { uint32 width = 3; bytes data = 14; diff --git a/proto/MissionStatus.proto b/proto/MissionStatus.proto deleted file mode 100644 index cb4997d3..00000000 --- a/proto/MissionStatus.proto +++ /dev/null @@ -1,12 +0,0 @@ -syntax = "proto3"; - -option java_package = "emu.grasscutter.net.proto"; - - - -enum MissionStatus { - MISSION_STATUS_INVALID = 0; - MISSION_STATUS_UNFINISHED = 1; - MISSION_STATUS_FINISHED = 2; - MISSION_STATUS_POINT_TAKEN = 3; -} diff --git a/proto/PingReq.proto b/proto/PingReq.proto index 7ae55611..0e444332 100644 --- a/proto/PingReq.proto +++ b/proto/PingReq.proto @@ -1,11 +1,6 @@ syntax = "proto3"; - option java_package = "emu.grasscutter.net.proto"; - - -import "bytes.proto"; - message PingReq { //enum HCOPEMHOJKP { // option allow_alias= true; diff --git a/proto/PlayerLoginReq.proto b/proto/PlayerLoginReq.proto index 7c3100d2..d1026608 100644 --- a/proto/PlayerLoginReq.proto +++ b/proto/PlayerLoginReq.proto @@ -1,10 +1,6 @@ syntax = "proto3"; - option java_package = "emu.grasscutter.net.proto"; - - -import "bytes.proto"; import "TrackingIOInfo.proto"; import "AdjustTrackingInfo.proto"; diff --git a/proto/PlayerLoginRsp.proto b/proto/PlayerLoginRsp.proto index 4728e3c4..f6f3e96d 100644 --- a/proto/PlayerLoginRsp.proto +++ b/proto/PlayerLoginRsp.proto @@ -1,10 +1,6 @@ syntax = "proto3"; - option java_package = "emu.grasscutter.net.proto"; - - -import "bytes.proto"; import "ResVersionConfig.proto"; import "FeatureBlockInfo.proto"; import "BlockInfo.proto"; diff --git a/proto/RegionInfo.proto b/proto/RegionInfo.proto index bbcb261a..fe68aca5 100644 --- a/proto/RegionInfo.proto +++ b/proto/RegionInfo.proto @@ -1,11 +1,7 @@ syntax = "proto3"; - option java_package = "emu.grasscutter.net.proto"; - - import "ResVersionConfig.proto"; -import "bytes.proto"; message RegionInfo { string gateserver_ip = 1; diff --git a/proto/RobotPushPlayerDataNotify.proto b/proto/RobotPushPlayerDataNotify.proto index b89153bf..fdddcfad 100644 --- a/proto/RobotPushPlayerDataNotify.proto +++ b/proto/RobotPushPlayerDataNotify.proto @@ -1,11 +1,6 @@ syntax = "proto3"; - option java_package = "emu.grasscutter.net.proto"; - - -import "bytes.proto"; - message RobotPushPlayerDataNotify { //enum DELIFMCIALG { // option allow_alias= true; diff --git a/proto/UnionCmd.proto b/proto/UnionCmd.proto index 28b6819b..4154bcbf 100644 --- a/proto/UnionCmd.proto +++ b/proto/UnionCmd.proto @@ -1,11 +1,6 @@ syntax = "proto3"; - option java_package = "emu.grasscutter.net.proto"; - - -import "bytes.proto"; - message UnionCmd { uint32 messageId = 3; bytes body = 5; diff --git a/proto/WindSeedClientNotify.proto b/proto/WindSeedClientNotify.proto index cc021a5b..7419d0d4 100644 --- a/proto/WindSeedClientNotify.proto +++ b/proto/WindSeedClientNotify.proto @@ -1,11 +1,7 @@ syntax = "proto3"; - option java_package = "emu.grasscutter.net.proto"; - - import "Vector.proto"; -import "bytes.proto"; message WindSeedClientNotify { //enum NFLDBGMKHKK { diff --git a/proto/bytes.proto b/proto/bytes.proto deleted file mode 100644 index 0b8a9d0b..00000000 --- a/proto/bytes.proto +++ /dev/null @@ -1,9 +0,0 @@ -syntax = "proto3"; - -option java_package = "emu.grasscutter.net.proto"; - - - - -message bytes { -}