just sync proto

This commit is contained in:
Yuuki 2024-05-22 19:51:09 +08:00
parent a85b668ccc
commit 443df7bd77
345 changed files with 1778 additions and 4617 deletions

View File

@ -1,24 +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 "AbilityString.proto";
import "AbilityScalarValueEntry.proto";
// Obf: NKCDMLBKHGI
// 4.6.0
message AbilityAppliedAbility {
AbilityString ability_name = 1;
AbilityString ability_override = 2;

View File

@ -1,25 +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 "AbilityString.proto";
import "AbilityAttachedModifier.proto";
import "ModifierDurability.proto";
// Obf: OAHPGFENJJK
// 4.6.0
message AbilityAppliedModifier {
int32 modifier_local_id = 1;
uint32 parent_ability_entity_id = 2;
@ -34,4 +21,5 @@ message AbilityAppliedModifier {
ModifierDurability modifier_durability = 11;
uint32 sbuff_uid = 12;
bool is_serverbuff_modifier = 13;
}
bool IAPDOPJIGFF = 14;
}

View File

@ -1,26 +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: COGFLLLFFFC
// 4.6.0
message AbilityAttachedModifier {
bool is_invalid = 1;
uint32 owner_entity_id = 2;
uint32 instanced_modifier_id = 3;
bool is_serverbuff_modifier = 4;
int32 attach_name_hash = 5;
}
}

View File

@ -1,8 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityControlBlock.proto";
// 4.6.0
// CmdId: 516
message AbilityChangeNotify {
AbilityControlBlock ability_control_block = 11;
uint32 entity_id = 15;
}
AbilityControlBlock ability_control_block = 5;
uint32 entity_id = 9;
}

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 "AbilityEmbryo.proto";

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";
// Obf: PLELJEGMEOD

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";
// Obf: AHHOEHNNEIN

View File

@ -1,11 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
//obf: PEMAEGMEAAE
message AbilityIdentifier {
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;
uint32 instanced_ability_id = 6;
uint32 instanced_modifier_id = 7;
bool is_serverbuff_modifier = 8;
uint32 EGFPJDNPCAJ = 9;
uint32 OOEBIGKJEBA = 10;
int32 local_id = 13;
}

View File

@ -0,0 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityInvokeEntry.proto";
// 4.6.0
// CmdId: 7473
message AbilityInvocationFailNotify {
string reason = 1;
uint32 entity_id = 5;
AbilityInvokeEntry invoke = 10;
}

View File

@ -1,7 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityInvokeEntry.proto";
//obf: KGJLCBEKCFD
// CmdId: 21569
message AbilityInvocationsNotify {
repeated AbilityInvokeEntry invokes = 2;
repeated AbilityInvokeEntry invokes = 5;
}

View File

@ -1,22 +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: LBKBGBCCGMA
// 4.6.0
enum AbilityInvokeArgument {
ABILITY_INVOKE_ARGUMENT_NONE = 0;
ABILITY_INVOKE_ARGUMENT_META_MODIFIER_CHANGE = 1;
@ -90,4 +75,7 @@ enum AbilityInvokeArgument {
ABILITY_INVOKE_ARGUMENT_MIXIN_ENERGY_CRYSTAL_TARGET = 127;
ABILITY_INVOKE_ARGUMENT_MIXIN_ROTATION_FOLLOW_CAMERA = 128;
ABILITY_INVOKE_ARGUMENT_MIXIN_BUOYANT_FORCE = 129;
}
ABILITY_INVOKE_ARGUMENT_MIXIN_FILMFEST_BALL_GAME = 130;
AABILITY_INVOKE_ARGUMENT_MIXIN_CHECK_SCAN_ENTITY = 131;
ABILITY_INVOKE_ARGUMENT_MIXIN_TIME_TRACK_PLAYER = 133;
}

View File

@ -1,17 +1,19 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityInvokeEntryHead.proto";
import "ForwardType.proto";
import "AbilityInvokeEntryHead.proto";
import "AbilityInvokeArgument.proto";
// 4.6.0
message AbilityInvokeEntry {
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;
}
double total_tick_time = 3;
uint32 forward_peer = 4;
ForwardType forward_type = 6;
AbilityInvokeEntryHead head = 7;
bool is_ignore_auth = 9;
uint32 event_id = 10;
AbilityInvokeArgument argument_type = 12;
bytes ability_data = 13;
uint32 entity_id = 14;
}

