sync proto 3606998 > b7a1353

This commit is contained in:
Yuuki 2024-04-22 20:15:37 +08:00
parent e421fd849c
commit c731b032d3
131 changed files with 6333 additions and 8234 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

2
op.js
View File

@ -114,7 +114,7 @@ function get_cmdid_gc() {
if (name.includes("public static final int")) { if (name.includes("public static final int")) {
name = name.replace(" public static final int ", ""); name = name.replace(" public static final int ", "");
// skip 0 ? // skip 0 ?
if (id == 0) { if (id == 1) {
return; return;
} }
if (id == 8888888) { if (id == 8888888) {

View File

@ -1,25 +1,9 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "Vector.proto"; import "Vector.proto";
// Obf: OBEOLIIBNAF
message AbilityActionGenerateElemBall { message AbilityActionGenerateElemBall {
Vector pos = 4; Vector pos = 4;
uint32 room_id = 6; Vector rot = 10;
Vector rot = 9; uint32 room_id = 7;
} }

View File

@ -1,25 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "AbilityControlBlock.proto"; import "AbilityControlBlock.proto";
// CmdId: 300
// Obf: GEMMGPJKGAF
message AbilityChangeNotify { message AbilityChangeNotify {
AbilityControlBlock ability_control_block = 12; AbilityControlBlock ability_control_block = 11;
uint32 entity_id = 8; uint32 entity_id = 15;
} }

View File

@ -1,27 +1,11 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// Obf: JJPHDINFFJI
message AbilityIdentifier { message AbilityIdentifier {
int32 local_id = 5; uint32 NPHOKNIJMLL = 12;
uint32 instanced_ability_id = 11; uint32 instanced_modifier_id = 5;
bool is_serverbuff_modifier = 2; bool is_serverbuff_modifier = 11;
uint32 instanced_modifier_id = 12; uint32 instanced_ability_id = 10;
uint32 MDEDDJNNKOI = 6; int32 local_id = 8;
uint32 BKJOIGAMEAM = 10; uint32 KIHPBNDHOGG = 15;
} }

View File

@ -1,24 +1,7 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "AbilityInvokeEntry.proto"; import "AbilityInvokeEntry.proto";
// CmdId: 26313
// Obf: IFAKFDEJFLI
message AbilityInvocationsNotify { message AbilityInvocationsNotify {
repeated AbilityInvokeEntry invokes = 15; repeated AbilityInvokeEntry invokes = 2;
} }

View File

@ -1,17 +1,17 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "AbilityInvokeArgument.proto";
import "ForwardType.proto";
import "AbilityInvokeEntryHead.proto"; import "AbilityInvokeEntryHead.proto";
import "ForwardType.proto";
import "AbilityInvokeArgument.proto";
message AbilityInvokeEntry { message AbilityInvokeEntry {
AbilityInvokeArgument argument_type = 4; bytes ability_data = 6;
bytes ability_data = 6; AbilityInvokeEntryHead head = 13;
uint32 entity_id = 10; uint32 forward_peer = 3;
ForwardType forward_type = 1; uint32 entity_id = 10;
double total_tick_time = 7; uint32 event_id = 9;
uint32 forward_peer = 3; ForwardType forward_type = 1;
uint32 event_id = 9; AbilityInvokeArgument argument_type = 4;
bool is_ignore_auth = 11; bool is_ignore_auth = 11;
AbilityInvokeEntryHead head = 13; double total_tick_time = 7;
} }

View File

@ -1,28 +1,12 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// Obf: JOJGDABCHAP
message AbilityInvokeEntryHead { message AbilityInvokeEntryHead {
uint32 instanced_ability_id = 5; uint32 server_buff_uid = 1;
int32 modifier_config_local_id = 4; int32 modifier_config_local_id = 9;
int32 local_id = 9; int32 local_id = 6;
uint32 server_buff_uid = 7; uint32 target_id = 4;
uint32 instanced_modifier_id = 11; bool is_serverbuff_modifier = 10;
bool is_serverbuff_modifier = 12; uint32 instanced_ability_id = 2;
uint32 target_id = 8; uint32 instanced_modifier_id = 5;
} }

View File

@ -1,23 +1,7 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// Obf: AJLFKACFMII
message AiSkillCdInfo { message AiSkillCdInfo {
map<uint32, uint32> skill_cd_map = 6; map<uint32, uint32> skill_cd_map = 6;
map<uint32, uint32> skill_group_cd_map = 11; map<uint32, uint32> skill_group_cd_map = 13;
} }

View File

@ -1,24 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// Obf: HLGFNMAEPJO
message AiSyncInfo { message AiSyncInfo {
uint32 entity_id = 2; uint32 entity_id = 9;
bool has_path_to_target = 4; bool has_path_to_target = 10;
bool is_self_killing = 1; bool is_self_killing = 11;
} }

View File

@ -1,30 +1,14 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// Obf: LIBOAIMMBLM
message AnnounceData { message AnnounceData {
string count_down_text = 3; string center_system_text = 5;
bool is_center_system_last_5_every_minutes = 7; string count_down_text = 3;
uint32 count_down_frequency = 2; string dungeon_confirm_text = 15;
uint32 center_system_frequency = 14; uint32 end_time = 12;
uint32 end_time = 5; uint32 count_down_frequency = 9;
string dungeon_confirm_text = 11; uint32 config_id = 13;
uint32 config_id = 12; uint32 begin_time = 2;
string center_system_text = 1; bool is_center_system_last_5_every_minutes = 6;
uint32 begin_time = 10; uint32 center_system_frequency = 1;
} }

View File

@ -1,27 +1,11 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// Obf: LEKHHDAJFPK
message AttackHitEffectResult { message AttackHitEffectResult {
uint32 PPEJOCMAFFH = 11; float JECAAMHEFJM = 2;
float HLMGLLLLEIJ = 7; uint32 PPEOKDKPKKD = 9;
uint32 POCHAAAEPMH = 2; uint32 NPKGMCHJMFK = 7;
float NMMAGALAPME = 13; float MPEDEOJOHGC = 1;
float DPMHMPLKOEK = 1; float BDGNPKFNBKD = 14;
float LOHBEFJPFHA = 5; float FJLPLOBFPMJ = 5;
} }

View File

@ -1,55 +1,40 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "AttackHitEffectResult.proto"; import "AttackHitEffectResult.proto";
import "AbilityIdentifier.proto"; import "AbilityIdentifier.proto";
import "Vector.proto"; import "Vector.proto";
import "HitCollision.proto"; import "HitCollision.proto";
// Obf: ICJAFHIJEBJ
message AttackResult { message AttackResult {
uint32 BLJNCIEFOED = 5; AbilityIdentifier ability_identifier = 12;
uint32 element_type = 10; AttackHitEffectResult hit_eff_result = 13;
float FMPIEJOMIFJ = 1723; Vector resolved_dir = 1;
float NLAAOODDKGK = 778; string anim_event_id = 10;
bool BAAHKFCEBMA = 7; HitCollision hit_collision = 5;
float KFCPIKCMIOI = 567; uint32 PFNFFFBGAJC = 1550;
float DPHDFDJJNOA = 27; uint32 FMCPDPLJAAN = 1702;
bool BILAJCEBMGF = 378; uint32 element_type = 3;
uint32 MIKMJNBAAIJ = 8; uint32 CMOBNDKEOCC = 1687;
AttackHitEffectResult hit_eff_result = 6; uint32 MEFEFBDBIOL = 8;
uint32 BKKNPCPEDCF = 457; uint32 ENMIJOBILNF = 1000;
uint32 DKDBHEJFOGD = 1602; int32 hit_retreat_angle_compat = 4;
uint32 defense_id = 9; float HHKHPNCNOAD = 799;
uint32 attacker_id = 14; float damage = 6;
float damage = 2; uint32 NOIGACLGIAB = 936;
uint32 EMOHABNNHBJ = 314; bool AKJOLKPMMBE = 1229;
bool KAKHNCAHEOP = 609; bool JMLDBBLHGKP = 15;
string anim_event_id = 15; bool NAIPMCEHNNG = 1911;
int32 hit_retreat_angle_compat = 13; bool AGGNNHOPMJE = 299;
uint32 KGKNJIIOPMP = 1649; float CNGHDEILALO = 1203;
uint32 EFKGDDIGOHJ = 82; float IFNABDLPMDM = 974;
uint32 JDPELIFFANG = 394; uint32 PLHKLAJCLEK = 14;
uint32 ODBKCAJFBMO = 1652; uint32 attacker_id = 11;
AbilityIdentifier ability_identifier = 3; uint32 defense_id = 2;
Vector resolved_dir = 4; uint32 BCACGPADAGP = 651;
HitCollision hit_collision = 11; float HIFPGEPONKP = 1611;
uint32 NFDLHHGPLKL = 866; uint32 LJKFFLIBFOD = 1022;
uint32 OEEFAHMCLOM = 216; uint32 CKNHGBBFMJL = 730;
uint32 IEJNKCBILGI = 1603; uint32 DBHCJCOPDFG = 1032;
bool FIHKEJMFKHO = 1672; uint32 LMPNEJEIOFA = 1835;
uint32 FMJNLIKDMJJ = 1618;
} }

View File

@ -1,25 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "AvatarInfo.proto"; import "AvatarInfo.proto";
// CmdId: 7458
// Obf: MLOIBCFBPKN
message AvatarAddNotify { message AvatarAddNotify {
bool is_in_team = 12; AvatarInfo avatar = 5;
AvatarInfo avatar = 14; bool is_in_team = 4;
} }

View File

@ -5,13 +5,13 @@ import "AvatarTeam.proto";
import "AvatarRenameInfo.proto"; import "AvatarRenameInfo.proto";
message AvatarDataNotify { message AvatarDataNotify {
repeated AvatarInfo avatar_list = 14; repeated AvatarInfo avatar_list = 14;
uint32 cur_avatar_team_id = 7; uint32 cur_avatar_team_id = 7;
repeated uint32 owned_costume_list = 5; uint64 choose_avatar_guid = 3;
repeated uint32 owned_flycloak_list = 2; map<uint32, AvatarTeam> avatar_team_map = 12;
repeated uint64 temp_avatar_guid_list = 1; repeated uint32 owned_costume_list = 13;
uint64 choose_avatar_guid = 3; repeated uint32 owned_flycloak_list = 15;
map<uint32, AvatarTeam> avatar_team_map = 12; repeated uint64 temp_avatar_guid_list = 1;
repeated AvatarRenameInfo avatar_rename_list = 11; repeated AvatarRenameInfo avatar_rename_list = 11;
repeated uint32 backup_avatar_team_order_list = 4; repeated uint32 backup_avatar_team_order_list = 4;
} }

View File

@ -1,26 +1,9 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "Vector.proto"; import "Vector.proto";
// CmdId: 4506
// Obf: HPOMJHEAICH
message AvatarDieAnimationEndReq { message AvatarDieAnimationEndReq {
uint32 skill_id = 9; Vector reborn_pos = 7;
uint64 die_guid = 8; uint64 die_guid = 3;
Vector reborn_pos = 14; uint32 skill_id = 13;
} }

View File

@ -1,25 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 24745
// Obf: LPNGCMDGKEM
message AvatarDieAnimationEndRsp { message AvatarDieAnimationEndRsp {
int32 retcode = 4; uint64 die_guid = 6;
uint32 skill_id = 13; uint32 skill_id = 12;
uint64 die_guid = 5; int32 retcode = 7;
} }

View File

@ -1,30 +1,13 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "SceneWeaponInfo.proto"; import "SceneWeaponInfo.proto";
import "SceneReliquaryInfo.proto"; import "SceneReliquaryInfo.proto";
// CmdId: 20682
// Obf: GOMNKIGKPAH
message AvatarEquipChangeNotify { message AvatarEquipChangeNotify {
SceneWeaponInfo weapon = 7; SceneReliquaryInfo reliquary = 14;
uint32 item_id = 8; SceneWeaponInfo weapon = 13;
SceneReliquaryInfo reliquary = 5; uint64 equip_guid = 15;
uint64 equip_guid = 4; uint64 avatar_guid = 2;
uint32 equip_type = 6; uint32 equip_type = 11;
uint64 avatar_guid = 1; uint32 item_id = 4;
} }

View File

@ -1,24 +1,7 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 20455
// Obf: DPKAGLDONFP
message AvatarFightPropNotify { message AvatarFightPropNotify {
uint64 avatar_guid = 7; map<uint32, float> fight_prop_map = 3;
map<uint32, float> fight_prop_map = 3; uint64 avatar_guid = 11;
} }

View File

@ -1,24 +1,7 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 21000
// Obf: CHDLCNDEHEB
message AvatarFightPropUpdateNotify { message AvatarFightPropUpdateNotify {
uint64 avatar_guid = 2; map<uint32, float> fight_prop_map = 1;
map<uint32, float> fight_prop_map = 4; uint64 avatar_guid = 13;
} }

View File

@ -1,23 +1,6 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 24251
// Obf: CMOIAGEGIOJ
message AvatarGainCostumeNotify { message AvatarGainCostumeNotify {
uint32 costume_id = 6; uint32 costume_id = 10;
} }

View File

@ -1,23 +1,6 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 29528
// Obf: LOFNLHIBOBB
message AvatarGainFlycloakNotify { message AvatarGainFlycloakNotify {
uint32 flycloak_id = 6; uint32 flycloak_id = 5;
} }

View File

@ -1,31 +1,14 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "ServerBuff.proto"; import "ServerBuff.proto";
import "PlayerDieType.proto"; import "PlayerDieType.proto";
// CmdId: 22381
// Obf: ANPPCHBBAGA
message AvatarLifeStateChangeNotify { message AvatarLifeStateChangeNotify {
uint32 move_reliable_seq = 5; string attack_tag = 13;
string attack_tag = 10; repeated ServerBuff server_buff_list = 8;
uint32 source_entity_id = 1; PlayerDieType die_type = 4;
uint64 avatar_guid = 15; uint32 life_state = 3;
repeated ServerBuff server_buff_list = 6; uint32 move_reliable_seq = 10;
PlayerDieType die_type = 7; uint32 source_entity_id = 12;
uint32 life_state = 12; uint64 avatar_guid = 5;
} }

View File

@ -1,24 +1,7 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 5355
// Obf: KGKHNJBJKOJ
message AvatarPropNotify { message AvatarPropNotify {
uint64 avatar_guid = 4; map<uint32, int64> prop_map = 10;
map<uint32, int64> prop_map = 8; uint64 avatar_guid = 15;
} }

View File

@ -1,25 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 5635
// Obf: KHCOIEOAPAE
message CardProductRewardNotify { message CardProductRewardNotify {
string product_id = 7; string product_id = 4;
uint32 hcoin = 11; uint32 remain_days = 14;
uint32 remain_days = 4; uint32 hcoin = 10;
} }

View File

@ -1,9 +1,9 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "AbilityInvokeEntry.proto"; import "AbilityInvokeEntry.proto";
// todo
message ClientAbilityChangeNotify { message ClientAbilityChangeNotify {
bool is_init_hash = 5; repeated AbilityInvokeEntry invokes = 15;
repeated AbilityInvokeEntry invokes = 3; uint32 entity_id = 11;
uint32 entity_id = 12; bool is_init_hash = 5;
} }

View File

@ -1,8 +1,8 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "AbilityInvokeEntry.proto"; import "AbilityInvokeEntry.proto";
// todo
message ClientAbilityInitFinishNotify { message ClientAbilityInitFinishNotify {
uint32 entity_id = 4; repeated AbilityInvokeEntry invokes = 13;
repeated AbilityInvokeEntry invokes = 9; uint32 entity_id = 7;
} }

View File

@ -1,24 +1,7 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "CombatInvokeEntry.proto"; import "CombatInvokeEntry.proto";
// CmdId: 20271
// Obf: BLEFDDJFMLO
message CombatInvocationsNotify { message CombatInvocationsNotify {
repeated CombatInvokeEntry invoke_list = 15; repeated CombatInvokeEntry invoke_list = 8;
} }

View File

@ -1,26 +1,10 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "ForwardType.proto"; import "ForwardType.proto";
import "CombatTypeArgument.proto"; import "CombatTypeArgument.proto";
// Obf: CDKBNNNPIIC
message CombatInvokeEntry { message CombatInvokeEntry {
ForwardType forward_type = 14; bytes combat_data = 6;
CombatTypeArgument argument_type = 9; ForwardType forward_type = 1;
bytes combat_data = 11; CombatTypeArgument argument_type = 3;
} }

View File

@ -1,41 +1,28 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// Obf: ADBGJCJNCPF
enum CombatTypeArgument { enum CombatTypeArgument {
COMBAT_TYPE_ARGUMENT_NONE = 0; COMBAT_TYPE_ARGUMENT_NONE = 0;
COMBAT_TYPE_ARGUMENT_EVT_BEING_HIT = 1; COMBAT_TYPE_ARGUMENT_EVT_BEING_HIT = 1;
COMBAT_TYPE_ARGUMENT_ANIMATOR_STATE_CHANGED = 2; COMBAT_TYPE_ARGUMENT_ANIMATOR_STATE_CHANGED = 2;
COMBAT_TYPE_ARGUMENT_FACE_TO_DIR = 3; COMBAT_TYPE_ARGUMENT_FACE_TO_DIR = 3;
COMBAT_TYPE_ARGUMENT_SET_ATTACK_TARGET = 4; COMBAT_TYPE_ARGUMENT_SET_ATTACK_TARGET = 4;
COMBAT_TYPE_ARGUMENT_RUSH_MOVE = 5; COMBAT_TYPE_ARGUMENT_RUSH_MOVE = 5;
COMBAT_TYPE_ARGUMENT_ANIMATOR_PARAMETER_CHANGED = 6; COMBAT_TYPE_ARGUMENT_ANIMATOR_PARAMETER_CHANGED = 6;
COMBAT_TYPE_ARGUMENT_ENTITY_MOVE = 7; COMBAT_TYPE_ARGUMENT_ENTITY_MOVE = 7;
COMBAT_TYPE_ARGUMENT_SYNC_ENTITY_POSITION = 8; COMBAT_TYPE_ARGUMENT_SYNC_ENTITY_POSITION = 8;
COMBAT_TYPE_ARGUMENT_STEER_MOTION_INFO = 9; COMBAT_TYPE_ARGUMENT_STEER_MOTION_INFO = 9;
COMBAT_TYPE_ARGUMENT_FORCE_SET_POS_INFO = 10; COMBAT_TYPE_ARGUMENT_FORCE_SET_POS_INFO = 10;
COMBAT_TYPE_ARGUMENT_COMPENSATE_POS_DIFF = 11; COMBAT_TYPE_ARGUMENT_COMPENSATE_POS_DIFF = 11;
COMBAT_TYPE_ARGUMENT_MONSTER_DO_BLINK = 12; COMBAT_TYPE_ARGUMENT_MONSTER_DO_BLINK = 12;
COMBAT_TYPE_ARGUMENT_FIXED_RUSH_MOVE = 13; COMBAT_TYPE_ARGUMENT_FIXED_RUSH_MOVE = 13;
COMBAT_TYPE_ARGUMENT_SYNC_TRANSFORM = 14; COMBAT_TYPE_ARGUMENT_SYNC_TRANSFORM = 14;
COMBAT_TYPE_ARGUMENT_LIGHT_CORE_MOVE = 15; COMBAT_TYPE_ARGUMENT_LIGHT_CORE_MOVE = 15;
COMBAT_TYPE_ARGUMENT_BEING_HEALED_NTF = 16; COMBAT_TYPE_ARGUMENT_BEING_HEALED_NTF = 16;
COMBAT_TYPE_ARGUMENT_SKILL_ANCHOR_POSITION_NTF = 17; COMBAT_TYPE_ARGUMENT_SKILL_ANCHOR_POSITION_NTF = 17;
COMBAT_TYPE_ARGUMENT_GRAPPLING_HOOK_MOVE = 18; COMBAT_TYPE_ARGUMENT_GRAPPLING_HOOK_MOVE = 18;
ADBGJCJNCPF_CombatSpecialMotionInfo = 19; COMBAT_TYPE_ARGUMENT_SPECIAL_MOTION_INFO = 19;
COMBAT_TYPE_ARGUMENT_FIXED_AVATAR_FLASH_MOVE = 20;
COMBAT_TYPE_ARGUMENT_NULTI_OVERRIDE_ANIM = 21;
COMBAT_TYPE_ARGUMENT_DEBUG_SYNC_MOTION = 22;
} }

View File

@ -1,24 +1,7 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "MaterialInfo.proto"; import "MaterialInfo.proto";
// CmdId: 6985
// Obf: MGALBJFALCL
message DestroyMaterialReq { message DestroyMaterialReq {
repeated MaterialInfo material_list = 9; repeated MaterialInfo material_list = 6;
} }

View File

@ -1,25 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 7572
// Obf: KIEBPLBPCAE
message DestroyMaterialRsp { message DestroyMaterialRsp {
int32 retcode = 10; repeated uint32 item_count_list = 15;
repeated uint32 item_id_list = 4; repeated uint32 item_id_list = 11;
repeated uint32 item_count_list = 2; int32 retcode = 13;
} }

View File

@ -1,27 +1,10 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 6499
// Obf: JHEFDEDCGBA
message DoGachaReq { message DoGachaReq {
uint32 gachaTimes = 8; string gacha_tag = 11;
uint32 gachaScheduleId = 5; uint32 gacha_type = 6;
uint32 gachaRandom = 6; uint32 gacha_schedule_id = 9;
uint32 gachaType = 3; uint32 gacha_times = 13;
string gachaTag = 15; uint32 gacha_random = 10;
} }

View File

@ -1,25 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "Vector.proto"; import "Vector.proto";
// CmdId: 1884
// Obf: NMODMKDKNDF
message DropHintNotify { message DropHintNotify {
Vector position = 3; repeated uint32 item_id_list = 15;
repeated uint32 item_id_list = 6; Vector position = 5;
} }

View File

@ -1,28 +1,11 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 8891
// Obf: FPMGJHAEAML
message DungeonChallengeBeginNotify { message DungeonChallengeBeginNotify {
uint32 challenge_index = 11; repeated uint32 param_list = 4;
uint32 group_id = 10; repeated uint32 uid_list = 12;
repeated uint32 uid_list = 15; uint32 challenge_id = 10;
uint32 father_index = 4; uint32 group_id = 8;
uint32 challenge_id = 3; uint32 father_index = 5;
repeated uint32 param_list = 6; uint32 challenge_index = 11;
} }

View File

@ -1,19 +1,3 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "ChallengeFinishType.proto"; import "ChallengeFinishType.proto";
@ -22,21 +6,20 @@ import "ChannellerSlabLoopDungeonResultInfo.proto";
import "EffigyChallengeDungeonResultInfo.proto"; import "EffigyChallengeDungeonResultInfo.proto";
import "PotionDungeonResultInfo.proto"; import "PotionDungeonResultInfo.proto";
import "CustomDungeonResultInfo.proto"; import "CustomDungeonResultInfo.proto";
// CmdId: 5847
// Obf: JBNHPHABEGG
message DungeonChallengeFinishNotify { message DungeonChallengeFinishNotify {
ChallengeFinishType finish_type = 7; map<uint32, StrengthenPointData> strengthen_point_data_map = 13;
bool is_success = 11; uint32 challenge_record_type = 9;
uint32 challenge_index = 8; bool is_success = 1;
uint32 currentValue = 14; bool is_new_record = 10;
bool is_new_record = 15; ChallengeFinishType finish_type = 7;
uint32 time_cost = 13; uint32 time_cost = 6;
map<uint32, StrengthenPointData> strengthen_point_data_map = 5; uint32 challenge_index = 5;
uint32 challengeRecordType = 4; uint32 current_value = 12;
oneof detail { oneof detail {
ChannellerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1111; ChannellerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1389;
EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 351; EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 1637;
PotionDungeonResultInfo potion_dungeon_result_info = 339; PotionDungeonResultInfo potion_dungeon_result_info = 319;
CustomDungeonResultInfo custom_dungeon_result_info = 915; CustomDungeonResultInfo custom_dungeon_result_info = 823;
} }
} }

View File

@ -1,25 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "PlayerDieOption.proto"; import "PlayerDieOption.proto";
// CmdId: 3884
// Obf: MOHIGAEGAKN
message DungeonDieOptionReq { message DungeonDieOptionReq {
bool is_quit_immediately = 13; PlayerDieOption die_option = 2;
PlayerDieOption die_option = 8; bool is_quit_immediately = 3;
} }

View File

@ -1,26 +1,9 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "PlayerDieOption.proto"; import "PlayerDieOption.proto";
// CmdId: 28454
// Obf: JBMMJNEGEKF
message DungeonDieOptionRsp { message DungeonDieOptionRsp {
uint32 revive_count = 5; PlayerDieOption die_option = 2;
int32 retcode = 10; int32 retcode = 11;
PlayerDieOption die_option = 1; uint32 revive_count = 14;
} }

View File

@ -1,23 +1,7 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// Obf: DALBJGGPCNF
message DungeonEnterPosInfo { message DungeonEnterPosInfo {
uint32 point_id = 13; uint32 quest_id = 13;
uint32 quest_id = 12; uint32 point_id = 1;
} }

View File

@ -1,31 +1,12 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "WeeklyBossResinDiscountInfo.proto"; import "WeeklyBossResinDiscountInfo.proto";
// Obf: HFIHEBKHMPP
message DungeonEntryInfo { message DungeonEntryInfo {
uint32 next_refresh_time = 12; WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 5;
uint32 CFAFALIPFEN = 9; uint32 ACDENLCGGOG = 8;
uint32 EOLGBLICEIA = 14; bool is_passed = 12;
uint32 max_boss_chest_num = 11; uint32 dungeon_id = 7;
uint32 dungeon_id = 13; uint32 IOLIIMALAGH = 10;
uint32 end_time = 7; uint32 BNOMBDGDKCC = 9;
uint32 start_time = 2;
bool is_passed = 5;
WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 6;
} }

View File

@ -1,26 +1,9 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "Uint32Pair.proto"; import "Uint32Pair.proto";
// CmdId: 782
// Obf: JJMKBALLDNB
message DungeonEntryInfoReq { message DungeonEntryInfoReq {
repeated Uint32Pair scene_point_id_list = 8; repeated Uint32Pair scene_point_id_list = 6;
uint32 point_id = 11; uint32 scene_id = 7;
uint32 scene_id = 3; uint32 point_id = 4;
} }

View File

@ -1,29 +1,12 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "DungeonEntryInfo.proto"; import "DungeonEntryInfo.proto";
import "DungeonEntryPointInfo.proto"; import "DungeonEntryPointInfo.proto";
// CmdId: 28381
// Obf: FJKAAALHLDG
message DungeonEntryInfoRsp { message DungeonEntryInfoRsp {
repeated DungeonEntryInfo dungeon_entry_list = 4; repeated DungeonEntryInfo dungeon_entry_list = 11;
repeated DungeonEntryPointInfo dungeon_entry_point_list = 11; repeated DungeonEntryPointInfo dungeon_entry_point_list = 8;
int32 retcode = 13; int32 retcode = 6;
uint32 point_id = 5; uint32 point_id = 1;
uint32 recommend_dungeon_id = 2; uint32 recommend_dungeon_id = 4;
} }

View File

@ -1,26 +1,10 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "DungeonEntryInfo.proto"; import "DungeonEntryInfo.proto";
// Obf: CECCCBKAFKN
message DungeonEntryPointInfo { message DungeonEntryPointInfo {
repeated DungeonEntryInfo dungeon_entry_list = 9; repeated DungeonEntryInfo dungeon_entry_list = 3;
uint32 point_id = 2; uint32 point_id = 13;
uint32 recommend_dungeon_id = 10; uint32 scene_id = 15;
uint32 scene_id = 12; uint32 recommend_dungeon_id = 2;
} }

View File

@ -1,25 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "AiSyncInfo.proto"; import "AiSyncInfo.proto";
// CmdId: 5447
// Obf: HKGLOBEAHIN
message EntityAiSyncNotify { message EntityAiSyncNotify {
repeated uint32 local_avatar_alerted_monster_list = 4; repeated uint32 local_avatar_alerted_monster_list = 12;
repeated AiSyncInfo info_list = 5; repeated AiSyncInfo info_list = 8;
} }

View File

@ -1,37 +1,15 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "ChangeHpReason.proto"; import "ChangeHpReason.proto";
import "ChangeEnergyReason.proto"; import "ChangeEnergyReason.proto";
import "FAFPLBDIGDH.proto";
import "OFDEHFOCIFP.proto";
import "PropChangeReason.proto"; import "PropChangeReason.proto";
// CmdId: 2489
// Obf: KHFJILELHPL
message EntityFightPropChangeReasonNotify { message EntityFightPropChangeReasonNotify {
ChangeHpReason changeHpReason = 12; repeated uint32 param_list = 9;
uint32 entity_id = 6; PropChangeReason reason = 11;
uint32 prop_type = 1; ChangeHpReason change_hp_reason = 2;
float prop_delta = 10; float prop_delta = 5;
ChangeEnergyReason changeEnergyReason = 8; ChangeEnergyReason change_energy_reason = 8;
FAFPLBDIGDH detail_info = 11; uint32 entity_id = 10;
repeated uint32 param_list = 9; uint32 prop_type = 13;
OFDEHFOCIFP AEFJJGCHIJH = 14;
PropChangeReason reason = 3;
float JJEEABMPEKL = 13;
} }

View File

@ -1,24 +1,7 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 24036
// Obf: POHPJAAPGHD
message EntityFightPropUpdateNotify { message EntityFightPropUpdateNotify {
uint32 entity_id = 4; map<uint32, float> fight_prop_map = 15;
map<uint32, float> fight_prop_map = 13; uint32 entity_id = 4;
} }

View File

@ -1,24 +1,7 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "AiSkillCdInfo.proto"; import "AiSkillCdInfo.proto";
// CmdId: 6471
// Obf: DCKIHJONHIO
message EvtAiSyncSkillCdNotify { message EvtAiSyncSkillCdNotify {
map<uint32, AiSkillCdInfo> ai_cd_map = 10; map<uint32, AiSkillCdInfo> ai_cd_map = 2;
} }

View File

@ -1,25 +1,9 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "AttackResult.proto"; import "AttackResult.proto";
// Obf: LGMKEKBEELG
message EvtBeingHitInfo { message EvtBeingHitInfo {
uint32 peer_id = 4; AttackResult attack_result = 11;
uint32 frame_num = 15; uint32 peer_id = 9;
AttackResult attack_result = 10; uint32 frame_num = 15;
} }

View File

@ -1,43 +1,29 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "Vector.proto"; import "Vector.proto";
import "ForwardType.proto"; import "ForwardType.proto";
// CmdId: 22195
// Obf: LGEDOOIENKG
message EvtCreateGadgetNotify { message EvtCreateGadgetNotify {
uint64 guid = 11; Vector init_pos = 7;
repeated uint32 target_lock_point_index_list = 516; repeated uint32 target_entity_id_list = 1826;
uint32 room_id = 3; Vector init_euler_angles = 12;
bool is_peer_id_from_player = 1886; repeated uint32 target_lock_point_index_list = 397;
bool HEPFGKFLCCD = 13; uint32 born_slot_index = 1196;
uint32 owner_entity_id = 14; uint32 target_entity_id = 13;
bool is_async_load = 438; uint32 config_id = 9;
uint32 target_lock_point_index = 8; uint32 owner_entity_id = 6;
Vector InitEulerAngles = 4; uint32 camp_type = 1;
uint32 prop_owner_entity_id = 1; uint32 entity_id = 2;
uint32 camp_type = 5; uint32 init_pose_id = 1245;
ForwardType forward_type = 7; int32 local_id = 1365;
Vector InitPos = 9; uint32 target_lock_point_index = 3;
uint32 target_entity_id = 2; uint32 room_id = 5;
uint32 config_id = 15; ForwardType forward_type = 11;
uint32 camp_id = 12; uint32 prop_owner_entity_id = 10;
repeated uint32 target_entity_id_list = 216; uint64 guid = 14;
uint32 entity_id = 10; bool CEONINFOHLJ = 15;
bool CNIILEKPCMD = 6; bool is_peer_id_from_player = 1814;
bool is_async_load = 261;
bool ECCCOOBCNJL = 8;
uint32 camp_id = 4;
} }

View File

@ -1,28 +1,11 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "Vector.proto"; import "Vector.proto";
import "ForwardType.proto"; import "ForwardType.proto";
// CmdId: 8216
// Obf: LPCJNKAIIEL
message EvtDoSkillSuccNotify { message EvtDoSkillSuccNotify {
uint32 caster_id = 14; Vector forward = 10;
uint32 skill_id = 7; uint32 caster_id = 4;
Vector forward = 5; uint32 skill_id = 14;
ForwardType forward_type = 12; ForwardType forward_type = 6;
} }

View File

@ -1,28 +1,11 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "EntityRendererChangedInfo.proto"; import "EntityRendererChangedInfo.proto";
import "ForwardType.proto"; import "ForwardType.proto";
// CmdId: 5525
// Obf: IOCCLGCILKA
message EvtEntityRenderersChangedNotify { message EvtEntityRenderersChangedNotify {
uint32 entity_id = 12; EntityRendererChangedInfo renderer_changed_info = 14;
EntityRendererChangedInfo renderer_changed_info = 4; ForwardType forward_type = 13;
ForwardType forward_type = 10; bool is_server_cache = 2;
bool is_server_cache = 6; uint32 entity_id = 11;
} }

View File

@ -1,30 +1,13 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "ResinCostType.proto"; import "ResinCostType.proto";
import "InterOpType.proto"; import "InterOpType.proto";
// CmdId: 9254
// Obf: ALDNKENDMAD
message GadgetInteractReq { message GadgetInteractReq {
uint32 gadget_entity_id = 11; uint32 ui_interact_id = 13;
uint32 ui_interact_id = 7; uint32 gadget_entity_id = 1;
ResinCostType resin_cost_type = 5; ResinCostType resin_cost_type = 5;
bool is_use_condense_resin = 8; InterOpType op_type = 7;
InterOpType op_type = 13; uint32 gadget_id = 2;
uint32 gadget_id = 6; bool is_use_condense_resin = 4;
} }

View File

@ -1,29 +1,12 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "InterOpType.proto"; import "InterOpType.proto";
import "InteractType.proto"; import "InteractType.proto";
// CmdId: 29895
// Obf: OLJHDABEEPG
message GadgetInteractRsp { message GadgetInteractRsp {
uint32 gadget_entity_id = 12; InteractType interact_type = 6;
InterOpType op_type = 5; int32 retcode = 12;
InteractType interact_type = 11; InterOpType op_type = 7;
uint32 gadget_id = 8; uint32 gadget_id = 2;
int32 retcode = 10; uint32 gadget_entity_id = 4;
} }

View File

@ -1,28 +1,11 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "ActivityInfo.proto"; import "ActivityInfo.proto";
import "Uint32Pair.proto"; import "Uint32Pair.proto";
// CmdId: 7972
// Obf: KFLFLAMEHIJ
message GetActivityInfoRsp { message GetActivityInfoRsp {
repeated ActivityInfo activity_info_list = 2; repeated uint32 activated_sale_id_list = 14;
repeated uint32 activated_sale_id_list = 9; repeated ActivityInfo activity_info_list = 1;
int32 retcode = 4; repeated Uint32Pair disable_transfer_point_interaction_list = 15;
repeated Uint32Pair disable_transfer_point_interaction_list = 12; int32 retcode = 7;
} }

View File

@ -1,25 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 20479
// Obf: LLJDGCBCJMB
message GetFriendShowNameCardInfoRsp { message GetFriendShowNameCardInfoRsp {
uint32 uid = 12; repeated uint32 show_name_card_id_list = 2;
repeated uint32 show_name_card_id_list = 1; int32 retcode = 10;
int32 retcode = 2; uint32 uid = 11;
} }

View File

@ -1,29 +1,12 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "GachaInfo.proto"; import "GachaInfo.proto";
// CmdId: 23881
// Obf: IAAKKGACPDM
message GetGachaInfoRsp { message GetGachaInfoRsp {
repeated GachaInfo gacha_info_list = 3; repeated GachaInfo gacha_info_list = 9;
uint32 gachaRandom = 12; bool is_under_minors_restrict = 11;
uint32 dailyGachaTimes = 9; bool is_under_general_restrict = 5;
bool is_under_general_restrict = 7; uint32 daily_gacha_times = 13;
int32 retcode = 2; int32 retcode = 12;
bool is_under_minors_restrict = 5; uint32 gacha_random = 4;
} }

View File

@ -1,29 +1,26 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// todo
message GetPlayerTokenReq { message GetPlayerTokenReq {
string account_uid = 14; string client_rand_key = 514;
string account_token = 10; string account_uid = 14;
uint32 platform_type = 9; uint32 key_id = 728;
uint32 key_id = 728; uint32 OGNFFAEKDBO = 652;
string client_rand_key = 514; uint32 account_type = 2;
uint32 channel_id = 5;
string online_id = 1; string account_token = 10;
string psn_id = 12; uint32 platform_type = 9;
uint32 channel_id = 5; string psn_id = 12;
uint32 sub_channel_id = 7; string online_id = 1;
uint32 account_type = 2; string LODOCFKABDG = 3;
string client_ip_str = 11; string client_ip_str = 11;
uint32 cloudClientIp = 177; uint32 sub_channel_id = 7;
string birthday = 828; uint32 cloudClientIp = 177;
uint32 uid = 13; string GIKAFFPKLOE = 4;
string country_code = 15; string birthday = 828;
bool is_guest = 6; uint32 uid = 13;
string country_code = 15;
string FAOAMMHOOHL = 1457; bool is_guest = 6;
uint32 FCPDNLHOBNK = 8; uint32 FCPDNLHOBNK = 8;
string GIKAFFPKLOE = 4; string FAOAMMHOOHL = 1457;
string LODOCFKABDG = 3;
uint32 OGNFFAEKDBO = 652;
} }

View File

@ -1,23 +1,6 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 9681
// Obf: BLGEHKEBJAA
message GetShopReq { message GetShopReq {
uint32 shop_type = 4; uint32 shop_type = 2;
} }

View File

@ -1,25 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "Shop.proto"; import "Shop.proto";
// CmdId: 22793
// Obf: JKOBDIPLIKB
message GetShopRsp { message GetShopRsp {
int32 retcode = 7; Shop shop = 8;
Shop shop = 2; int32 retcode = 15;
} }

View File

@ -1,29 +1,13 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "Vector.proto"; import "Vector.proto";
import "HitColliderType.proto"; import "HitColliderType.proto";
// Obf: AABMKDICGED
message HitCollision { message HitCollision {
float NBANAGMDLHB = 15; Vector APDABINGDCE = 1;
int32 hit_box_index = 6; Vector CCBMGOCJKPM = 3;
Vector hit_point = 13; HitColliderType hit_collider_type = 12;
float DMGGIJNBFNN = 11; int32 hit_box_index = 6;
Vector hit_dir = 8; float ILHFONDEMGH = 15;
HitColliderType hit_collider_type = 4; float LKEKINJEGLO = 11;
} }

View File

@ -1,26 +1,9 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "Vector.proto"; import "Vector.proto";
// CmdId: 8766
// Obf: BAGAPIFEAFI
message HitTreeNotify { message HitTreeNotify {
Vector tree_pos = 9; Vector drop_pos = 1;
Vector drop_pos = 7; Vector tree_pos = 15;
uint32 tree_type = 10; uint32 tree_type = 12;
} }

View File

@ -1,32 +1,15 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "ItemHint.proto"; import "ItemHint.proto";
import "Vector.proto"; import "Vector.proto";
// CmdId: 20755
// Obf: CNDHGNFOGNJ
message ItemAddHintNotify { message ItemAddHintNotify {
bool NAMDHIDNAMP = 1; Vector position = 4;
repeated ItemHint item_list = 5; repeated ItemHint item_list = 9;
bool OFKEJDENKLE = 10; repeated ItemHint overflow_transformed_item_list = 6;
repeated ItemHint overflow_transformed_item_list = 12; uint32 quest_id = 5;
uint32 quest_id = 11; bool PFNLIOENALO = 1;
bool DJAHPNGMNGA = 3; bool ABOOBGNEPOC = 3;
uint32 reason = 8; bool FPLAKFLGHPL = 12;
Vector position = 13; uint32 reason = 8;
} }

View File

@ -1,33 +1,9 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "ItemParam.proto"; import "ItemParam.proto";
// CmdId: 4527
// Obf: FEKPPCLHGIF
message ItemGivingReq {
// Obf: HGCKAFEMAFE
enum ItemGivingType {
QUEST = 0;
GADGET = 1;
}
uint32 giving_id = 12; message ItemGivingReq {
repeated ItemParam item_param_list = 15; repeated ItemParam item_param_list = 10;
map<uint64, uint32> item_guid_count_map = 13; map<uint64, uint32> item_guid_count_map = 6;
ItemGivingType item_giving_type = 7; uint32 giving_id = 11;
} }

View File

@ -1,25 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 7103
// Obf: DJBCJENHGFJ
message ItemGivingRsp { message ItemGivingRsp {
int32 retcode = 14; uint32 giving_id = 6;
uint32 giving_group_id = 4; uint32 giving_group_id = 15;
uint32 giving_id = 13; int32 retcode = 10;
} }

View File

@ -1,25 +1,9 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// Obf: OLBNAADPLKJ
message ItemHint { message ItemHint {
uint32 count = 7; uint32 item_id = 11;
uint32 item_id = 9; bool is_new = 2;
uint64 guid = 14; uint64 guid = 7;
bool is_new = 8; uint32 count = 10;
} }

View File

@ -1,31 +1,14 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "ServerBuff.proto"; import "ServerBuff.proto";
import "PlayerDieType.proto"; import "PlayerDieType.proto";
// CmdId: 25474
// Obf: DHFIJCFHMOG
message LifeStateChangeNotify { message LifeStateChangeNotify {
uint32 entity_id = 7; string attack_tag = 12;
repeated ServerBuff server_buff_list = 4; repeated ServerBuff server_buff_list = 13;
uint32 source_entity_id = 5; uint32 source_entity_id = 9;
uint32 move_reliable_seq = 11; PlayerDieType die_type = 8;
string attack_tag = 13; uint32 entity_id = 7;
PlayerDieType die_type = 14; uint32 life_state = 3;
uint32 life_state = 1; uint32 move_reliable_seq = 1;
} }

View File

@ -1,23 +1,7 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// Obf: MGMDCJEEMPF
message MaterialInfo { message MaterialInfo {
uint64 guid = 6; uint64 guid = 3;
uint32 count = 4; uint32 count = 10;
} }

View File

@ -1,35 +1,17 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "MathQuaternion.proto"; import "MathQuaternion.proto";
import "Vector3Int.proto"; import "Vector3Int.proto";
import "Vector.proto"; import "Vector.proto";
// Obf: HDJAECHANAJ
message ObstacleInfo { message ObstacleInfo {
// Obf: HEJHGAICHLM enum ShapeType {
enum ShapeType {
OBSTACLE_SHAPE_CAPSULE = 0; OBSTACLE_SHAPE_CAPSULE = 0;
OBSTACLE_SHAPE_BOX = 1; OBSTACLE_SHAPE_BOX = 1;
} }
MathQuaternion rotation = 7;
MathQuaternion rotation = 4; Vector3Int extents = 5;
ShapeType shape = 5; Vector center = 14;
int32 obstacle_id = 6; ShapeType shape = 3;
Vector3Int extents = 15; int32 obstacle_id = 8;
Vector center = 9;
} }

View File

@ -1,9 +1,11 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "ObstacleInfo.proto"; import "ObstacleInfo.proto";
// todo
message ObstacleModifyNotify { message ObstacleModifyNotify {
repeated int32 remove_obstacle_ids = 6; repeated int32 HPDLPMEOMKB = 10;
repeated ObstacleInfo add_obstacles = 10; repeated int32 EGMEMAIOALB = 15;
uint32 scene_id = 9; repeated int32 remove_obstacle_ids = 6;
repeated ObstacleInfo add_obstacles = 5;
uint32 scene_id = 7;
} }

View File

@ -1,36 +1,19 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "MpSettingType.proto"; import "MpSettingType.proto";
import "ProfilePicture.proto"; import "ProfilePicture.proto";
// Obf: BJKIIJGIJPA
message OnlinePlayerInfo { message OnlinePlayerInfo {
uint32 uid = 1; string signature = 11;
string nickname = 2; ProfilePicture profile_picture = 12;
uint32 player_level = 3; repeated uint32 blacklist_uid_list = 10;
uint32 avatar_id = 4; string online_id = 8;
MpSettingType mp_setting_type = 5; string nickname = 2;
uint32 cur_player_num_in_world = 6; string psn_id = 13;
uint32 world_level = 7; uint32 avatar_id = 4;
string online_id = 8; uint32 name_card_id = 9;
uint32 name_card_id = 9; uint32 uid = 1;
repeated uint32 blacklist_uid_list = 10; uint32 cur_player_num_in_world = 3;
string signature = 11; MpSettingType mp_setting_type = 5;
ProfilePicture profile_picture = 12; uint32 player_level = 6;
string psn_id = 13; uint32 world_level = 7;
} }

View File

@ -1,12 +1,13 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "ObstacleInfo.proto"; import "ObstacleInfo.proto";
// todo
message PathfindingEnterSceneReq { message PathfindingEnterSceneReq {
bool is_editor = 3; repeated ObstacleInfo obstacles = 15;
uint32 version = 4; repeated int32 ANPDICMMDML = 11;
uint32 KJJLLFIJKNA = 2; uint32 IOAHLKGMDFA = 12;
repeated ObstacleInfo obstacles = 10; uint32 scene_id = 2;
uint32 GKFDHIPOHOE = 5; bool is_editor = 10;
uint32 scene_id = 15; uint32 PMHKCPDCGPK = 6;
uint32 version = 13;
} }

View File

@ -1,23 +1,6 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 20938
// Obf: BEJBGBNMMMH
message PersonalSceneJumpReq { message PersonalSceneJumpReq {
uint32 point_id = 15; uint32 point_id = 9;
} }

View File

@ -1,26 +1,9 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "Vector.proto"; import "Vector.proto";
// CmdId: 26151
// Obf: FENDEOICMKE
message PersonalSceneJumpRsp { message PersonalSceneJumpRsp {
uint32 dest_scene_id = 6; Vector dest_pos = 3;
Vector dest_pos = 14; uint32 dest_scene_id = 7;
int32 retcode = 8; int32 retcode = 5;
} }

View File

@ -1,26 +1,9 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "DungeonEnterPosInfo.proto"; import "DungeonEnterPosInfo.proto";
// CmdId: 28791
// Obf: IPCFJHGFFPP
message PlayerEnterDungeonReq { message PlayerEnterDungeonReq {
uint32 dungeon_id = 11; DungeonEnterPosInfo enter_pos_info = 5;
DungeonEnterPosInfo enter_pos_info = 3; uint32 dungeon_id = 14;
uint32 point_id = 15; uint32 point_id = 2;
} }

View File

@ -1,25 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 24874
// Obf: IPGDOPKIBPO
message PlayerEnterDungeonRsp { message PlayerEnterDungeonRsp {
uint32 point_id = 1; uint32 point_id = 13;
uint32 dungeon_id = 10; uint32 dungeon_id = 1;
int32 retcode = 2; int32 retcode = 15;
} }

View File

@ -1,25 +1,9 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "Vector.proto"; import "Vector.proto";
// Obf: KPGGJJGHJOP
message PlayerLocationInfo { message PlayerLocationInfo {
Vector pos = 13; Vector pos = 14;
uint32 uid = 4; Vector rot = 15;
Vector rot = 1; uint32 uid = 5;
} }

View File

@ -1,24 +1,7 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 24729
// Obf: JMOMPLEOGLD
message PlayerPropChangeNotify { message PlayerPropChangeNotify {
uint32 prop_delta = 4; uint32 prop_type = 11;
uint32 prop_type = 6; uint32 prop_delta = 7;
} }

View File

@ -1,27 +1,10 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "PropChangeReason.proto"; import "PropChangeReason.proto";
// CmdId: 28241
// Obf: PEAMCBGHMPI
message PlayerPropChangeReasonNotify { message PlayerPropChangeReasonNotify {
PropChangeReason reason = 11; PropChangeReason reason = 3;
float old_value = 15; float cur_value = 8;
float cur_value = 10; uint32 prop_type = 5;
uint32 prop_type = 8; float old_value = 2;
} }

View File

@ -1,24 +1,7 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "PropValue.proto"; import "PropValue.proto";
// CmdId: 7058
// Obf: LFMCGGCLACB
message PlayerPropNotify { message PlayerPropNotify {
map<uint32, PropValue> prop_map = 14; map<uint32, PropValue> prop_map = 4;
} }

View File

@ -1,24 +1,7 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 20980
// Obf: CCMGMAFLDCH
message PlayerQuitDungeonReq { message PlayerQuitDungeonReq {
uint32 point_id = 5; bool is_quit_immediately = 7;
bool is_quit_immediately = 13; uint32 point_id = 6;
} }

View File

@ -2,9 +2,9 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "StoreType.proto"; import "StoreType.proto";
import "Item.proto"; import "Item.proto";
// todo
message PlayerStoreNotify { message PlayerStoreNotify {
StoreType store_type = 8; repeated Item item_list = 2;
uint32 weight_limit = 5; StoreType store_type = 3;
repeated Item item_list = 6; uint32 weight_limit = 7;
} }

View File

@ -1,24 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "PlayerLocationInfo.proto"; import "PlayerLocationInfo.proto";
// Obf: JNPBJHGCCOP
message PlayerWorldLocationInfo { message PlayerWorldLocationInfo {
uint32 scene_id = 5; PlayerLocationInfo player_loc = 7;
PlayerLocationInfo player_loc = 12; uint32 scene_id = 5;
} }

View File

@ -1,23 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// Obf: FEKJLPEAOJI
message ProfilePicture { message ProfilePicture {
uint32 avatar_id = 1; uint32 PIFJFLMENAH = 3;
uint32 costume_id = 2; uint32 costume_id = 2;
uint32 avatar_id = 1;
} }

View File

@ -1,26 +1,9 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "VisionType.proto"; import "VisionType.proto";
// CmdId: 1787
// Obf: GLPMBMHBAKI
message SceneEntityDisappearNotify { message SceneEntityDisappearNotify {
repeated uint32 entity_list = 7; repeated uint32 entity_list = 6;
VisionType disappear_type = 9; VisionType disappear_type = 9;
uint32 param = 10; uint32 param = 12;
} }

View File

@ -1,27 +1,10 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "SceneEntityInfo.proto"; import "SceneEntityInfo.proto";
import "VisionType.proto"; import "VisionType.proto";
// CmdId: 27983
// Obf: PEEAFBLFBLC
message SceneEntityUpdateNotify { message SceneEntityUpdateNotify {
uint32 param = 14; repeated SceneEntityInfo entity_list = 13;
repeated SceneEntityInfo entity_list = 10; VisionType appear_type = 2;
VisionType appear_type = 13; uint32 param = 11;
} }

View File

@ -1,28 +1,12 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "OnlinePlayerInfo.proto"; import "OnlinePlayerInfo.proto";
// Obf: AADLFNACADO
message ScenePlayerInfo { message ScenePlayerInfo {
uint32 peer_id = 15; string name = 9;
bool is_connected = 14; OnlinePlayerInfo online_player_info = 5;
uint32 uid = 4; uint32 scene_id = 15;
string name = 13; uint32 uid = 2;
OnlinePlayerInfo online_player_info = 12; uint32 peer_id = 8;
uint32 scene_id = 1; bool is_connected = 6;
} }

View File

@ -1,7 +1,7 @@
syntax = "proto3"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "ScenePlayerInfo.proto"; import "ScenePlayerInfo.proto";
// todo
message ScenePlayerInfoNotify { message ScenePlayerInfoNotify {
repeated ScenePlayerInfo player_info_list = 9; repeated ScenePlayerInfo player_info_list = 1;
} }

View File

@ -1,27 +1,10 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 5431
// Obf: CBIBGAOCEHP
message ScenePointUnlockNotify { message ScenePointUnlockNotify {
repeated uint32 ELDLGKEKABI = 6; repeated uint32 unlocked_point_list = 11;
repeated uint32 KOPAHGHMECF = 4; repeated uint32 point_list = 13;
uint32 scene_id = 12; repeated uint32 DOGDPAFIMJD = 12;
repeated uint32 point_list = 2; repeated uint32 JDNMBINKNGK = 5;
repeated uint32 JCLHNODLPOH = 11; uint32 scene_id = 1;
} }

View File

@ -1,24 +1,7 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 24949
// Obf: KGNHIFGFOIA
message SelectWorktopOptionReq { message SelectWorktopOptionReq {
uint32 gadget_entity_id = 12; uint32 gadget_entity_id = 9;
uint32 option_id = 6; uint32 option_id = 12;
} }

View File

@ -1,25 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 27194
// Obf: MJHAKKACKEC
message SelectWorktopOptionRsp { message SelectWorktopOptionRsp {
uint32 option_id = 13; uint32 gadget_entity_id = 7;
int32 retcode = 9; uint32 option_id = 15;
uint32 gadget_entity_id = 14; int32 retcode = 11;
} }

View File

@ -1,24 +1,6 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "AnnounceData.proto"; import "AnnounceData.proto";
// CmdId: 7548
// Obf: MHDDLLDBBJD
message ServerAnnounceNotify { message ServerAnnounceNotify {
repeated AnnounceData announce_data_list = 3; repeated AnnounceData announce_data_list = 2;
} }

View File

@ -1,25 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "EntityClientData.proto"; import "EntityClientData.proto";
// CmdId: 1139
// Obf: ICKIGFONKFE
message SetEntityClientDataNotify { message SetEntityClientDataNotify {
uint32 entity_id = 10; EntityClientData entity_client_data = 2;
EntityClientData entity_client_data = 4; uint32 entity_id = 4;
} }

View File

@ -1,24 +1,7 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 8002
// Obf: POOALLFACLH
message SetEquipLockStateReq { message SetEquipLockStateReq {
bool is_locked = 2; uint64 target_equip_guid = 2;
uint64 target_equip_guid = 12; bool is_locked = 3;
} }

View File

@ -1,25 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 2517
// Obf: HDOHDJDDMDG
message SetEquipLockStateRsp { message SetEquipLockStateRsp {
uint64 target_equip_guid = 1; uint64 target_equip_guid = 15;
bool is_locked = 6; bool is_locked = 6;
int32 retcode = 5; int32 retcode = 14;
} }

View File

@ -1,23 +1,6 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 3853
// Obf: KBHCHCMMILM
message SetNameCardReq { message SetNameCardReq {
uint32 name_card_id = 15; uint32 name_card_id = 13;
} }

View File

@ -1,24 +1,7 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 22422
// Obf: BPEHJKPKNGO
message SetNameCardRsp { message SetNameCardRsp {
uint32 name_card_id = 13; int32 retcode = 15;
int32 retcode = 4; uint32 name_card_id = 7;
} }

View File

@ -1,24 +1,7 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "Birthday.proto"; import "Birthday.proto";
// CmdId: 26479
// Obf: JPDKMIFAEJF
message SetPlayerBirthdayReq { message SetPlayerBirthdayReq {
Birthday birthday = 15; Birthday birthday = 1;
} }

View File

@ -1,25 +1,8 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
import "Birthday.proto"; import "Birthday.proto";
// CmdId: 26814
// Obf: GFMCLOFLLAL
message SetPlayerBirthdayRsp { message SetPlayerBirthdayRsp {
Birthday birthday = 8; Birthday birthday = 7;
int32 retcode = 11; int32 retcode = 6;
} }

View File

@ -1,23 +1,6 @@
// https://github.com/SlushinPS/beach-simulator
// Copyright (C) 2023 Slushy 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"; syntax = "proto3";
option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto";
// CmdId: 2665
// Obf: OGIPOOMFBGD
message SetPlayerNameReq { message SetPlayerNameReq {
string nick_name = 11; string nick_name = 12;
} }

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