update proto part 8

This commit is contained in:
Akbar Yahya 2023-03-07 10:02:26 +08:00
parent dcf7414b7e
commit aaececbf10
104 changed files with 12691 additions and 14569 deletions

16272
cmdid.json

File diff suppressed because it is too large Load Diff

View File

@ -157,10 +157,10 @@
},
{
"name": "SkipPlayerGameTimeReq",
"id": 108
"id": 163
},
{
"name": "SkipPlayerGameTimeRsp",
"id": 166
"id": 196
}
]

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

8
op.js
View File

@ -83,8 +83,8 @@ function read_cmdid_ht_json() {
const k = read_json(read_cmdid_ht_output);
// console.log(k);
for (const key in k) {
var name = k[key];
var id = parseInt(key);
var name = key;
var id = parseInt(k[key]);
//console.log(id);
var subdata = new Object();
subdata["name"] = name;
@ -858,7 +858,7 @@ function clean_proto_event() {
}
// Update GC Proto
get_cmdid_gc(); // 1. get cmd old gc
// get_cmdid_gc(); // 1. get cmd old gc
// read_cmdid_ht_json(); // 2 or
// get_cmdid_json(); // 2. get last cmdid.csv to json
// now we have cmdid_gc.json and cmdid.json
@ -866,6 +866,6 @@ function clean_proto_event() {
// cmdid_to_op(); // 4. update op
// npx prettier --write PacketOpcodes.java
// scan_gc(); // 5. scan gc
// clean_proto_event(); // 6. clean event, need manual
// clean_proto_gen(); // 6. clean proto
// clean_proto_gen_v2();
// clean_proto_event();

View File

@ -1,11 +1,13 @@
syntax = "proto3";
import "Vector.proto";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// Name: CEJDDBMAHGE
message AbilityActionGenerateElemBall {
uint32 roomId = 3;
Vector rot = 12;
Vector pos = 1;
uint32 room_id = 3;
Vector rot = 12;
Vector pos = 1;
}

View File

@ -1,21 +1,24 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityAttachedModifier.proto";
import "AbilityString.proto";
import "ModifierAction.proto";
import "ModifierProperty.proto";
import "ModifierAction.proto";
// Name: IPPNBIDINLA
message AbilityMetaModifierChange {
bool isAttachedParentAbility = 8;
bool is_durability_zero = 8;
int32 modifier_local_id = 11;
repeated ModifierProperty properties = 4;
uint32 apply_entity_id = 3;
AbilityAttachedModifier attached_instanced_modifier = 1;
ModifierAction action = 9; // NOAJNAPDEMN
bool is_durability_zero = 15;
bool is_attached_parent_ability = 15;
AbilityString parent_ability_name = 6;
bool is_mute_remote = 2;
AbilityString parent_ability_override = 12;
uint32 server_buff_uid = 13;
}

View File

@ -7,9 +7,11 @@ option java_package = "emu.grasscutter.net.proto";
// Name: IMEFDIKAJBD
message Achievement {
// Name: JPGOFPINCMO > Status
uint32 cur_progress = 2;
uint32 finish_timestamp = 13;
Status status = 6;
uint32 total_progress = 5;
uint32 id = 9;
}

View File

@ -14,15 +14,15 @@ message ActivityInfo {
bool FLFGIDFALEK = 15;
uint32 LPOCNCICJHM = 485;
map<uint32, uint32> activity_coin_map = 703;
repeated uint32 meetCondList = 2;
repeated uint32 expireCondList = 2;
uint32 end_time = 4;
bool GLOONPBGOHM = 1331;
repeated ActivityPushTipsData activity_push_tips_data_list = 1827;
repeated uint32 expireCondList = 13;
repeated uint32 meet_cond_list = 13; // LGCJBENHFOB
bool is_finished = 6;
repeated uint32 EOPFKDBBOII = 894;
repeated ActivityWatcherInfo watcher_info_list = 8;
uint32 activityType = 5;
uint32 activity_type = 5; // KMOFHMKLGHD
uint32 activity_id = 7;
bool CJDFLBKBNPL = 10;
map<uint32, uint32> wish_gift_num_map = 1459;
@ -37,7 +37,6 @@ message ActivityInfo {
// event gc
MusicGameActivityDetailInfo music_game_info = 1966;
}
}

View File

@ -6,13 +6,13 @@ option java_package = "emu.grasscutter.net.proto";
// Name: NDDGEOMCBEE
message AnnounceData {
bool is_center_system_last_5_every_minutes = 8;
uint32 countDownFrequency = 12;
uint32 count_down_frequency = 12; // HJNFJIEBMEL
uint32 end_time = 15;
uint32 config_id = 11;
string countDownText = 3;
string dungeonConfirmText = 5;
string centerSystemText = 6;
uint32 centerSystemFrequency = 7;
string count_down_text = 3; // LJCFLKABNFM
string center_system_text = 5; // POMBEEAPGDL
string dungeon_confirm_text = 6; // MBGAKKMFHFF
uint32 center_system_frequency = 7; // BLHPFGPJAFE
uint32 begin_time = 13;
}

View File

@ -22,7 +22,7 @@ message AttackResult {
float GCKKIKJLCKG = 1030;
uint32 GFAODFMIIIB = 278;
float AEIPHPGEFAN = 474;
HitCollision hitCollision = 10;
HitCollision hitCollision = 7;
uint32 IPPPOLACNMI = 13;
bool ANNLKCIDPEC = 1534;
uint32 attacker_id = 2;
@ -30,7 +30,7 @@ message AttackResult {
bool JKJBOKBIIBI = 196;
string anim_event_id = 5;
Vector resolved_dir = 15;
AttackHitEffectResult hitEffResult = 7;
AttackHitEffectResult hitEffResult = 10;
uint32 BIHIHLDIPOK = 6;
uint32 element_type = 4;
uint32 OOLJHPBLPDL = 352;

View File

@ -6,11 +6,11 @@ option java_package = "emu.grasscutter.net.proto";
// Name: KLNBJHKJCIN
// CmdId: 1042
message AvatarSkillChangeNotify {
uint32 avatarSkillId = 10;
uint32 cur_level = 10;
uint64 avatar_guid = 9;
uint32 entity_id = 8;
uint32 curLevel = 3;
uint32 oldLevel = 14;
uint32 old_level = 3;
uint32 avatar_skill_id = 14;
uint32 skill_depot_id = 4;
}

View File

@ -6,8 +6,8 @@ option java_package = "emu.grasscutter.net.proto";
// Name: HDNOGHLJFHJ
// CmdId: 1007
message AvatarSkillUpgradeReq {
uint32 avatarSkillId = 8;
uint32 avatar_guid = 4;
uint64 oldLevel = 9;
uint32 avatar_skill_id = 8;
uint32 old_level = 4;
uint64 avatar_guid = 9;
}

View File

@ -6,10 +6,10 @@ option java_package = "emu.grasscutter.net.proto";
// Name: IFLPKKOCJCM
// CmdId: 1091
message AvatarSkillUpgradeRsp {
uint32 avatarSkillId = 12;
uint32 old_level = 12;
uint64 avatar_guid = 3;
uint32 oldLevel = 7;
uint32 curLevel = 5;
uint32 cur_level = 7;
uint32 avatar_skill_id = 5;
int32 retcode = 15;
}

View File

@ -6,8 +6,8 @@ option java_package = "emu.grasscutter.net.proto";
// Name: FDBHCBMNCAI
// CmdId: 1741
message AvatarUpgradeRsp {
uint32 oldLevel = 3;
uint32 curLevel = 15;
uint32 old_level = 3;
uint32 cur_level = 15;
int32 retcode = 1;
uint64 avatar_guid = 13;
map<uint32, float> oldFightPropMap = 7;

View File

@ -3,10 +3,10 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: IAMODOAMICJ
message BattlePassCycle {
uint32 cycleIdx = 8;
uint32 beginTime = 2;
uint32 endTime = 11;
uint32 begin_time = 8;
uint32 cycle_idx = 5; // FLNDBEEKMFN
uint32 end_time = 12;
}

View File

@ -13,9 +13,9 @@ message BattlePassMission {
MISSION_STATUS_POINT_TAKEN = 3;
}
uint32 missionType = 11;
uint32 reward_battle_pass_point = 11; // CGCJJAMPFME
uint32 cur_progress = 1;
uint32 rewardBattlePassPoint = 10;
uint32 mission_type = 10; // INNGDEGBMHO
uint32 total_progress = 5;
uint32 mission_id = 12;
MissionStatus mission_status = 3;

View File

@ -2,8 +2,11 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: KKAGAEDPGGK
message BattlePassProduct {
string normalProductId = 4;
string extraProductId = 14;
string upgradeProductId = 7;
string normal_product_id = 1; //HBCIEPELAKP
string extra_product_id = 2; //PFDENLGHKKG
string upgrade_product_id = 9; //JIIPGPJDHEA
}

View File

@ -9,18 +9,18 @@ import "BattlePassProduct.proto";
// Name: OLJLDADNNAF
message BattlePassSchedule {
uint32 point = 3;
uint32 point = 3; //EFNAOLNFOIL
uint32 schedule_id = 5;
uint32 begin_time = 12;
BattlePassCycle curCycle = 4;
bool isExtraPaidRewardTaken = 14;
uint32 paid_platform_flags = 8;
BattlePassCycle cur_cycle = 4;
bool is_viewed = 14; //MMIFIPECKLP
uint32 paid_platform_flags = 8; //ALBBELONLOC
uint32 level = 6;
BattlePassUnlockStatus unlock_status = 13;
uint32 end_time = 1;
BattlePassProduct productInfo = 10;
uint32 curCyclePoints = 11;
BattlePassProduct product_info = 10;
uint32 cur_cycle_points = 11; //NJKKLGMHFMG
repeated BattlePassRewardTag reward_taken_list = 15;
bool isViewed = 9;
bool is_extra_paid_reward_taken = 9; //COPMFJLLHOK
}

View File

@ -3,8 +3,9 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: CPBMIAMDLPE
enum ChangeEnergyReason {
CHANGE_ENERGY_REASON_NONE = 0;
CHANGE_ENERGY_REASON_SKILL_START = 1;
}

View File

@ -3,10 +3,11 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: HLDDAIOAHPB
enum ChapterState {
CHAPTER_STATE_NONE = 0;
CHAPTER_STATE_UNABLE_TO_BEGIN = 1;
CHAPTER_STATE_BEGIN = 2;
CHAPTER_STATE_END = 3;
}

View File

@ -9,19 +9,18 @@ import "ChapterState.proto";
message ChapterStateNotify {
// Name: POAIPEHKEHE
message NeedPlayerLevel {
bool configNeedPlayerLevel = 12;
uint32 isLimit = 11;
bool is_limit = 12;
uint32 configNeedPlayerLevel = 11;
}
// Name: OKNHDJOIJFI
message NeedBeginTime {
bool configNeedBeginTime = 10;
uint32 isLimit = 3;
bool is_limit = 10;
uint32 configNeedBeginTime = 3;
}
NeedBeginTime needBeginTime = 14;
uint32 chapter_id = 7;
ChapterState chapterState = 10;
ChapterState chapter_state = 10;
NeedPlayerLevel needPlayerLevel = 8;
}

View File

@ -7,4 +7,4 @@ message ChildQuest {
uint32 state = 1;
uint32 quest_config_id = 14;
uint32 quest_id = 8;
}
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: FBEKLANBDNA
message CoinCollectTeamAvatarInfo {
uint32 costume_id = 4;
uint32 avatar_id = 5;
}

View File

@ -5,9 +5,9 @@ option java_package = "emu.grasscutter.net.proto";
// Name: HKALLDBLCCJ
message CompoundQueueData {
uint32 outputCount = 15;
uint32 compoundId = 5;
uint32 waitCount = 11;
uint32 outputTime = 14;
uint32 outputTime = 15;
uint32 waitCount = 5;
uint32 outputCount = 11;
uint32 compound_id = 14;
}

View File

@ -5,7 +5,7 @@ option java_package = "emu.grasscutter.net.proto";
// Name: PGKMKCDIPCM
message CookRecipeData {
uint32 recipeId = 14;
uint32 proficiency = 4;
uint32 proficiency = 14; // DIIJPMJFNOL
uint32 recipe_id = 4; // EJKLKNPMHMC
}

View File

@ -19,7 +19,7 @@ message CreateEntityInfo {
uint32 gadget_id = 3;
uint32 item_id = 4;
}
oneof MGPBKHBAPPH {
oneof entity_create_info {
CreateGadgetInfo gadget = 13;
}
}

View File

@ -7,8 +7,8 @@ import "DungeonEntryInfo.proto";
// Name: ILBGCAPNDLF
message DailyDungeonEntryInfo {
uint32 recommend_dungeon_id = 3;
uint32 dungeonEntryConfigId = 1;
uint32 dungeonEntryId = 14;
uint32 dungeonEntryId = 1;
uint32 dungeonEntryConfigId = 14;
DungeonEntryInfo recommend_dungeon_entry_info = 7;
}

View File

@ -4,27 +4,27 @@ option java_package = "emu.grasscutter.net.proto";
import "GachaItem.proto";
// Name: LEFDKOLFJKL (3.4)
// Name: LEFDKOLFJKL
// CmdId: 1564
message DoGachaRsp {
uint32 leftGachaTimes = 7;
uint32 newGachaRandom = 9;
uint32 gachaType = 13;
uint32 gachaTimesLimit = 4;
uint32 costItemNum = 8;
repeated GachaItem gachaItemList = 3;
uint32 wishProgress = 12;
uint32 dailyGachaTimes = 112;
uint32 tenCostItemId = 5;
uint32 wishItemId = 10;
uint32 curScheduleDailyGachaTimes = 475;
uint32 tenCostItemNum = 11;
int32 retcode = 14;
uint32 gachaTimes = 15;
bool Unk3300_HBILIAEIHNK = 1849;
bool Unk3300_OHFMHIHJHPJ = 397;
uint32 gachaScheduleId = 2;
uint32 wishMaxProgress = 1;
uint32 costItemId = 6;
uint32 gachaType = 4; // DNGKJJJHNEN
uint32 dailyGachaTimes = 1898; //OPHLINLNOEA
uint32 leftGachaTimes = 13; // HKJAAPBGNEI
uint32 gachaTimesLimit = 2; //NMKGGDOKHLF
bool HNAFDALMKFN = 312;
uint32 wishProgress = 1; // BCKMNIBIPHO
uint32 tenCostItemId = 11; // KJHBJPGBOFP
uint32 tenCostItemNum = 9; //DGIFMDIADJF
uint32 gachaScheduleId = 15; //LMLCPMOOKKA
repeated GachaItem gacha_item_list = 10;
uint32 wishItemId = 7; //LJJKNKCHHFM
uint32 newGachaRandom = 5; //EAMKGBGKNMO
uint32 gachaTimes = 12; //AINLBCOKANA
uint32 curScheduleDailyGachaTimes = 1918; //NOKMFFEIDNH
int32 retcode = 14;
uint32 costItemNum = 3; //MGFKNHHNMAE
bool HCCENOGKOOG = 1938;
uint32 costItemId = 6; //GNIDAANOBDP
uint32 wishMaxProgress = 8; //FLDFHFNHNFC
}

View File

@ -1,13 +0,0 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "OnlinePlayerInfo.proto";
import "ExhibitionDisplayInfo.proto";
message DungeonSettleExhibitionInfo {
repeated ExhibitionDisplayInfo cardList = 2;
OnlinePlayerInfo playerInfo = 13;
}

View File

@ -2,20 +2,10 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ChannellerSlabLoopDungeonResultInfo.proto";
import "CrystalLinkDungeonSettleInfo.proto";
import "DungeonSettleExhibitionInfo.proto";
import "EffigyChallengeDungeonResultInfo.proto";
import "EffigyChallengeV2SettleInfo.proto";
import "InstableSprayDungeonSettleInfo.proto";
import "ParamList.proto";
import "RoguelikeDungeonSettleInfo.proto";
import "StrengthenPointData.proto";
import "SummerTimeV2DungeonSettleInfo.proto";
import "TeamChainSettleInfo.proto";
import "TowerLevelEndNotify.proto";
import "TrialAvatarFirstPassDungeonNotify.proto";
import "WindFieldDungeonSettleInfo.proto";
// Name: FFCKLBMMNOC
// CmdId: 950
@ -25,23 +15,14 @@ message DungeonSettleNotify {
uint32 close_time = 11;
uint32 createPlayerUid = 10;
repeated uint32 fail_cond_list = 3;
repeated DungeonSettleExhibitionInfo exhibitionInfoList = 14;
map<uint32, ParamList> settleShow = 6;
map<uint32, StrengthenPointData> strengthen_point_data_map = 9;
bool is_success = 15;
uint32 result = 12;
oneof detail {
// Type Event
TowerLevelEndNotify tower_level_end_notify = 771;
TrialAvatarFirstPassDungeonNotify trial_avatar_first_pass_dungeon_notify = 626;
ChannellerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1006;
EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 243;
RoguelikeDungeonSettleInfo roguelike_dungeon_settle_info = 919;
CrystalLinkDungeonSettleInfo crystal_link_settle_info = 202;
SummerTimeV2DungeonSettleInfo summer_time_v2_dungeon_settle_info = 1187;
InstableSprayDungeonSettleInfo instable_spray_settle_info = 1506;
WindFieldDungeonSettleInfo wind_field_dungeon_settle_info = 1577;
EffigyChallengeV2SettleInfo effigy_challenge_v2_settle_info = 757;
TeamChainSettleInfo team_chain_settle_info = 1881;
}
}

View File

@ -8,24 +8,24 @@ import "Vector.proto";
// Name: FEDLMKKOMIL
// CmdId: 314
message EvtCreateGadgetNotify {
uint64 guid = 5;
ForwardType forwardType = 3;
uint32 entityId = 6;
uint32 targetLockPointIndex = 14;
uint32 ownerEntityId = 10;
uint32 roomId = 11;
bool is_async_load = 137; //guessed
uint32 campId = 8;
uint32 configId = 2;
repeated uint32 targetLockPointIndexList = 582;
repeated uint32 targetEntityIdList = 1945;
uint32 targetEntityId = 12;
bool isPeerIdFromPlayer = 13;
Vector initEulerAngles = 7;
uint32 propOwnerEntityId = 1;
Vector initPos = 9;
bool Unk3300_EJNBIGLGMII = 1128;
uint32 campType = 4;
bool FGMFGIKBNPJ = 7;
bool isPeerIdFromPlayer = 14;
uint64 guid = 15;
Vector InitPos = 5; // FFLCDJCOGIM
ForwardType forward_type = 3;
uint32 camp_type = 1;
uint32 entity_id = 6;
uint32 JKHNMNELMJL = 9;
uint32 owner_entity_id = 10;
bool is_async_load = 1128;
uint32 room_id = 11;
uint32 camp_id = 8;
uint32 config_id = 2;
uint32 prop_owner_entity_id = 4; //LMDHNJFCOOI
repeated uint32 target_lock_point_index_list = 582;
repeated uint32 target_entity_id_list = 1945;
uint32 target_entity_id = 12;
bool Unk3300_EJNBIGLGMII = 1628;
Vector InitEulerAngles = 13; // GPKIAACNNCF
}

View File

@ -1,12 +0,0 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: ABMCDDFMBOC
message ExhibitionDisplayInfo {
uint32 id = 1;
uint32 param = 2;
uint32 detail_param = 3;
}

View File

@ -1,6 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: MAABOGBOJFC
message ForceUpdateInfo {
string force_update_url = 1;
string force_update_url = 1; //AGLGNFAKDMP
}

View File

@ -2,6 +2,8 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: MIEFECKEOMK
message FurnitureMakeData {
uint32 avatar_id = 5;
uint32 begin_time = 3;
@ -10,3 +12,4 @@ message FurnitureMakeData {
uint32 index = 12;
uint32 make_id = 4;
}

View File

@ -9,9 +9,9 @@ import "GachaInfo.proto";
message GetGachaInfoRsp {
repeated GachaInfo gacha_info_list = 6;
int32 retcode = 13;
bool Unk3300_OHFMHIHJHPJ = 11;
bool Unk3300_HBILIAEIHNK = 1;
uint32 gachaRandom = 14;
uint32 dailyGachaTimes = 8;
bool HNAFDALMKFN = 11;
bool HCCENOGKOOG = 1;
uint32 dailyGachaTimes = 14; // PKCLGOCJPLN
uint32 gachaRandom = 8; // OPHLINLNOEA
}

View File

@ -33,8 +33,8 @@ message GetPlayerTokenRsp {
int32 retcode = 5;
string secret_key = 7;
string account_uid = 3;
uint32 BGELCCHCJDG = 1043;
uint32 blackUidEndTime = 12;
uint32 cloudClientIp = 1043; //BGELCCHCJDG
uint32 blackUidEndTime = 12; // LBCGKJHALNG
string client_ip_str = 1563;
uint32 reg_platform = 751;
string birthday = 1398;

View File

@ -6,11 +6,11 @@ option java_package = "emu.grasscutter.net.proto";
// Name: OFAJEECKBCP
// CmdId: 411
message GetQuestLackingResourceRsp {
map<uint32, uint32> NCPOOIMAKMO = 6;
map<uint32, uint32> lacked_npc_map = 6;
repeated uint32 KPIKFCDPMMM = 15;
uint32 quest_id = 8;
int32 retcode = 14;
map<uint32, uint32> OCDJABANKIH = 5;
map<uint32, uint32> lacked_place_map = 5;
repeated uint32 DMLOPDKLBMF = 4;
}

View File

@ -2,20 +2,22 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: ODCLFBBMOFA
// CmdId: 229
message GetScenePointRsp {
repeated uint32 LHGAOJELAMA = 3;
repeated uint32 FKDLJELPPOJ = 13;
repeated uint32 notInteractDungeonEntryList = 3; //LHGAOJELAMA
repeated uint32 toBeExploreDungeonEntryList = 13; //FKDLJELPPOJ
int32 retcode = 2;
repeated uint32 hide_point_list = 12;
repeated uint32 LLLIACPHNEH = 7;
repeated uint32 unhide_point_list = 7; //LLLIACPHNEH
uint32 belong_uid = 8;
repeated uint32 KBGDANIJLFK = 11;
repeated uint32 unlockAreaList = 14;
bool PGBKOMBKBKG = 5;
repeated uint32 unhidePointList = 10;
repeated uint32 HJLALADBFAC = 15;
repeated uint32 unlockAreaList = 11; //KBGDANIJLFK
repeated uint32 notExploredDungeonEntryList = 14; //LEAMLBEEBMN
bool PGBKOMBKBKG = 5; // new field
repeated uint32 locked_point_list = 10; //JOMDNANCHND
repeated uint32 groupUnlimitPointList = 15; //HJLALADBFAC
uint32 scene_id = 6;
repeated uint32 unlocked_point_list = 4;
}

View File

@ -2,16 +2,14 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
import "HitColliderType.proto";
message HitCollision {
float attackeeHitEntityAngle = 12;
Vector hitDir = 4;
Vector hitPoint = 3;
int32 hitBoxIndex = 10;
float attackeeHitForceAngle = 15;
HitColliderType hitColliderType = 9;
float attackeeHitForceAngle = 7;
Vector hitDir = 5;
float attackeeHitEntityAngle = 9;
int32 hit_box_index = 2;
Vector hitPoint = 4;
HitColliderType hit_collider_type = 8;
}

View File

@ -2,12 +2,12 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// Name: FCEGEHJMIMC
message HomeAnimalData {
Vector spawnRot = 13;
uint32 furnitureId = 10;
Vector spawnPos = 4;
uint32 furniture_id = 12;
Vector spawnRot = 7;
Vector spawn_pos = 1;
}

View File

@ -11,7 +11,7 @@ message HomeBasicInfo {
uint32 curRoomSceneId = 3;
string owner_nick_name = 7;
uint32 curModuleId = 2;
HomeLimitedShopInfo limitedShopInfo = 5;
HomeLimitedShopInfo limited_shop_info = 5;
uint32 homeOwnerUid = 6;
bool is_in_edit_mode = 9;
}

View File

@ -2,30 +2,30 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "HomeFurnitureSuiteData.proto";
import "HomeNpcData.proto";
import "HomeBlockFieldData.proto";
import "WeekendDjinnInfo.proto";
import "HomeFurnitureData.proto";
import "HomeBlockDotPattern.proto";
import "HomeFurnitureGroupData.proto";
import "HomeNpcData.proto";
import "HomeFurnitureCustomSuiteData.proto";
import "HomeFurnitureSuiteData.proto";
import "HomeAnimalData.proto";
import "HomeFurnitureGroupData.proto";
import "HomeBlockDotPattern.proto";
import "HomeFurnitureData.proto";
import "HomeFurnitureCustomSuiteData.proto";
// Name: NABBLDGHGBP
message HomeBlockArrangementInfo {
repeated HomeFurnitureSuiteData furnitureSuiteList = 12;
repeated HomeBlockFieldData fieldList = 13;
repeated WeekendDjinnInfo weekendDjinnInfoList = 8;
repeated HomeFurnitureData persistentFurnitureList = 6;
repeated HomeBlockDotPattern dotPatternList = 7;
uint32 comfortValue = 9;
repeated HomeFurnitureGroupData furnitureGroupList = 3;
repeated HomeFurnitureData deployFurniureList = 15;
repeated HomeNpcData deployNpcList = 5;
repeated HomeFurnitureCustomSuiteData furnitureCustomSuiteList = 4;
bool isUnlocked = 1;
uint32 blockId = 2;
repeated HomeAnimalData deployAnimalList = 14;
repeated HomeFurnitureSuiteData furnitureSuiteList = 10;
bool is_unlocked = 4;
repeated HomeAnimalData deployAnimalList = 5;
repeated HomeBlockDotPattern dotPatternList = 9;
uint32 comfort_value = 7;
repeated HomeFurnitureData persistentFurnitureList = 14; //BKDJHPLLNNM
repeated HomeBlockFieldData field_list = 13;
repeated HomeFurnitureGroupData furnitureGroupList = 12;
repeated HomeFurnitureCustomSuiteData furnitureCustomSuiteList = 3;
uint32 block_id = 1;
repeated WeekendDjinnInfo weekendDjinnInfoList = 2;
repeated HomeNpcData deployNpcList = 11;
repeated HomeFurnitureData deployFurniureList = 15; //LJANEFIBHEJ
}

View File

@ -1,8 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: NALOPCHENIP
message HomeBlockDotPattern {
uint32 width = 3;
bytes data = 14;
uint32 height = 8;
uint32 height = 8;
bytes data = 6;
uint32 width = 14;
}

View File

@ -2,15 +2,15 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
import "HomeBlockSubFieldData.proto";
import "Vector.proto";
// Name: CGDHNAGKLLP
message HomeBlockFieldData {
Vector pos = 1;
uint32 guid = 6;
repeated HomeBlockSubFieldData subFieldList = 9;
uint32 furnitureId = 10;
Vector rot = 2;
Vector rot = 7;
uint32 furniture_id = 14;
repeated HomeBlockSubFieldData subFieldList = 5;
Vector pos = 8;
uint32 guid = 3;
}

View File

@ -2,11 +2,11 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// Name: LGCNHKIIMLL
message HomeBlockSubFieldData {
Vector rot = 6;
Vector pos = 11;
Vector pos = 14;
Vector rot = 3;
}

View File

@ -2,12 +2,12 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// Name: OHILLFINBBI
message HomeFurnitureCustomSuiteData {
uint32 guid = 10;
repeated int32 includedFurnitureIndexList = 5;
Vector spawnPos = 6;
uint32 guid = 2;
repeated int32 includedFurnitureIndexList = 4;
Vector spawn_pos = 10;
}

View File

@ -4,11 +4,13 @@ option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// Name: NICMKPJLHMI
message HomeFurnitureData {
uint32 version = 1;
int32 parentFurnitureIndex = 4;
Vector spawnRot = 6;
uint32 version = 1;
int32 parent_furniture_index = 4; // LHFNIEEFJOP
Vector spawn_rot = 6; // MGHIMMEFBDI
uint32 furniture_id = 7;
uint32 guid = 8;
Vector spawn_pos = 13;
}

View File

@ -2,11 +2,11 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "HomeFurnitureData.proto";
// Name: FNLKKMKJIDF
message HomeFurnitureGroupData {
repeated HomeFurnitureData virtualFurnitureList = 12;
uint32 groupFurnitureIndex = 4;
repeated HomeFurnitureData virtualFurnitureList = 5;
uint32 groupFurnitureIndex = 9;
}

View File

@ -2,14 +2,14 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// Name: DJBLPMPKGKO
message HomeFurnitureSuiteData {
repeated int32 includedFurnitureIndexList = 7;
uint32 guid = 12;
uint32 suiteId = 15;
bool isAllowSummon = 14;
Vector spawnPos = 10;
Vector spawn_pos = 15;
repeated int32 includedFurnitureIndexList = 4;
uint32 guid = 5;
uint32 suite_id = 6;
bool isAllowSummon = 1;
}

View File

@ -4,11 +4,13 @@ option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// Name: ILEIPGLHFAP
message HomeLimitedShopInfo {
uint32 nextGuestOpenTime = 12;
uint32 nextGuestOpenTime = 12;
uint32 nextOpenTime = 11;
Vector djinnPos = 1;
uint32 nextCloseTime = 6;
uint32 uid = 14;
Vector djinnRot = 9;
}

View File

@ -7,6 +7,6 @@ import "HomeLimitedShopInfo.proto";
// Name: ELMECFHEBMD
// CmdId: 4584
message HomeLimitedShopInfoNotify {
HomeLimitedShopInfo shopInfo = 11;
HomeLimitedShopInfo shop_info = 11;
}

View File

@ -8,6 +8,6 @@ import "HomeLimitedShopInfo.proto";
// CmdId: 4791
message HomeLimitedShopInfoRsp {
int32 retcode = 6;
HomeLimitedShopInfo shopInfo = 10;
HomeLimitedShopInfo shop_info = 10;
}

View File

@ -7,10 +7,10 @@ import "Vector.proto";
// Name: LKEBHBGDDFA
message HomeMarkPointSceneData {
Vector safePointPos = 14;
Vector teapot_spirit_pos = 14; // CBEFGODKPHB
uint32 module_id = 8;
repeated HomeMarkPointFurnitureData furniture_list = 15;
uint32 scene_id = 7;
Vector teapotSpiritPos = 6;
Vector safe_point_pos = 6; // CNBJHDLMPCK
}

View File

@ -2,13 +2,13 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// Name: BACEMJKBMHN
message HomeNpcData {
Vector spawnPos = 4;
uint32 costumeId = 13;
uint32 avatarId = 5;
Vector spawnRot = 6;
uint32 costume_id = 6;
Vector spawn_pos = 8;
Vector spawn_rot = 12;
uint32 avatar_id = 13;
}

View File

@ -8,17 +8,16 @@ import "Vector.proto";
// Name: FNABEPABCNG
message HomeSceneArrangementInfo {
uint32 comfortValue = 4;
Vector djinnPos = 12;
uint32 comfort_value = 4;
Vector djinn_pos = 12;
bool is_set_born_pos = 10;
repeated HomeFurnitureData Unk3400_CMBCIBBCMOK = 14;
repeated HomeFurnitureData Unk3400_EOHAHHFDAPI = 8;
repeated HomeFurnitureData Unk3300_CMBCIBBCMOK = 14;
repeated HomeFurnitureData Unk3300_EOHAHHFDAPI = 8;
uint32 bgm_id = 11;
Vector born_pos = 1;
repeated HomeBlockArrangementInfo blockArrangementInfoList = 9;
uint32 tmpVersion = 3;
HomeFurnitureData mainHouse = 15;
repeated HomeBlockArrangementInfo block_arrangement_info_list = 9;
uint32 tmp_version = 3;
HomeFurnitureData main_house = 15;
uint32 scene_id = 2;
Vector bornRot = 7;
Vector born_rot = 7;
}

View File

@ -9,3 +9,4 @@ message InferencePageInfo {
repeated InfernceWordInfo unlock_word_list = 8;
uint32 page_id = 5;
}

View File

@ -2,6 +2,7 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: DPMDACEDALK
message InfernceWordInfo {
bool DFAGDIBEHOG = 3;
@ -10,3 +11,4 @@ message InfernceWordInfo {
uint32 word_id = 10;
bool GEHOIBMCJED = 9;
}

View File

@ -7,14 +7,16 @@ import "WeeklyBossResinDiscountInfo.proto";
// Name: BIMILKAGLEC
message InvestigationMonster {
// Name: HGJIJCEPLEE > LockState
enum LockState {
LOCK_STATE_NONE = 0;
LOCK_STATE_QUEST = 1;
}
uint32 bossChestNum = 13;
bool isAlive = 14;
uint32 maxBossChestNum = 3;
bool isAreaLocked = 11;
uint32 max_boss_chest_num = 13; //HFEFHDCOMLB
bool is_alive = 14; // MFGIMDGKDHH
uint32 NKADJMFOMGB = 3;
bool is_area_locked = 11; // ABCENJAFGOF
WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 9;
uint32 next_refresh_time = 8;
uint32 group_id = 1206;
@ -22,10 +24,10 @@ message InvestigationMonster {
uint32 scene_id = 7;
uint32 level = 5;
LockState lock_state = 10;
uint32 refreshInterval = 4;
uint32 refresh_interval = 4; // JPBJFFCFINC
uint32 resin = 15;
uint32 monster_id = 308;
uint32 nextBossChestRefreshTime = 1;
uint32 boss_chest_num = 1; // HDIBPIICNBB
uint32 city_id = 2;
Vector pos = 12;
}

View File

@ -0,0 +1,13 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: OCHFJBOGAOP
// CmdId: 8511
message IrodoriChessEquipCardReq {
bool is_hard_map = 13;
uint32 level_id = 7;
uint32 card_id = 14;
}

View File

@ -0,0 +1,14 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: NFNLEIPBPFE
// CmdId: 8145
message IrodoriChessEquipCardRsp {
uint32 level_id = 6;
bool is_hard_map = 11;
int32 retcode = 10;
uint32 card_id = 9;
}

View File

@ -3,10 +3,10 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: KPHNGIEIKOJ
enum MailCollectState {
MAIL_COLLECT_STATE_COLLECTIBLE_UNKNOWN = 0;
MAIL_COLLECT_STATE_NOT_COLLECTIBLE = 1;
MAIL_COLLECT_STATE_COLLECTIBLE_UNCOLLECTED = 2;
MAIL_COLLECT_STATE_COLLECTIBLE_COLLECTED = 3;
}
}

View File

@ -8,16 +8,16 @@ import "MailItem.proto";
// Name: HGOBDHKMDHO
message MailData {
uint32 mailId = 1;
MailTextContent mailTextContent = 4;
repeated MailItem itemList = 7;
uint32 sendTime = 8;
uint32 expireTime = 9;
uint32 importance = 10;
bool isRead = 11;
bool isAttachmentGot = 12;
uint32 configId = 13;
repeated string argumentList = 14;
MailCollectState collectState = 15;
uint32 mailId = 1; // FMBALDHPHEL
MailTextContent mail_text_content = 4;
repeated MailItem item_list = 7;
uint32 send_time = 8; // ONHBGIHJJHJ
uint32 expire_time = 9;
uint32 importance = 10; // GJNJJOANHLH
bool is_read = 11;
bool is_attachment_got = 12;
uint32 config_id = 13;
repeated string argument_list = 14;
MailCollectState collect_state = 15;
}

View File

@ -3,10 +3,10 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: CBGLBMMCPPK
message MailTextContent {
string title = 1;
string content = 2;
string sender = 3;
string title = 1;
string content = 2;
string sender = 3; //NBNLJCLPGEA
}

View File

@ -2,6 +2,7 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: NPBCGNLAONB
enum MapMarkFromType {
MAP_MARK_FROM_TYPE_NONE = 0;

View File

@ -8,7 +8,7 @@ import "MapMarkPoint.proto";
// CmdId: 3087
message MarkMapReq {
// Name: LHHMCBIINHG
enum Operation {
enum Operation {
OPERATION_ADD = 0;
OPERATION_MOD = 1;
OPERATION_DEL = 2;

11
proto/MaterilaInfo.proto Normal file
View File

@ -0,0 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: KBJIEJFLEPA
message MaterilaInfo {
uint32 count = 5;
uint64 guid = 7;
}

View File

@ -6,5 +6,5 @@ option java_package = "emu.grasscutter.net.proto";
message ModifierProperty {
AbilityString key = 8;
float value = 14;
float value = 9;
}

View File

@ -1,24 +1,9 @@
// Proto has been converted from Sorapointa to Grasscutter format
// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa.
// Copyright (C) 2022 Sorapointa Team
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: OPEGMEBLMFH
message PacketHead {
uint32 packet_id = 1;
uint32 rpc_id = 2;
@ -39,3 +24,4 @@ message PacketHead {
bool is_set_game_thread = 34;
uint32 game_thread_index = 35;
}

View File

@ -9,14 +9,15 @@ import "ParentQuestRandomInfo.proto";
// Name: NMIGKDMCKHK
message ParentQuest {
bool is_random = 1;
repeated ChildQuest child_quest_list = 13;
repeated ChildQuest childQuestList = 13;
repeated int32 quest_var = 2;
repeated InferencePageInfo inference_page_list = 4;
uint32 parentQuestState = 5;
uint32 questVarSeq = 9;
uint32 parent_quest_state = 5; // DOCNJADOIPJ
uint32 quest_var_seq = 9; // FLPFBJMELEB
uint64 video_key = 6;
map<uint32, uint32> time_var_map = 14;
bool is_finished = 8;
uint32 parent_quest_id = 11;
ParentQuestRandomInfo random_info = 3;
ParentQuestRandomInfo randomInfo = 3;
}

View File

@ -2,9 +2,11 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: JLADMBEDMHP
message ParentQuestRandomInfo {
repeated uint32 factor_list = 9;
uint32 template_id = 4;
uint32 entrance_id = 14;
}

View File

@ -9,19 +9,19 @@ import "Vector.proto";
// Name: COPHAEDKHOK
message PlatformInfo {
uint32 routeId = 1;
int32 startIndex = 2;
uint32 startRouteTime = 3;
uint32 startSceneTime = 4;
Vector startPos = 7;
bool isStarted = 8;
MathQuaternion start_rot = 9;
uint32 stopSceneTime = 10;
Vector posOffset = 11;
MathQuaternion rot_offset = 12;
MovingPlatformType movingPlatformType = 13;
bool isActive = 14;
Route route = 15;
uint32 pointId = 16;
uint32 route_id = 1;
int32 start_index = 2;
uint32 start_route_time = 3; // MGFMDFCMKDH
uint32 start_scene_time = 4; // COKDLJOELIL
Vector start_pos = 7; // PMCHNNEAMCO
bool is_started = 8;
MathQuaternion start_rot = 9; // PFJLOCMMIDO
uint32 stop_scene_time = 10; // LJKOGHEMFPA
Vector pos_offset = 11; // PGNBBMEBGIO
MathQuaternion rot_offset = 12; // DFEPLBHBKHG
MovingPlatformType moving_platform_type = 13;
bool is_active = 14;
Route route = 15;
uint32 point_id = 16;
}

View File

@ -7,7 +7,7 @@ option java_package = "emu.grasscutter.net.proto";
// CmdId: 1846
message PlayerApplyEnterMpResultNotify {
// Name: ENLGMFKFLKP
enum Reason {
enum Reason {
REASON_PLAYER_JUDGE = 0;
REASON_SCENE_CANNOT_ENTER = 1;
REASON_PLAYER_CANNOT_ENTER_MP = 2;

View File

@ -6,9 +6,9 @@ option java_package = "emu.grasscutter.net.proto";
// Name: IFIIKECOADA
// CmdId: 184
message PlayerCookReq {
uint32 recipeId = 9;
uint32 assistAvatar = 5;
uint32 qteQuality = 15;
uint32 cookCount = 3;
uint32 cook_count = 9; // HHKAPMHMHFI
uint32 recipe_id = 5; // DIIJPMJFNOL
uint32 qte_quality = 15; // IFLJGHHBGMP
uint32 assist_avatar = 3; // OMPOMKPPLEH
}

View File

@ -10,9 +10,9 @@ import "ItemParam.proto";
message PlayerCookRsp {
repeated ItemParam extral_item_list = 12;
repeated ItemParam item_list = 9;
uint32 cookCount = 10;
uint32 cook_count = 10; // HHKAPMHMHFI
CookRecipeData recipe_data = 11;
int32 retcode = 15;
uint32 qteQuality = 6;
uint32 qte_quality = 6; // IFLJGHHBGMP
}

View File

@ -6,9 +6,9 @@ option java_package = "emu.grasscutter.net.proto";
// Name: FFDMIACPHJJ
// CmdId: 1029
message ProudSkillExtraLevelNotify {
uint32 extraLevel = 1;
uint32 talentType = 7;
uint32 extra_level = 1; // MCIMCJEMMAH
uint32 talent_type = 7; // IMHNBMDKMMN
uint64 avatar_guid = 10;
uint32 talentIndex = 11;
uint32 talent_index = 11; // FAOAFMCOILH
}

View File

@ -6,9 +6,9 @@ option java_package = "emu.grasscutter.net.proto";
// Name: LGANMLHFGID
// CmdId: 4201
message QueryCodexMonsterBeKilledNumRsp {
repeated uint32 beKilledNumList = 14;
repeated uint32 be_captured_num_list = 14; // EHOHFHEOKHJ
int32 retcode = 11;
repeated uint32 beCapturedNumList = 1;
repeated uint32 be_killed_num_list = 1; // KHEHMPJHELM
repeated uint32 codex_id_list = 8;
}

View File

@ -1,19 +1,23 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "RegionInfo.proto";
import "ForceUpdateInfo.proto";
import "StopServer.proto";
import "RegionInfo.proto";
import "StopServerInfo.proto";
// Name: AHMNLAOFJBB
message QueryCurrRegionHttpRsp {
int32 retcode = 1;
string msg = 2;
RegionInfo regionInfo = 3;
oneof detail {
ForceUpdateInfo force_update = 4;
StopServer stop_server = 5;
}
bytes client_secret_key = 11;
bytes region_custom_config_encrypted = 12;
bytes client_region_custom_config_encrypted = 13;
int32 retcode = 1;
string msg = 2;
RegionInfo region_info = 3;
bytes client_secret_key = 11;
bytes region_custom_config_encrypted = 12;
bytes client_region_custom_config_encrypted= 13;
string HHDIBBJDLAN = 14;
oneof detail {
ForceUpdateInfo force_update = 4;
StopServerInfo stop_server = 5;
}
}

View File

@ -10,6 +10,7 @@ import "Vector3Int.proto";
// Name: ACMGFNOFCKB
// CmdId: 2367
message QueryPathReq {
// Name: FFFLJDJCEPL > OptionType
Vector source_pos = 10;
QueryFilter filter = 3;
Vector3Int APGDHBMJKHO = 12;

View File

@ -2,12 +2,14 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
import "PathStatusType.proto";
import "Vector.proto";
// Name: FKMNFJNKLOG
// CmdId: 2375
message QueryPathRsp {
// Name: OJMJFOELEOF > PathStatusType
repeated Vector corners = 2;
PathStatusType query_status = 12;
int32 query_id = 7;

View File

@ -1,30 +1,15 @@
// Proto has been converted from Sorapointa to Grasscutter format
// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa.
// Copyright (C) 2022 Sorapointa Team
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
syntax = "proto3";
import "RegionSimpleInfo.proto";
option java_package = "emu.grasscutter.net.proto";
import "RegionSimpleInfo.proto";
// Name: CKKPDOAODLN
message QueryRegionListHttpRsp {
int32 retcode = 1;
repeated RegionSimpleInfo region_list = 2;
bytes client_secret_key = 5;
bytes client_custom_config_encrypted = 6;
bool enable_login_pc = 7;
int32 retcode = 1;
repeated RegionSimpleInfo region_list = 2;
bytes client_secret_key = 5;
bytes client_custom_config_encrypted = 6;
bool enable_login_pc = 7;
}

View File

@ -2,21 +2,22 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: IBPHKCENHNF
message Quest {
uint32 questId = 1;
uint32 state = 2;
uint32 startTime = 4;
bool isRandom = 5;
uint32 parentQuestId = 6;
uint32 questConfigId = 7;
uint32 startGameTime = 8;
uint32 acceptTime = 9;
repeated uint32 lackedNpcList = 10;
repeated uint32 finishProgressList = 11;
repeated uint32 failProgressList = 12;
map<uint32, uint32> lackedNpcMap = 13;
repeated uint32 lackedPlaceList = 14;
map<uint32, uint32> lackedPlaceMap = 15;
uint32 quest_id = 1;
uint32 state = 2;
uint32 start_time = 4;
bool is_random = 5;
uint32 parent_quest_id = 6;
uint32 quest_config_id = 7;
uint32 start_game_time = 8;
uint32 accept_time = 9;
repeated uint32 lacked_npc_list = 10;
repeated uint32 finish_progress_list = 11;
repeated uint32 fail_progress_list = 12;
map<uint32, uint32> lacked_npc_map = 13; // NCPOOIMAKMO
repeated uint32 lacked_place_list = 14;
map<uint32, uint32> lacked_place_map = 15; // OCDJABANKIH
}

View File

@ -1,27 +1,13 @@
// Proto has been converted from Sorapointa to Grasscutter format
// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa.
// Copyright (C) 2022 Sorapointa Team
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Name: LLDIKKJHCCB
message RegionSimpleInfo {
string name = 1;
string title = 2;
string type = 3;
string dispatch_url = 4;
string name = 1;
string title = 2;
string type = 3;
string dispatch_url = 4;
}

View File

@ -7,10 +7,10 @@ option java_package = "emu.grasscutter.net.proto";
// CmdId: 684
message ReliquaryPromoteRsp {
int32 retcode = 13;
uint32 ONKINPFPNPJ = 9;
uint32 PJGFEEMIPBL = 8;
repeated uint32 CHKOMADPLAO = 14;
repeated uint32 PBPLNHFCKIO = 11;
uint32 cur_promote_level = 9; // ONKINPFPNPJ
uint32 old_promote_level = 8; // PJGFEEMIPBL
repeated uint32 cur_append_prop_list = 14; // CHKOMADPLAO
repeated uint32 old_append_prop_list = 11; // PBPLNHFCKIO
uint64 target_reliquary_guid = 2;
}

View File

@ -6,12 +6,12 @@ option java_package = "emu.grasscutter.net.proto";
// Name: EHKGELEMEHM
// CmdId: 674
message ReliquaryUpgradeRsp {
uint32 curLevel = 6;
uint32 oldLevel = 3;
repeated uint32 oldAppendPropList = 7;
uint32 cur_level = 6; // cur_level
uint32 power_up_rate = 3; // NMHDEIHIEJK
repeated uint32 cur_append_prop_list = 7; // CHKOMADPLAO
int32 retcode = 11;
uint64 target_reliquary_guid = 15;
repeated uint32 curAppendPropList = 1;
uint32 powerUpRate = 5;
repeated uint32 old_append_prop_list = 1; // PBPLNHFCKIO
uint32 old_level = 5; // MFNMHANCIMP
}

View File

@ -7,7 +7,7 @@ import "RoguelikeSettleCoinInfo.proto";
// Name: DNPIGFAKHOM
message RoguelikeDungeonSettleInfo {
bool INAOJMIAHFP = 9;
uint32 PJNELCLHMOH = 2;
uint32 cur_level = 2;
bool FHNAEKAPHEG = 8;
map<uint32, RoguelikeSettleCoinInfo> finished_challenge_cell_num_map = 5;
uint32 stage_id = 4;

View File

@ -42,7 +42,7 @@ message SceneGadgetInfo {
bool is_enable_interact = 10;
uint32 interact_id = 11;
uint32 mark_flag = 21;
uint32 prop_owner_entity_id = 22;
uint32 prop_owner_entity_id = 22; //LMDHNJFCOOI
PlatformInfo platform = 23;
repeated uint32 interact_uid_list = 24;
uint32 draft_id = 25;

View File

@ -6,10 +6,10 @@ option java_package = "emu.grasscutter.net.proto";
// Name: DCLKBOACANF
// CmdId: 261
message ScenePointUnlockNotify {
repeated uint32 unhidePointList = 14;
repeated uint32 locked_point_list = 14; //JOMDNANCHND
repeated uint32 hide_point_list = 9;
repeated uint32 point_list = 3;
repeated uint32 lockedPointList = 7;
repeated uint32 unhide_point_list = 7; //LLLIACPHNEH
uint32 scene_id = 6;
}

View File

@ -8,7 +8,7 @@ import "ServerBuff.proto";
// CmdId: 353
message ServerBuffChangeNotify {
// Name: MMHNGODLMFF
enum ServerBuffChangeType {
enum ServerBuffChangeType {
SERVER_BUFF_CHANGE_TYPE_ADD_SERVER_BUFF = 0;
SERVER_BUFF_CHANGE_TYPE_DEL_SERVER_BUFF = 1;
}

View File

@ -6,7 +6,7 @@ option java_package = "emu.grasscutter.net.proto";
// Name: NKEFJLKJCIP
// CmdId: 486
message ServerCondMeetQuestListUpdateNotify {
repeated uint32 delQuestIdList = 15;
repeated uint32 addQuestIdList = 5;
repeated uint32 add_quest_id_list = 15; // ENOCFBCHAMO
repeated uint32 del_quest_id_list = 5; // PJLFACFIEAA
}

View File

@ -3,19 +3,19 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ShopMcoinProduct.proto";
import "ShopConcertProduct.proto";
import "ShopCardProduct.proto";
import "ShopConcertProduct.proto";
import "ShopGoods.proto";
// Name: HNDMELNBJGE
message Shop {
uint32 city_reputation_level = 11;
uint32 city_id = 4;
repeated ShopMcoinProduct mcoinProductList = 1;
repeated ShopMcoinProduct mcoin_product_list = 1;
uint32 next_refresh_time = 10;
repeated ShopGoods goods_list = 8;
repeated ShopCardProduct cardProductList = 7;
repeated ShopConcertProduct concert_product_list = 7;
uint32 shop_type = 9;
repeated ShopConcertProduct concertProductList = 12;
repeated ShopCardProduct card_product_list = 12;
}

View File

@ -4,27 +4,27 @@ option java_package = "emu.grasscutter.net.proto";
import "ItemParam.proto";
// Name: EFLDHGLFIDD (3.4)
// Name: EFLDHGLFIDD
message ShopGoods {
uint32 Unk3300_MBGOMHNBHMG = 655;
uint32 maxLevel = 3;
uint32 hcoin = 13;
uint32 secondarySheetId = 363;
uint32 scoin = 11;
uint32 goodsId = 2;
uint32 buyLimit = 10;
repeated uint32 preGoodsIdList = 12;
ItemParam goodsItem = 6;
repeated ItemParam costItemList = 7;
uint32 singleLimit = 424;
uint32 nextRefreshTime = 1;
uint32 Unk3300_NJCPAJBCEPH = 182;
uint32 boughtNum = 4;
uint32 Unk3300_OMKIFIMDGDN = 636;
uint32 minLevel = 14;
uint32 endTime = 15;
uint32 beginTime = 8;
uint32 disableType = 9;
uint32 mcoin = 5;
uint32 disableType = 7; // OCIGJMBPIMN
uint32 JAFFFHILNCD = 1817;
ItemParam goods_item = 8;
uint32 end_time = 12;
uint32 hcoin = 14; //JPCBEPKDBGA
repeated uint32 pre_goods_id_list = 3;
uint32 ALOPKNFLFBE = 570;
uint32 boughtNum = 4; //KCHMFBKCLKO
uint32 goodsId = 9; //GOMAIIJPDKD
uint32 HBAEGHNDCKB = 11; // HBAEGHNDCKB
uint32 secondarySheetId = 505; //KKINAOMJKAD
uint32 maxLevel = 6; // FGACANHEBMH
uint32 begin_time = 5;
uint32 next_refresh_time = 10;
repeated ItemParam cost_item_list = 1;
uint32 minLevel = 1467; //LMOPLEOOIJM
uint32 LLJPJOEMPFE = 15; // LLJPJOEMPFE, hcoin=coin wrong
uint32 mcoin = 2; // MIBMBPJHBBM // fix
uint32 buyLimit = 1344; // LLCOFLCEKDB
uint32 scoin = 13; //CABPCJFGBLJ // fix
}

View File

@ -1,13 +0,0 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
message StopServer {
uint32 stopBeginTime = 1;
uint32 stopEndTime = 2;
string url = 3;
string contentMsg = 4;
}

View File

@ -8,8 +8,8 @@ import "ItemParam.proto";
// Name: ACOKGGPOACP
// CmdId: 4630
message TakeFurnitureMakeRsp {
repeated ItemParam outputItemList = 11;
repeated ItemParam returnItemList = 14;
repeated ItemParam OutputItemList = 11; // PODPGGGOFGP
repeated ItemParam returnItemList = 14; // CBLILOJFLPO
FurnitureMakeSlot furniture_make_slot = 12;
uint32 make_id = 10;
int32 retcode = 8;

View File

@ -8,6 +8,7 @@ import "Vector.proto";
// Name: FFFLALIGOHD
// CmdId: 6175
message ToTheMoonQueryPathRsp {
// Name: LENHOCLEKHC > PathStatusType
PathStatusType query_status = 6;
int32 retcode = 13;
repeated int64 index = 5;

View File

@ -6,25 +6,25 @@ import "TowerMonthlyBrief.proto";
import "TowerCurLevelRecord.proto";
import "TowerFloorRecord.proto";
// Name: NFDBAJIDFBG (3.4)
// Name: NFDBAJIDFBG
// CmdId: 2465
message TowerAllDataRsp {
uint32 Unk3300_OHCHCJGJIDK = 7;
TowerCurLevelRecord curLevelRecord = 1;
bool isFirstInteract = 8;
repeated TowerFloorRecord towerFloorRecordList = 6;
uint32 nextScheduleChangeTime = 15;
uint32 towerScheduleId = 9;
map<uint32, uint32> floorOpenTimeMap = 12;
uint32 validTowerRecordNum = 5;
map<uint32, uint32> skipFloorGrantedRewardItemMap = 11;
uint32 scheduleStartTime = 591;
TowerMonthlyBrief lastScheduleMonthlyBrief = 1482;
uint32 Unk3300_LEKODCFPINJ = 10;
uint32 Unk3300_HCDFJBHMHHF = 3;
uint32 Unk3300_JBACKENDHDG = 14;
bool isFinishedEntranceFloor = 2;
TowerMonthlyBrief monthlyBrief = 13;
int32 retcode = 4;
map<uint32, uint32> skipFloorGrantedRewardItemMap = 6;
TowerMonthlyBrief monthlyBrief = 2;
uint32 nextScheduleChangeTime = 11; // BAJALPKLOHN
uint32 OGLKMJOBNAK = 3; // OGLKMJOBNAK
int32 retcode = 9;
uint32 scheduleStartTime = 15; //CKCFIIGKHMJ
bool is_first_interact = 14;
uint32 EJMAMALGICG = 12; // EJMAMALGICG
uint32 IOOHBFIGKHH = 13;
map<uint32, uint32> floorOpenTimeMap = 10;
repeated TowerFloorRecord tower_floor_record_list = 1;
bool is_finished_entrance_floor = 4;
uint32 CFEHKIFIKFB = 7;
uint32 AMFOBDDCIHK = 1758;
TowerMonthlyBrief lastScheduleMonthlyBrief = 622;
uint32 towerScheduleId = 8;
TowerCurLevelRecord cur_level_record = 5;
}

View File

@ -6,11 +6,11 @@ import "TowerTeam.proto";
// Name: CAHLCAONMAP
message TowerCurLevelRecord {
uint32 curFloorId = 2;
uint32 cur_floor_id = 2; //OOBKAHDLNGD
repeated TowerTeam tower_team_list = 11;
bool is_upper_part = 6;
repeated uint32 buff_id_list = 3;
uint32 curLevelIndex = 15;
uint32 cur_level_index = 15; //ECKEFENMNCC
bool is_empty = 1;
}

View File

@ -7,8 +7,8 @@ import "ItemParam.proto";
// Name: OAAPNIGGILO
// CmdId: 2457
message TowerLevelEndNotify {
enum ContinueStateType {
// Name: DAMKMDIILDC
enum ContinueStateType {
CONTINUE_STATE_TYPE_CAN_NOT_CONTINUE = 0;
CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_LEVEL = 1;
CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_FLOOR = 2;

View File

@ -7,6 +7,7 @@ import "OpType.proto";
// Name: KNEOLPEIPID
// CmdId: 829
message UpdateAbilityCreatedMovingPlatformNotify {
// Name: IPLKGKOHDOL > OpType
OpType op_type = 8;
uint32 entity_id = 7;
}

View File

@ -6,10 +6,10 @@ option java_package = "emu.grasscutter.net.proto";
// Name: DAEDFCNPJJC
// CmdId: 686
message WeaponAwakenRsp {
map<uint32, uint32> oldAffixLevelMap = 4;
map<uint32, uint32> old_affix_level_map = 4; // AEICCHNADDH
int32 retcode = 5;
uint64 target_weapon_guid = 15;
map<uint32, uint32> curAffixLevelMap = 13;
map<uint32, uint32> cur_affix_level_map = 13; // HKHDCHGMGIJ
uint64 avatar_guid = 6;
uint32 target_weapon_awaken_level = 14;
}

Some files were not shown because too many files have changed in this diff Show More