View File

@ -1,12 +1,13 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
message AbilityInvokeEntryHead {
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;
}
uint32 target_id = 3;
uint32 instanced_modifier_id = 4;
int32 modifier_config_local_id = 5;
bool is_serverbuff_modifier = 6;
int32 local_id = 7;
uint32 server_buff_uid = 8;
uint32 instanced_ability_id = 13;
}

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";
import "AbilityAppliedAbility.proto";
// Obf: GOIHMEADCCK
// 4.6.0
message AbilityMetaAddAbility {
AbilityAppliedAbility ability = 9;
}
AbilityAppliedAbility ability = 12;
}

View File

@ -1,23 +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 "AbilityScalarValueEntry.proto";
// Obf: DKNHIBDBJDH
// 4.6.0
message AbilityMetaReInitOverrideMap {
repeated AbilityScalarValueEntry override_map = 10;
}
repeated AbilityScalarValueEntry override_map = 15;
}

View File

@ -1,26 +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 "MassivePropSyncInfo.proto";
import "BreakoutSnapShot.proto";
// Obf: NNBAGDGFEKA
// 4.6.0
message AbilityMixinRecoverInfo {
oneof Source {
oneof source {
uint32 instanced_ability_id = 1;
uint32 instanced_modifier_id = 2;
}
@ -29,4 +15,4 @@ message AbilityMixinRecoverInfo {
bool is_serverbuff_modifier = 5;
repeated MassivePropSyncInfo massive_prop_list = 6;
BreakoutSnapShot breakout_snap_shot = 7;
}
}

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";
// Obf: HOIECOCMCMI

View File

@ -1,24 +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 "AbilityString.proto";
import "AbilityScalarType.proto";
// Obf: DAEKOPFKPMK
// 4.6.0
message AbilityScalarValueEntry {
AbilityString key = 1;
AbilityScalarType value_type = 2;
@ -28,4 +14,4 @@ message AbilityScalarValueEntry {
int32 int_value = 5;
uint32 uint_value = 6;
}
}
}

View File

@ -1,25 +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";
// Obf: PPIBJBLBJDL
// 4.6.0
message AbilityString {
oneof type {
string str = 1;
uint32 hash = 2;
}
}
}

View File

