diff --git a/proto/AchievementInfo.proto b/proto/AchievementInfo.proto new file mode 100644 index 00000000..4fef43cb --- /dev/null +++ b/proto/AchievementInfo.proto @@ -0,0 +1,18 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; +message AchievementInfo { + enum AchievementInfoStatus { + ACHIEVEMENT_INVALID = 0; + ACHIEVEMENT_UNFINISHED = 1; + ACHIEVEMENT_FINISHED = 2; + ACHIEVEMENT_POINT_TAKEN = 3; + } + + uint32 id = 1; + AchievementInfoStatus status = 2; + uint32 current = 3; + uint32 goal = 4; + uint32 achievedate = 5; +} diff --git a/proto/ActionReasonType.proto b/proto/ActionReasonType.proto new file mode 100644 index 00000000..88304a44 --- /dev/null +++ b/proto/ActionReasonType.proto @@ -0,0 +1,212 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +enum ActionReasonType { + ACTION_REASON_NONE = 0; + ACTION_REASON_QUEST_ITEM = 1; + ACTION_REASON_QUEST_REWARD = 2; + ACTION_REASON_TRIFLE = 3; + ACTION_REASON_SHOP = 4; + ACTION_REASON_PLAYER_UPGRADE_REWARD = 5; + ACTION_REASON_ADD_AVATAR = 6; + ACTION_REASON_GADGET_ENV_ANIMAL = 7; + ACTION_REASON_MONSTER_ENV_ANIMAL = 8; + ACTION_REASON_COMPOUND = 9; + ACTION_REASON_COOK = 10; + ACTION_REASON_GATHER = 11; + ACTION_REASON_MAIL_ATTACHMENT = 12; + ACTION_REASON_CITY_LEVELUP_RETURN = 15; + ACTION_REASON_CITY_LEVELUP_REWARD = 17; + ACTION_REASON_AREA_EXPLORE_REWARD = 18; + ACTION_REASON_UNLOCK_POINT_REWARD = 19; + ACTION_REASON_DUNGEON_FIRST_PASS = 20; + ACTION_REASON_DUNGEON_PASS = 21; + ACTION_REASON_CHANGE_ELEM_TYPE = 23; + ACTION_REASON_FETTER_OPEN = 25; + ACTION_REASON_DAILY_TASK_SCORE = 26; + ACTION_REASON_DAILY_TASK_HOST = 27; + ACTION_REASON_RAND_TASK_HOST = 28; + ACTION_REASON_EXPEDITION = 29; + ACTION_REASON_GACHA = 30; + ACTION_REASON_COMBINE = 31; + ACTION_REASON_RAND_TASK_GUEST = 32; + ACTION_REASON_DAILY_TASK_GUEST = 33; + ACTION_REASON_FORGE_OUTPUT = 34; + ACTION_REASON_FORGE_RETURN = 35; + ACTION_REASON_INIT_AVATAR = 36; + ACTION_REASON_MONSTER_DIE = 37; + ACTION_REASON_GM = 38; + ACTION_REASON_OPEN_CHEST = 39; + ACTION_REASON_GADGET_DIE = 40; + ACTION_REASON_MONSTER_CHANGE_HP = 41; + ACTION_REASON_SUBFIELD_DROP = 42; + ACTION_REASON_PUSH_TIPS_REWARD = 43; + ACTION_REASON_ACTIVITY_MONSTER_DROP = 44; + ACTION_REASON_ACTIVITY_GATHER = 45; + ACTION_REASON_ACTIVITY_SUBFIELD_DROP = 46; + ACTION_REASON_TOWER_SCHEDULE_REWARD = 47; + ACTION_REASON_TOWER_FLOOR_STAR_REWARD = 48; + ACTION_REASON_TOWER_FIRST_PASS_REWARD = 49; + ACTION_REASON_TOWER_DAILY_REWARD = 50; + ACTION_REASON_HIT_CLIENT_TRIVIAL_ENTITY = 51; + ACTION_REASON_OPEN_WORLD_BOSS_CHEST = 52; + ACTION_REASON_MATERIAL_DELETE_RETURN = 53; + ACTION_REASON_SIGN_IN_REWARD = 54; + ACTION_REASON_OPEN_BLOSSOM_CHEST = 55; + ACTION_REASON_RECHARGE = 56; + ACTION_REASON_BONUS_ACTIVITY_REWARD = 57; + ACTION_REASON_TOWER_COMMEMORATIVE_REWARD = 58; + ACTION_REASON_TOWER_SKIP_FLOOR_REWARD = 59; + ACTION_REASON_RECHARGE_BONUS = 60; + ACTION_REASON_RECHARGE_CARD = 61; + ACTION_REASON_RECHARGE_CARD_DAILY = 62; + ACTION_REASON_RECHARGE_CARD_REPLACE = 63; + ACTION_REASON_RECHARGE_CARD_REPLACE_FREE = 64; + ACTION_REASON_RECHARGE_PLAY_REPLACE = 65; + ACTION_REASON_MP_PLAY_TAKE_REWARD = 66; + ACTION_REASON_ACTIVITY_WATCHER = 67; + ACTION_REASON_SALESMAN_DELIVER_ITEM = 68; + ACTION_REASON_SALESMAN_REWARD = 69; + ACTION_REASON_REBATE = 70; + ACTION_REASON_MCOIN_EXCHANGE_HCOIN = 71; + ACTION_REASON_DAILY_TASK_EXCHANGE_LEGENDARY_KEY = 72; + ACTION_REASON_UNLOCK_PERSON_LINE = 73; + ACTION_REASON_FETTER_LEVEL_REWARD = 74; + ACTION_REASON_BUY_RESIN = 75; + ACTION_REASON_RECHARGE_PACKAGE = 76; + ACTION_REASON_DELIVERY_DAILY_REWARD = 77; + ACTION_REASON_CITY_REPUTATION_LEVEL = 78; + ACTION_REASON_CITY_REPUTATION_QUEST = 79; + ACTION_REASON_CITY_REPUTATION_REQUEST = 80; + ACTION_REASON_CITY_REPUTATION_EXPLORE = 81; + ACTION_REASON_OFFERGING_LEVEL = 82; + ACTION_REASON_ROUTINE_HOST = 83; + ACTION_REASON_ROUTINE_GUEST = 84; + ACTION_REASON_TREASURE_MAP_SPOT_TOKEN = 89; + ACTION_REASON_TREASURE_MAP_BONUS_LEVEL_REWARD = 90; + ACTION_REASON_TREASURE_MAP_MP_REWARD = 91; + ACTION_REASON_CONVERT = 92; + ACTION_REASON_OVERFLOW_TRANSFORM = 93; + ACTION_REASON_ACTIVITY_AVATAR_SELECTION_REWARD = 96; + ACTION_REASON_ACTIVITY_WATCHER_BATCH = 97; + ACTION_REASON_HIT_TREE_DROP = 98; + ACTION_REASON_GET_HOME_LEVELUP_REWARD = 99; + ACTION_REASON_HOME_DEFAULT_FURNITURE = 100; + ACTION_REASON_ACTIVITY_COND = 101; + ACTION_REASON_BATTLE_PASS_NOTIFY = 102; + ACTION_REASON_RELIQUARY_DECOMPOSE = 103; + ACTION_REASON_RECHARGE_GOOGLE_GIFT_GARD = 104; + ACTION_REASON_RECHARGE_CONCERT_PRODUCT = 105; + ACTION_REASON_RECHARGE_CONCERT_PRODUCT_REPLACE = 106; + ACTION_REASON_SEND_CONCERT_PRODUCT_BY_MUIP = 107; + ACTION_REASON_RECHARGE_APPLE_GIFT_GARD = 108; + ACTION_REASON_PLAYER_USE_ITEM = 1001; + ACTION_REASON_DROP_ITEM = 1002; + ACTION_REASON_WEAPON_UPGRADE = 1011; + ACTION_REASON_WEAPON_PROMOTE = 1012; + ACTION_REASON_WEAPON_AWAKEN = 1013; + ACTION_REASON_RELIC_UPGRADE = 1014; + ACTION_REASON_ABILITY = 1015; + ACTION_REASON_DUNGEON_STATUE_DROP = 1016; + ACTION_REASON_OFFLINE_MSG = 1017; + ACTION_REASON_AVATAR_UPGRADE = 1018; + ACTION_REASON_AVATAR_PROMOTE = 1019; + ACTION_REASON_QUEST_ACTION = 1021; + ACTION_REASON_CITY_LEVELUP = 1022; + ACTION_REASON_UPGRADE_SKILL = 1024; + ACTION_REASON_UNLOCK_TALENT = 1025; + ACTION_REASON_UPGRADE_PROUD_SKILL = 1026; + ACTION_REASON_PLAYER_LEVEL_LIMIT_UP = 1027; + ACTION_REASON_DUNGEON_DAILY = 1028; + ACTION_REASON_ITEM_GIVING = 1030; + ACTION_REASON_FORGE_COST = 1031; + ACTION_REASON_INVESTIGATION_REWARD = 1032; + ACTION_REASON_INVESTIGATION_TARGET_REWARD = 1033; + ACTION_REASON_GADGET_INTERACT = 1034; + ACTION_REASON_SEA_LAMP_CI_MATERIAL = 1036; + ACTION_REASON_SEA_LAMP_CONTRIBUTION_REWARD = 1037; + ACTION_REASON_SEA_LAMP_PHASE_REWARD = 1038; + ACTION_REASON_SEA_LAMP_FLY_LAMP = 1039; + ACTION_REASON_AUTO_RECOVER = 1040; + ACTION_REASON_ACTIVITY_EXPIRE_ITEM = 1041; + ACTION_REASON_SUB_COIN_NEGATIVE = 1042; + ACTION_REASON_BARGAIN_DEDUCT = 1043; + ACTION_REASON_BATTLE_PASS_PAID_REWARD = 1044; + ACTION_REASON_BATTLE_PASS_LEVEL_REWARD = 1045; + ACTION_REASON_TRIAL_AVATAR_ACTIVITY_FIRST_PASS_REWARD = 1046; + ACTION_REASON_BUY_BATTLE_PASS_LEVEL = 1047; + ACTION_REASON_GRANT_BIRTHDAY_BENEFIT = 1048; + ACTION_REASON_ACHIEVEMENT_REWARD = 1049; + ACTION_REASON_ACHIEVEMENT_GOAL_REWARD = 1050; + ACTION_REASON_FIRST_SHARE_TO_SOCIAL_NETWORK = 1051; + ACTION_REASON_DESTROY_MATERIAL = 1052; + ACTION_REASON_CODEX_LEVELUP_REWARD = 1053; + ACTION_REASON_HUNTING_OFFER_REWARD = 1054; + ACTION_REASON_USE_WIDGET_ANCHOR_POINT = 1055; + ACTION_REASON_USE_WIDGET_BONFIRE = 1056; + ACTION_REASON_UNGRADE_WEAPON_RETURN_MATERIAL = 1057; + ACTION_REASON_USE_WIDGET_ONEOFF_GATHER_POINT_DETECTOR = 1058; + ACTION_REASON_USE_WIDGET_CLIENT_COLLECTOR = 1059; + ACTION_REASON_USE_WIDGET_CLIENT_DETECTOR = 1060; + ACTION_REASON_TAKE_GENERAL_REWARD = 1061; + ACTION_REASON_ASTER_TAKE_SPECIAL_REWARD = 1062; + ACTION_REASON_REMOVE_CODEX_BOOK = 1063; + ACTION_REASON_OFFERING_ITEM = 1064; + ACTION_REASON_USE_WIDGET_GADGET_BUILDER = 1065; + ACTION_REASON_EFFIGY_FIRST_PASS_REWARD = 1066; + ACTION_REASON_EFFIGY_REWARD = 1067; + ACTION_REASON_REUNION_FIRST_GIFT_REWARD = 1068; + ACTION_REASON_REUNION_SIGN_IN_REWARD = 1069; + ACTION_REASON_REUNION_WATCHER_REWARD = 1070; + ACTION_REASON_SALESMAN_MP_REWARD = 1071; + ACTION_REASION_AVATAR_PROMOTE_REWARD = 1072; + ACTION_REASON_BLESSING_REDEEM_REWARD = 1073; + ACTION_MIRACLE_RING_REWARD = 1074; + ACTION_REASON_EXPEDITION_REWARD = 1075; + ACTION_REASON_TREASURE_MAP_REMOVE_DETECTOR = 1076; + ACTION_REASON_MECHANICUS_DUNGEON_TICKET = 1077; + ACTION_REASON_MECHANICUS_LEVELUP_GEAR = 1078; + ACTION_REASON_MECHANICUS_BATTLE_SETTLE = 1079; + ACTION_REASON_REGION_SEARCH_REWARD = 1080; + ACTION_REASON_UNLOCK_COOP_CHAPTER = 1081; + ACTION_REASON_TAKE_COOP_REWARD = 1082; + ACTION_REASON_FLEUR_FAIR_DUNGEON_REWARD = 1083; + ACTION_REASON_ACTIVITY_SCORE = 1084; + ACTION_REASON_CHANNELLER_SLAB_ONEOFF_DUNGEON_REWARD = 1085; + ACTION_REASON_FURNITURE_MAKE_START = 1086; + ACTION_REASON_FURNITURE_MAKE_TAKE = 1087; + ACTION_REASON_FURNITURE_MAKE_CANCEL = 1088; + ACTION_REASON_FURNITURE_MAKE_FAST_FINISH = 1089; + ACTION_REASON_CHANNELLER_SLAB_LOOP_DUNGEON_FIRST_PASS_REWARD = 1090; + ACTION_REASON_CHANNELLER_SLAB_LOOP_DUNGEON_SCORE_REWARD = 1091; + ACTION_REASON_HOME_LIMITED_SHOP_BUY = 1092; + ACTION_REASON_HOME_COIN_COLLECT = 1093; + ACTION_REASON_SUMMER_TIME_SENTRY_TOWER_REWARD = 1094; + ACTION_REASON_SUMMER_TIME_SPRINT_BOAT_REWARD = 1095; + ACTION_REASON_SUMMER_TIME_BOSS_REWARD = 1096; + ACTION_REASON_SUMMER_TIME_BOMB_REWARD = 1097; + ACTION_REASON_HOME_FETTER_COLLECT = 1098; + ACTION_REASON_ECHO_SHELL_REWARD = 1099; + ACTION_REASON_HOME_EVENT_REWARD = 1100; + ACTION_REASON_BLITZ_RUSH_DUNGEON_REWARD = 1101; + ACTION_REASON_FURNITURE_MAKE_RETURN = 1102; + ACTION_REASON_HOME_PLANT_BOX_GATHER = 1103; + ACTION_REASON_HOME_PLANT_SEED = 1104; + ACTION_REASON_HOME_PLANT_GATHER = 1105; + ACTION_REASON_CHESS_DUNGEON_REWARD = 1106; + ACTION_REASON_GROUP_LINK_BUNDLE_FINISH = 1107; + ACTION_REASON_LUNA_RITE_SACRIFICE = 1108; + ACTION_REASON_LUNA_RITE_TAKE_SACRIFICE_REWARD = 1109; + ACTION_REASON_FISH_BITE = 1110; + ACTION_REASON_FISH_SUCC = 1111; + ACTION_REASON_PLANT_FLOWER_REWARD = 1112; + ACTION_REASON_PLANT_FLOWER_DELIVER_ITEM = 1113; + ACTION_REASON_PLANT_FLOWER_GIVE_FLOWER = 1114; + ACTION_REASON_PLANT_FLOWER_RECV_FLOWER = 1115; + ACTION_REASON_ROGUE_CHALLENGE_SETTLE = 1116; + ACTION_REASON_ROGUE_TAKE_FIRST_PASS_REWARD = 1117; + ACTION_REASON_ROGUE_UPGRADE_SHIKIGAMI = 1118; + ACTION_REASON_ROGUE_REFRESH_CARD = 1119; +} diff --git a/proto/ActivityNullDetailInfo.proto b/proto/ActivityNullDetailInfo.proto new file mode 100644 index 00000000..0017087e --- /dev/null +++ b/proto/ActivityNullDetailInfo.proto @@ -0,0 +1,8 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +message ActivityNullDetailInfo { + +} diff --git a/proto/CBJEDMGOBPL.proto b/proto/CBJEDMGOBPL.proto new file mode 100644 index 00000000..7d8eb76a --- /dev/null +++ b/proto/CBJEDMGOBPL.proto @@ -0,0 +1,11 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +enum CBJEDMGOBPL { + CBJEDMGOBPL_MBLDLJOKLBL = 0; + CBJEDMGOBPL_ILOMIKADKGD = 1; + CBJEDMGOBPL_HGHOEJGHMDH = 2; + CBJEDMGOBPL_PJCONIDJGOD = 3; +} diff --git a/proto/ChannellerSlabLoopDungeonResultInfo.proto b/proto/ChannellerSlabLoopDungeonResultInfo.proto new file mode 100644 index 00000000..e421825e --- /dev/null +++ b/proto/ChannellerSlabLoopDungeonResultInfo.proto @@ -0,0 +1,13 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +message ChannellerSlabLoopDungeonResultInfo { + uint32 dungeon_index = 1; + bool is_success = 2; + uint32 challenge_score = 3; + uint32 challenge_max_score = 4; + bool is_in_time_limit = 5; +} diff --git a/proto/CodexTypeComparer.proto b/proto/CodexTypeComparer.proto new file mode 100644 index 00000000..09b7213a --- /dev/null +++ b/proto/CodexTypeComparer.proto @@ -0,0 +1,8 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +message CodexTypeComparer { +} diff --git a/proto/CoopChapterState.proto b/proto/CoopChapterState.proto new file mode 100644 index 00000000..fe6744c2 --- /dev/null +++ b/proto/CoopChapterState.proto @@ -0,0 +1,11 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +enum CoopChapterState { + Close = 0; + CondNotMeet = 1; + CondMeet = 2; + Accept = 3; +} diff --git a/proto/CoopPointState.proto b/proto/CoopPointState.proto new file mode 100644 index 00000000..9559205a --- /dev/null +++ b/proto/CoopPointState.proto @@ -0,0 +1,10 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +enum CoopPointState { + Unstarted = 0; + Started = 1; + Finished = 2; +} diff --git a/proto/CoopRewardState.proto b/proto/CoopRewardState.proto new file mode 100644 index 00000000..b19598ac --- /dev/null +++ b/proto/CoopRewardState.proto @@ -0,0 +1,10 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +enum CoopRewardState { + Unlock = 0; + Lock = 1; + Taken = 2; +} diff --git a/proto/CountDownDelete.proto b/proto/CountDownDelete.proto new file mode 100644 index 00000000..e51fe268 --- /dev/null +++ b/proto/CountDownDelete.proto @@ -0,0 +1,8 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +message CountDownDelete { + +} diff --git a/proto/DateTimeDelete.proto b/proto/DateTimeDelete.proto new file mode 100644 index 00000000..359e7938 --- /dev/null +++ b/proto/DateTimeDelete.proto @@ -0,0 +1,8 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +message DateTimeDelete { + +} diff --git a/proto/DelayWeekCountDownDelete.proto b/proto/DelayWeekCountDownDelete.proto new file mode 100644 index 00000000..82555f75 --- /dev/null +++ b/proto/DelayWeekCountDownDelete.proto @@ -0,0 +1,8 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +message DelayWeekCountDownDelete { + +} diff --git a/proto/FireWorkData.proto b/proto/FireWorkData.proto new file mode 100644 index 00000000..11d7c550 --- /dev/null +++ b/proto/FireWorkData.proto @@ -0,0 +1,11 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "FireWorkInstance.proto"; + +message FireWorkData { + uint32 id = 1; + repeated FireWorkInstance fireWorkInstance = 2; +} diff --git a/proto/FireWorkInstance.proto b/proto/FireWorkInstance.proto new file mode 100644 index 00000000..b801bcee --- /dev/null +++ b/proto/FireWorkInstance.proto @@ -0,0 +1,11 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "FireWorkType.proto"; + +message FireWorkInstance { + FireWorkType type = 1; + int32 value = 2; +} diff --git a/proto/FireWorkNotify.proto b/proto/FireWorkNotify.proto new file mode 100644 index 00000000..67503e80 --- /dev/null +++ b/proto/FireWorkNotify.proto @@ -0,0 +1,13 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "FireWorkData.proto"; + +// CmdId: 6079 +// EnetChannelId: 0 +// EnetIsReliable: true +message FireWorkNotify { + repeated FireWorkData fireWorkData = 1; +} diff --git a/proto/FireWorkReq.proto b/proto/FireWorkReq.proto new file mode 100644 index 00000000..9f645394 --- /dev/null +++ b/proto/FireWorkReq.proto @@ -0,0 +1,14 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "FireWorkData.proto"; + +// CmdId: 6068 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message FireWorkReq { + FireWorkData fireWorkData = 7; +} diff --git a/proto/FireWorkRsp.proto b/proto/FireWorkRsp.proto new file mode 100644 index 00000000..750c9bd9 --- /dev/null +++ b/proto/FireWorkRsp.proto @@ -0,0 +1,11 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 5918 +// EnetChannelId: 0 +// EnetIsReliable: true +message FireWorkRsp { + int32 retcode = 10; +} diff --git a/proto/FireWorkType.proto b/proto/FireWorkType.proto new file mode 100644 index 00000000..4730c9d7 --- /dev/null +++ b/proto/FireWorkType.proto @@ -0,0 +1,13 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +enum FireWorkType { + FireWorkType_ODJKANKMPPJ = 0; + FireWorkType_EFGLHEIODFN = 1; + FireWorkType_JPBBBCFGHAK = 2; + FireWorkType_IDCMGHBHBFH = 3; + FireWorkType_ODDBNNDFMBO = 4; + FireWorkType_AGIDMOGJOBD = 5; +} diff --git a/proto/FireworkSetData.proto b/proto/FireworkSetData.proto new file mode 100644 index 00000000..6da0c798 --- /dev/null +++ b/proto/FireworkSetData.proto @@ -0,0 +1,12 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "FireWorkInstance.proto"; + +message FireworkSetData { + uint32 id = 1; + repeated uint32 _unknown_field_ = 2; + repeated FireWorkInstance fireWorkInstance = 3; +} diff --git a/proto/FireworkSetNotify.proto b/proto/FireworkSetNotify.proto new file mode 100644 index 00000000..80868783 --- /dev/null +++ b/proto/FireworkSetNotify.proto @@ -0,0 +1,14 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "FireworkSetData.proto"; + +// CmdId: 5934 +// EnetChannelId: 0 +// EnetIsReliable: true +message FireworkSetNotify { + uint32 code = 1; + repeated FireworkSetData data = 9; +} diff --git a/proto/FireworkSetReq.proto b/proto/FireworkSetReq.proto new file mode 100644 index 00000000..7216b353 --- /dev/null +++ b/proto/FireworkSetReq.proto @@ -0,0 +1,14 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "FireworkSetData.proto"; + +// CmdId: 6099 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message FireworkSetReq { + FireworkSetData data = 2; +} diff --git a/proto/FireworkSetRsp.proto b/proto/FireworkSetRsp.proto new file mode 100644 index 00000000..229ba490 --- /dev/null +++ b/proto/FireworkSetRsp.proto @@ -0,0 +1,11 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +// CmdId: 5969 +// EnetChannelId: 0 +// EnetIsReliable: true +message NBFJOJPCCEK_Rsp { + int32 retcode = 7; +} diff --git a/proto/GadgetClientParam.proto b/proto/GadgetClientParam.proto new file mode 100644 index 00000000..068e09c5 --- /dev/null +++ b/proto/GadgetClientParam.proto @@ -0,0 +1,13 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +message GadgetClientParam { + uint32 campId = 1; + uint32 campType = 2; + uint64 guid = 3; + uint32 ownerEntityId = 4; + uint32 targetEntityId = 5; + bool asyncLoad = 6; +} diff --git a/proto/HomeUnknown1Notify.proto b/proto/HomeUnknown1Notify.proto new file mode 100644 index 00000000..00e57965 --- /dev/null +++ b/proto/HomeUnknown1Notify.proto @@ -0,0 +1,8 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +message HomeUnknown1Notify { + bool is_enter_edit_mode = 12; +} diff --git a/proto/LunchBoxSlotType.proto b/proto/LunchBoxSlotType.proto new file mode 100644 index 00000000..e703a252 --- /dev/null +++ b/proto/LunchBoxSlotType.proto @@ -0,0 +1,10 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +enum LunchBoxSlotType { + LUNCH_BOX_SLOT_NONE = 0; + LUNCH_BOX_SLOT_REVIVE = 1; + LUNCH_BOX_SLOT_HEAL = 2; +} diff --git a/proto/MarkNewType.proto b/proto/MarkNewType.proto new file mode 100644 index 00000000..43ae8d10 --- /dev/null +++ b/proto/MarkNewType.proto @@ -0,0 +1,10 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +enum MarkNewType { + _NONE = 0; + COMBINE = 1; + FORGE = 2; +} diff --git a/proto/MusicBeatmap.proto b/proto/MusicBeatmap.proto new file mode 100644 index 00000000..399286e2 --- /dev/null +++ b/proto/MusicBeatmap.proto @@ -0,0 +1,11 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "MusicBeatmapList.proto"; + +message MusicBeatmap { + uint32 music_id = 1; + repeated MusicBeatmapList beatmap_item_list = 2; +} diff --git a/proto/MusicBeatmapList.proto b/proto/MusicBeatmapList.proto new file mode 100644 index 00000000..13b01cf0 --- /dev/null +++ b/proto/MusicBeatmapList.proto @@ -0,0 +1,10 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "MusicBeatmapNote.proto"; + +message MusicBeatmapList { + repeated MusicBeatmapNote beatmap_note_list = 1; +} diff --git a/proto/MusicBeatmapNote.proto b/proto/MusicBeatmapNote.proto new file mode 100644 index 00000000..cde64d3a --- /dev/null +++ b/proto/MusicBeatmapNote.proto @@ -0,0 +1,9 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +message MusicBeatmapNote { + uint32 start_time = 1; + uint32 end_time = 2; +} diff --git a/proto/MusicGameCreateBeatmapReq.proto b/proto/MusicGameCreateBeatmapReq.proto new file mode 100644 index 00000000..4a87f750 --- /dev/null +++ b/proto/MusicGameCreateBeatmapReq.proto @@ -0,0 +1,22 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "MusicBeatmap.proto"; +import "MusicBriefInfo.proto"; +import "MusicGameUnknown1Enum.proto"; + +// CmdId: 6326 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message MusicGameCreateBeatmapReq { + MusicGameUnknown1Enum unknown_enum1 = 12; + oneof beatmap { + MusicBeatmap music_record = 10; + } + oneof brief_info { + MusicBriefInfo music_brief_info = 1021; + } +} diff --git a/proto/MusicGameCreateBeatmapRsp.proto b/proto/MusicGameCreateBeatmapRsp.proto new file mode 100644 index 00000000..99a7231b --- /dev/null +++ b/proto/MusicGameCreateBeatmapRsp.proto @@ -0,0 +1,16 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "MusicGameUnknown1Enum.proto"; + +// CmdId: 6347 +// EnetChannelId: 0 +// EnetIsReliable: true + +message MusicGameCreateBeatmapRsp { + int32 retcode = 10; + MusicGameUnknown1Enum unknown_enum1 = 12; + uint64 music_share_id = 5; +} diff --git a/proto/MusicGameGetBeatmapReq.proto b/proto/MusicGameGetBeatmapReq.proto new file mode 100644 index 00000000..e33bbb68 --- /dev/null +++ b/proto/MusicGameGetBeatmapReq.proto @@ -0,0 +1,20 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "MusicGameUnknown2Enum.proto"; +import "MusicGameGetBeatmapReqType.proto"; +import "MusicGameUnknown1Enum.proto"; + +// CmdId: 6318 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message MusicGameGetBeatmapReq { + MusicGameUnknown1Enum unknown_enum1 = 1; + uint64 music_share_id = 10; + MusicGameUnknown2Enum unknown_enum2 = 12; + bool CDFOGGDLKNA = 15; + MusicGameGetBeatmapReqType req_type = 11; +} diff --git a/proto/MusicGameGetBeatmapReqType.proto b/proto/MusicGameGetBeatmapReqType.proto new file mode 100644 index 00000000..efad4a34 --- /dev/null +++ b/proto/MusicGameGetBeatmapReqType.proto @@ -0,0 +1,15 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +enum MusicGameGetBeatmapReqType { + MusicGameGetBeatmapReqType_u1 = 0; + // edit_beatmap + MusicGameGetBeatmapReqType_u2 = 1; + // play_others + MusicGameGetBeatmapReqType_u3 = 2; + // try + MusicGameGetBeatmapReqType_u4 = 3; + MusicGameGetBeatmapReqType_u5 = 4; +} diff --git a/proto/MusicGameGetBeatmapRsp.proto b/proto/MusicGameGetBeatmapRsp.proto new file mode 100644 index 00000000..fa355f96 --- /dev/null +++ b/proto/MusicGameGetBeatmapRsp.proto @@ -0,0 +1,25 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "MusicGameGetBeatmapReqType.proto"; +import "MusicBeatmap.proto"; +import "MusicBriefInfo.proto"; +import "MusicGameUnknown1Enum.proto"; + +// CmdId: 6309 +// EnetChannelId: 0 +// EnetIsReliable: true +message MusicGameGetBeatmapRsp { + int32 retcode = 13; + MusicGameUnknown1Enum unknown_enum1 = 1; + uint64 music_share_id = 5; + MusicGameGetBeatmapReqType req_type = 2; + oneof beatmap { + MusicBeatmap music_record = 9; + } + oneof brief_info { + MusicBriefInfo music_brief_info = 953; + } +} diff --git a/proto/MusicGameSearchBeatmapReq.proto b/proto/MusicGameSearchBeatmapReq.proto new file mode 100644 index 00000000..9de25162 --- /dev/null +++ b/proto/MusicGameSearchBeatmapReq.proto @@ -0,0 +1,15 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "MusicGameUnknown1Enum.proto"; + +// CmdId: 6343 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message MusicGameSearchBeatmapReq { + MusicGameUnknown1Enum unknown_enum1 = 10; + uint64 music_share_id = 6; +} diff --git a/proto/MusicGameSearchBeatmapRsp.proto b/proto/MusicGameSearchBeatmapRsp.proto new file mode 100644 index 00000000..4f377e07 --- /dev/null +++ b/proto/MusicGameSearchBeatmapRsp.proto @@ -0,0 +1,19 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "MusicBriefInfo.proto"; +import "MusicGameUnknown1Enum.proto"; + +// CmdId: 6304 +// EnetChannelId: 0 +// EnetIsReliable: true +message MusicGameSearchBeatmapRsp { + int32 retcode = 9; + MusicGameUnknown1Enum unknown_enum1 = 3; + uint64 music_share_id = 4; + oneof ELBEIFGDBMM { + MusicBriefInfo music_brief_info = 11; + } +} diff --git a/proto/MusicGameStartToPlayOthersBeatmapReq.proto b/proto/MusicGameStartToPlayOthersBeatmapReq.proto new file mode 100644 index 00000000..25fcad8a --- /dev/null +++ b/proto/MusicGameStartToPlayOthersBeatmapReq.proto @@ -0,0 +1,14 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "MusicGameUnknown1Enum.proto"; + +// CmdId: 6302 +// EnetChannelId: 0 +// EnetIsReliable: true +// IsAllowClient: true +message MusicGameStartToPlayOthersBeatmapReq { + MusicGameUnknown1Enum unknown_enum1 = 12; +} diff --git a/proto/MusicGameStartToPlayOthersBeatmapRsp.proto b/proto/MusicGameStartToPlayOthersBeatmapRsp.proto new file mode 100644 index 00000000..8f935b9e --- /dev/null +++ b/proto/MusicGameStartToPlayOthersBeatmapRsp.proto @@ -0,0 +1,15 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "MusicGameUnknown1Enum.proto"; + +// CmdId: 6313 +// EnetChannelId: 0 +// EnetIsReliable: true +message MusicGameStartToPlayOthersBeatmapRsp { + int32 retcode = 2; + MusicGameUnknown1Enum unknown_enum1 = 11; + repeated uint64 AMNODOLNOIM = 6; +} diff --git a/proto/MusicGameUnknown1Enum.proto b/proto/MusicGameUnknown1Enum.proto new file mode 100644 index 00000000..38fca4a4 --- /dev/null +++ b/proto/MusicGameUnknown1Enum.proto @@ -0,0 +1,9 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +enum MusicGameUnknown1Enum { + MusicGameUnknown1Enum_NONE = 0; + MusicGameUnknown1Enum_u2 = 1; +} diff --git a/proto/MusicGameUnknown2Enum.proto b/proto/MusicGameUnknown2Enum.proto new file mode 100644 index 00000000..4c61a1d3 --- /dev/null +++ b/proto/MusicGameUnknown2Enum.proto @@ -0,0 +1,10 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +enum MusicGameUnknown2Enum { + MusicGameUnknown2Enum_u1 = 0; + MusicGameUnknown2Enum_MINE = 1; + MusicGameUnknown2Enum_u3 = 2; +} diff --git a/proto/OneoffGatherPointDetectorData.proto b/proto/OneoffGatherPointDetectorData.proto new file mode 100644 index 00000000..1a33adeb --- /dev/null +++ b/proto/OneoffGatherPointDetectorData.proto @@ -0,0 +1,16 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "Vector.proto"; + +message OneoffGatherPointDetectorData { + uint32 material_id = 1; + bool is_all_collected = 2; + bool is_hint_valid = 3; + Vector hint_center_pos = 4; + uint32 hint_radius = 5; + uint32 group_id = 6; + uint32 config_id = 7; +} diff --git a/proto/OneoffGatherPointDetectorDataNotify.proto b/proto/OneoffGatherPointDetectorDataNotify.proto new file mode 100644 index 00000000..03f12c5b --- /dev/null +++ b/proto/OneoffGatherPointDetectorDataNotify.proto @@ -0,0 +1,18 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "OneoffGatherPointDetectorData.proto"; + +message OneoffGatherPointDetectorDataNotify { + enum CmdId { + option allow_alias = true; + NONE = 0; + ENET_CHANNEL_ID = 0; + ENET_IS_RELIABLE = 1; + CMD_ID = 4262; + } + + repeated OneoffGatherPointDetectorData oneoff_gather_point_detector_data_list = 6; +} diff --git a/proto/Operation.proto b/proto/Operation.proto new file mode 100644 index 00000000..27996c33 --- /dev/null +++ b/proto/Operation.proto @@ -0,0 +1,11 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +enum Operation { + Add = 0; + Mod = 1; + Del = 2; + Get = 3; +} diff --git a/proto/PlayerApplyEnterMpReason.proto b/proto/PlayerApplyEnterMpReason.proto new file mode 100644 index 00000000..13c58e90 --- /dev/null +++ b/proto/PlayerApplyEnterMpReason.proto @@ -0,0 +1,20 @@ +// 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; +} diff --git a/proto/ResinCard.proto b/proto/ResinCard.proto new file mode 100644 index 00000000..9fb85bd8 --- /dev/null +++ b/proto/ResinCard.proto @@ -0,0 +1,11 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "ItemParam.proto"; + +message ResinCard { + repeated ItemParam baseItemList = 1; + repeated ItemParam perDayItemList = 2; +} diff --git a/proto/SceneUnlockInfo.proto b/proto/SceneUnlockInfo.proto new file mode 100644 index 00000000..70f0c672 --- /dev/null +++ b/proto/SceneUnlockInfo.proto @@ -0,0 +1,10 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +message SceneUnlockInfo { + uint32 sceneId = 1; + bool isLocked = 2; + repeated uint32 sceneTagIdList = 3; +} diff --git a/proto/ShopGoodsDisableType.proto b/proto/ShopGoodsDisableType.proto new file mode 100644 index 00000000..9abf34a2 --- /dev/null +++ b/proto/ShopGoodsDisableType.proto @@ -0,0 +1,11 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +enum ShopGoodsDisableType { + SHOP_GOODS_DISABLE_NONE = 0; + SHOP_GOODS_DISABLE_TALENT_FULL = 1; + SHOP_GOODS_DISABLE_FURNITURE_FORMULA_UNLOCKED = 2; + SHOP_GOODS_DISABLE_COSTUME_UNLOCKED = 3; +} diff --git a/proto/SystemHint.proto b/proto/SystemHint.proto new file mode 100644 index 00000000..fb54f601 --- /dev/null +++ b/proto/SystemHint.proto @@ -0,0 +1,8 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +message SystemHint { + uint32 type = 1; +} diff --git a/proto/WidgetSlotTagComparer.proto b/proto/WidgetSlotTagComparer.proto new file mode 100644 index 00000000..747e2a98 --- /dev/null +++ b/proto/WidgetSlotTagComparer.proto @@ -0,0 +1,8 @@ +// Proto has been converted from Sorapointa to Grasscutter format +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +message WidgetSlotTagComparer { +}