sync proto

This commit is contained in:
Yuuki 2024-07-03 02:31:20 +08:00
parent d5269bc503
commit 3aefcd70b7
53 changed files with 300 additions and 234 deletions

View File

@ -1,8 +1,7 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// Obf: NBLPDJLFIOM
// 4.7.0
message AiThreatInfo {
map<uint32, uint32> ai_threat_map = 13;
}
map<uint32, uint32> ai_threat_map = 15;
}

View File

@ -5,15 +5,16 @@ import "AvatarInfo.proto";
import "AvatarTeam.proto";
import "AvatarRenameInfo.proto";
// 4.7.0 ??
// 4.7.0
// CmdId: 26021
message AvatarDataNotify {
repeated AvatarInfo avatar_list = 7;
map<uint32, AvatarTeam> avatar_team_map = 14;
uint32 cur_avatar_team_id = 5;
uint64 choose_avatar_guid = 8;
repeated uint32 owned_costume_list = 10;
repeated uint32 owned_flycloak_list = 13;
repeated AvatarRenameInfo avatar_rename_list = 11;
repeated uint64 temp_avatar_guid_list = 1;
repeated uint32 backup_avatar_team_order_list = 4;
repeated AvatarInfo avatar_list = 7;
repeated uint32 owned_costume_list = 10;
/* protected @ 0x30 */// repeated uint32 backup_avatar_team_order_list = 65535;
map<uint32, AvatarTeam> avatar_team_map = 14;
/* protected @ 0x40 */// repeated uint64 temp_avatar_guid_list = 65535;
repeated AvatarRenameInfo avatar_rename_list = 11;
repeated uint32 owned_flycloak_list = 13;
uint64 choose_avatar_guid = 8;
uint32 cur_avatar_team_id = 5;
}

View File

@ -1,5 +1,4 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilitySyncStateInfo.proto";
@ -7,12 +6,12 @@ import "ServerBuff.proto";
// 4.7.0
message AvatarEnterSceneInfo {
AbilitySyncStateInfo avatar_ability_info = 10;
AbilitySyncStateInfo weapon_ability_info = 14;
uint32 avatar_entity_id = 3;
uint32 weapon_entity_id = 5;
uint64 avatar_guid = 7;
uint64 weapon_guid = 4;
repeated uint32 buff_id_list = 12;
repeated ServerBuff server_buff_list = 13;
uint32 avatar_entity_id = 3;
uint64 avatar_guid = 4;
uint32 weapon_entity_id = 5;
uint64 weapon_guid = 7;
AbilitySyncStateInfo avatar_ability_info = 10;
repeated uint32 buff_id_list = 12;
repeated ServerBuff server_buff_list = 13;
AbilitySyncStateInfo weapon_ability_info = 14;
}

View File

@ -1,9 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.7.0
// CmdId: 25612
message AvatarFightPropNotify {
uint64 avatar_guid = 9;
map<uint32, float> fight_prop_map = 10;
}
map<uint32, float> fight_prop_map = 4;
uint64 avatar_guid = 5;
}

View File

@ -1,9 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.7.0
// CmdId: 7895
message AvatarFightPropUpdateNotify {
map<uint32, float> fight_prop_map = 4;
uint64 avatar_guid = 5;
}
uint64 avatar_guid = 9;
map<uint32, float> fight_prop_map = 10;
}

View File

@ -1,8 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.7.0 ??
// 4.7.0
message AvatarRenameInfo {
string avatar_name = 13;
uint32 avatar_id = 3;
uint32 avatar_id = 3;
string avatar_name = 13;
}

View File