@ -1,26 +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 "AbilityScalarValueEntry.proto";
import "AbilityAppliedAbility.proto";
import "AbilityAppliedModifier.proto";
import "AbilityMixinRecoverInfo.proto";
// Obf: JDIFMANDKLC
message AbilitySyncStateInfo {
bool is_inited = 1;
repeated AbilityScalarValueEntry dynamic_value_map = 2;

View File

@ -0,0 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "MapMarkPoint.proto";
// 4.6.0
// CmdId: 4620
message AllMarkPointNotify {
repeated MapMarkPoint mark_list = 12;
}

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";
// Obf: IGGDJDFNMAG

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 "AnimatorParameterValueInfo.proto";

View File

@ -1,11 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
//obf: EHHIGNCAHDN
message AttackHitEffectResult {
float JECAAMHEFJM = 2;
uint32 PPEOKDKPKKD = 9;
uint32 NPKGMCHJMFK = 7;
float MPEDEOJOHGC = 1;
float BDGNPKFNBKD = 14;
float FJLPLOBFPMJ = 5;
uint32 CODNNLGEFAB = 2;
float BGGGOCDMEIJ = 7;
float PFHMCODCDOG = 9;
uint32 INHHAFPAGMM = 11;
float ILBDIPJINIH = 14;
float DPOCKHHOAPH = 15;
}

View File

@ -1,40 +1,42 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AttackHitEffectResult.proto";
import "AbilityIdentifier.proto";
import "Vector.proto";
import "HitCollision.proto";
import "Vector.proto";
import "AbilityIdentifier.proto";
import "HitCollision.proto";
import "AttackHitEffectResult.proto";
//obf: PBNJFKKLHNG
message AttackResult {
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;
int32 hit_retreat_angle_compat = 2;
HitCollision hit_collision = 3;
float damage = 4;
Vector resolved_dir = 5;
uint32 element_type = 6;
AttackHitEffectResult hit_eff_result = 7;
uint32 defense_id = 8;
uint32 HLDPABLDFMA = 9;
AbilityIdentifier ability_identifier = 11;
uint32 attacker_id = 12;
uint32 PBAOKLLNEKH = 13;
string anim_event_id = 14;
bool DOOAHLOJHFI = 15;
bool MMGHNAGCMKI = 101;
uint32 ANCLENEDEFP = 368;
float KIBCOOHDGGC = 395;
float KOHHKJHBPGC = 434;
bool OLBMHKAKCAO = 686;
uint32 GKEECIACCJL = 792;
float JAMLOHCLJGO = 844;
uint32 IKBJOJCMIDD = 966;
uint32 JHGMKBBHGKK = 1152;
float IBDIPOKNGND = 1178;
uint32 ADAPJNAPCFM = 1195;
uint32 HEGHHBKOGPM = 1400;
uint32 GONCKDKHCCD = 1579;
uint32 IPHOJADNMPG = 1582;
bool ECOJPMMOFGO = 1638;
uint32 LINKMJIJDAI = 1649;
uint32 GBFOLNPHPFC = 1744;
uint32 PMCGHDEGGGO = 2023;
}

View File

@ -1,8 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AvatarInfo.proto";
message AvatarAddNotify {
AvatarInfo avatar = 5;
bool is_in_team = 4;
bool is_in_team = 2;
AvatarInfo avatar = 12;
}

View File

@ -0,0 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 27660
message AvatarChangeAnimHashReq {
uint64 avatar_guid = 10;
uint32 anim_hash = 14;
}

View File

@ -0,0 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 416
message AvatarChangeAnimHashRsp {
uint32 anim_hash = 5;
uint64 avatar_guid = 11;
int32 retcode = 15;
}

View File

@ -1,17 +1,20 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AvatarInfo.proto";
import "AvatarTeam.proto";
import "AvatarRenameInfo.proto";
// 4.6.0
// CmdId: 24452
message AvatarDataNotify {
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;
}
//repeated uint32 owned_flycloak_list = 13;//sus
repeated AvatarRenameInfo avatar_rename_list = 10;
repeated AvatarInfo avatar_list = 5;
map<uint32, AvatarTeam> avatar_team_map = 15;
//repeated uint32 backup_avatar_team_order_list = 9;//sus
//repeated uint32 owned_costume_list = 2;//sus
//repeated uint64 temp_avatar_guid_list = 999;//Wrong
uint32 cur_avatar_team_id = 1;
uint64 choose_avatar_guid = 11;
}

View File

@ -1,9 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// 4.6.0
// CmdId: 44
message AvatarDieAnimationEndReq {
Vector reborn_pos = 7;
uint64 die_guid = 3;
uint32 skill_id = 13;
}
uint32 skill_id = 6;
Vector reborn_pos = 7;
uint64 die_guid= 13;
}

View File

@ -1,8 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 1020
message AvatarDieAnimationEndRsp {
uint64 die_guid = 6;
uint32 skill_id = 12;
int32 retcode = 7;
}
int32 retcode = 6;
uint64 die_guid= 11;
uint32 skill_id = 13;
}

View File

@ -1,15 +1,17 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilitySyncStateInfo.proto";
import "ServerBuff.proto";
import "ServerBuff.proto";
import "AbilitySyncStateInfo.proto";
// 4.6.0
message AvatarEnterSceneInfo {
AbilitySyncStateInfo avatar_ability_info = 11;
uint64 weapon_guid = 1;
uint32 avatar_entity_id = 14;
repeated uint32 buff_id_list = 15;
uint32 weapon_entity_id = 10;
uint64 avatar_guid = 4;
repeated ServerBuff server_buff_list = 9;
AbilitySyncStateInfo weapon_ability_info = 6;
}
uint32 avatar_entity_id = 4;
repeated ServerBuff server_buff_list = 5;
repeated uint32 buff_id_list = 8;
AbilitySyncStateInfo avatar_ability_info = 10;//sus 10 or14
uint64 weapon_guid = 11;
uint32 weapon_entity_id = 12;
AbilitySyncStateInfo weapon_ability_info = 14;//sus 10 or14
uint64 avatar_guid = 15;
}

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";
// Obf: CFINPAOKBJN

