1
0
mirror of https://gitlab.com/YuukiPS/GC-Proto.git synced 2025-04-13 12:36:07 +03:00

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
PacketOpcodes.javacmdid_gc.jsonop.js
proto
AbilityActionGenerateElemBall.protoAbilityChangeNotify.protoAbilityIdentifier.protoAbilityInvocationsNotify.protoAbilityInvokeEntry.protoAbilityInvokeEntryHead.protoAiSkillCdInfo.protoAiSyncInfo.protoAnnounceData.protoAttackHitEffectResult.protoAttackResult.protoAvatarAddNotify.protoAvatarDataNotify.protoAvatarDieAnimationEndReq.protoAvatarDieAnimationEndRsp.protoAvatarEquipChangeNotify.protoAvatarFightPropNotify.protoAvatarFightPropUpdateNotify.protoAvatarGainCostumeNotify.protoAvatarGainFlycloakNotify.protoAvatarLifeStateChangeNotify.protoAvatarPropNotify.protoCardProductRewardNotify.protoClientAbilityChangeNotify.protoClientAbilityInitFinishNotify.protoCombatInvocationsNotify.protoCombatInvokeEntry.protoCombatTypeArgument.protoDestroyMaterialReq.protoDestroyMaterialRsp.protoDoGachaReq.protoDropHintNotify.protoDungeonChallengeBeginNotify.protoDungeonChallengeFinishNotify.protoDungeonDieOptionReq.protoDungeonDieOptionRsp.protoDungeonEnterPosInfo.protoDungeonEntryInfo.protoDungeonEntryInfoReq.protoDungeonEntryInfoRsp.protoDungeonEntryPointInfo.protoEntityAiSyncNotify.protoEntityFightPropChangeReasonNotify.protoEntityFightPropUpdateNotify.protoEvtAiSyncSkillCdNotify.protoEvtBeingHitInfo.protoEvtCreateGadgetNotify.protoEvtDoSkillSuccNotify.protoEvtEntityRenderersChangedNotify.protoGadgetInteractReq.protoGadgetInteractRsp.protoGetActivityInfoRsp.protoGetFriendShowNameCardInfoRsp.protoGetGachaInfoRsp.protoGetPlayerTokenReq.protoGetShopReq.protoGetShopRsp.protoHitCollision.protoHitTreeNotify.protoItemAddHintNotify.protoItemGivingReq.protoItemGivingRsp.protoItemHint.protoLifeStateChangeNotify.protoMaterialInfo.protoObstacleInfo.protoObstacleModifyNotify.protoOnlinePlayerInfo.protoPathfindingEnterSceneReq.protoPersonalSceneJumpReq.protoPersonalSceneJumpRsp.protoPlayerEnterDungeonReq.protoPlayerEnterDungeonRsp.protoPlayerLocationInfo.protoPlayerPropChangeNotify.protoPlayerPropChangeReasonNotify.protoPlayerPropNotify.protoPlayerQuitDungeonReq.protoPlayerStoreNotify.protoPlayerWorldLocationInfo.protoProfilePicture.protoSceneEntityDisappearNotify.protoSceneEntityUpdateNotify.protoScenePlayerInfo.protoScenePlayerInfoNotify.protoScenePointUnlockNotify.protoSelectWorktopOptionReq.protoSelectWorktopOptionRsp.protoServerAnnounceNotify.protoSetEntityClientDataNotify.protoSetEquipLockStateReq.protoSetEquipLockStateRsp.protoSetNameCardReq.protoSetNameCardRsp.protoSetPlayerBirthdayReq.protoSetPlayerBirthdayRsp.protoSetPlayerNameReq.proto

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")) {
name = name.replace(" public static final int ", "");
// skip 0 ?
if (id == 0) {
if (id == 1) {
return;
}
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";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// Obf: OBEOLIIBNAF
message AbilityActionGenerateElemBall {
Vector pos = 4;
uint32 room_id = 6;
Vector rot = 9;
Vector pos = 4;
Vector rot = 10;
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";
option java_package = "emu.grasscutter.net.proto";
import "AbilityControlBlock.proto";
// CmdId: 300
// Obf: GEMMGPJKGAF
message AbilityChangeNotify {
AbilityControlBlock ability_control_block = 12;
uint32 entity_id = 8;
AbilityControlBlock ability_control_block = 11;
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";
option java_package = "emu.grasscutter.net.proto";
// Obf: JJPHDINFFJI
message AbilityIdentifier {
int32 local_id = 5;
uint32 instanced_ability_id = 11;
bool is_serverbuff_modifier = 2;
uint32 instanced_modifier_id = 12;
uint32 MDEDDJNNKOI = 6;
uint32 BKJOIGAMEAM = 10;
uint32 NPHOKNIJMLL = 12;
uint32 instanced_modifier_id = 5;
bool is_serverbuff_modifier = 11;
uint32 instanced_ability_id = 10;
int32 local_id = 8;
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";
option java_package = "emu.grasscutter.net.proto";
import "AbilityInvokeEntry.proto";
// CmdId: 26313
// Obf: IFAKFDEJFLI
message AbilityInvocationsNotify {
repeated AbilityInvokeEntry invokes = 15;
repeated AbilityInvokeEntry invokes = 2;
}

View File

@ -1,17 +1,17 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityInvokeArgument.proto";
import "ForwardType.proto";
import "AbilityInvokeEntryHead.proto";
import "ForwardType.proto";
import "AbilityInvokeArgument.proto";
message AbilityInvokeEntry {
AbilityInvokeArgument argument_type = 4;
bytes ability_data = 6;
uint32 entity_id = 10;
ForwardType forward_type = 1;
double total_tick_time = 7;
uint32 forward_peer = 3;
uint32 event_id = 9;
bool is_ignore_auth = 11;
AbilityInvokeEntryHead head = 13;
bytes ability_data = 6;
AbilityInvokeEntryHead head = 13;
uint32 forward_peer = 3;
uint32 entity_id = 10;
uint32 event_id = 9;
ForwardType forward_type = 1;
AbilityInvokeArgument argument_type = 4;
bool is_ignore_auth = 11;
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";
option java_package = "emu.grasscutter.net.proto";
// Obf: JOJGDABCHAP
message AbilityInvokeEntryHead {
uint32 instanced_ability_id = 5;
int32 modifier_config_local_id = 4;
int32 local_id = 9;
uint32 server_buff_uid = 7;
uint32 instanced_modifier_id = 11;
bool is_serverbuff_modifier = 12;
uint32 target_id = 8;
uint32 server_buff_uid = 1;
int32 modifier_config_local_id = 9;
int32 local_id = 6;
uint32 target_id = 4;
bool is_serverbuff_modifier = 10;
uint32 instanced_ability_id = 2;
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";
option java_package = "emu.grasscutter.net.proto";
// Obf: AJLFKACFMII
message AiSkillCdInfo {
map<uint32, uint32> skill_cd_map = 6;
map<uint32, uint32> skill_group_cd_map = 11;
map<uint32, uint32> skill_cd_map = 6;
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";
option java_package = "emu.grasscutter.net.proto";
// Obf: HLGFNMAEPJO
message AiSyncInfo {
uint32 entity_id = 2;
bool has_path_to_target = 4;
bool is_self_killing = 1;
uint32 entity_id = 9;
bool has_path_to_target = 10;
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";
option java_package = "emu.grasscutter.net.proto";
// Obf: LIBOAIMMBLM
message AnnounceData {
string count_down_text = 3;
bool is_center_system_last_5_every_minutes = 7;
uint32 count_down_frequency = 2;
uint32 center_system_frequency = 14;
uint32 end_time = 5;
string dungeon_confirm_text = 11;
uint32 config_id = 12;
string center_system_text = 1;
uint32 begin_time = 10;
string center_system_text = 5;
string count_down_text = 3;
string dungeon_confirm_text = 15;
uint32 end_time = 12;
uint32 count_down_frequency = 9;
uint32 config_id = 13;
uint32 begin_time = 2;
bool is_center_system_last_5_every_minutes = 6;
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";
option java_package = "emu.grasscutter.net.proto";
// Obf: LEKHHDAJFPK
message AttackHitEffectResult {
uint32 PPEJOCMAFFH = 11;
float HLMGLLLLEIJ = 7;
uint32 POCHAAAEPMH = 2;
float NMMAGALAPME = 13;
float DPMHMPLKOEK = 1;
float LOHBEFJPFHA = 5;
float JECAAMHEFJM = 2;
uint32 PPEOKDKPKKD = 9;
uint32 NPKGMCHJMFK = 7;
float MPEDEOJOHGC = 1;
float BDGNPKFNBKD = 14;
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";
option java_package = "emu.grasscutter.net.proto";
import "AttackHitEffectResult.proto";
import "AbilityIdentifier.proto";
import "Vector.proto";
import "HitCollision.proto";
// Obf: ICJAFHIJEBJ
message AttackResult {
uint32 BLJNCIEFOED = 5;
uint32 element_type = 10;
float FMPIEJOMIFJ = 1723;
float NLAAOODDKGK = 778;
bool BAAHKFCEBMA = 7;
float KFCPIKCMIOI = 567;
float DPHDFDJJNOA = 27;
bool BILAJCEBMGF = 378;
uint32 MIKMJNBAAIJ = 8;
AttackHitEffectResult hit_eff_result = 6;
uint32 BKKNPCPEDCF = 457;
uint32 DKDBHEJFOGD = 1602;
uint32 defense_id = 9;
uint32 attacker_id = 14;
float damage = 2;
uint32 EMOHABNNHBJ = 314;
bool KAKHNCAHEOP = 609;
string anim_event_id = 15;
int32 hit_retreat_angle_compat = 13;
uint32 KGKNJIIOPMP = 1649;
uint32 EFKGDDIGOHJ = 82;
uint32 JDPELIFFANG = 394;
uint32 ODBKCAJFBMO = 1652;
AbilityIdentifier ability_identifier = 3;
Vector resolved_dir = 4;
HitCollision hit_collision = 11;
uint32 NFDLHHGPLKL = 866;
uint32 OEEFAHMCLOM = 216;
uint32 IEJNKCBILGI = 1603;
bool FIHKEJMFKHO = 1672;
AbilityIdentifier ability_identifier = 12;
AttackHitEffectResult hit_eff_result = 13;
Vector resolved_dir = 1;
string anim_event_id = 10;
HitCollision hit_collision = 5;
uint32 PFNFFFBGAJC = 1550;
uint32 FMCPDPLJAAN = 1702;
uint32 element_type = 3;
uint32 CMOBNDKEOCC = 1687;
uint32 MEFEFBDBIOL = 8;
uint32 ENMIJOBILNF = 1000;
int32 hit_retreat_angle_compat = 4;
float HHKHPNCNOAD = 799;
float damage = 6;
uint32 NOIGACLGIAB = 936;
bool AKJOLKPMMBE = 1229;
bool JMLDBBLHGKP = 15;
bool NAIPMCEHNNG = 1911;
bool AGGNNHOPMJE = 299;
float CNGHDEILALO = 1203;
float IFNABDLPMDM = 974;
uint32 PLHKLAJCLEK = 14;
uint32 attacker_id = 11;
uint32 defense_id = 2;
uint32 BCACGPADAGP = 651;
float HIFPGEPONKP = 1611;
uint32 LJKFFLIBFOD = 1022;
uint32 CKNHGBBFMJL = 730;
uint32 DBHCJCOPDFG = 1032;
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";
option java_package = "emu.grasscutter.net.proto";
import "AvatarInfo.proto";
// CmdId: 7458
// Obf: MLOIBCFBPKN
message AvatarAddNotify {
bool is_in_team = 12;
AvatarInfo avatar = 14;
AvatarInfo avatar = 5;
bool is_in_team = 4;
}

View File

@ -5,13 +5,13 @@ import "AvatarTeam.proto";
import "AvatarRenameInfo.proto";
message AvatarDataNotify {
repeated AvatarInfo avatar_list = 14;
uint32 cur_avatar_team_id = 7;
repeated uint32 owned_costume_list = 5;
repeated uint32 owned_flycloak_list = 2;
repeated uint64 temp_avatar_guid_list = 1;
uint64 choose_avatar_guid = 3;
map<uint32, AvatarTeam> avatar_team_map = 12;
repeated AvatarRenameInfo avatar_rename_list = 11;
repeated uint32 backup_avatar_team_order_list = 4;
repeated AvatarInfo avatar_list = 14;
uint32 cur_avatar_team_id = 7;
uint64 choose_avatar_guid = 3;
map<uint32, AvatarTeam> avatar_team_map = 12;
repeated uint32 owned_costume_list = 13;
repeated uint32 owned_flycloak_list = 15;
repeated uint64 temp_avatar_guid_list = 1;
repeated AvatarRenameInfo avatar_rename_list = 11;
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";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// CmdId: 4506
// Obf: HPOMJHEAICH
message AvatarDieAnimationEndReq {
uint32 skill_id = 9;
uint64 die_guid = 8;
Vector reborn_pos = 14;
Vector reborn_pos = 7;
uint64 die_guid = 3;
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 24745
// Obf: LPNGCMDGKEM
message AvatarDieAnimationEndRsp {
int32 retcode = 4;
uint32 skill_id = 13;
uint64 die_guid = 5;
uint64 die_guid = 6;
uint32 skill_id = 12;
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";
option java_package = "emu.grasscutter.net.proto";
import "SceneWeaponInfo.proto";
import "SceneReliquaryInfo.proto";
// CmdId: 20682
// Obf: GOMNKIGKPAH
message AvatarEquipChangeNotify {
SceneWeaponInfo weapon = 7;
uint32 item_id = 8;
SceneReliquaryInfo reliquary = 5;
uint64 equip_guid = 4;
uint32 equip_type = 6;
uint64 avatar_guid = 1;
SceneReliquaryInfo reliquary = 14;
SceneWeaponInfo weapon = 13;
uint64 equip_guid = 15;
uint64 avatar_guid = 2;
uint32 equip_type = 11;
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 20455
// Obf: DPKAGLDONFP
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 21000
// Obf: CHDLCNDEHEB
message AvatarFightPropUpdateNotify {
uint64 avatar_guid = 2;
map<uint32, float> fight_prop_map = 4;
map<uint32, float> fight_prop_map = 1;
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 24251
// Obf: CMOIAGEGIOJ
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 29528
// Obf: LOFNLHIBOBB
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";
option java_package = "emu.grasscutter.net.proto";
import "ServerBuff.proto";
import "PlayerDieType.proto";
// CmdId: 22381
// Obf: ANPPCHBBAGA
message AvatarLifeStateChangeNotify {
uint32 move_reliable_seq = 5;
string attack_tag = 10;
uint32 source_entity_id = 1;
uint64 avatar_guid = 15;
repeated ServerBuff server_buff_list = 6;
PlayerDieType die_type = 7;
uint32 life_state = 12;
string attack_tag = 13;
repeated ServerBuff server_buff_list = 8;
PlayerDieType die_type = 4;
uint32 life_state = 3;
uint32 move_reliable_seq = 10;
uint32 source_entity_id = 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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 5355
// Obf: KGKHNJBJKOJ
message AvatarPropNotify {
uint64 avatar_guid = 4;
map<uint32, int64> prop_map = 8;
map<uint32, int64> prop_map = 10;
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 5635
// Obf: KHCOIEOAPAE
message CardProductRewardNotify {
string product_id = 7;
uint32 hcoin = 11;
uint32 remain_days = 4;
string product_id = 4;
uint32 remain_days = 14;
uint32 hcoin = 10;
}

View File

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

View File

@ -1,8 +1,8 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityInvokeEntry.proto";
// todo
message ClientAbilityInitFinishNotify {
uint32 entity_id = 4;
repeated AbilityInvokeEntry invokes = 9;
repeated AbilityInvokeEntry invokes = 13;
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";
option java_package = "emu.grasscutter.net.proto";
import "CombatInvokeEntry.proto";
// CmdId: 20271
// Obf: BLEFDDJFMLO
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";
option java_package = "emu.grasscutter.net.proto";
import "ForwardType.proto";
import "CombatTypeArgument.proto";
// Obf: CDKBNNNPIIC
message CombatInvokeEntry {
ForwardType forward_type = 14;
CombatTypeArgument argument_type = 9;
bytes combat_data = 11;
bytes combat_data = 6;
ForwardType forward_type = 1;
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";
option java_package = "emu.grasscutter.net.proto";
// Obf: ADBGJCJNCPF
enum CombatTypeArgument {
COMBAT_TYPE_ARGUMENT_NONE = 0;
COMBAT_TYPE_ARGUMENT_EVT_BEING_HIT = 1;
COMBAT_TYPE_ARGUMENT_ANIMATOR_STATE_CHANGED = 2;
COMBAT_TYPE_ARGUMENT_FACE_TO_DIR = 3;
COMBAT_TYPE_ARGUMENT_SET_ATTACK_TARGET = 4;
COMBAT_TYPE_ARGUMENT_RUSH_MOVE = 5;
COMBAT_TYPE_ARGUMENT_ANIMATOR_PARAMETER_CHANGED = 6;
COMBAT_TYPE_ARGUMENT_ENTITY_MOVE = 7;
COMBAT_TYPE_ARGUMENT_SYNC_ENTITY_POSITION = 8;
COMBAT_TYPE_ARGUMENT_STEER_MOTION_INFO = 9;
COMBAT_TYPE_ARGUMENT_FORCE_SET_POS_INFO = 10;
COMBAT_TYPE_ARGUMENT_COMPENSATE_POS_DIFF = 11;
COMBAT_TYPE_ARGUMENT_MONSTER_DO_BLINK = 12;
COMBAT_TYPE_ARGUMENT_FIXED_RUSH_MOVE = 13;
COMBAT_TYPE_ARGUMENT_SYNC_TRANSFORM = 14;
COMBAT_TYPE_ARGUMENT_LIGHT_CORE_MOVE = 15;
COMBAT_TYPE_ARGUMENT_BEING_HEALED_NTF = 16;
COMBAT_TYPE_ARGUMENT_SKILL_ANCHOR_POSITION_NTF = 17;
COMBAT_TYPE_ARGUMENT_GRAPPLING_HOOK_MOVE = 18;
ADBGJCJNCPF_CombatSpecialMotionInfo = 19;
COMBAT_TYPE_ARGUMENT_NONE = 0;
COMBAT_TYPE_ARGUMENT_EVT_BEING_HIT = 1;
COMBAT_TYPE_ARGUMENT_ANIMATOR_STATE_CHANGED = 2;
COMBAT_TYPE_ARGUMENT_FACE_TO_DIR = 3;
COMBAT_TYPE_ARGUMENT_SET_ATTACK_TARGET = 4;
COMBAT_TYPE_ARGUMENT_RUSH_MOVE = 5;
COMBAT_TYPE_ARGUMENT_ANIMATOR_PARAMETER_CHANGED = 6;
COMBAT_TYPE_ARGUMENT_ENTITY_MOVE = 7;
COMBAT_TYPE_ARGUMENT_SYNC_ENTITY_POSITION = 8;
COMBAT_TYPE_ARGUMENT_STEER_MOTION_INFO = 9;
COMBAT_TYPE_ARGUMENT_FORCE_SET_POS_INFO = 10;
COMBAT_TYPE_ARGUMENT_COMPENSATE_POS_DIFF = 11;
COMBAT_TYPE_ARGUMENT_MONSTER_DO_BLINK = 12;
COMBAT_TYPE_ARGUMENT_FIXED_RUSH_MOVE = 13;
COMBAT_TYPE_ARGUMENT_SYNC_TRANSFORM = 14;
COMBAT_TYPE_ARGUMENT_LIGHT_CORE_MOVE = 15;
COMBAT_TYPE_ARGUMENT_BEING_HEALED_NTF = 16;
COMBAT_TYPE_ARGUMENT_SKILL_ANCHOR_POSITION_NTF = 17;
COMBAT_TYPE_ARGUMENT_GRAPPLING_HOOK_MOVE = 18;
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";
option java_package = "emu.grasscutter.net.proto";
import "MaterialInfo.proto";
// CmdId: 6985
// Obf: MGALBJFALCL
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 7572
// Obf: KIEBPLBPCAE
message DestroyMaterialRsp {
int32 retcode = 10;
repeated uint32 item_id_list = 4;
repeated uint32 item_count_list = 2;
repeated uint32 item_count_list = 15;
repeated uint32 item_id_list = 11;
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 6499
// Obf: JHEFDEDCGBA
message DoGachaReq {
uint32 gachaTimes = 8;
uint32 gachaScheduleId = 5;
uint32 gachaRandom = 6;
uint32 gachaType = 3;
string gachaTag = 15;
string gacha_tag = 11;
uint32 gacha_type = 6;
uint32 gacha_schedule_id = 9;
uint32 gacha_times = 13;
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";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// CmdId: 1884
// Obf: NMODMKDKNDF
message DropHintNotify {
Vector position = 3;
repeated uint32 item_id_list = 6;
repeated uint32 item_id_list = 15;
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 8891
// Obf: FPMGJHAEAML
message DungeonChallengeBeginNotify {
uint32 challenge_index = 11;
uint32 group_id = 10;
repeated uint32 uid_list = 15;
uint32 father_index = 4;
uint32 challenge_id = 3;
repeated uint32 param_list = 6;
repeated uint32 param_list = 4;
repeated uint32 uid_list = 12;
uint32 challenge_id = 10;
uint32 group_id = 8;
uint32 father_index = 5;
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";
option java_package = "emu.grasscutter.net.proto";
import "ChallengeFinishType.proto";
@ -22,21 +6,20 @@ import "ChannellerSlabLoopDungeonResultInfo.proto";
import "EffigyChallengeDungeonResultInfo.proto";
import "PotionDungeonResultInfo.proto";
import "CustomDungeonResultInfo.proto";
// CmdId: 5847
// Obf: JBNHPHABEGG
message DungeonChallengeFinishNotify {
ChallengeFinishType finish_type = 7;
bool is_success = 11;
uint32 challenge_index = 8;
uint32 currentValue = 14;
bool is_new_record = 15;
uint32 time_cost = 13;
map<uint32, StrengthenPointData> strengthen_point_data_map = 5;
uint32 challengeRecordType = 4;
oneof detail {
ChannellerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1111;
EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 351;
PotionDungeonResultInfo potion_dungeon_result_info = 339;
CustomDungeonResultInfo custom_dungeon_result_info = 915;
}
map<uint32, StrengthenPointData> strengthen_point_data_map = 13;
uint32 challenge_record_type = 9;
bool is_success = 1;
bool is_new_record = 10;
ChallengeFinishType finish_type = 7;
uint32 time_cost = 6;
uint32 challenge_index = 5;
uint32 current_value = 12;
oneof detail {
ChannellerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1389;
EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 1637;
PotionDungeonResultInfo potion_dungeon_result_info = 319;
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";
option java_package = "emu.grasscutter.net.proto";
import "PlayerDieOption.proto";
// CmdId: 3884
// Obf: MOHIGAEGAKN
message DungeonDieOptionReq {
bool is_quit_immediately = 13;
PlayerDieOption die_option = 8;
PlayerDieOption die_option = 2;
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";
option java_package = "emu.grasscutter.net.proto";
import "PlayerDieOption.proto";
// CmdId: 28454
// Obf: JBMMJNEGEKF
message DungeonDieOptionRsp {
uint32 revive_count = 5;
int32 retcode = 10;
PlayerDieOption die_option = 1;
PlayerDieOption die_option = 2;
int32 retcode = 11;
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";
option java_package = "emu.grasscutter.net.proto";
// Obf: DALBJGGPCNF
message DungeonEnterPosInfo {
uint32 point_id = 13;
uint32 quest_id = 12;
uint32 quest_id = 13;
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";
option java_package = "emu.grasscutter.net.proto";
import "WeeklyBossResinDiscountInfo.proto";
// Obf: HFIHEBKHMPP
message DungeonEntryInfo {
uint32 next_refresh_time = 12;
uint32 CFAFALIPFEN = 9;
uint32 EOLGBLICEIA = 14;
uint32 max_boss_chest_num = 11;
uint32 dungeon_id = 13;
uint32 end_time = 7;
uint32 start_time = 2;
bool is_passed = 5;
WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 6;
WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 5;
uint32 ACDENLCGGOG = 8;
bool is_passed = 12;
uint32 dungeon_id = 7;
uint32 IOLIIMALAGH = 10;
uint32 BNOMBDGDKCC = 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";
option java_package = "emu.grasscutter.net.proto";
import "Uint32Pair.proto";
// CmdId: 782
// Obf: JJMKBALLDNB
message DungeonEntryInfoReq {
repeated Uint32Pair scene_point_id_list = 8;
uint32 point_id = 11;
uint32 scene_id = 3;
repeated Uint32Pair scene_point_id_list = 6;
uint32 scene_id = 7;
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";
option java_package = "emu.grasscutter.net.proto";
import "DungeonEntryInfo.proto";
import "DungeonEntryPointInfo.proto";
// CmdId: 28381
// Obf: FJKAAALHLDG
message DungeonEntryInfoRsp {
repeated DungeonEntryInfo dungeon_entry_list = 4;
repeated DungeonEntryPointInfo dungeon_entry_point_list = 11;
int32 retcode = 13;
uint32 point_id = 5;
uint32 recommend_dungeon_id = 2;
repeated DungeonEntryInfo dungeon_entry_list = 11;
repeated DungeonEntryPointInfo dungeon_entry_point_list = 8;
int32 retcode = 6;
uint32 point_id = 1;
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";
option java_package = "emu.grasscutter.net.proto";
import "DungeonEntryInfo.proto";
// Obf: CECCCBKAFKN
message DungeonEntryPointInfo {
repeated DungeonEntryInfo dungeon_entry_list = 9;
uint32 point_id = 2;
uint32 recommend_dungeon_id = 10;
uint32 scene_id = 12;
repeated DungeonEntryInfo dungeon_entry_list = 3;
uint32 point_id = 13;
uint32 scene_id = 15;
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";
option java_package = "emu.grasscutter.net.proto";
import "AiSyncInfo.proto";
// CmdId: 5447
// Obf: HKGLOBEAHIN
message EntityAiSyncNotify {
repeated uint32 local_avatar_alerted_monster_list = 4;
repeated AiSyncInfo info_list = 5;
repeated uint32 local_avatar_alerted_monster_list = 12;
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";
option java_package = "emu.grasscutter.net.proto";
import "ChangeHpReason.proto";
import "ChangeEnergyReason.proto";
import "FAFPLBDIGDH.proto";
import "OFDEHFOCIFP.proto";
import "PropChangeReason.proto";
// CmdId: 2489
// Obf: KHFJILELHPL
message EntityFightPropChangeReasonNotify {
ChangeHpReason changeHpReason = 12;
uint32 entity_id = 6;
uint32 prop_type = 1;
float prop_delta = 10;
ChangeEnergyReason changeEnergyReason = 8;
FAFPLBDIGDH detail_info = 11;
repeated uint32 param_list = 9;
OFDEHFOCIFP AEFJJGCHIJH = 14;
PropChangeReason reason = 3;
float JJEEABMPEKL = 13;
repeated uint32 param_list = 9;
PropChangeReason reason = 11;
ChangeHpReason change_hp_reason = 2;
float prop_delta = 5;
ChangeEnergyReason change_energy_reason = 8;
uint32 entity_id = 10;
uint32 prop_type = 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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 24036
// Obf: POHPJAAPGHD
message EntityFightPropUpdateNotify {
uint32 entity_id = 4;
map<uint32, float> fight_prop_map = 13;
map<uint32, float> fight_prop_map = 15;
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";
option java_package = "emu.grasscutter.net.proto";
import "AiSkillCdInfo.proto";
// CmdId: 6471
// Obf: DCKIHJONHIO
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";
option java_package = "emu.grasscutter.net.proto";
import "AttackResult.proto";
// Obf: LGMKEKBEELG
message EvtBeingHitInfo {
uint32 peer_id = 4;
uint32 frame_num = 15;
AttackResult attack_result = 10;
AttackResult attack_result = 11;
uint32 peer_id = 9;
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";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
import "ForwardType.proto";
// CmdId: 22195
// Obf: LGEDOOIENKG
message EvtCreateGadgetNotify {
uint64 guid = 11;
repeated uint32 target_lock_point_index_list = 516;
uint32 room_id = 3;
bool is_peer_id_from_player = 1886;
bool HEPFGKFLCCD = 13;
uint32 owner_entity_id = 14;
bool is_async_load = 438;
uint32 target_lock_point_index = 8;
Vector InitEulerAngles = 4;
uint32 prop_owner_entity_id = 1;
uint32 camp_type = 5;
ForwardType forward_type = 7;
Vector InitPos = 9;
uint32 target_entity_id = 2;
uint32 config_id = 15;
uint32 camp_id = 12;
repeated uint32 target_entity_id_list = 216;
uint32 entity_id = 10;
bool CNIILEKPCMD = 6;
Vector init_pos = 7;
repeated uint32 target_entity_id_list = 1826;
Vector init_euler_angles = 12;
repeated uint32 target_lock_point_index_list = 397;
uint32 born_slot_index = 1196;
uint32 target_entity_id = 13;
uint32 config_id = 9;
uint32 owner_entity_id = 6;
uint32 camp_type = 1;
uint32 entity_id = 2;
uint32 init_pose_id = 1245;
int32 local_id = 1365;
uint32 target_lock_point_index = 3;
uint32 room_id = 5;
ForwardType forward_type = 11;
uint32 prop_owner_entity_id = 10;
uint64 guid = 14;
bool CEONINFOHLJ = 15;
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";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
import "ForwardType.proto";
// CmdId: 8216
// Obf: LPCJNKAIIEL
message EvtDoSkillSuccNotify {
uint32 caster_id = 14;
uint32 skill_id = 7;
Vector forward = 5;
ForwardType forward_type = 12;
Vector forward = 10;
uint32 caster_id = 4;
uint32 skill_id = 14;
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";
option java_package = "emu.grasscutter.net.proto";
import "EntityRendererChangedInfo.proto";
import "ForwardType.proto";
// CmdId: 5525
// Obf: IOCCLGCILKA
message EvtEntityRenderersChangedNotify {
uint32 entity_id = 12;
EntityRendererChangedInfo renderer_changed_info = 4;
ForwardType forward_type = 10;
bool is_server_cache = 6;
EntityRendererChangedInfo renderer_changed_info = 14;
ForwardType forward_type = 13;
bool is_server_cache = 2;
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";
option java_package = "emu.grasscutter.net.proto";
import "ResinCostType.proto";
import "InterOpType.proto";
// CmdId: 9254
// Obf: ALDNKENDMAD
message GadgetInteractReq {
uint32 gadget_entity_id = 11;
uint32 ui_interact_id = 7;
ResinCostType resin_cost_type = 5;
bool is_use_condense_resin = 8;
InterOpType op_type = 13;
uint32 gadget_id = 6;
uint32 ui_interact_id = 13;
uint32 gadget_entity_id = 1;
ResinCostType resin_cost_type = 5;
InterOpType op_type = 7;
uint32 gadget_id = 2;
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";
option java_package = "emu.grasscutter.net.proto";
import "InterOpType.proto";
import "InteractType.proto";
// CmdId: 29895
// Obf: OLJHDABEEPG
message GadgetInteractRsp {
uint32 gadget_entity_id = 12;
InterOpType op_type = 5;
InteractType interact_type = 11;
uint32 gadget_id = 8;
int32 retcode = 10;
InteractType interact_type = 6;
int32 retcode = 12;
InterOpType op_type = 7;
uint32 gadget_id = 2;
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";
option java_package = "emu.grasscutter.net.proto";
import "ActivityInfo.proto";
import "Uint32Pair.proto";
// CmdId: 7972
// Obf: KFLFLAMEHIJ
message GetActivityInfoRsp {
repeated ActivityInfo activity_info_list = 2;
repeated uint32 activated_sale_id_list = 9;
int32 retcode = 4;
repeated Uint32Pair disable_transfer_point_interaction_list = 12;
repeated uint32 activated_sale_id_list = 14;
repeated ActivityInfo activity_info_list = 1;
repeated Uint32Pair disable_transfer_point_interaction_list = 15;
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 20479
// Obf: LLJDGCBCJMB
message GetFriendShowNameCardInfoRsp {
uint32 uid = 12;
repeated uint32 show_name_card_id_list = 1;
int32 retcode = 2;
repeated uint32 show_name_card_id_list = 2;
int32 retcode = 10;
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";
option java_package = "emu.grasscutter.net.proto";
import "GachaInfo.proto";
// CmdId: 23881
// Obf: IAAKKGACPDM
message GetGachaInfoRsp {
repeated GachaInfo gacha_info_list = 3;
uint32 gachaRandom = 12;
uint32 dailyGachaTimes = 9;
bool is_under_general_restrict = 7;
int32 retcode = 2;
bool is_under_minors_restrict = 5;
repeated GachaInfo gacha_info_list = 9;
bool is_under_minors_restrict = 11;
bool is_under_general_restrict = 5;
uint32 daily_gacha_times = 13;
int32 retcode = 12;
uint32 gacha_random = 4;
}

View File

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

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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 9681
// Obf: BLGEHKEBJAA
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";
option java_package = "emu.grasscutter.net.proto";
import "Shop.proto";
// CmdId: 22793
// Obf: JKOBDIPLIKB
message GetShopRsp {
int32 retcode = 7;
Shop shop = 2;
Shop shop = 8;
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";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
import "HitColliderType.proto";
// Obf: AABMKDICGED
message HitCollision {
float NBANAGMDLHB = 15;
int32 hit_box_index = 6;
Vector hit_point = 13;
float DMGGIJNBFNN = 11;
Vector hit_dir = 8;
HitColliderType hit_collider_type = 4;
Vector APDABINGDCE = 1;
Vector CCBMGOCJKPM = 3;
HitColliderType hit_collider_type = 12;
int32 hit_box_index = 6;
float ILHFONDEMGH = 15;
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";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// CmdId: 8766
// Obf: BAGAPIFEAFI
message HitTreeNotify {
Vector tree_pos = 9;
Vector drop_pos = 7;
uint32 tree_type = 10;
Vector drop_pos = 1;
Vector tree_pos = 15;
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";
option java_package = "emu.grasscutter.net.proto";
import "ItemHint.proto";
import "Vector.proto";
// CmdId: 20755
// Obf: CNDHGNFOGNJ
message ItemAddHintNotify {
bool NAMDHIDNAMP = 1;
repeated ItemHint item_list = 5;
bool OFKEJDENKLE = 10;
repeated ItemHint overflow_transformed_item_list = 12;
uint32 quest_id = 11;
bool DJAHPNGMNGA = 3;
uint32 reason = 8;
Vector position = 13;
Vector position = 4;
repeated ItemHint item_list = 9;
repeated ItemHint overflow_transformed_item_list = 6;
uint32 quest_id = 5;
bool PFNLIOENALO = 1;
bool ABOOBGNEPOC = 3;
bool FPLAKFLGHPL = 12;
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";
option java_package = "emu.grasscutter.net.proto";
import "ItemParam.proto";
// CmdId: 4527
// Obf: FEKPPCLHGIF
message ItemGivingReq {
// Obf: HGCKAFEMAFE
enum ItemGivingType {
QUEST = 0;
GADGET = 1;
}
uint32 giving_id = 12;
repeated ItemParam item_param_list = 15;
map<uint64, uint32> item_guid_count_map = 13;
ItemGivingType item_giving_type = 7;
repeated ItemParam item_param_list = 10;
map<uint64, uint32> item_guid_count_map = 6;
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 7103
// Obf: DJBCJENHGFJ
message ItemGivingRsp {
int32 retcode = 14;
uint32 giving_group_id = 4;
uint32 giving_id = 13;
uint32 giving_id = 6;
uint32 giving_group_id = 15;
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";
option java_package = "emu.grasscutter.net.proto";
// Obf: OLBNAADPLKJ
message ItemHint {
uint32 count = 7;
uint32 item_id = 9;
uint64 guid = 14;
bool is_new = 8;
uint32 item_id = 11;
bool is_new = 2;
uint64 guid = 7;
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";
option java_package = "emu.grasscutter.net.proto";
import "ServerBuff.proto";
import "PlayerDieType.proto";
// CmdId: 25474
// Obf: DHFIJCFHMOG
message LifeStateChangeNotify {
uint32 entity_id = 7;
repeated ServerBuff server_buff_list = 4;
uint32 source_entity_id = 5;
uint32 move_reliable_seq = 11;
string attack_tag = 13;
PlayerDieType die_type = 14;
uint32 life_state = 1;
string attack_tag = 12;
repeated ServerBuff server_buff_list = 13;
uint32 source_entity_id = 9;
PlayerDieType die_type = 8;
uint32 entity_id = 7;
uint32 life_state = 3;
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";
option java_package = "emu.grasscutter.net.proto";
// Obf: MGMDCJEEMPF
message MaterialInfo {
uint64 guid = 6;
uint32 count = 4;
uint64 guid = 3;
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";
option java_package = "emu.grasscutter.net.proto";
import "MathQuaternion.proto";
import "Vector3Int.proto";
import "Vector.proto";
// Obf: HDJAECHANAJ
message ObstacleInfo {
// Obf: HEJHGAICHLM
enum ShapeType {
enum ShapeType {
OBSTACLE_SHAPE_CAPSULE = 0;
OBSTACLE_SHAPE_BOX = 1;
}
MathQuaternion rotation = 4;
ShapeType shape = 5;
int32 obstacle_id = 6;
Vector3Int extents = 15;
Vector center = 9;
MathQuaternion rotation = 7;
Vector3Int extents = 5;
Vector center = 14;
ShapeType shape = 3;
int32 obstacle_id = 8;
}

View File

@ -1,9 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ObstacleInfo.proto";
// todo
message ObstacleModifyNotify {
repeated int32 remove_obstacle_ids = 6;
repeated ObstacleInfo add_obstacles = 10;
uint32 scene_id = 9;
repeated int32 HPDLPMEOMKB = 10;
repeated int32 EGMEMAIOALB = 15;
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";
option java_package = "emu.grasscutter.net.proto";
import "MpSettingType.proto";
import "ProfilePicture.proto";
// Obf: BJKIIJGIJPA
message OnlinePlayerInfo {
uint32 uid = 1;
string nickname = 2;
uint32 player_level = 3;
uint32 avatar_id = 4;
MpSettingType mp_setting_type = 5;
uint32 cur_player_num_in_world = 6;
uint32 world_level = 7;
string online_id = 8;
uint32 name_card_id = 9;
repeated uint32 blacklist_uid_list = 10;
string signature = 11;
ProfilePicture profile_picture = 12;
string psn_id = 13;
}
string signature = 11;
ProfilePicture profile_picture = 12;
repeated uint32 blacklist_uid_list = 10;
string online_id = 8;
string nickname = 2;
string psn_id = 13;
uint32 avatar_id = 4;
uint32 name_card_id = 9;
uint32 uid = 1;
uint32 cur_player_num_in_world = 3;
MpSettingType mp_setting_type = 5;
uint32 player_level = 6;
uint32 world_level = 7;
}

View File

@ -1,12 +1,13 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ObstacleInfo.proto";
// todo
message PathfindingEnterSceneReq {
bool is_editor = 3;
uint32 version = 4;
uint32 KJJLLFIJKNA = 2;
repeated ObstacleInfo obstacles = 10;
uint32 GKFDHIPOHOE = 5;
uint32 scene_id = 15;
repeated ObstacleInfo obstacles = 15;
repeated int32 ANPDICMMDML = 11;
uint32 IOAHLKGMDFA = 12;
uint32 scene_id = 2;
bool is_editor = 10;
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 20938
// Obf: BEJBGBNMMMH
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";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// CmdId: 26151
// Obf: FENDEOICMKE
message PersonalSceneJumpRsp {
uint32 dest_scene_id = 6;
Vector dest_pos = 14;
int32 retcode = 8;
Vector dest_pos = 3;
uint32 dest_scene_id = 7;
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";
option java_package = "emu.grasscutter.net.proto";
import "DungeonEnterPosInfo.proto";
// CmdId: 28791
// Obf: IPCFJHGFFPP
message PlayerEnterDungeonReq {
uint32 dungeon_id = 11;
DungeonEnterPosInfo enter_pos_info = 3;
uint32 point_id = 15;
DungeonEnterPosInfo enter_pos_info = 5;
uint32 dungeon_id = 14;
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 24874
// Obf: IPGDOPKIBPO
message PlayerEnterDungeonRsp {
uint32 point_id = 1;
uint32 dungeon_id = 10;
int32 retcode = 2;
uint32 point_id = 13;
uint32 dungeon_id = 1;
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";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// Obf: KPGGJJGHJOP
message PlayerLocationInfo {
Vector pos = 13;
uint32 uid = 4;
Vector rot = 1;
Vector pos = 14;
Vector rot = 15;
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 24729
// Obf: JMOMPLEOGLD
message PlayerPropChangeNotify {
uint32 prop_delta = 4;
uint32 prop_type = 6;
uint32 prop_type = 11;
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";
option java_package = "emu.grasscutter.net.proto";
import "PropChangeReason.proto";
// CmdId: 28241
// Obf: PEAMCBGHMPI
message PlayerPropChangeReasonNotify {
PropChangeReason reason = 11;
float old_value = 15;
float cur_value = 10;
uint32 prop_type = 8;
PropChangeReason reason = 3;
float cur_value = 8;
uint32 prop_type = 5;
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";
option java_package = "emu.grasscutter.net.proto";
import "PropValue.proto";
// CmdId: 7058
// Obf: LFMCGGCLACB
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 20980
// Obf: CCMGMAFLDCH
message PlayerQuitDungeonReq {
uint32 point_id = 5;
bool is_quit_immediately = 13;
bool is_quit_immediately = 7;
uint32 point_id = 6;
}

View File

@ -2,9 +2,9 @@ syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "StoreType.proto";
import "Item.proto";
// todo
message PlayerStoreNotify {
StoreType store_type = 8;
uint32 weight_limit = 5;
repeated Item item_list = 6;
repeated Item item_list = 2;
StoreType store_type = 3;
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";
option java_package = "emu.grasscutter.net.proto";
import "PlayerLocationInfo.proto";
// Obf: JNPBJHGCCOP
message PlayerWorldLocationInfo {
uint32 scene_id = 5;
PlayerLocationInfo player_loc = 12;
PlayerLocationInfo player_loc = 7;
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";
option java_package = "emu.grasscutter.net.proto";
// Obf: FEKJLPEAOJI
message ProfilePicture {
uint32 avatar_id = 1;
uint32 costume_id = 2;
uint32 PIFJFLMENAH = 3;
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";
option java_package = "emu.grasscutter.net.proto";
import "VisionType.proto";
// CmdId: 1787
// Obf: GLPMBMHBAKI
message SceneEntityDisappearNotify {
repeated uint32 entity_list = 7;
VisionType disappear_type = 9;
uint32 param = 10;
repeated uint32 entity_list = 6;
VisionType disappear_type = 9;
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";
option java_package = "emu.grasscutter.net.proto";
import "SceneEntityInfo.proto";
import "VisionType.proto";
// CmdId: 27983
// Obf: PEEAFBLFBLC
message SceneEntityUpdateNotify {
uint32 param = 14;
repeated SceneEntityInfo entity_list = 10;
VisionType appear_type = 13;
repeated SceneEntityInfo entity_list = 13;
VisionType appear_type = 2;
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";
option java_package = "emu.grasscutter.net.proto";
import "OnlinePlayerInfo.proto";
// Obf: AADLFNACADO
message ScenePlayerInfo {
uint32 peer_id = 15;
bool is_connected = 14;
uint32 uid = 4;
string name = 13;
OnlinePlayerInfo online_player_info = 12;
uint32 scene_id = 1;
string name = 9;
OnlinePlayerInfo online_player_info = 5;
uint32 scene_id = 15;
uint32 uid = 2;
uint32 peer_id = 8;
bool is_connected = 6;
}

View File

@ -1,7 +1,7 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ScenePlayerInfo.proto";
// todo
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 5431
// Obf: CBIBGAOCEHP
message ScenePointUnlockNotify {
repeated uint32 ELDLGKEKABI = 6;
repeated uint32 KOPAHGHMECF = 4;
uint32 scene_id = 12;
repeated uint32 point_list = 2;
repeated uint32 JCLHNODLPOH = 11;
repeated uint32 unlocked_point_list = 11;
repeated uint32 point_list = 13;
repeated uint32 DOGDPAFIMJD = 12;
repeated uint32 JDNMBINKNGK = 5;
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 24949
// Obf: KGNHIFGFOIA
message SelectWorktopOptionReq {
uint32 gadget_entity_id = 12;
uint32 option_id = 6;
uint32 gadget_entity_id = 9;
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 27194
// Obf: MJHAKKACKEC
message SelectWorktopOptionRsp {
uint32 option_id = 13;
int32 retcode = 9;
uint32 gadget_entity_id = 14;
uint32 gadget_entity_id = 7;
uint32 option_id = 15;
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";
option java_package = "emu.grasscutter.net.proto";
import "AnnounceData.proto";
// CmdId: 7548
// Obf: MHDDLLDBBJD
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";
option java_package = "emu.grasscutter.net.proto";
import "EntityClientData.proto";
// CmdId: 1139
// Obf: ICKIGFONKFE
message SetEntityClientDataNotify {
uint32 entity_id = 10;
EntityClientData entity_client_data = 4;
EntityClientData entity_client_data = 2;
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 8002
// Obf: POOALLFACLH
message SetEquipLockStateReq {
bool is_locked = 2;
uint64 target_equip_guid = 12;
uint64 target_equip_guid = 2;
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 2517
// Obf: HDOHDJDDMDG
message SetEquipLockStateRsp {
uint64 target_equip_guid = 1;
bool is_locked = 6;
int32 retcode = 5;
uint64 target_equip_guid = 15;
bool is_locked = 6;
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 3853
// Obf: KBHCHCMMILM
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 22422
// Obf: BPEHJKPKNGO
message SetNameCardRsp {
uint32 name_card_id = 13;
int32 retcode = 4;
int32 retcode = 15;
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";
option java_package = "emu.grasscutter.net.proto";
import "Birthday.proto";
// CmdId: 26479
// Obf: JPDKMIFAEJF
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";
option java_package = "emu.grasscutter.net.proto";
import "Birthday.proto";
// CmdId: 26814
// Obf: GFMCLOFLLAL
message SetPlayerBirthdayRsp {
Birthday birthday = 8;
int32 retcode = 11;
Birthday birthday = 7;
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";
option java_package = "emu.grasscutter.net.proto";
// CmdId: 2665
// Obf: OGIPOOMFBGD
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