@ -1,9 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "BreakoutVector2.proto";
// Obf: JBHHKOPAEFB
// 4.7.0
message BreakoutAction {
// Obf: BGLHJHMLHAI
enum BreakoutActionType {
ACTION_TYPE_NONE = 0;
ACTION_TYPE_LAUNCH_BALL = 1;
@ -11,7 +12,6 @@ message BreakoutAction {
ACTION_TYPE_FALLING_OBJECT = 3;
ACTION_TYPE_MISSILE = 4;
}
BreakoutActionType action_type = 1;
uint64 client_game_time = 2;
uint64 server_game_time = 3;
@ -29,5 +29,5 @@ message BreakoutAction {
BreakoutVector2 extra_ball_dir = 15;
uint32 extra_ball_index = 16;
int32 offset = 17;
uint64 FCCNGNCIFAI = 18;
}
uint64 HCFFMHEFMLJ = 18;
}

View File

@ -5,8 +5,9 @@ import "Vector.proto";
// 4.7.0
message ChangeAvatarReq {
Vector move_pos = 15;
uint64 guid = 2;
bool is_move = 1;
uint32 skill_id = 9;
Vector move_pos = 15;
uint64 guid = 2;
bool is_move = 1;
/* protected @ 0x31 */// bool FDHGMIPOKFE = 65535;
uint32 skill_id = 9;
}

View File

@ -2,8 +2,9 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.7.0
// CmdId: 21804
message ChangeAvatarRsp {
uint64 cur_guid = 8;
int32 retcode = 4;
uint32 skill_id = 9;
uint64 cur_guid = 8;
/* protected @ 0x28 */// uint32 skill_id = 65535;
/* protected @ 0x2C */// int32 retcode = 65535;
}

View File

@ -1,8 +1,13 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
//obf: DIBAILDCPJF
// 4.7.0
enum ChangeEnergyReason {
CHANGE_ENERGY_REASON_NONE = 0;
CHANGE_ENERGY_REASON_SKILL_START = 1;
}
CHANGE_ENERGY_REASON_BALL = 2;
CHANGE_ENERGY_REASON_QUEST = 3;
CHANGE_ENERGY_REASON_ABILITY = 4;
CHANGE_ENERGY_REASON_DIE = 5;
CHANGE_ENERGY_REASON_SKILL_DEPOT = 6;
}

View File

@ -1,9 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// 4.7.0
message CityInfo {
uint32 level = 8;
uint32 crystal_num = 9;
uint32 city_id = 13;
uint32 level = 2;
uint32 city_id = 3;
uint32 crystal_num = 15;
}

View File

@ -1,12 +1,14 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// Obf: LNHHODFOLCP
// 4.7.0
message CurVehicleInfo {
uint32 entity_id = 1;
uint32 pos = 2;
uint32 gadget_id = 3;
Vector KKDFCJENDNI = 4;
uint32 CJIMMADJKHD = 5;
Vector JGOGBMEKOPP = 6;
}
Vector AOHJKFLAICK = 4;
uint32 FDCGDBELDGL = 5;
Vector EOMOABFFPAL = 6;
}

View File

@ -1,8 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// Obf: IGADMBECIDG
// 4.7.0
message CustomCommonNodeInfo {
int32 parent_index = 1;
uint32 config_id = 2;
string slot_identifier = 3;
}
repeated int32 param_list = 4;
}

View File

@ -3,11 +3,12 @@ option java_package = "emu.grasscutter.net.proto";
import "AbilityString.proto";
// 4.7.0
message DetailAbilityInfo {
int32 local_id = 1;
AbilityString parent_ability_name = 2;
uint32 instanced_ability_id = 4;
uint32 instanced_modifier_id = 5;
uint32 caster_id = 6;
int32 modifier_local_id = 7;
}
AbilityString parent_ability_name = 1;
uint32 instanced_ability_id = 2;
uint32 instanced_modifier_id = 4;
int32 modifier_local_id = 5;
int32 local_id = 10;
uint32 caster_id = 14;
}

9
proto/DetailInfo.proto Normal file
View File

@ -0,0 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "DetailAbilityInfo.proto";
// 4.7.0
message DetailInfo {
optional DetailAbilityInfo detail_ability_info = 15;
}