View File

@ -1,13 +1,16 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "SceneWeaponInfo.proto";
import "SceneReliquaryInfo.proto";
// 4.6.0
// CmdId: 24844
message AvatarEquipChangeNotify {
SceneReliquaryInfo reliquary = 14;
SceneWeaponInfo weapon = 13;
uint64 equip_guid = 15;
uint64 avatar_guid = 2;
uint32 equip_type = 11;
uint32 item_id = 4;
}
uint32 equip_type = 1;
SceneWeaponInfo weapon = 2;
uint64 avatar_guid = 5;
uint32 item_id = 7;
uint64 equip_guid = 9;
SceneReliquaryInfo reliquary = 15;
}

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";
// Obf: HGHGOIMIAMF

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";
// Obf: OJBIHADNECN

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 "FetterData.proto";

View File

@ -1,7 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
//obf: MPDFJECBFKM
// CmdId: 9531
message AvatarFightPropNotify {
map<uint32, float> fight_prop_map = 3;
uint64 avatar_guid = 11;
uint64 avatar_guid = 5;
map<uint32, float> fight_prop_map = 10;
}

View File

@ -1,7 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
//obf: JHPCPJAFGMI
// CmdId: 21817
message AvatarFightPropUpdateNotify {
map<uint32, float> fight_prop_map = 1;
uint64 avatar_guid = 13;
uint64 avatar_guid = 3;
map<uint32, float> fight_prop_map = 5;
}

View File

@ -7,8 +7,7 @@ import "AvatarFetterInfo.proto";
import "AvatarExpeditionState.proto";
import "AvatarEquipAffixInfo.proto";
import "AvatarExcelInfo.proto";
import "PFEBKNGNFPH.proto";
//import "JCDPOCOOGCI.proto";
message AvatarInfo {
uint32 avatar_id = 1;
uint64 guid = 2;
@ -36,7 +35,6 @@ message AvatarInfo {
uint32 costume_id = 25;
AvatarExcelInfo excel_info = 26;
uint32 anim_hash = 27;
PFEBKNGNFPH DBGFEJECPJG = 28;
uint32 EFFGKHEPHCF = 29;
uint32 EPIPMINFOLP = 30;
//JCDPOCOOGCI PDGKJIIEPIO = 28;
uint32 GJFKDCJENJE = 29;
}

View File

@ -1,14 +1,17 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ServerBuff.proto";
import "PlayerDieType.proto";
import "PlayerDieType.proto";
import "ServerBuff.proto";
// 4.6.0
// CmdId: 28742
message AvatarLifeStateChangeNotify {
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;
}
uint32 life_state = 1;
uint64 avatar_guid = 2;
PlayerDieType die_type = 3;
string attack_tag = 5;
uint32 move_reliable_seq = 9;
uint32 source_entity_id = 11;
repeated ServerBuff server_buff_list = 13;
}

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: NNBEINLIFPB
// 4.6.0
message AvatarRenameInfo {
string avatar_name = 1;
uint32 avatar_id = 13;
}
uint32 avatar_id = 5;
string avatar_name = 12;
}

View File

@ -0,0 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AvatarRenameInfo.proto";
// 4.6.0
// CmdId: 24403
message AvatarRenameInfoNotify {
repeated AvatarRenameInfo avatar_rename_list = 8;
}

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";
// Obf: FKBNODHMBMG

View File

@ -1,25 +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 "AvatarSkillInfo.proto";
// CmdId: 29066
// Obf: NHOMLJLJGFL
// 4.6.0
// CmdId: 28799
message AvatarSkillInfoNotify {
map<uint32, AvatarSkillInfo> skill_map = 11;
uint64 guid = 13;
}
map<uint32, AvatarSkillInfo> skill_map = 2;
uint64 guid = 4;
}

View File

@ -1,7 +1,8 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
message AvatarTeam {
string team_name = 6;
repeated uint64 avatar_guid_list = 14;
}
repeated uint64 avatar_guid_list = 10;
string team_name = 12;
}

View File

