diff --git a/proto/AvatarDelNotify.proto b/proto/AvatarDelNotify.proto new file mode 100644 index 00000000..68e55678 --- /dev/null +++ b/proto/AvatarDelNotify.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +// CmdId: 1642 +// Name: MBEFPBGHKGB +message AvatarDelNotify { + repeated uint64 avatar_guid_list = 14; +} + diff --git a/proto/BuyResinReq.proto b/proto/BuyResinReq.proto new file mode 100644 index 00000000..a993a9ee --- /dev/null +++ b/proto/BuyResinReq.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +// CmdId: 640 +// Name: EFDHMIEGAJA +message BuyResinReq { +} + diff --git a/proto/BuyResinRsp.proto b/proto/BuyResinRsp.proto new file mode 100644 index 00000000..a08041db --- /dev/null +++ b/proto/BuyResinRsp.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +// CmdId: 645 +// Name: MAMGPDIODOE +message BuyResinRsp { + uint32 cur_value = 9; + int32 retcode = 13; +} + diff --git a/proto/CheckUgcStateReq.proto b/proto/CheckUgcStateReq.proto new file mode 100644 index 00000000..fd5875f8 --- /dev/null +++ b/proto/CheckUgcStateReq.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +// CmdId: 6321 +// Name: BFCKNLNKAOD +message CheckUgcStateReq { +} + diff --git a/proto/CheckUgcStateRsp.proto b/proto/CheckUgcStateRsp.proto new file mode 100644 index 00000000..81997367 --- /dev/null +++ b/proto/CheckUgcStateRsp.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +// CmdId: 6350 +// Name: AHIDOJBDLOF +message CheckUgcStateRsp { + int32 retcode = 2; +} + diff --git a/proto/CheckUgcUpdateReq.proto b/proto/CheckUgcUpdateReq.proto new file mode 100644 index 00000000..b0c2da17 --- /dev/null +++ b/proto/CheckUgcUpdateReq.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "UgcType.proto"; + +// CmdId: 6342 +// Name: FALNIBLGNCF +message CheckUgcUpdateReq { + UgcType ugc_type = 6; +} + diff --git a/proto/CheckUgcUpdateRsp.proto b/proto/CheckUgcUpdateRsp.proto new file mode 100644 index 00000000..d60b69c2 --- /dev/null +++ b/proto/CheckUgcUpdateRsp.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "UgcType.proto"; + +// CmdId: 6336 +// Name: OBIOHADBMBC +message CheckUgcUpdateRsp { + int32 retcode = 7; + UgcType ugc_type = 15; + repeated uint64 update_ugc_guid_list = 11; +} + diff --git a/proto/CloseCommonTipsNotify.proto b/proto/CloseCommonTipsNotify.proto new file mode 100644 index 00000000..76b154f7 --- /dev/null +++ b/proto/CloseCommonTipsNotify.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +// CmdId: 3168 +// Name: JDJGBNOMMCP +message CloseCommonTipsNotify { +} + diff --git a/proto/DungeonPlayerDieNotify.proto b/proto/DungeonPlayerDieNotify.proto new file mode 100644 index 00000000..c993fe38 --- /dev/null +++ b/proto/DungeonPlayerDieNotify.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "PlayerDieType.proto"; +import "StrengthenPointData.proto"; + +// CmdId: 959 +// Name: GPMGFINNFNA +message DungeonPlayerDieNotify { + uint32 murderer_entity_id = 6; + uint32 dungeon_id = 13; + map strengthen_point_data_map = 2; + uint32 revive_count = 11; + uint32 wait_time = 1; + PlayerDieType die_type = 4; + oneof entity { + uint32 monster_id = 14; + uint32 gadget_id = 9; + } +} + diff --git a/proto/DungeonPlayerDieReq.proto b/proto/DungeonPlayerDieReq.proto new file mode 100644 index 00000000..9166b973 --- /dev/null +++ b/proto/DungeonPlayerDieReq.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "PlayerDieType.proto"; + +// CmdId: 999 +// Name: HAFIIFADEGO +message DungeonPlayerDieReq { + uint32 dungeon_id = 8; + PlayerDieType die_type = 13; +} + diff --git a/proto/DungeonPlayerDieRsp.proto b/proto/DungeonPlayerDieRsp.proto new file mode 100644 index 00000000..92d3ff1b --- /dev/null +++ b/proto/DungeonPlayerDieRsp.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +// CmdId: 975 +// Name: IEIGFGMPFHG +message DungeonPlayerDieRsp { + int32 retcode = 6; +} + diff --git a/proto/EnterTrialAvatarActivityDungeonReq.proto b/proto/EnterTrialAvatarActivityDungeonReq.proto new file mode 100644 index 00000000..97bc36be --- /dev/null +++ b/proto/EnterTrialAvatarActivityDungeonReq.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +// CmdId: 2061 +// Name: PIOBLFIEPEK +message EnterTrialAvatarActivityDungeonReq { + uint32 trial_avatar_index_id = 2; + uint32 enter_point_id = 12; + uint32 activity_id = 9; +} + diff --git a/proto/EnterTrialAvatarActivityDungeonRsp.proto b/proto/EnterTrialAvatarActivityDungeonRsp.proto new file mode 100644 index 00000000..d475936a --- /dev/null +++ b/proto/EnterTrialAvatarActivityDungeonRsp.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +// CmdId: 2033 +// Name: HJPEGJLNEKL +message EnterTrialAvatarActivityDungeonRsp { + int32 retcode = 12; + uint32 trial_avatar_index_id = 15; + uint32 activity_id = 6; +} + diff --git a/proto/ExecuteGadgetLuaReq.proto b/proto/ExecuteGadgetLuaReq.proto new file mode 100644 index 00000000..a2a740a8 --- /dev/null +++ b/proto/ExecuteGadgetLuaReq.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +// CmdId: 284 +// Name: BJNCNJLGKKL +message ExecuteGadgetLuaReq { + uint32 source_entity_id = 12; + int32 param2 = 8; + int32 param1 = 15; + int32 param3 = 4; +} + diff --git a/proto/ExecuteGadgetLuaRsp.proto b/proto/ExecuteGadgetLuaRsp.proto new file mode 100644 index 00000000..ead03bb0 --- /dev/null +++ b/proto/ExecuteGadgetLuaRsp.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +// CmdId: 208 +// Name: FHCIHKNPCKG +message ExecuteGadgetLuaRsp { + int32 retcode = 8; +} + diff --git a/proto/GetUgcBriefInfoReq.proto b/proto/GetUgcBriefInfoReq.proto new file mode 100644 index 00000000..99a2f93d --- /dev/null +++ b/proto/GetUgcBriefInfoReq.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "UgcType.proto"; + +// CmdId: 6317 +// Name: KJMGOCCECKI +message GetUgcBriefInfoReq { + uint64 ugc_guid = 10; + UgcType ugc_type = 1; +} + diff --git a/proto/GetUgcBriefInfoRsp.proto b/proto/GetUgcBriefInfoRsp.proto new file mode 100644 index 00000000..fa3321e9 --- /dev/null +++ b/proto/GetUgcBriefInfoRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "UgcMusicBriefInfo.proto"; +import "UgcType.proto"; + +// CmdId: 6349 +// Name: NICLPBFFHAA +message GetUgcBriefInfoRsp { + uint64 ugc_guid = 5; + int32 retcode = 10; + UgcType ugc_type = 2; + oneof brief { + UgcMusicBriefInfo music_brief_info = 1; + } +} + diff --git a/proto/ReceivedTrialAvatarActivityRewardReq.proto b/proto/ReceivedTrialAvatarActivityRewardReq.proto new file mode 100644 index 00000000..01b6a74c --- /dev/null +++ b/proto/ReceivedTrialAvatarActivityRewardReq.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +// CmdId: 2003 +// Name: LADELAPFEJE +message ReceivedTrialAvatarActivityRewardReq { + uint32 trial_avatar_index_id = 7; +} + diff --git a/proto/ReceivedTrialAvatarActivityRewardRsp.proto b/proto/ReceivedTrialAvatarActivityRewardRsp.proto new file mode 100644 index 00000000..42cbcf79 --- /dev/null +++ b/proto/ReceivedTrialAvatarActivityRewardRsp.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +// CmdId: 2067 +// Name: ECLCGDCJKBI +message ReceivedTrialAvatarActivityRewardRsp { + uint32 activity_id = 1; + uint32 trial_avatar_index_id = 12; + int32 retcode = 14; +} + diff --git a/proto/SceneAudioNotify.proto b/proto/SceneAudioNotify.proto new file mode 100644 index 00000000..6840f581 --- /dev/null +++ b/proto/SceneAudioNotify.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +// CmdId: 3231 +// Name: NNDJOINBKAB +message SceneAudioNotify { + int32 type = 9; + uint32 source_uid = 11; + repeated float param2 = 6; + repeated string param3 = 5; + repeated uint32 param1 = 8; +} + diff --git a/proto/ScenePlayerSoundNotify.proto b/proto/ScenePlayerSoundNotify.proto new file mode 100644 index 00000000..7a17d429 --- /dev/null +++ b/proto/ScenePlayerSoundNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "Vector.proto"; + +// CmdId: 227 +// Name: DCPCGJCCOJL +message ScenePlayerSoundNotify { + // Name: GONLGHGGMDM + enum PlaySoundType { + PLAY_SOUND_NONE = 0; + PLAY_SOUND_START = 1; + PLAY_SOUND_STOP = 2; + } + + string sound_name = 11; + Vector play_pos = 7; + PlaySoundType play_type = 15; +} + diff --git a/proto/ShowClientGuideNotify.proto b/proto/ShowClientGuideNotify.proto new file mode 100644 index 00000000..22375ffb --- /dev/null +++ b/proto/ShowClientGuideNotify.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +// CmdId: 3382 +// Name: DELAPOPINGI +message ShowClientGuideNotify { + string guide_name = 14; +} + diff --git a/proto/ShowCommonTipsNotify.proto b/proto/ShowCommonTipsNotify.proto new file mode 100644 index 00000000..1e86eae0 --- /dev/null +++ b/proto/ShowCommonTipsNotify.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +// CmdId: 3128 +// Name: DPNNLLEHHCK +message ShowCommonTipsNotify { + string content = 1; + string title = 4; + uint32 close_time = 5; +} +