sync proto

This commit is contained in:
Yuuki 2023-05-21 23:18:49 +08:00
parent 0a84dbe23a
commit 23ac0e3ccf
37 changed files with 1330 additions and 110 deletions

View File

@ -1736,8 +1736,8 @@
"113": "PlayerCompoundMaterialBoostRsp",
"187": "PlayerGameTimeByLuaNotify",
"162": "PlayerIpRegionNotify",
"123": "GHMNCNNHLAI",
"130": "DFPBHODHPKM",
"123": "SkipPlayerGameTimeReq",
"130": "SkipPlayerGameTimeRsp",
"184": "HMHLMKOOGFJ",
"108": "BIJJHMLCFOF",
"1290": "EntityPropNotify",

View File

@ -1,15 +0,0 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: AHHLIGPKLDL
message AHHLIGPKLDL {
float NFODLGCLNPJ = 1;
float FOMFKNOIEHD = 13;
uint32 BFGLGNNIHEC = 4;
float MGDCCBBHFOL = 15;
uint32 FDKBBDNOIMN = 9;
bool OBKBPAOJJBG = 12;
}

View File

@ -1,15 +0,0 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: ANAPBNFGFEN
message ANAPBNFGFEN {
float ABCOOEOHDFM = 9;
string PMCAJBKAGMP = 10;
uint32 avatar_id = 15;
bool PONEAMFFEEF = 13;
float FOMFKNOIEHD = 12;
float NFODLGCLNPJ = 7;
}

View File

@ -7,7 +7,7 @@ import "PlatformType.proto";
// CmdId: 968
// Name: AOEICADFFIJ
message AOEICADFFIJ {
repeated PlatformType CHOPMGJFOKD = 4;
repeated PlatformType platform_type = 4;
repeated uint32 monster_id_list = 11;
}

View File

@ -0,0 +1,15 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: AHHLIGPKLDL
message AbilityMixinElementShield {
float sub_shield = 1;
float max_shield = 13;
uint32 absorb_type = 4;
float shield = 15;
uint32 player_num = 9;
bool is_shield_broken = 12;
}

View File