View File

@ -1,19 +1,23 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "DetailInfo.proto";
import "ChangeHpDebts.proto";
import "ChangeHpReason.proto";
import "ChangeEnergyReason.proto";
import "PropChangeReason.proto";
// 4.7.0
// CmdId: 26911
message EntityFightPropChangeReasonNotify {
uint32 entity_id = 3;
ChangeHpDebts change_hp_debts = 6;
uint32 prop_type = 7;
ChangeHpReason change_hp_reason = 8;
ChangeEnergyReason change_energy_reason = 11;
float prop_delta = 12;
repeated uint32 param_list = 13;
PropChangeReason reason = 14;
}
float HFDLKKBJNMI = 1;
uint32 entity_id = 3;
DetailInfo detail_info = 4;
ChangeHpDebts change_hp_debts = 6;
uint32 prop_type = 7;
ChangeHpReason change_hp_reason = 8;
ChangeEnergyReason change_energy_reason = 11;
float prop_delta = 12;
repeated uint32 param_list = 13;
PropChangeReason reason = 14;
}

View File

@ -3,9 +3,8 @@ option java_package = "emu.grasscutter.net.proto";
import "AiThreatInfo.proto";
// 4.6.0
// Obf: CMLBBABLKPB
// CmdId: 28434
// 4.7.0
// CmdId: 2682
message EvtAiSyncCombatThreatInfoNotify {
map<uint32, AiThreatInfo> combat_threat_info_map = 5;
}
map<uint32, AiThreatInfo> combat_threat_info_map = 3;
}

View File

@ -1,7 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "GadgetCrucibleInfo.proto";
// Obf: LJJODNPIMAI
// 4.7.0
message GadgetPlayInfo {
uint32 play_type = 1;
uint32 duration = 2;
@ -9,5 +11,8 @@ message GadgetPlayInfo {
uint32 start_cd = 4;
uint32 start_time = 5;
uint32 progress = 6;
optional GadgetCrucibleInfo crucible_info = 21;
}
optional GadgetCrucibleInfo crucible_info = 21;
//oneof play_info {
// GadgetCrucibleInfo crucible_info = 21;
//}
}

View File

@ -3,8 +3,9 @@ option java_package = "emu.grasscutter.net.proto";
import "SocialDetail.proto";
// 4.7.0 ?
// 4.7.0
// CmdId: 1804
message GetPlayerSocialDetailRsp {
SocialDetail detail_data = 13;
int32 retcode = 6;
int32 retcode = 1;
SocialDetail detail_data = 13;
}

View File

@ -2,18 +2,19 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.7.0
// CmdId: 7225
message GetScenePointRsp {
repeated uint32 unhide_point_list = 10;
repeated uint32 unlocked_point_list = 14;
repeated uint32 unlock_area_list = 6;
uint32 scene_id = 1;
int32 retcode = 2;
uint32 belong_uid = 9;
bool LEPDAGALLND = 7;
repeated uint32 MLNFAFFPPOP = 3;
repeated uint32 GLPBJFLCKCL = 4;
repeated uint32 FJNNNLIJJBL = 8;
repeated uint32 NEAHFHGMEKK = 11;
repeated uint32 DGFPDBCEBHH = 12;
repeated uint32 CKNEJGMGCKL = 13;
}
uint32 scene_id = 1;
int32 retcode = 2;
repeated uint32 MLNFAFFPPOP = 3;
repeated uint32 GLPBJFLCKCL = 4;
repeated uint32 unlock_area_list = 6;
bool LEPDAGALLND = 7;
repeated uint32 FJNNNLIJJBL = 8;
uint32 belong_uid = 9;
repeated uint32 unhide_point_list = 10;
repeated uint32 NEAHFHGMEKK = 11;
repeated uint32 DGFPDBCEBHH = 12;
repeated uint32 CKNEJGMGCKL = 13;
repeated uint32 unlocked_point_list = 14;
}

