add proto for `unstable-quests`

This commit is contained in:
Akbar Yahya 2023-04-11 21:27:07 +08:00
parent 52c669369e
commit 6b1d1fca97
23 changed files with 302 additions and 0 deletions

View File

@ -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;
}

10
proto/BuyResinReq.proto Normal file
View File

@ -0,0 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 640
// Name: EFDHMIEGAJA
message BuyResinReq {
}

12
proto/BuyResinRsp.proto Normal file
View File

@ -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;
}

View File

@ -0,0 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 6321
// Name: BFCKNLNKAOD
message CheckUgcStateReq {
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 6350
// Name: AHIDOJBDLOF
message CheckUgcStateRsp {
int32 retcode = 2;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -0,0 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 3168
// Name: JDJGBNOMMCP
message CloseCommonTipsNotify {
}

View File

@ -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<uint32, StrengthenPointData> 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;
}
}

View File

@ -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;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 975
// Name: IEIGFGMPFHG
message DungeonPlayerDieRsp {
int32 retcode = 6;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 208
// Name: FHCIHKNPCKG
message ExecuteGadgetLuaRsp {
int32 retcode = 8;
}

View File

@ -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;
}

View File

@ -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;
}
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 3382
// Name: DELAPOPINGI
message ShowClientGuideNotify {
string guide_name = 14;
}

View File

@ -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;
}