for gc quest

This commit is contained in:
Akbar Yahya 2023-03-21 07:37:31 +08:00
parent 628f7672dc
commit bfa4146d6e
40 changed files with 449 additions and 105 deletions

View File

@ -6,6 +6,7 @@ import "ActivityPushTipsData.proto";
import "ActivityWatcherInfo.proto"; import "ActivityWatcherInfo.proto";
import "MusicGameActivityDetailInfo.proto"; import "MusicGameActivityDetailInfo.proto";
import "TrialAvatarActivityDetailInfo.proto";
// Name: EIPLHBCKIIO // Name: EIPLHBCKIIO
message ActivityInfo { message ActivityInfo {
@ -36,7 +37,9 @@ message ActivityInfo {
oneof detail { oneof detail {
// event gc // event gc
TrialAvatarActivityDetailInfo trial_avatar_info = 12;
MusicGameActivityDetailInfo music_game_info = 1966; MusicGameActivityDetailInfo music_game_info = 1966;
} }
} }

View File

@ -0,0 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: ABHDPPOLMHE
// CmdId: 1621
message AvatarDelNotify {
repeated uint64 avatar_guid_list = 11;
}

View File

@ -0,0 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 6342 (3.2)
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
message CheckUgcStateReq {}

View File

@ -0,0 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 6314 (3.2)
// EnetChannelId: 0
// EnetIsReliable: true
message CheckUgcStateRsp {
int32 retcode = 7;
}

View File

@ -0,0 +1,13 @@
syntax = "proto3";
import "UgcType.proto";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 6320 (3.2)
// EnetChannelId: 0
// EnetIsReliable: true
// IsAllowClient: true
message CheckUgcUpdateReq {
UgcType ugc_type = 13;
}

View File

@ -0,0 +1,14 @@
syntax = "proto3";
import "UgcType.proto";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 6345 (3.2)
// EnetChannelId: 0
// EnetIsReliable: true
message CheckUgcUpdateRsp {
repeated uint64 update_ugc_guid_list = 15;
int32 retcode = 10;
UgcType ugc_type = 12;
}

View File

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

View File

@ -0,0 +1,21 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "PlayerDieType.proto";
import "StrengthenPointData.proto";
// Name: EPKICJCBBIF
// CmdId: 959
message DungeonPlayerDieNotify {
uint32 murderer_entity_id = 1;
uint32 dungeon_id = 2;
uint32 wait_time = 11;
map<uint32, StrengthenPointData> strengthen_point_data_map = 15;
uint32 revive_count = 5;
PlayerDieType die_type = 6;
oneof entity {
uint32 monster_id = 4;
uint32 gadget_id = 7;
}
}

View File

@ -0,0 +1,13 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "PlayerDieType.proto";
// Name: MJCFJHMAMOL
// CmdId: 929
message DungeonPlayerDieReq {
uint32 dungeon_id = 9;
PlayerDieType die_type = 13;
}

View File

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

View File

@ -0,0 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: BODNCMMJHFA
// CmdId: 2084
message EnterTrialAvatarActivityDungeonReq {
uint32 enter_point_id = 15;
uint32 activity_id = 7;
uint32 trial_avatar_index_id = 13;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: PAFBDJNHHJB
// CmdId: 2154
message EnterTrialAvatarActivityDungeonRsp {
int32 retcode = 3;
uint32 activity_id = 12;
uint32 trial_avatar_index_id = 5;
}

View File

@ -0,0 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: CPGCKPFMILP
// CmdId: 217
message ExecuteGadgetLuaReq {
int32 param1 = 14;
int32 param3 = 5;
int32 param2 = 4;
uint32 source_entity_id = 9;
}

View File

@ -0,0 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: HAJKCLEOHJL
// CmdId: 224
message ExecuteGadgetLuaRsp {
int32 retcode = 7;
}

View File

@ -0,0 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "UgcType.proto";
// Name: DPBNMIFDCJH
// CmdId: 6309
message GetUgcBriefInfoReq {
UgcType ugc_type = 1;
uint64 ugc_guid = 12;
}

View File

@ -0,0 +1,17 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "UgcMusicBriefInfo.proto";
import "UgcType.proto";
// Name: HCHEBMEEOJO
// CmdId: 6346
message GetUgcBriefInfoRsp {
UgcType ugc_type = 14;
int32 retcode = 4;
uint64 ugc_guid = 7;
oneof brief {
UgcMusicBriefInfo music_brief_info = 8;
}
}

View File

@ -1,14 +1,13 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "MusicGameRecord.proto"; import "MusicGameRecord.proto";
import "UgcMusicBriefInfo.proto"; import "UgcMusicBriefInfo.proto";
// Name: CJNEENHAPEE option java_package = "emu.grasscutter.net.proto";
message MusicGameActivityDetailInfo {
repeated UgcMusicBriefInfo OMGGIPLOILH = 9;
repeated UgcMusicBriefInfo JJMBELIDNLN = 1;
map<uint32, MusicGameRecord> music_game_record_map = 13;
}
// 3.2
message MusicGameActivityDetailInfo {
repeated UgcMusicBriefInfo ugc_record_list = 4;
repeated UgcMusicBriefInfo ugc_search_list = 7;
map<uint32, MusicGameRecord> music_game_record_map = 8;
}

View File

@ -2,11 +2,9 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// 3.2
// Name: MPJJDJEINNM
message MusicGameRecord { message MusicGameRecord {
bool is_unlock = 12; bool is_unlock = 9;
uint32 max_score = 4; uint32 max_score = 11;
uint32 max_combo = 7; uint32 max_combo = 6;
} }

View File

@ -2,27 +2,27 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 8892 (3.2)
// Name: KKNNAGLMLKD // EnetChannelId: 0
// CmdId: 8278 // EnetIsReliable: true
// IsAllowClient: true
message MusicGameSettleReq { message MusicGameSettleReq {
uint32 APJPLBOJEGN = 1; repeated uint32 button_list = 384;
uint32 combo = 14; uint32 delay = 795;
uint64 ugc_guid = 6; repeated uint32 note_list = 4;
uint32 OJIACEJOFJF = 1954; uint32 score_rating = 15;
uint32 max_combo = 15; uint32 score = 9;
bool is_save_score = 3; uint64 ugc_guid = 6;
uint32 BFAIDHEKEOD = 181; uint32 restart_times = 13;
repeated uint32 DGMDAOAENMJ = 630; bool is_custom_delay = 422;
uint32 score = 2; uint32 max_combo = 5;
bool JIIDBCILMEP = 1707; uint32 is_full_combo = 1058;
uint32 JNBMKEFPJIC = 1085; float speed = 409;
bool AECNMHLOMBH = 634; bool is_save_score = 3;
float speed = 1108; uint32 combo = 1;
repeated uint32 NNIJFEMDAIM = 13; uint32 music_basic_id = 7;
uint32 HPAMHHMILKM = 8; uint32 star_rating = 2;
uint32 NDOFNFADKJH = 10; uint32 volume = 1953;
uint32 correct_hit = 4; uint32 correct_hit = 14;
uint32 music_basic_id = 12; bool is_custom_speed = 1285;
} }

View File

@ -2,14 +2,13 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 8673 (3.2)
// Name: ANDLNOABFII // EnetChannelId: 0
// CmdId: 8542 // EnetIsReliable: true
message MusicGameSettleRsp { message MusicGameSettleRsp {
uint64 ugc_guid = 9; int32 retcode = 11;
bool is_unlock_next_level = 5; uint32 music_basic_id = 5;
uint32 music_basic_id = 14; bool is_new_record = 6;
bool is_new_record = 7; bool is_unlock_next_level = 2;
int32 retcode = 15; uint64 ugc_guid = 10;
} }

View File

@ -2,12 +2,12 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 8406 (3.2)
// Name: KIECLHFBINF // EnetChannelId: 0
// CmdId: 8103 // EnetIsReliable: true
// IsAllowClient: true
message MusicGameStartReq { message MusicGameStartReq {
uint64 ugc_guid = 13; uint32 music_basic_id = 2;
bool is_save_score = 7; bool is_save_score = 11;
uint32 music_basic_id = 4; uint64 ugc_guid = 3;
} }

View File

@ -2,12 +2,11 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 8326 (3.2)
// Name: GGFNHKHDDKC // EnetChannelId: 0
// CmdId: 8334 // EnetIsReliable: true
message MusicGameStartRsp { message MusicGameStartRsp {
int32 retcode = 9; uint32 music_basic_id = 4;
uint64 ugc_guid = 15; int32 retcode = 1;
uint32 music_basic_id = 11; uint64 ugc_guid = 15;
} }

View File

@ -0,0 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 3.2
message OfficialCustomDungeon {
uint32 dungeon_id = 11;
uint32 win_times = 3;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: KHHINOIPNPA
// CmdId: 2005
message ReceivedTrialAvatarActivityRewardReq {
uint32 trial_avatar_index_id = 3;
}

View File

@ -0,0 +1,13 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: LIMEMDMOOCJ
// CmdId: 2009
message ReceivedTrialAvatarActivityRewardRsp {
uint32 activity_id = 12;
uint32 trial_avatar_index_id = 15;
int32 retcode = 5;
}

21
proto/SaveUgcReq.proto Normal file
View File

@ -0,0 +1,21 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "UgcMusicBriefInfo.proto";
import "UgcMusicRecord.proto";
import "UgcType.proto";
// Name: DMPCNMHFEHN
// CmdId: 6344
message SaveUgcReq {
UgcType ugc_type = 13;
uint32 schedule_id = 2;
oneof record {
UgcMusicRecord music_record = 11;
}
oneof brief {
UgcMusicBriefInfo music_brief_info = 380;
}
}

15
proto/SaveUgcRsp.proto Normal file
View File

@ -0,0 +1,15 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "UgcType.proto";
// Name: JKPCEIOLHFA
// CmdId: 6332
message SaveUgcRsp {
UgcType ugc_type = 3;
uint64 ugc_guid = 6;
int32 retcode = 14;
bool JGBHEMIDGCJ = 11;
}

View File

@ -0,0 +1,21 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// Name: EMBMCPPLGPA
// CmdId: 201
message ScenePlayerSoundNotify {
// Name: MCCICFBIADN
enum PlaySoundType {
PLAY_SOUND_NONE = 0;
PLAY_SOUND_START = 1;
PLAY_SOUND_STOP = 2;
}
PlaySoundType play_type = 14;
Vector play_pos = 1;
string sound_name = 4;
}

View File

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

View File

@ -0,0 +1,13 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: DCNCLONCJHI
// CmdId: 3469
message ShowCommonTipsNotify {
uint32 close_time = 1;
string content = 6;
string title = 14;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "TrialAvatarActivityRewardDetailInfo.proto";
// Name: OIGGLAODKKL
message TrialAvatarActivityDetailInfo {
repeated TrialAvatarActivityRewardDetailInfo reward_info_list = 4;
}

View File

@ -0,0 +1,13 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: BEBIONDAIJE
message TrialAvatarActivityRewardDetailInfo {
bool received_reward = 12; // MCCAEONNHPH
uint32 reward_id = 8;
bool passed_dungeon = 14; // JNEMHMEMNEB
uint32 trial_avatar_index_id = 13;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: NEIOEGLNCBC
// CmdId: 2109
message TrialAvatarInDungeonIndexNotify {
uint32 trial_avatar_index_id = 6;
}

View File

@ -0,0 +1,13 @@
syntax = "proto3";
import "OfficialCustomDungeon.proto";
option java_package = "emu.grasscutter.net.proto";
// 3.2
message UgcActivityDetailInfo {
bool is_ugc_feature_closed = 10;
uint32 custom_dungeon_group_id = 12;
repeated OfficialCustomDungeon official_custom_dungeon_list = 5;
bool is_enable_ugc = 11;
}

View File

@ -2,29 +2,26 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// 3.2
// Name: NFCMDLFAPCF
message UgcMusicBriefInfo { message UgcMusicBriefInfo {
uint64 import_from_ugc_guid = 6; uint64 import_from_ugc_guid = 5;
bool BFBOOIBDEFL = 15; bool is_published = 8;
uint32 OMKIMIPNGLF = 1847; bool is_played = 1;
string creator_nickname = 13; uint32 music_id = 2;
uint32 ICHFOLMCONK = 9; uint32 save_page_type = 1182;
uint32 music_id = 10; uint32 save_idx = 12;
uint32 ECGMBEDIMAF = 14; string creator_nickname = 10;
uint32 JDMDEBFDOCB = 1288; uint32 version = 15;
bool IKPEAIAEIOE = 12; uint32 save_time = 3;
bool is_psn_platform = 8; repeated uint32 after_note_list = 1002;
uint32 BGBGAHDGCOD = 567; repeated uint32 before_note_list = 982;
repeated uint32 NEPBHGEPAJF = 1605; bool is_psn_platform = 9;
uint32 FENKBJEOFOD = 1535; uint32 time_line_edit_time = 1822;
uint32 FCCLIJPGIMB = 2; bool is_changed_after_publish = 11;
repeated uint32 BINOPNBOMLE = 429; uint32 publish_time = 13;
uint32 version = 11; uint32 max_score = 14;
uint64 ugc_guid = 3; uint32 real_time_edit_time = 576;
uint32 max_score = 1; uint32 note_count = 7;
uint32 MNFFJEHHPNG = 4; uint64 ugc_guid = 4;
bool GPMMJBKAIMN = 5; uint32 self_max_score = 6;
uint32 MDNHFEMGKIL = 7;
} }

View File

@ -2,10 +2,8 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// 3.2
// Name: KELICPOLEGO
message UgcMusicNote { message UgcMusicNote {
uint32 start_time = 15; uint32 start_time = 12;
uint32 end_time = 8; uint32 end_time = 5;
} }

View File

@ -1,12 +1,11 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "UgcMusicTrack.proto"; import "UgcMusicTrack.proto";
// Name: AMAEJCFDLLP option java_package = "emu.grasscutter.net.proto";
message UgcMusicRecord {
uint32 music_id = 6;
repeated UgcMusicTrack music_track_list = 2;
}
// 3.2
message UgcMusicRecord {
repeated UgcMusicTrack music_track_list = 4;
uint32 music_id = 13;
}

View File

@ -1,11 +1,10 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "UgcMusicNote.proto"; import "UgcMusicNote.proto";
// Name: PNNCHCKBNDL option java_package = "emu.grasscutter.net.proto";
message UgcMusicTrack {
repeated UgcMusicNote music_note_list = 2;
}
// 3.2
message UgcMusicTrack {
repeated UgcMusicNote music_note_list = 6;
}

12
proto/UgcNotify.proto Normal file
View File

@ -0,0 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 6341 (3.2)
// EnetChannelId: 0
// EnetIsReliable: true
message UgcNotify {
bool is_ugc_publish_ban = 12;
bool is_ugc_publish_feature_closed = 8;
bool is_ugc_feature_closed = 15;
}

View File

@ -2,10 +2,9 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// 3.2
// Name: MOCGOKGHGNG
enum UgcType { enum UgcType {
UGC_TYPE_NONE = 0; UGC_TYPE_NONE = 0;
UGC_TYPE_MUSIC_GAME = 1; UGC_TYPE_MUSIC_GAME = 1;
} }