View File

@ -4,7 +4,8 @@ option java_package = "emu.grasscutter.net.proto";
import "Shop.proto";
// 4.7.0
// CmdId: 27397
message GetShopRsp {
Shop shop = 11;
int32 retcode = 15;
Shop shop = 11;
int32 retcode = 14;
}

8
proto/Loop_4_7_0.proto Normal file
View File

@ -0,0 +1,8 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.7.0
// CmdId: 23233
message Loop_4_7_0 {
uint32 entity_id = 2;
}

View File

@ -1,7 +1,8 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.7.0
message MaterialInfo {
uint64 guid = 3;
uint32 count = 10;
}
uint32 count = 12;
uint64 guid = 15;
}

View File

@ -1,10 +1,14 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "RoutePoint.proto";
// Obf: OKAKLDGDFDP
// 4.7.0
message MonsterRoute {
repeated RoutePoint route_points = 1;
uint32 speed_level = 2;
uint32 route_type = 3;
float arrive_range = 4;
}
bool GGOMEGCENEL = 5;
bool DCCIPKJBIEI = 6;
}

View File

@ -1,15 +1,17 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "MpSettingType.proto";
import "ProfilePicture.proto";
// Obf: BJKIIJGIJPA
// 4.7.0
message OnlinePlayerInfo {
uint32 uid = 1;
string nickname = 2;
uint32 player_level = 3;
uint32 cur_player_num_in_world = 3;
uint32 avatar_id = 4;
MpSettingType mp_setting_type = 5;
uint32 cur_player_num_in_world = 6;
uint32 player_level = 6;
uint32 world_level = 7;
string online_id = 8;
uint32 name_card_id = 9;
@ -17,4 +19,4 @@ message OnlinePlayerInfo {
string signature = 11;
ProfilePicture profile_picture = 12;
string psn_id = 13;
}
}

View File

@ -4,10 +4,11 @@ option java_package = "emu.grasscutter.net.proto";
import "PropValue.proto";
// 4.7.0
// CmdId: 21169
message PlayerDataNotify {
string nick_name = 5;
map<uint32, PropValue> prop_map = 10;
bool is_first_login_today = 2;
uint32 region_id = 1;
uint64 server_time = 12;
uint32 region_id = 1;
bool is_first_login_today = 2;
string nick_name = 5;
map<uint32, PropValue> prop_map = 10;
uint64 server_time = 12;
}

View File

@ -1,10 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 26499
// 4.7.0
// CmdId: 29079
message PlayerGameTimeNotify {
uint32 uid = 4;
uint32 game_time = 6;
bool is_home = 11;
uint32 uid = 2;
uint32 game_time = 11;
bool is_home = 14;
}

View File

@ -3,8 +3,8 @@ option java_package = "emu.grasscutter.net.proto";
import "WidgetSlotData.proto";
// 4.6.0
// 4.7.0
message PlayerWidgetInfo {
repeated WidgetSlotData slot_list = 1;
uint32 uid = 5;
repeated WidgetSlotData slot_list = 9;
uint32 uid = 10;
}

View File

@ -2,6 +2,8 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.7.0
// CmdId: 9174
message PostEnterSceneReq {
uint32 enter_scene_token = 6;
}
double total_tick_time = 5;
uint32 enter_scene_token = 6;
}

View File

@ -1,12 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 6238
// 4.7.0
// CmdId: 23245
message SceneAreaWeatherNotify {
uint32 weather_gadget_id = 2;
float trans_duration = 8;
map<uint32, string> weather_value_map = 10;
uint32 weather_area_id = 14;
uint32 climate_type = 15;
uint32 weather_gadget_id = 1;
map<uint32, string> weather_value_map = 5;
uint32 weather_area_id = 6;
uint32 climate_type = 10;
float trans_duration = 15;
}