@ -1,26 +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 "AvatarTeam.proto";
// CmdId: 9854
// Obf: HHLJIKIGMOG
// 4.6.0
// CmdId: 3135
message AvatarTeamAllDataNotify {
map<uint32, AvatarTeam> avatar_team_map = 2;
map<uint32, AvatarTeam> avatar_team_map = 5;
repeated uint64 temp_avatar_guid_list = 12;
repeated uint32 backup_avatar_team_order_list = 13;
repeated uint64 temp_avatar_guid_list = 8;
}
}

View File

@ -1,8 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AvatarTeam.proto";
// 4.6.0
// CmdId: 26704
message AvatarTeamUpdateNotify {
repeated uint64 temp_avatar_guid_list = 7;
map<uint32, AvatarTeam> avatar_team_map = 9;
}
map<uint32, AvatarTeam> avatar_team_map = 10;
}

View File

@ -1,26 +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: 1805
// Obf: KNLJFLHONOK
// 4.6.0
// CmdId: 23680
message AvatarUnlockTalentNotify {
uint32 talent_id = 3;
uint64 avatar_guid = 9;
uint32 skill_depot_id = 8;
uint32 entity_id = 1;
}
uint64 avatar_guid = 4;
uint32 skill_depot_id = 5;
uint32 entity_id = 10;
uint32 talent_id = 15;
}

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";
// Obf: PJENMAMNPEI

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";
// Obf: OGDABNFHACL

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 "WeeklyBossResinDiscountInfo.proto";

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 "BreakoutVector2.proto";

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";
// Obf: DGMFFJIKOKD

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";
// Obf: KGJJJGIPNLE

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 "BreakoutVector2.proto";

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";
// Obf: NFKLEIMGKJD

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 "BreakoutPhysicalObject.proto";

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 "BreakoutPhysicalObject.proto";

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";
// Obf: BKGOLPBLKMN

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";
// Obf: FIGLCLAIOJM

View File

@ -1,10 +1,14 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "Vector.proto";
// 4.6.0
// CmdId: 27362
message ChangeAvatarReq {
Vector move_pos = 12;
uint64 guid = 1;
bool is_move = 3;
uint32 skill_id = 7;
}
Vector move_pos = 8;
/* protected @ 0x28 */// uint32 skill_id = 65535;
/* protected @ 0x2C */// bool BKFBCEPLOLN = 65535;
bool is_move = 2;
uint64 guid = 7;
}

View File

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

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: OHNCBLIFLLB
//obf: DIBAILDCPJF
enum ChangeEnergyReason {
CHANGE_ENERGY_REASON_NONE = 0;
CHANGE_ENERGY_REASON_SKILL_START = 1;
CHANGE_ENERGY_REASON_NONE = 0;
CHANGE_ENERGY_REASON_SKILL_START = 1;
}

11
proto/ChangeHpDebts.proto Normal file
View File

@ -0,0 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
enum ChangeHpDebts {
CHANGE_HP_DEBTS_NONE = 0;
CHANGE_HP_DEBTS_PAY = 1;
CHANGE_HP_DEBTS_PAYFINISH = 2;
CHANGE_HP_DEBTS_CLEAR = 21;
CHANGE_HP_DEBTS_ADDABILiTY = 51;
}

View File