@ -4,7 +4,7 @@ option java_package = "emu.grasscutter.net.proto";
// Name: EJJJHKGPDAF
message EJJJHKGPDAF {
float NFODLGCLNPJ = 3;
message AbilityMixinEliteShield {
float sub_shield = 3;
}

View File

@ -0,0 +1,15 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: ANAPBNFGFEN
message AbilityMixinGlobalShield {
float height_offset = 9;
string shield_effect_name = 10;
uint32 avatar_id = 15;
bool is_create_effect = 13;
float max_shield = 12;
float sub_shield = 7;
}

View File

@ -4,10 +4,10 @@ option java_package = "emu.grasscutter.net.proto";
// Name: KLMOCINFPME
message KLMOCINFPME {
float MGDCCBBHFOL = 7;
float FOMFKNOIEHD = 8;
message AbilityMixinShieldBar {
float shield = 7;
float max_shield = 8;
uint32 element_type = 15;
uint32 FDKBBDNOIMN = 11;
uint32 player_num = 11;
}

View File

@ -98,7 +98,7 @@ message ActivityInfo {
uint32 begin_time = 15;
uint32 JAFIBAJIAFF = 540;
bool is_finished = 12;
bool DMCFNBNECAN = 202;
bool is_starting = 202; //DMCFNBNECAN
repeated ActivityWatcherInfo watcher_info_list = 4;
oneof detail {
SeaLampActivityDetailInfo sam_lamp_info = 9;

View File

@ -26,8 +26,8 @@ message BeginCameraSceneLookNotify {
bool MCFCBOJLEEA = 14;
bool MHOPMFLJEJB = 1736;
float IPCLENFLCLJ = 484;
Vector BJAIBAFFGAP = 6;
Vector BIGFKDFJPDD = 9;
Vector lookPos = 6; //BJAIBAFFGAP
Vector followPos = 9; //BIGFKDFJPDD
float OHCHDGHEJDH = 2;
bool FGEILCFGECH = 12;
float PIOFKMOEEBP = 11;

View File

@ -4,7 +4,7 @@ option java_package = "emu.grasscutter.net.proto";
// Name: MJOHNMGPPEN
enum ChangHpReason {
enum ChangeHpReason {
CHANGE_HP_NONE = 0;
CHANGE_HP_SUB_AVATAR = 1;
CHANGE_HP_SUB_MONSTER = 2;

View File

@ -12,7 +12,7 @@ message ChatInfo {
uint32 to_uid = 4;
uint32 time = 15;
uint32 LHKGJHPFJKA = 2;
uint32 sequence = 2;
uint32 uid = 11;
bool is_read = 12;
oneof content {

View File

@ -6,7 +6,7 @@ option java_package = "emu.grasscutter.net.proto";
// CmdId: 99
// Name: IEJMFHELPOE
message ClientReportNotify {
string ADIACIPJIPC = 8;
string CEGFMOJGPAE = 5;
string report_value = 8;
string report_type = 5;
}

View File

@ -11,10 +11,10 @@ message CombineRsp {
uint32 combine_count = 6;
uint32 combine_id = 7;
int32 retcode = 2;
repeated ItemParam IHDOKECEDDF = 9;
repeated ItemParam total_return_item_list = 9;
repeated ItemParam cost_item_list = 3;
repeated ItemParam INKBGEBHDDN = 12;
repeated ItemParam OIJHNBLLBGE = 11;
repeated ItemParam DIBLNNKANMM = 10;
repeated ItemParam total_random_item_list = 12;
repeated ItemParam total_extra_item_list = 11;
repeated ItemParam result_item_list = 10;
}

View File

@ -5,9 +5,9 @@ option java_package = "emu.grasscutter.net.proto";
// Name: IJBDFMLMJMF
message CompoundQueueData {
uint32 BIBEPDEFKDP = 1;
uint32 output_count = 1;
uint32 compound_id = 2;
uint32 CIBCKFAJLEF = 5;
uint32 GOMEGAHKEMD = 15;
uint32 wait_count = 5;
uint32 output_time = 15;
}

View File

@ -17,11 +17,11 @@ message CoopChapter {
}
uint32 finished_end_count = 4;
repeated uint32 KAKALNAGLGJ = 7;
repeated uint32 lock_reason_list = 7; //KAKALNAGLGJ
map<uint32, uint32> seen_ending_map = 14;
repeated CoopReward coop_reward_list = 5;
repeated CoopPoint coop_point_list = 8;
repeated uint32 LNOCPBNPHIE = 12;
repeated uint32 finish_dialog_list = 12; //LNOCPBNPHIE
uint32 id = 1;
uint32 total_end_count = 6;
State state = 2;

View File

@ -14,12 +14,12 @@ message DataResVersionNotify {
OP_TYPE_MP_RELOGIN = 2;
}
string next_res_version_config = 8;
string client_md5 = 8;
uint32 client_silence_data_version = 6;
string client_silence_version_suffix = 9;
ResVersionConfig res_version_config = 7;
bool is_data_need_relogin = 3;
string client_md5 = 5;
string client_silence_md5 = 5;
DataResVersionOpType op_type = 1;
uint32 client_data_version = 2;
string client_version_suffix = 14;

View File

@ -10,7 +10,7 @@ message DungeonEntryInfo {
uint32 dungeon_id = 6;
uint32 start_time = 11;
WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 10;
uint32 HKBNEBOAMDI = 2;
uint32 maxBossChestNum = 2; //HKBNEBOAMDI
bool is_passed = 1;
uint32 NBLOOGCGMEE = 15;
uint32 next_refresh_time = 9;

View File

@ -6,8 +6,8 @@ option java_package = "emu.grasscutter.net.proto";
// CmdId: 927
// Name: MCMBEAGPLJA
message DungeonReviseLevelNotify {
uint32 HFGFELKHDDK = 4;
uint32 JHNHKIBHLBA = 12;
uint32 reviseLevel = 4;
uint32 sceneLevel = 12;
uint32 dungeon_id = 11;
}

View File

@ -23,7 +23,7 @@ import "WindFieldDungeonSettleInfo.proto";
// Name: ACFCCAJPEOP
message DungeonSettleNotify {
uint32 use_time = 5;
uint32 result = 9; // CHNDMCHIOON
uint32 create_player_uid = 9; // CHNDMCHIOON
map<uint32, ParamList> settle_show = 14;
map<uint32, StrengthenPointData> strengthen_point_data_map = 8;
uint32 close_time = 13;
@ -31,7 +31,7 @@ message DungeonSettleNotify {
repeated DungeonSettleExhibitionInfo exhibition_info_list = 11;
bool is_success = 2;
repeated uint32 fail_cond_list = 12;
uint32 BBMMPMLBGJO = 10;
uint32 result = 10; //BBMMPMLBGJO
oneof detail {
TowerLevelEndNotify tower_level_end_notify = 1587;
TrialAvatarFirstPassDungeonNotify trial_avatar_first_pass_dungeon_notify = 1512;

View File

@ -3,16 +3,16 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ChangeEnergyReason.proto";
import "ChangHpReason.proto";
import "ChangeHpReason.proto";
import "PropChangeReason.proto";
// CmdId: 1241
// Name: CFFMDGNCJDD
message EntityFightPropChangeReasonNotify {
ChangeEnergyReason change_energy_reson = 10;
ChangeEnergyReason change_energy_reason = 10;
repeated uint32 param_list = 5;
float prop_delta = 4;
ChangHpReason change_hp_reason = 7;
ChangeHpReason change_hp_reason = 7;
PropChangeReason reason = 11;
uint32 entity_id = 12;
uint32 prop_type = 1;

View File

@ -5,12 +5,11 @@ option java_package = "emu.grasscutter.net.proto";
// Name: NFBBOLGMJHK
message ForgeQueueData {
uint32 LFKLAHBIMHG = 5;
uint32 ANEHHKAEKNL = 12;
uint32 total_finish_timestamp = 5; //LFKLAHBIMHG
uint32 unfinish_count = 12; //ANEHHKAEKNL
uint32 avatar_id = 13;
uint32 forge_id = 14;
uint32 HANICBEMMJM = 11;
uint32 EBFDNIFEKBN = 1;
uint32 JHCELCAALGH = 15;
uint32 finish_count = 11; //HANICBEMMJM
uint32 next_finish_timestamp = 1; //EBFDNIFEKBN
uint32 queue_id = 15; //JHCELCAALGH
}

View File

@ -9,9 +9,9 @@ import "ItemParam.proto";
// Name: MJAFJIOFNFE
message ForgeQueueManipulateRsp {
int32 retcode = 2;
repeated ItemParam MDJJBOAANKF = 1;
repeated ItemParam BNCLNGJLJIA = 15;
repeated ItemParam return_item_list = 1;
repeated ItemParam output_item_list = 15;
ForgeQueueManipulateType manipulate_type = 6;
repeated ItemParam LEANPAODEGK = 8;
repeated ItemParam extra_output_item_list = 8;
}

View File

@ -7,9 +7,9 @@ option java_package = "emu.grasscutter.net.proto";
// Name: LKBDHDEIKGI
message GetCityReputationMapInfoRsp {
int32 retcode = 11;
repeated uint32 EDAOAKIHGDE = 7;
repeated uint32 PBGGOGLHINL = 8;
bool MDAOIPDBBLN = 4;
bool KOIGFJPNDIO = 1;
repeated uint32 unlock_hunting_city_list = 7;
repeated uint32 reward_city_list = 8;
bool is_new_hunting = 4;
bool is_new_request = 1;
}

View File

@ -11,7 +11,7 @@ message HOJHJGGEABM {
message ALMDBKOCELN {
repeated uint32 monster_id_list = 6;
string HAFEEECHHOJ = 2;
repeated PlatformType CHOPMGJFOKD = 7;
repeated PlatformType platform_type = 7;
}
repeated ALMDBKOCELN BGFGADONCPI = 15;

View File

@ -6,11 +6,11 @@ import "Vector.proto";
// Name: ALCABPLHONH
message HomeLimitedShopInfo {
fixed32 KILKJHNKDJB = 15;
fixed32 next_guest_open_time = 15; //KILKJHNKDJB
uint32 uid = 2;
Vector PCIJFOPGEDO = 14;
fixed32 HEEGDABINMD = 8;
Vector NPFLGEPMDHD = 6;
fixed32 MBAMOPJCAHC = 13;
Vector djinn_pos = 14;
fixed32 next_open_time = 8; //HEEGDABINMD
Vector djinn_rot = 6;
fixed32 next_close_time = 13; //MBAMOPJCAHC
}

View File

@ -15,13 +15,13 @@ message InvestigationMonster {
bool is_area_locked = 8;
uint32 city_id = 5;
uint32 refresh_interval = 10; // CBBFLPAGFOI
uint32 refresh_interval = 10;
uint32 next_refresh_time = 1;
WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 12;
bool is_alive = 14;
uint32 level = 13;
uint32 boss_chest_num = 9; // MGMCKOOBFBJ
uint32 DHMMIBILNEE = 11;
uint32 next_boss_chest_refresh_time = 11;
Vector pos = 2;
uint32 group_id = 1212;
uint32 id = 7;

View File

@ -6,9 +6,8 @@ option java_package = "emu.grasscutter.net.proto";
// CmdId: 150
// Name: IMAKIKFJHOM
message PlayerCookReq {
uint32 qte_quality = 13; // AIBLNBAFJOL
uint32 cook_count = 13;
uint32 assist_avatar = 1;
uint32 cook_count = 6; // EHPKNEPMOAO
uint32 qte_quality = 6;
uint32 recipe_id = 7;
}
}

View File

@ -8,11 +8,10 @@ import "ItemParam.proto";
// CmdId: 148
// Name: GJBLIANJAOC
message PlayerCookRsp {
uint32 qte_quality = 2; // AIBLNBAFJOL
uint32 cook_count = 2;
int32 retcode = 12;
uint32 cook_count = 14; // EHPKNEPMOAO
uint32 qte_quality = 14;
repeated ItemParam item_list = 8;
repeated ItemParam extral_item_list = 15;
CookRecipeData recipe_data = 9;
}
}

View File

@ -32,7 +32,7 @@ message PlayerLoginReq {
bytes JLOPICGGPBP = 978;
string checksum_client_version = 823;
uint32 ECJMGOCEABB = 1650;
string client_version = 3; // ENNPHCJEFFC bruh finally got it right
string ENNPHCJEFFC = 3;
string psn_id = 1125;
bool is_editor = 10;
bytes environment_error_code = 922;

View File

@ -6,7 +6,7 @@ option java_package = "emu.grasscutter.net.proto";
// CmdId: 5022
// Name: NCFBCDPLLIG
message PullRecentChatReq {
uint32 HNOFCJJHEAD = 1;
uint32 LMHJHHFEHOL = 15;
uint32 begin_sequence = 1;
uint32 pull_num = 15;
}

1223
proto/Retcode.proto Normal file

File diff suppressed because it is too large Load Diff

View File

@ -10,15 +10,15 @@ message ReunionBriefInfo {
uint32 first_gift_reward_id = 2;
uint32 finish_time = 3;
uint32 start_time = 8;
bool HBKGGJHLDGI = 9;
bool GHIPMPFNFJK = 1;
bool sign_in_has_reward = 9; //HBKGGJHLDGI
bool is_taken_first_gift = 1; //GHIPMPFNFJK
uint32 first_day_start_time = 11;
string version = 12;
ReunionPrivilegeInfo privilege_info = 7;
repeated MAGCLOOBFPI ACBAPFHKIMM = 6;
uint32 sign_in_config_id = 13;
uint32 privilege_id = 14;
bool JBCJPJECCNA = 4;
bool mission_has_reward = 4; //JBCJPJECCNA
uint32 mission_id = 15;
}

View File

@ -5,9 +5,9 @@ option java_package = "emu.grasscutter.net.proto";
// Name: ENJILBPPCGP
message ReunionSignInInfo {
uint32 GANAIGKNLOD = 7;
uint32 last_sign_in_time = 7;
repeated uint32 reward_day_list = 9;
uint32 config_id = 13;
uint32 ODCICMMHNOH = 10;
uint32 sign_in_count = 10;
}

View File

@ -11,15 +11,15 @@ message ShopGoods {
ItemParam goodsItem = 7; //ok
uint32 maxLevel = 9; //ok
uint32 JGCLNJKOALJ = 1201;
uint32 scoin = 11; //LAKDFDKCMKC
uint32 buyLimit = 11; //LAKDFDKCMKC
uint32 ONDHAANEFIK = 1493;
uint32 beginTime = 14; //ok
repeated uint32 preGoodsIdList = 6; //ok
uint32 IAKCJHEJHOG = 15;
uint32 scoin = 15;
uint32 mcoin = 2; //ok
uint32 boughtNum = 3; //ok
uint32 GNENHCFPFCP = 688;
uint32 buyLimit = 10; //ok? was BKONLAFGBFC
uint32 singleLimit = 688; //GNENHCFPFCP
uint32 BKONLAFGBFC = 10;
uint32 endTime = 4; //ok
uint32 hcoin = 12; //ok
repeated ItemParam costItemList = 13; //ok

View File

@ -7,8 +7,8 @@ option java_package = "emu.grasscutter.net.proto";
// Name: NEIGIGODCNL
message ShowTemplateReminderNotify {
uint32 template_reminder_id = 7;
bool JOIAOAOPGFI = 5;
bool MLFFFPALACK = 13;
bool is_revoke = 5; //JOIAOAOPGFI
bool is_need_cache = 13; //MLFFFPALACK
repeated uint32 param_uid_list = 11;
repeated int32 param_list = 6;
}

View File

@ -6,9 +6,9 @@ import "SignInData.proto";
// Name: NEJGOAIKEPA
message SignInInfo {
uint32 GANAIGKNLOD = 11;
uint32 last_sign_in_time = 11;
uint32 end_time = 5;
uint32 ODCICMMHNOH = 8;
uint32 sign_in_count = 8;
uint32 schedule_id = 7;
bool is_cond_satisfied = 10;
uint32 config_id = 6;