View File

@ -3,10 +3,10 @@ option java_package = "emu.grasscutter.net.proto";
import "MapLayerInfo.proto";
// 4.6.0
// CmdId: 25430
// 4.7.0
// CmdId: 23591
message SceneDataNotify {
repeated string level_config_name_list = 2;
repeated uint32 scene_tag_id_list = 5;
MapLayerInfo map_layer_info = 11;
MapLayerInfo map_layer_info = 8;
repeated uint32 scene_tag_id_list = 14;
}

View File

@ -1,15 +1,17 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
import "ServantInfo.proto";
// Obf: NGIAJBBLFGD
// 4.7.0
message SceneEntityAiInfo {
bool is_ai_open = 1;
Vector born_pos = 2;
bool is_ai_open = 1;//Delete
Vector born_pos = 2;//Delete
map<uint32, uint32> skill_cd_map = 3;
ServantInfo servant_info = 4;
map<uint32, uint32> ai_threat_map = 5;
map<uint32, uint32> skill_group_cd_map = 6;
uint32 cur_tactic = 7;
bool NMECJFPHFGH = 8;
}
}

View File

@ -1,8 +1,8 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 2089
// 4.7.0
// CmdId: 21370
message SceneInitFinishReq {
uint32 enter_scene_token = 12;
}

View File

@ -3,8 +3,8 @@ option java_package = "emu.grasscutter.net.proto";
import "ScenePlayerInfo.proto";
// 4.6.0
// CmdId: 4358
// 4.7.0
// CmdId: 21623
message ScenePlayerInfoNotify {
repeated ScenePlayerInfo player_info_list = 13;
}

View File

@ -1,29 +1,29 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AvatarInfo.proto";
import "SceneEntityInfo.proto";
import "AbilitySyncStateInfo.proto";
import "SceneAvatarInfo.proto";
import "ServerBuff.proto";
import "AbilityControlBlock.proto";
import "SceneAvatarInfo.proto";
import "AvatarInfo.proto";
import "AbilitySyncStateInfo.proto";
// 4.7.0
message SceneTeamAvatar {
SceneEntityInfo scene_entity_info = 2;
uint32 entity_id = 12;
uint32 player_uid = 11;
uint64 avatar_guid = 13;
uint64 weapon_guid = 14;
uint32 weapon_entity_id = 4;
uint32 scene_id = 8;
repeated ServerBuff server_buff_list = 7;
bool is_player_cur_avatar = 3;
AbilityControlBlock ability_control_block = 9;
SceneAvatarInfo scene_avatar_info = 6;
AvatarInfo avatar_info = 1;
AbilitySyncStateInfo weapon_ability_info = 5;
AbilitySyncStateInfo avatar_ability_info = 15;
bool is_on_scene = 10;
bool is_reconnect = 1017;
}
AvatarInfo avatar_info = 1;
SceneEntityInfo scene_entity_info = 2;
bool is_player_cur_avatar = 3;
uint32 weapon_entity_id = 4;
AbilitySyncStateInfo weapon_ability_info = 5;
SceneAvatarInfo scene_avatar_info = 6;
repeated ServerBuff server_buff_list = 7;
uint32 scene_id = 8;
AbilityControlBlock ability_control_block = 9;
bool is_on_scene = 10;
uint32 player_uid = 11;
uint32 entity_id = 12;
uint64 avatar_guid = 13;
uint64 weapon_guid = 14;
AbilitySyncStateInfo avatar_ability_info = 15;
bool HJIMOJLCMGM = 1017;
}

View File

@ -2,8 +2,9 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.7.0
// CmdId: 23193
message SceneTimeNotify {
uint32 scene_id = 5;
bool is_paused = 8;
uint64 scene_time = 10;
bool is_paused = 8;
uint64 scene_time = 9;
uint32 scene_id = 13;
}

View File