@ -1,53 +1,41 @@
// 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: HANDEHKHMKN
//obf: MKHKMLCFAAJ
enum ChangeHpReason {
CHANGE_HP_REASON_NONE = 0;
CHANGE_HP_REASON_SUB_AVATAR = 1;
CHANGE_HP_REASON_SUB_MONSTER = 2;
CHANGE_HP_REASON_SUB_GEAR = 3;
CHANGE_HP_REASON_SUB_ENVIR = 4;
CHANGE_HP_REASON_SUB_FALL = 5;
CHANGE_HP_REASON_SUB_DRAWN = 6;
CHANGE_HP_REASON_SUB_ABYSS = 7;
CHANGE_HP_REASON_SUB_ABILITY = 8;
CHANGE_HP_REASON_SUB_SUMMON = 9;
CHANGE_HP_REASON_SUB_SCRIPT = 10;
CHANGE_HP_REASON_SUB_GM = 11;
CHANGE_HP_REASON_SUB_KILL_SELF = 12;
CHANGE_HP_REASON_SUB_CLIMATE_COLD = 13;
CHANGE_HP_REASON_SUB_STORM_LIGHTNING = 14;
CHANGE_HP_REASON_SUB_KILL_SERVER_GADGET = 15;
CHANGE_HP_REASON_SUB_REPLACE = 16;
CHANGE_HP_REASON_SUB_PLAYER_LEAVE = 17;
CHANGE_HP_REASON_ATTACK_BY_ENERGY = 18;
CHANGE_HP_REASON_ATTACK_BY_RECYCLE = 19;
CHANGE_HP_REASON_SUB_PLAYER_BACK = 20;
CHANGE_HP_REASON_SUB_UGC = 21;
CHANGE_HP_REASON_BY_LUA = 51;
CHANGE_HP_REASON_ADD_ABILITY = 101;
CHANGE_HP_REASON_ADD_ITEM = 102;
CHANGE_HP_REASON_ADD_REVIVE = 103;
CHANGE_HP_REASON_ADD_UPGRADE = 104;
CHANGE_HP_REASON_ADD_STATUE = 105;
CHANGE_HP_REASON_ADD_BACKGROUND = 106;
CHANGE_HP_REASON_ADD_GM = 107;
CHANGE_HP_REASON_ADD_TRIAL_AVATAR_ACTIVITY = 108;
CHANGE_HP_REASON_ADD_ROGUELIKE_SPRING = 109;
CHANGE_HP_REASON_NONE = 0;
CHANGE_HP_REASON_SUB_AVATAR = 1;
CHANGE_HP_REASON_SUB_MONSTER = 2;
CHANGE_HP_REASON_SUB_GEAR = 3;
CHANGE_HP_REASON_SUB_ENVIR = 4;
CHANGE_HP_REASON_SUB_FALL = 5;
CHANGE_HP_REASON_SUB_DRAWN = 6;
CHANGE_HP_REASON_SUB_ABYSS = 7;
CHANGE_HP_REASON_SUB_ABILITY = 8;
CHANGE_HP_REASON_SUB_SUMMON = 9;
CHANGE_HP_REASON_SUB_SCRIPT = 10;
CHANGE_HP_REASON_SUB_GM = 11;
CHANGE_HP_REASON_SUB_KILL_SELF = 12;
CHANGE_HP_REASON_SUB_CLIMATE_COLD = 13;
CHANGE_HP_REASON_SUB_STORM_LIGHTNING = 14;
CHANGE_HP_REASON_SUB_KILL_SERVER_GADGET = 15;
CHANGE_HP_REASON_SUB_REPLACE = 16;
CHANGE_HP_REASON_SUB_PLAYER_LEAVE = 17;
CHANGE_HP_REASON_ATTACK_BY_ENERGY = 18;
CHANGE_HP_REASON_ATTACK_BY_RECYCLE = 19;
CHANGE_HP_REASON_SUB_PLAYER_BACK = 20;
CHANGE_HP_REASON_SUB_UGC = 21;
CHANGE_HP_REASON_SUB_DIRTY_WATER_EROSION = 22;
CHANGE_HP_REASON_SUB_DESTROY_SELF = 23;
CHANGE_HP_REASON_BY_LUA = 51;
CHANGE_HP_REASON_ADD_ABILITY = 101;
CHANGE_HP_REASON_ADD_ITEM = 102;
CHANGE_HP_REASON_ADD_REVIVE = 103;
CHANGE_HP_REASON_ADD_UPGRADE = 104;
CHANGE_HP_REASON_ADD_STATUE = 105;
CHANGE_HP_REASON_ADD_BACKGROUND = 106;
CHANGE_HP_REASON_ADD_GM = 107;
CHANGE_HP_REASON_ADD_TRIAL_AVATAR_ACTIVITY = 108;
CHANGE_HP_REASON_ADD_ROUGUELIKE_SPRING = 109;
CHANGE_HP_REASON_ADD_EFFIGY_CHALLENGE_V5 = 110;
}

View File

@ -1,24 +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";
// CmdId: 24187
// Obf: PJLNPGJDAIG
// 4.6.0
// CmdId: 5863
message ChangeTeamNameReq {
string team_name = 14;
int32 team_id = 3;
}
string team_name = 10;
}

View File