@ -1,10 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 29013
// 4.7.0
// CmdId: 4798
message SceneTransToPointRsp {
uint32 point_id = 2;
uint32 scene_id = 5;
int32 retcode = 13;
uint32 scene_id = 7;
uint32 point_id = 10;
int32 retcode = 12;
}

View File

@ -1,8 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilitySyncStateInfo.proto";
import "EntityRendererChangedInfo.proto";
// Obf: MGEGKKGBHPI
// 4.7.0
message SceneWeaponInfo {
uint32 entity_id = 1;
uint32 gadget_id = 2;
@ -13,4 +15,5 @@ message SceneWeaponInfo {
AbilitySyncStateInfo ability_info = 7;
map<uint32, uint32> affix_map = 8;
EntityRendererChangedInfo renderer_changed_info = 9;
}
bool KMPFOOMNDFJ = 10;
}

View File

@ -1,8 +1,8 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 3566
// 4.7.0
// CmdId: 3350
message ServerTimeNotify {
uint64 server_time = 15;
uint64 server_time = 11;
}

View File

@ -3,8 +3,9 @@ option java_package = "emu.grasscutter.net.proto";
import "EntityClientData.proto";
// CmdId: 7008
// 4.7.0
// CmdId: 28968
message SetEntityClientDataNotify {
EntityClientData entity_client_data = 6;
uint32 entity_id = 10;
}
uint32 entity_id = 7;
}

View File

@ -2,8 +2,9 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.7.0
// CmdId: 24152
message SetUpAvatarTeamReq {
repeated uint64 avatar_team_guid_list = 6;
uint32 team_id = 8;
uint64 cur_avatar_guid = 1;
uint64 cur_avatar_guid = 1;
repeated uint64 avatar_team_guid_list = 6;
uint32 team_id = 8;
}

View File

@ -2,9 +2,10 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.7.0
// CmdId: 897
message SetUpAvatarTeamRsp {
repeated uint64 avatar_team_guid_list = 1;
uint64 cur_avatar_guid = 4;
uint32 team_id = 8;
int32 retcode = 9;
int32 retcode = 1;
uint64 cur_avatar_guid = 2;
repeated uint64 avatar_team_guid_list = 7;
uint32 team_id = 8;
}

View File

@ -1,19 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ShopGoods.proto";
import "ShopCardProduct.proto";
import "ShopMcoinProduct.proto";
import "ShopConcertProduct.proto";
import "ShopCardProduct.proto";
import "ShopGoods.proto";
import "ShopMcoinProduct.proto";
// 4.7.0
message Shop {
uint32 shop_type = 9;
repeated ShopGoods goods_list = 12;
repeated ShopCardProduct card_product_list = 6;
repeated ShopMcoinProduct mcoin_product_list = 15;
repeated ShopConcertProduct concert_product_list = 2;
uint32 city_id = 7;
uint32 next_refresh_time = 3;
uint32 city_reputation_level = 13;
}
repeated ShopConcertProduct concert_product_list = 2;
uint32 next_refresh_time = 3;
repeated ShopCardProduct card_product_list = 6;
uint32 city_id = 7;
uint32 shop_type = 9;
repeated ShopGoods goods_list = 12;
uint32 city_reputation_level = 13;
repeated ShopMcoinProduct mcoin_product_list = 15;
}

View File

@ -1,11 +1,13 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Birthday.proto";
import "FriendOnlineState.proto";
import "SocialShowAvatarInfo.proto";
import "FriendEnterHomeOption.proto";
import "ProfilePicture.proto";
// Obf: NBNCHDGBFEC
// 4.7.0
message SocialDetail {
uint32 uid = 1;
string nickname = 2;
@ -33,4 +35,7 @@ message SocialDetail {
FriendEnterHomeOption friend_enter_home_option = 24;
ProfilePicture profile_picture = 25;
string ip_code = 26;
}
uint32 FPBKNPMLEPC = 27;
uint32 BNBFADNNNNA = 28;
uint32 NHFIPHHHOEF = 32;
}