@ -1,25 +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: 29496
// Obf: JKAKFOEKEDH
// 4.6.0
// CmdId: 1674
message ChangeTeamNameRsp {
int32 team_id = 4;
int32 retcode = 5;
int32 team_id = 12;
string team_name = 15;
}
string team_name = 12;
}

View File

@ -0,0 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ChatChannelInfo.proto";
// 4.6.0
// CmdId: 4276
message ChatChannelDataNotify {
repeated ChatChannelInfo channel_info_list = 6;
repeated uint32 channel_list = 15;
}

View File

@ -0,0 +1,8 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
message ChatChannelInfo {
uint32 channel_id = 10;
bool is_shield = 11;
}

View File

@ -0,0 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ChatChannelInfo.proto";
// 4.6.0
// CmdId: 26577
message ChatChannelInfoNotify {
ChatChannelInfo channel_info = 5;
}

View File

@ -0,0 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 6815
message ChatChannelShieldNotify {
uint32 channel_id = 6;
bool is_shield = 8;
}

View File

@ -1,25 +1,24 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
message ChatInfo {
enum SystemHintType {
SYSTEM_HINT_TYPE_CHAT_NONE = 0;
SYSTEM_HINT_TYPE_CHAT_ENTER_WORLD = 1;
SYSTEM_HINT_TYPE_CHAT_LEAVE_WORLD = 2;
}
message SystemHint {
uint32 type = 10;
uint32 type = 11;
}
uint32 to_uid = 3;
uint32 time = 5;
uint32 uid = 11;
enum SystemHintType {
SYSTEM_HINT_TYPE_CHAT_NONE = 0;
SYSTEM_HINT_TYPE_CHAT_ENTER_WORLD = 1;
SYSTEM_HINT_TYPE_CHAT_LEAVE_WORLD = 2;
}
uint32 time = 1;
uint32 uid = 3;
uint32 to_uid = 6;
bool is_read = 11;
uint32 sequence = 14;
oneof content {
string text = 457;
uint32 icon = 1812;
SystemHint system_hint = 44;
string text = 1643;
uint32 icon = 1290;
SystemHint system_hint = 279;
}
bool is_read = 8;
uint32 sequence = 13;
}

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";
// CmdId: 9406
// Obf: GFGPACAMELF
// 4.6.0
// CmdId: 7877
message ChooseCurAvatarTeamReq {
uint32 team_id = 10;
}
}

View File

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

View File

@ -1,24 +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 "EntityAbilityInvokeEntry.proto";
// CmdId: 7505
// Obf: OLNCFNGPEFG
//obf: KNDIDFOJEJD
// CmdId: 22401
message ClientAbilitiesInitFinishCombineNotify {
repeated EntityAbilityInvokeEntry entity_invoke_list = 9;
repeated EntityAbilityInvokeEntry entity_invoke_list = 2;
}

View File

@ -1,9 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityInvokeEntry.proto";
//obf: PHBIGCMGNHM
// CmdId: 28122
message ClientAbilityChangeNotify {
repeated AbilityInvokeEntry invokes = 15;
uint32 entity_id = 11;
bool is_init_hash = 5;
bool is_init_hash = 6;
uint32 entity_id = 8;
repeated AbilityInvokeEntry invokes = 9;
}

View File

@ -1,8 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityInvokeEntry.proto";
//obf: HMICLOFFJGD
// CmdId: 21190
message ClientAbilityInitFinishNotify {
repeated AbilityInvokeEntry invokes = 13;
uint32 entity_id = 7;
repeated AbilityInvokeEntry invokes = 3;
uint32 entity_id = 14;
}

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";
// Obf: KCPDCBKPNNL

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";
// Obf: NFEECFHHDLJ

View File

@ -1,7 +1,10 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "CombatInvokeEntry.proto";
// 4.6.0
// CmdId: 7549
message CombatInvocationsNotify {
repeated CombatInvokeEntry invoke_list = 8;
}
repeated CombatInvokeEntry invoke_list = 12;
}

View File

@ -1,10 +1,12 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "ForwardType.proto";
import "CombatTypeArgument.proto";
import "CombatTypeArgument.proto";
import "ForwardType.proto";
// 4.6.0
message CombatInvokeEntry {
bytes combat_data = 6;
ForwardType forward_type = 1;
CombatTypeArgument argument_type = 3;
}
CombatTypeArgument argument_type = 3;
bytes combat_data = 13;
ForwardType forward_type = 14;
}