View File

@ -3,9 +3,9 @@ option java_package = "emu.grasscutter.net.proto";
import "StoreType.proto";
// 4.6.0
// CmdId: 23904
// 4.7.0
// CmdId: 27723
message StoreItemDelNotify {
repeated uint64 guid_list = 7;
StoreType store_type = 13;
StoreType store_type = 3;
repeated uint64 guid_list = 13;
}

View File

@ -3,9 +3,9 @@ option java_package = "emu.grasscutter.net.proto";
import "PlayTeamEntityInfo.proto";
// 4.6.0
// CmdId: 4768
// 4.7.0
// CmdId: 22675
message SyncScenePlayTeamEntityNotify {
uint32 scene_id = 2;
repeated PlayTeamEntityInfo entity_info_list = 10;
uint32 scene_id = 10;
repeated PlayTeamEntityInfo entity_info_list = 15;
}

View File

@ -3,9 +3,9 @@ option java_package = "emu.grasscutter.net.proto";
import "TeamEntityInfo.proto";
// 4.6.0
// CmdId: 569
// 4.7.0
// CmdId: 5280
message SyncTeamEntityNotify {
uint32 scene_id = 1;
uint32 scene_id = 13;
repeated TeamEntityInfo team_entity_info_list = 14;
}

View File

@ -3,9 +3,9 @@ option java_package = "emu.grasscutter.net.proto";
import "AbilitySyncStateInfo.proto";
// 4.6.0
// 4.7.0
message TeamEntityInfo {
uint32 authority_peer_id = 4;
AbilitySyncStateInfo team_ability_info = 7;
uint32 team_entity_id = 13;
uint32 authority_peer_id = 8;
uint32 team_entity_id = 10;
AbilitySyncStateInfo team_ability_info = 13;
}

View File

@ -1,8 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Item.proto";
// Obf: LEEAOCFCGJA
// 4.7.0
message TrifleGadget {
Item item = 1;
uint32 GAHBDCCFPGJ = 2;
}
uint32 AOJJLIGMDDP = 2;
}

View File

@ -1,11 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// 4.7.0
message Weapon {
uint32 level = 1;
uint32 exp = 2;
uint32 promote_level = 3;
map<uint32, uint32> affix_map = 4;
bool IEBDKIAOPGO = 5;
bool KMPFOOMNDFJ = 5;
}

View File

@ -3,10 +3,10 @@ option java_package = "emu.grasscutter.net.proto";
import "WidgetSlotTag.proto";
// 4.6.0
// 4.7.0
message WidgetSlotData {
uint32 cd_over_time = 3;
uint32 material_id = 4;
bool is_active = 5;
WidgetSlotTag tag = 7;
uint32 material_id = 10;
uint32 cd_over_time = 13;
}

View File

@ -3,8 +3,8 @@ option java_package = "emu.grasscutter.net.proto";
import "PropValue.proto";
// 4.6.0
// CmdId: 4776
// 4.7.0
// CmdId: 27793
message WorldDataNotify {
map<uint32, PropValue> world_prop_map = 2;
map<uint32, PropValue> world_prop_map = 5;
}

View File

@ -1,13 +1,13 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "OnlinePlayerInfo.proto";
import "PlayerWidgetInfo.proto";
import "OnlinePlayerInfo.proto";
// 4.6.0
// CmdId: 3610
// 4.7.0
// CmdId: 27949
message WorldPlayerInfoNotify {
repeated OnlinePlayerInfo player_info_list = 1;
repeated PlayerWidgetInfo player_widget_info_list = 4;
repeated uint32 player_uid_list = 8;
repeated uint32 player_uid_list = 4;
repeated PlayerWidgetInfo player_widget_info_list = 8;
repeated OnlinePlayerInfo player_info_list = 9;
}