View File

@ -1,28 +1,29 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
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;
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;
}
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_MULTI_OVERRIDE_ANIM = 21;
COMBAT_TYPE_ARGUMENT_DEBUG_SYNC_MOTION = 22;
}

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 "Vector.proto";

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";
// Obf: IGADMBECIDG

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 "CustomCommonNodeInfo.proto";

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";
// Obf: HBNLGHJLHNL

View File

@ -0,0 +1,13 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
import "AbilityString.proto";
message DetailAbilityInfo {
int32 local_id = 1;
AbilityString parent_ability_name = 2;
uint32 instanced_ability_id = 4;
uint32 instanced_modifier_id = 5;
uint32 caster_id = 6;
int32 modifier_local_id = 7;
}

View File

@ -1,28 +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 "StoreType.proto";
import "Vector.proto";
// CmdId: 28541
// Obf: ALHJAJDGNDA
import "StoreType.proto";
// 4.6.0
// CmdId: 23960
message DropItemReq {
uint32 count = 10;
uint64 guid = 15;
StoreType store_type = 8;
Vector pos = 1;
}
uint64 guid = 3;
Vector pos = 6;
uint32 count = 12;
StoreType store_type = 13;
}

View File

@ -1,26 +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 "StoreType.proto";
// CmdId: 25342
// Obf: BFNMHPECFGC
// 4.6.0
// CmdId: 26504
message DropItemRsp {
StoreType store_type = 6;
uint64 guid = 12;
int32 retcode = 9;
}
uint64 guid = 2;
int32 retcode = 3;
StoreType store_type = 12;
}

View File

@ -1,25 +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 "PlayerDieType.proto";
// CmdId: 3239
// Obf: KLKMLEAJHNH
// 4.6.0
// CmdId: 23739
message DungeonPlayerDieReq {
PlayerDieType die_type = 2;
uint32 dungeon_id = 1;
}
uint32 dungeon_id = 3;
PlayerDieType die_type = 7;
}

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";
// Obf: KCHCJMNANCP

View File

@ -1,6 +1,8 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 21776
message EnterSceneDoneReq {
uint32 enter_scene_token = 8;
}
}

View File

@ -1,7 +1,9 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 9331
message EnterSceneDoneRsp {
uint32 enter_scene_token = 8;
int32 retcode = 15;
}
//int32 retcode = ?;
uint32 enter_scene_token = 3;
}

View File

@ -1,9 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 20243
message EnterScenePeerNotify {
uint32 enter_scene_token = 14;
uint32 peer_id = 1;
uint32 host_peer_id = 12;
uint32 dest_scene_id = 13;
}
uint32 dest_scene_id = 1;
uint32 enter_scene_token = 9;
uint32 peer_id = 11;//11 or 3
uint32 host_peer_id = 3;//11 or 3
}

View File

@ -1,6 +1,8 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 9184
message EnterSceneReadyReq {
uint32 enter_scene_token = 1;
}
uint32 enter_scene_token = 7;
}

View File

@ -1,7 +1,11 @@
syntax = "proto3";
option java_package = "emu.grasscutter.net.proto";
// 4.6.0
// CmdId: 1104
message EnterSceneReadyRsp {
uint32 enter_scene_token = 5;
int32 retcode = 2;
}
uint32 enter_scene_token = 10;
int32 retcode = 99;
}

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";
// Obf: NMCABLGJJEK

View File

@ -1,24 +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";
// CmdId: 29482
// Obf: OLIJIMJGACD
// 4.6.0
// CmdId: 28567
message EnterWorldAreaReq {
uint32 area_type = 8;
uint32 area_id = 15;
}
uint32 area_id = 4;
uint32 area_type = 13;
}

View File

@ -1,25 +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: 21362
// Obf: MIPCODPODKN
// 4.6.0
// CmdId: 26630
message EnterWorldAreaRsp {
uint32 area_type = 6;
int32 retcode = 13;
uint32 area_id = 9;
}
uint32 area_type = 10;
uint32 area_id = 13;
int32 retcode = 14;
}

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