diff --git a/proto/AAAOLHAKGIO.proto b/proto/AAAOLHAKGIO.proto new file mode 100644 index 00000000..b0f26d3b --- /dev/null +++ b/proto/AAAOLHAKGIO.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AAAOLHAKGIO { + int32 lgcfopjlbmb = 5; + uint32 aeinmdecjbh = 6; + uint32 kopcjfaeegb = 11; + uint32 triggerEntityId = 10; + uint32 mfpmgbedfid = 15; +} diff --git a/proto/AAJAAOKIJHF.proto b/proto/AAJAAOKIJHF.proto new file mode 100644 index 00000000..b81d9ff4 --- /dev/null +++ b/proto/AAJAAOKIJHF.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AAJAAOKIJHF { + string shareCode = 1; + uint32 ownerUid = 2; + uint32 moduleId = 3; + uint32 sceneId = 4; + uint32 blockId = 5; + bool isAllowCopy = 6; + uint32 createTime = 7; +} diff --git a/proto/ABLOFNDBMFD.proto b/proto/ABLOFNDBMFD.proto new file mode 100644 index 00000000..bf8bae7e --- /dev/null +++ b/proto/ABLOFNDBMFD.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "AAJAAOKIJHF.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ABLOFNDBMFD { + repeated AAJAAOKIJHF briefList = 1; + repeated string mohcaffojgh = 2; +} diff --git a/proto/ACBDKPGMCNH.proto b/proto/ACBDKPGMCNH.proto new file mode 100644 index 00000000..01ae8805 --- /dev/null +++ b/proto/ACBDKPGMCNH.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "CLMDHLAENEJ.proto"; +import "IDOELHBANCP.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ACBDKPGMCNH { + bool aicefchaici = 33; + CLMDHLAENEJ jllpcjcimge = 34; + repeated IDOELHBANCP kcllbppiboo = 999; +} diff --git a/proto/ACNFCMOJFAB.proto b/proto/ACNFCMOJFAB.proto new file mode 100644 index 00000000..24935686 --- /dev/null +++ b/proto/ACNFCMOJFAB.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "BOIPHJCFLBK.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ACNFCMOJFAB { + repeated BOIPHJCFLBK ecpfngapbhc = 14; +} diff --git a/proto/AEIENHDOBGJ.proto b/proto/AEIENHDOBGJ.proto new file mode 100644 index 00000000..6aeebae7 --- /dev/null +++ b/proto/AEIENHDOBGJ.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AEIENHDOBGJ { + Rotation pos = 7; + uint32 roomId = 6; + Rotation rot = 15; +} diff --git a/proto/AFLCCHIGHFC.proto b/proto/AFLCCHIGHFC.proto new file mode 100644 index 00000000..d490743f --- /dev/null +++ b/proto/AFLCCHIGHFC.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "KIEHIGCKOHO.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AFLCCHIGHFC { + int32 fekdaediiel = 1; + int32 ocjodgafcna = 2; + int32 paamjmeflfp = 3; + int32 lolngckkkek = 4; + repeated KIEHIGCKOHO nkifjffiglb = 5; +} diff --git a/proto/AGEEAJGINIF.proto b/proto/AGEEAJGINIF.proto new file mode 100644 index 00000000..84c699f3 --- /dev/null +++ b/proto/AGEEAJGINIF.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "bytes.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AGEEAJGINIF { + bytes value = 1; +} diff --git a/proto/AGGICDIEHNL.proto b/proto/AGGICDIEHNL.proto new file mode 100644 index 00000000..0922d6f0 --- /dev/null +++ b/proto/AGGICDIEHNL.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +enum AGGICDIEHNL { + APOHFKNGIIJ = 0; + FCCAGMOBPJI = 1; +} diff --git a/proto/AGNLMOPPIFH.proto b/proto/AGNLMOPPIFH.proto new file mode 100644 index 00000000..3df38c77 --- /dev/null +++ b/proto/AGNLMOPPIFH.proto @@ -0,0 +1,29 @@ +syntax = "proto3"; + + + +import "GGLAOFMEGGK.proto"; +import "IDOELHBANCP.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AGNLMOPPIFH { + string nmfofegamme = 1; + string hfjgecdoafe = 8; + bool elaipjlejji = 10; + bool knilnhpcmgi = 20; + bool lbkfdecnakj = 27; + GGLAOFMEGGK nnlmlfgoiii = 9; + string hocldjnpeib = 11; + bool cbinhdjifao = 16; + bool dhdndgbmaee = 17; + bool ipehnienipn = 18; + bool ehppkpbjbbi = 42; + bool aicefchaici = 23; + bool odnagkoinfk = 31; + string jngoobcimbd = 36; + string ihmcfgapoin = 37; + string lmnfjldcfjn = 39; + string fkigjalgefl = 40; + string njpddpidinm = 41; + repeated IDOELHBANCP kcllbppiboo = 999; +} diff --git a/proto/AHJAHOLPBLK.proto b/proto/AHJAHOLPBLK.proto new file mode 100644 index 00000000..f9391d21 --- /dev/null +++ b/proto/AHJAHOLPBLK.proto @@ -0,0 +1,5 @@ +syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; + +message AHJAHOLPBLK { +} diff --git a/proto/AIHKOACHDJH.proto b/proto/AIHKOACHDJH.proto new file mode 100644 index 00000000..096532d2 --- /dev/null +++ b/proto/AIHKOACHDJH.proto @@ -0,0 +1,27 @@ +syntax = "proto3"; + + + +import "ExhibitionDisplayInfo.proto"; +import "IELKGAMFOLN.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AIHKOACHDJH { + enum BMIDNGEDLLF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6566; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated ExhibitionDisplayInfo scoreList = 14; + uint32 duration = 10; + uint32 beginTime = 11; + uint32 stageType = 5; + repeated uint32 ggihgakpekk = 9; + uint32 playIndex = 12; + bool mdpgfcplekf = 13; + repeated IELKGAMFOLN settleInfoList = 7; + bool pdminbppnje = 3; +} diff --git a/proto/AJDBLJCEGMM.proto b/proto/AJDBLJCEGMM.proto new file mode 100644 index 00000000..9eead2aa --- /dev/null +++ b/proto/AJDBLJCEGMM.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AJDBLJCEGMM { + repeated string embnkjlnook = 1; +} diff --git a/proto/AJFDJLKFKJM.proto b/proto/AJFDJLKFKJM.proto new file mode 100644 index 00000000..8784de1c --- /dev/null +++ b/proto/AJFDJLKFKJM.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AJFDJLKFKJM { + float cjiphccaobe = 9; +} diff --git a/proto/ALCDEAAGBLC.proto b/proto/ALCDEAAGBLC.proto new file mode 100644 index 00000000..997e87c1 --- /dev/null +++ b/proto/ALCDEAAGBLC.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ALCDEAAGBLC { + int64 ckgefmkgkhh = 1; + int32 cmhoaideaep = 2; +} diff --git a/proto/ALCGBNPJBHL.proto b/proto/ALCGBNPJBHL.proto new file mode 100644 index 00000000..595445d2 --- /dev/null +++ b/proto/ALCGBNPJBHL.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "MassivePropSyncInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ALCGBNPJBHL { + bool isClearAll = 2; + repeated MassivePropSyncInfo massivePropList = 11; + repeated int64 amopeajfamd = 10; +} diff --git a/proto/AMNJIKMPMHN.proto b/proto/AMNJIKMPMHN.proto new file mode 100644 index 00000000..2f8b813a --- /dev/null +++ b/proto/AMNJIKMPMHN.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "BreakoutAction.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AMNJIKMPMHN { + BreakoutAction henpegmkbie = 9; +} diff --git a/proto/ANOKFBLCGGM.proto b/proto/ANOKFBLCGGM.proto new file mode 100644 index 00000000..7e509d29 --- /dev/null +++ b/proto/ANOKFBLCGGM.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "PDOPJIGDNPF.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ANOKFBLCGGM { + uint32 moduleId = 1; + uint32 sceneId = 2; + bool hoogfkfbckk = 3; + repeated PDOPJIGDNPF lpjicbgaldo = 4; +} diff --git a/proto/APHNJHLAANL.proto b/proto/APHNJHLAANL.proto new file mode 100644 index 00000000..eb8c9ecd --- /dev/null +++ b/proto/APHNJHLAANL.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message APHNJHLAANL { + enum FAKNJNGOBKG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 109; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 12; + repeated uint32 pbahnigkopb = 11; +} diff --git a/proto/AStarMethod.proto b/proto/AStarMethod.proto new file mode 100644 index 00000000..f51a2807 --- /dev/null +++ b/proto/AStarMethod.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +enum AStarMethod { + A_STAR_METHOD_CLASSIC = 0; + A_STAR_METHOD_TENDENCY = 1; + A_STAR_METHOD_ADAPTIVE = 2; + A_STAR_METHOD_INFLECTION = 3; +} diff --git a/proto/AbilityAppliedAbility.proto b/proto/AbilityAppliedAbility.proto index b1e29c5c..08ac4d8a 100644 --- a/proto/AbilityAppliedAbility.proto +++ b/proto/AbilityAppliedAbility.proto @@ -1,30 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AbilityScalarValueEntry.proto"; -import "AbilityString.proto"; + +import "AbilityString.proto"; +import "AbilityScalarValueEntry.proto"; option java_package = "emu.grasscutter.net.proto"; message AbilityAppliedAbility { - AbilityString ability_name = 1; - AbilityString ability_override = 2; - repeated AbilityScalarValueEntry override_map = 3; - uint32 instanced_ability_id = 4; + AbilityString abilityName = 1; + AbilityString abilityOverride = 2; + repeated AbilityScalarValueEntry overrideMap = 3; + uint32 instancedAbilityId = 4; } diff --git a/proto/AbilityAppliedModifier.proto b/proto/AbilityAppliedModifier.proto index 31a9a891..0fc85e34 100644 --- a/proto/AbilityAppliedModifier.proto +++ b/proto/AbilityAppliedModifier.proto @@ -1,40 +1,24 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AbilityAttachedModifier.proto"; -import "AbilityString.proto"; -import "ModifierDurability.proto"; + +import "AbilityString.proto"; +import "AbilityAttachedModifier.proto"; +import "ModifierDurability.proto"; option java_package = "emu.grasscutter.net.proto"; message AbilityAppliedModifier { - int32 modifier_local_id = 1; - uint32 parent_ability_entity_id = 2; - AbilityString parent_ability_name = 3; - AbilityString parent_ability_override = 4; - uint32 instanced_ability_id = 5; - uint32 instanced_modifier_id = 6; - float exist_duration = 7; - AbilityAttachedModifier attached_instanced_modifier = 8; - uint32 apply_entity_id = 9; - bool is_attached_parent_ability = 10; - ModifierDurability modifier_durability = 11; - uint32 sbuff_uid = 12; - bool is_serverbuff_modifier = 13; + int32 modifierLocalId = 1; + uint32 parentAbilityEntityId = 2; + AbilityString parentAbilityName = 3; + AbilityString parentAbilityOverride = 4; + uint32 instancedAbilityId = 5; + uint32 instancedModifierId = 6; + float existDuration = 7; + AbilityAttachedModifier attachedInstancedModifier = 8; + uint32 applyEntityId = 9; + bool isAttachedParentAbility = 10; + ModifierDurability modifierDurability = 11; + uint32 sbuffUid = 12; + bool isServerbuffModifier = 13; } diff --git a/proto/AbilityAttachedModifier.proto b/proto/AbilityAttachedModifier.proto index 0e881eb8..b227da26 100644 --- a/proto/AbilityAttachedModifier.proto +++ b/proto/AbilityAttachedModifier.proto @@ -1,28 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; 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; + bool isInvalid = 1; + uint32 ownerEntityId = 2; + uint32 instancedModifierId = 3; + bool isServerbuffModifier = 4; + int32 attachNameHash = 5; } diff --git a/proto/AbilityChangeNotify.proto b/proto/AbilityChangeNotify.proto index 00a9777c..6726516c 100644 --- a/proto/AbilityChangeNotify.proto +++ b/proto/AbilityChangeNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AbilityControlBlock.proto"; + +import "AbilityControlBlock.proto"; option java_package = "emu.grasscutter.net.proto"; message AbilityChangeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1127; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum KEAFGMDBMGG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1124; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - AbilityControlBlock ability_control_block = 6; - uint32 entity_id = 10; + AbilityControlBlock abilityControlBlock = 10; + uint32 entityId = 7; } diff --git a/proto/AbilityControlBlock.proto b/proto/AbilityControlBlock.proto index b5844c90..3aa40137 100644 --- a/proto/AbilityControlBlock.proto +++ b/proto/AbilityControlBlock.proto @@ -1,26 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AbilityEmbryo.proto"; + +import "AbilityEmbryo.proto"; option java_package = "emu.grasscutter.net.proto"; message AbilityControlBlock { - repeated AbilityEmbryo ability_embryo_list = 1; + repeated AbilityEmbryo abilityEmbryoList = 1; } diff --git a/proto/AbilityEmbryo.proto b/proto/AbilityEmbryo.proto index 6e6069c0..84de6402 100644 --- a/proto/AbilityEmbryo.proto +++ b/proto/AbilityEmbryo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AbilityEmbryo { - uint32 ability_id = 1; - fixed32 ability_name_hash = 2; - fixed32 ability_override_name_hash = 3; + uint32 abilityId = 1; + uint32 abilityNameHash = 2; + uint32 abilityOverrideNameHash = 3; } diff --git a/proto/AbilityGadget.proto b/proto/AbilityGadget.proto new file mode 100644 index 00000000..3e38fa5c --- /dev/null +++ b/proto/AbilityGadget.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AbilityGadget { + uint32 campId = 1; + uint32 olefgkameoj = 2; + uint32 targetEntityId = 3; +} diff --git a/proto/AbilityGadgetInfo.proto b/proto/AbilityGadgetInfo.proto index 11c6b25d..003c13fa 100644 --- a/proto/AbilityGadgetInfo.proto +++ b/proto/AbilityGadgetInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AbilityGadgetInfo { - uint32 camp_id = 1; - uint32 camp_target_type = 2; - uint32 target_entity_id = 3; + uint32 camp_id = 1; + uint32 camp_target_type = 2; + uint32 target_entity_id = 3; } diff --git a/proto/AbilityIdentifier.proto b/proto/AbilityIdentifier.proto index 821d9d2e..c2f0a87c 100644 --- a/proto/AbilityIdentifier.proto +++ b/proto/AbilityIdentifier.proto @@ -1,29 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AbilityIdentifier { - uint32 instanced_ability_id = 4; - uint32 modifier_owner_id = 10; - bool is_serverbuff_modifier = 14; - int32 local_id = 7; - uint32 ability_caster_id = 1; - uint32 instanced_modifier_id = 5; + uint32 modifierOwnerId = 3; + uint32 abilityCasterId = 10; + uint32 instancedAbilityId = 5; + bool isServerbuffModifier = 4; + int32 localId = 8; + uint32 instancedModifierId = 11; } diff --git a/proto/AbilityInvocationFailNotify.proto b/proto/AbilityInvocationFailNotify.proto new file mode 100644 index 00000000..a3217dd8 --- /dev/null +++ b/proto/AbilityInvocationFailNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "AbilityInvokeEntry.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AbilityInvocationFailNotify { + enum PIEICCOCBLN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1120; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + string reason = 4; + uint32 entityId = 13; + AbilityInvokeEntry invoke = 14; +} diff --git a/proto/AbilityInvocationFixedNotify.proto b/proto/AbilityInvocationFixedNotify.proto new file mode 100644 index 00000000..c56a7532 --- /dev/null +++ b/proto/AbilityInvocationFixedNotify.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; + + + +import "AbilityInvokeEntry.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AbilityInvocationFixedNotify { + enum LAPNALALFPP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1105; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + AbilityInvokeEntry Unk3300_LDIAOMFIBPL = 3; + AbilityInvokeEntry Unk3300_AHDFHHFHEFM = 6; + AbilityInvokeEntry Unk3300_ONGNOHLIIBO = 8; + AbilityInvokeEntry Unk3300_EMGKKHKLIEG = 5; + AbilityInvokeEntry Unk3300_KFMHLLHECCJ = 15; + AbilityInvokeEntry Unk3300_GAFFBFFKDIC = 1; +} diff --git a/proto/AbilityInvocationsNotify.proto b/proto/AbilityInvocationsNotify.proto index be03e414..9ecd7476 100644 --- a/proto/AbilityInvocationsNotify.proto +++ b/proto/AbilityInvocationsNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AbilityInvokeEntry.proto"; + +import "AbilityInvokeEntry.proto"; option java_package = "emu.grasscutter.net.proto"; message AbilityInvocationsNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1130; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum IJAPFFICMAM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1155; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated AbilityInvokeEntry invokes = 5; + repeated AbilityInvokeEntry invokes = 11; } diff --git a/proto/AbilityInvokeArgument.proto b/proto/AbilityInvokeArgument.proto index 1cbac5d0..e900f578 100644 --- a/proto/AbilityInvokeArgument.proto +++ b/proto/AbilityInvokeArgument.proto @@ -1,85 +1,71 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum AbilityInvokeArgument { - ABILITY_INVOKE_ARGUMENT_NONE = 0; - ABILITY_INVOKE_ARGUMENT_META_MODIFIER_CHANGE = 1; - ABILITY_INVOKE_ARGUMENT_META_COMMAND_MODIFIER_CHANGE_REQUEST = 2; - ABILITY_INVOKE_ARGUMENT_META_SPECIAL_FLOAT_ARGUMENT = 3; - ABILITY_INVOKE_ARGUMENT_META_OVERRIDE_PARAM = 4; - ABILITY_INVOKE_ARGUMENT_META_CLEAR_OVERRIDE_PARAM = 5; - ABILITY_INVOKE_ARGUMENT_META_REINIT_OVERRIDEMAP = 6; - ABILITY_INVOKE_ARGUMENT_META_GLOBAL_FLOAT_VALUE = 7; - ABILITY_INVOKE_ARGUMENT_META_CLEAR_GLOBAL_FLOAT_VALUE = 8; - ABILITY_INVOKE_ARGUMENT_META_ABILITY_ELEMENT_STRENGTH = 9; - ABILITY_INVOKE_ARGUMENT_META_ADD_OR_GET_ABILITY_AND_TRIGGER = 10; - ABILITY_INVOKE_ARGUMENT_META_SET_KILLED_STATE = 11; - ABILITY_INVOKE_ARGUMENT_META_SET_ABILITY_TRIGGER = 12; - ABILITY_INVOKE_ARGUMENT_META_ADD_NEW_ABILITY = 13; - ABILITY_INVOKE_ARGUMENT_META_REMOVE_ABILITY = 14; - ABILITY_INVOKE_ARGUMENT_META_SET_MODIFIER_APPLY_ENTITY = 15; - ABILITY_INVOKE_ARGUMENT_META_MODIFIER_DURABILITY_CHANGE = 16; - ABILITY_INVOKE_ARGUMENT_META_ELEMENT_REACTION_VISUAL = 17; - ABILITY_INVOKE_ARGUMENT_META_SET_POSE_PARAMETER = 18; - ABILITY_INVOKE_ARGUMENT_META_UPDATE_BASE_REACTION_DAMAGE = 19; - ABILITY_INVOKE_ARGUMENT_META_TRIGGER_ELEMENT_REACTION = 20; - ABILITY_INVOKE_ARGUMENT_META_LOSE_HP = 21; - ABILITY_INVOKE_ARGUMENT_META_DURABILITY_IS_ZERO = 22; - ABILITY_INVOKE_ARGUMENT_ACTION_TRIGGER_ABILITY = 50; - ABILITY_INVOKE_ARGUMENT_ACTION_SET_CRASH_DAMAGE = 51; - ABILITY_INVOKE_ARGUMENT_ACTION_EFFECT = 52; - ABILITY_INVOKE_ARGUMENT_ACTION_SUMMON = 53; - ABILITY_INVOKE_ARGUMENT_ACTION_BLINK = 54; - ABILITY_INVOKE_ARGUMENT_ACTION_CREATE_GADGET = 55; - ABILITY_INVOKE_ARGUMENT_ACTION_APPLY_LEVEL_MODIFIER = 56; - ABILITY_INVOKE_ARGUMENT_ACTION_GENERATE_ELEM_BALL = 57; - ABILITY_INVOKE_ARGUMENT_ACTION_SET_RANDOM_OVERRIDE_MAP_VALUE = 58; - ABILITY_INVOKE_ARGUMENT_ACTION_SERVER_MONSTER_LOG = 59; - ABILITY_INVOKE_ARGUMENT_ACTION_CREATE_TILE = 60; - ABILITY_INVOKE_ARGUMENT_ACTION_DESTROY_TILE = 61; - ABILITY_INVOKE_ARGUMENT_ACTION_FIRE_AFTER_IMAGE = 62; - ABILITY_INVOKE_ARGUMENT_ACTION_DEDUCT_STAMINA = 63; - ABILITY_INVOKE_ARGUMENT_ACTION_HIT_EFFECT = 64; - ABILITY_INVOKE_ARGUMENT_ACTION_SET_BULLET_TRACK_TARGET = 65; - ABILITY_INVOKE_ARGUMENT_MIXIN_AVATAR_STEER_BY_CAMERA = 100; - ABILITY_INVOKE_ARGUMENT_MIXIN_MONSTER_DEFEND = 101; - ABILITY_INVOKE_ARGUMENT_MIXIN_WIND_ZONE = 102; - ABILITY_INVOKE_ARGUMENT_MIXIN_COST_STAMINA = 103; - ABILITY_INVOKE_ARGUMENT_MIXIN_ELITE_SHIELD = 104; - ABILITY_INVOKE_ARGUMENT_MIXIN_ELEMENT_SHIELD = 105; - ABILITY_INVOKE_ARGUMENT_MIXIN_GLOBAL_SHIELD = 106; - ABILITY_INVOKE_ARGUMENT_MIXIN_SHIELD_BAR = 107; - ABILITY_INVOKE_ARGUMENT_MIXIN_WIND_SEED_SPAWNER = 108; - ABILITY_INVOKE_ARGUMENT_MIXIN_DO_ACTION_BY_ELEMENT_REACTION = 109; - ABILITY_INVOKE_ARGUMENT_MIXIN_FIELD_ENTITY_COUNT_CHANGE = 110; - ABILITY_INVOKE_ARGUMENT_MIXIN_SCENE_PROP_SYNC = 111; - ABILITY_INVOKE_ARGUMENT_MIXIN_WIDGET_MP_SUPPORT = 112; - ABILITY_INVOKE_ARGUMENT_MIXIN_DO_ACTION_BY_SELF_MODIFIER_ELEMENT_DURABILITY_RATIO = 113; - ABILITY_INVOKE_ARGUMENT_MIXIN_FIREWORKS_LAUNCHER = 114; - ABILITY_INVOKE_ARGUMENT_MIXIN_ATTACK_RESULT_CREATE_COUNT = 115; - ABILITY_INVOKE_ARGUMENT_MIXIN_UGC_TIME_CONTROL = 116; - ABILITY_INVOKE_ARGUMENT_MIXIN_AVATAR_COMBAT = 117; - ABILITY_INVOKE_ARGUMENT_MIXIN_DEATH_ZONE_REGIONAL_PLAY_MIXIN = 118; - ABILITY_INVOKE_ARGUMENT_MIXIN_UI_INTERACT = 119; - ABILITY_INVOKE_ARGUMENT_MIXIN_SHOOT_FROM_CAMERA = 120; - ABILITY_INVOKE_ARGUMENT_MIXIN_ERASE_BRICK_ACTIVITY = 121; - ABILITY_INVOKE_ARGUMENT_MIXIN_BREAKOUT = 122; + ABILITY_INVOKE_ARGUMENT_NONE = 0; + ABILITY_INVOKE_ARGUMENT_META_MODIFIER_CHANGE = 1; + ABILITY_INVOKE_ARGUMENT_META_COMMAND_MODIFIER_CHANGE_REQUEST = 2; + ABILITY_INVOKE_ARGUMENT_META_SPECIAL_FLOAT_ARGUMENT = 3; + ABILITY_INVOKE_ARGUMENT_META_OVERRIDE_PARAM = 4; + ABILITY_INVOKE_ARGUMENT_META_CLEAR_OVERRIDE_PARAM = 5; + ABILITY_INVOKE_ARGUMENT_META_REINIT_OVERRIDEMAP = 6; + ABILITY_INVOKE_ARGUMENT_META_GLOBAL_FLOAT_VALUE = 7; + ABILITY_INVOKE_ARGUMENT_META_CLEAR_GLOBAL_FLOAT_VALUE = 8; + ABILITY_INVOKE_ARGUMENT_META_ABILITY_ELEMENT_STRENGTH = 9; + ABILITY_INVOKE_ARGUMENT_META_ADD_OR_GET_ABILITY_AND_TRIGGER = 10; + ABILITY_INVOKE_ARGUMENT_META_SET_KILLED_STATE = 11; + ABILITY_INVOKE_ARGUMENT_META_SET_ABILITY_TRIGGER = 12; + ABILITY_INVOKE_ARGUMENT_META_ADD_NEW_ABILITY = 13; + ABILITY_INVOKE_ARGUMENT_META_REMOVE_ABILITY = 14; + ABILITY_INVOKE_ARGUMENT_META_SET_MODIFIER_APPLY_ENTITY = 15; + ABILITY_INVOKE_ARGUMENT_META_MODIFIER_DURABILITY_CHANGE = 16; + ABILITY_INVOKE_ARGUMENT_META_ELEMENT_REACTION_VISUAL = 17; + ABILITY_INVOKE_ARGUMENT_META_SET_POSE_PARAMETER = 18; + ABILITY_INVOKE_ARGUMENT_META_UPDATE_BASE_REACTION_DAMAGE = 19; + ABILITY_INVOKE_ARGUMENT_META_TRIGGER_ELEMENT_REACTION = 20; + ABILITY_INVOKE_ARGUMENT_META_LOSE_HP = 21; + ABILITY_INVOKE_ARGUMENT_META_DURABILITY_IS_ZERO = 22; + ABILITY_INVOKE_ARGUMENT_ACTION_TRIGGER_ABILITY = 50; + ABILITY_INVOKE_ARGUMENT_ACTION_SET_CRASH_DAMAGE = 51; + ABILITY_INVOKE_ARGUMENT_ACTION_EFFECT = 52; + ABILITY_INVOKE_ARGUMENT_ACTION_SUMMON = 53; + ABILITY_INVOKE_ARGUMENT_ACTION_BLINK = 54; + ABILITY_INVOKE_ARGUMENT_ACTION_CREATE_GADGET = 55; + ABILITY_INVOKE_ARGUMENT_ACTION_APPLY_LEVEL_MODIFIER = 56; + ABILITY_INVOKE_ARGUMENT_ACTION_GENERATE_ELEM_BALL = 57; + ABILITY_INVOKE_ARGUMENT_ACTION_SET_RANDOM_OVERRIDE_MAP_VALUE = 58; + ABILITY_INVOKE_ARGUMENT_ACTION_SERVER_MONSTER_LOG = 59; + ABILITY_INVOKE_ARGUMENT_ACTION_CREATE_TILE = 60; + ABILITY_INVOKE_ARGUMENT_ACTION_DESTROY_TILE = 61; + ABILITY_INVOKE_ARGUMENT_ACTION_FIRE_AFTER_IMAGE = 62; + ABILITY_INVOKE_ARGUMENT_ACTION_DEDUCT_STAMINA = 63; + ABILITY_INVOKE_ARGUMENT_ACTION_HIT_EFFECT = 64; + ABILITY_INVOKE_ARGUMENT_ACTION_SET_BULLET_TRACK_TARGET = 65; + Unk3400_GHKNBDBFGLN = 66; + ABILITY_INVOKE_ARGUMENT_MIXIN_AVATAR_STEER_BY_CAMERA = 100; + ABILITY_INVOKE_ARGUMENT_MIXIN_MONSTER_DEFEND = 101; + ABILITY_INVOKE_ARGUMENT_MIXIN_WIND_ZONE = 102; + ABILITY_INVOKE_ARGUMENT_MIXIN_COST_STAMINA = 103; + ABILITY_INVOKE_ARGUMENT_MIXIN_ELITE_SHIELD = 104; + ABILITY_INVOKE_ARGUMENT_MIXIN_ELEMENT_SHIELD = 105; + ABILITY_INVOKE_ARGUMENT_MIXIN_GLOBAL_SHIELD = 106; + ABILITY_INVOKE_ARGUMENT_MIXIN_SHIELD_BAR = 107; + ABILITY_INVOKE_ARGUMENT_MIXIN_WIND_SEED_SPAWNER = 108; + ABILITY_INVOKE_ARGUMENT_MIXIN_DO_ACTION_BY_ELEMENT_REACTION = 109; + ABILITY_INVOKE_ARGUMENT_MIXIN_FIELD_ENTITY_COUNT_CHANGE = 110; + ABILITY_INVOKE_ARGUMENT_MIXIN_SCENE_PROP_SYNC = 111; + ABILITY_INVOKE_ARGUMENT_MIXIN_WIDGET_MP_SUPPORT = 112; + ABILITY_INVOKE_ARGUMENT_MIXIN_DO_ACTION_BY_SELF_MODIFIER_ELEMENT_DURABILITY_RATIO = 113; + ABILITY_INVOKE_ARGUMENT_MIXIN_FIREWORKS_LAUNCHER = 114; + ABILITY_INVOKE_ARGUMENT_MIXIN_ATTACK_RESULT_CREATE_COUNT = 115; + ABILITY_INVOKE_ARGUMENT_MIXIN_UGC_TIME_CONTROL = 116; + ABILITY_INVOKE_ARGUMENT_MIXIN_AVATAR_COMBAT = 117; + ABILITY_INVOKE_ARGUMENT_MIXIN_DEATH_ZONE_REGIONAL_PLAY_MIXIN = 118; + ABILITY_INVOKE_ARGUMENT_MIXIN_UI_INTERACT = 119; + ABILITY_INVOKE_ARGUMENT_MIXIN_SHOOT_FROM_CAMERA = 120; + ABILITY_INVOKE_ARGUMENT_MIXIN_ERASE_BRICK_ACTIVITY = 121; + ABILITY_INVOKE_ARGUMENT_MIXIN_BREAKOUT = 122; + Unk3400_BFBGAADHEJC = 123; + Unk3400_HGOJHAPAJLD = 124; } diff --git a/proto/AbilityInvokeEntry.proto b/proto/AbilityInvokeEntry.proto index 9fdfe145..611115a4 100644 --- a/proto/AbilityInvokeEntry.proto +++ b/proto/AbilityInvokeEntry.proto @@ -1,36 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AbilityInvokeArgument.proto"; + + import "AbilityInvokeEntryHead.proto"; import "ForwardType.proto"; - +import "AbilityInvokeArgument.proto"; +import "bytes.proto"; option java_package = "emu.grasscutter.net.proto"; message AbilityInvokeEntry { - ForwardType forward_type = 9; - uint32 event_id = 13; - uint32 entity_id = 7; - uint32 forward_peer = 14; - double total_tick_time = 10; - AbilityInvokeEntryHead head = 3; - bytes ability_data = 2; - AbilityInvokeArgument argument_type = 8; - bool is_ignore_auth = 12; + AbilityInvokeEntryHead head = 13; + ForwardType forwardType = 15; + AbilityInvokeArgument argumentType = 12; + uint32 forwardPeer = 10; + bytes abilityData = 4; + uint32 eventId = 8; + uint32 entityId = 11; + double totalTickTime = 14; + bool isIgnoreAuth = 6; } diff --git a/proto/AbilityInvokeEntryHead.proto b/proto/AbilityInvokeEntryHead.proto index ff73d266..ef02582a 100644 --- a/proto/AbilityInvokeEntryHead.proto +++ b/proto/AbilityInvokeEntryHead.proto @@ -1,30 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AbilityInvokeEntryHead { - uint32 instanced_ability_id = 8; - uint32 target_id = 6; - uint32 server_buff_uid = 1; - int32 local_id = 12; - int32 modifier_config_local_id = 7; - bool is_serverbuff_modifier = 15; - uint32 instanced_modifier_id = 10; + int32 localId = 7; + uint32 serverBuffUid = 15; + uint32 targetId = 5; + uint32 instancedAbilityId = 2; + uint32 instancedModifierId = 9; + bool isServerbuffModifier = 10; + int32 modifierConfigLocalId = 8; } diff --git a/proto/AbilityMetaModifierChange.proto b/proto/AbilityMetaModifierChange.proto index 6a2f5140..bd81d431 100644 --- a/proto/AbilityMetaModifierChange.proto +++ b/proto/AbilityMetaModifierChange.proto @@ -22,6 +22,7 @@ import "AbilityString.proto"; import "ModifierAction.proto"; import "ModifierProperty.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message AbilityMetaModifierChange { diff --git a/proto/AbilityMetaReInitOverrideMap.proto b/proto/AbilityMetaReInitOverrideMap.proto index caebe2aa..3f648576 100644 --- a/proto/AbilityMetaReInitOverrideMap.proto +++ b/proto/AbilityMetaReInitOverrideMap.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "AbilityScalarValueEntry.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message AbilityMetaReInitOverrideMap { diff --git a/proto/AbilityMixinCostStamina.proto b/proto/AbilityMixinCostStamina.proto index d2913fd6..276339f3 100644 --- a/proto/AbilityMixinCostStamina.proto +++ b/proto/AbilityMixinCostStamina.proto @@ -17,6 +17,7 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message AbilityMixinCostStamina { diff --git a/proto/AbilityMixinRecoverInfo.proto b/proto/AbilityMixinRecoverInfo.proto index 12b03301..1de435c2 100644 --- a/proto/AbilityMixinRecoverInfo.proto +++ b/proto/AbilityMixinRecoverInfo.proto @@ -1,35 +1,16 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "BreakoutSnapShot.proto"; import "MassivePropSyncInfo.proto"; - option java_package = "emu.grasscutter.net.proto"; message AbilityMixinRecoverInfo { - uint32 local_id = 3; - repeated uint32 data_list = 4; - bool is_serverbuff_modifier = 5; - repeated MassivePropSyncInfo massive_prop_list = 6; - BreakoutSnapShot breakout_snap_shot = 7; - oneof source { - uint32 instanced_ability_id = 1; - uint32 instanced_modifier_id = 2; - } + oneof IMHIHMPKFBB { + uint32 instanced_ability_id = 1; + uint32 instanced_modifier_id = 2; + } + uint32 localId = 3; + repeated uint32 dataList = 4; + bool isServerbuffModifier = 5; + repeated MassivePropSyncInfo massivePropList = 6; + //BreakoutSnapShot breakoutSnapShot = 7; } diff --git a/proto/AbilityScalarType.proto b/proto/AbilityScalarType.proto index 78cb512d..139535a3 100644 --- a/proto/AbilityScalarType.proto +++ b/proto/AbilityScalarType.proto @@ -1,30 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum AbilityScalarType { - ABILITY_SCALAR_TYPE_UNKNOWN = 0; - ABILITY_SCALAR_TYPE_FLOAT = 1; - ABILITY_SCALAR_TYPE_INT = 2; - ABILITY_SCALAR_TYPE_BOOL = 3; - ABILITY_SCALAR_TYPE_TRIGGER = 4; - ABILITY_SCALAR_TYPE_STRING = 5; - ABILITY_SCALAR_TYPE_UINT = 6; + ABILITY_SCALAR_TYPE_UNKNOWN = 0; + ABILITY_SCALAR_TYPE_FLOAT = 1; + ABILITY_SCALAR_TYPE_INT = 2; + ABILITY_SCALAR_TYPE_BOOL = 3; + ABILITY_SCALAR_TYPE_TRIGGER = 4; + ABILITY_SCALAR_TYPE_STRING = 5; + ABILITY_SCALAR_TYPE_UINT = 6; } diff --git a/proto/AbilityScalarValueEntry.proto b/proto/AbilityScalarValueEntry.proto index da2278ab..2cef9060 100644 --- a/proto/AbilityScalarValueEntry.proto +++ b/proto/AbilityScalarValueEntry.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AbilityScalarType.proto"; -import "AbilityString.proto"; + +import "AbilityString.proto"; +import "AbilityScalarType.proto"; option java_package = "emu.grasscutter.net.proto"; message AbilityScalarValueEntry { - AbilityString key = 1; - AbilityScalarType value_type = 2; - oneof value { - float float_value = 3; - string string_value = 4; - int32 int_value = 5; - uint32 uint_value = 6; - } + AbilityString key = 1; + AbilityScalarType valueType = 2; + oneof FOOIPEBDMGK { + float float_value = 3; + string string_value = 4; + int32 int_value = 5; + uint32 uint_value = 6; + } } diff --git a/proto/AbilityString.proto b/proto/AbilityString.proto index f3c992a8..80855fef 100644 --- a/proto/AbilityString.proto +++ b/proto/AbilityString.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AbilityString { - oneof type { - string str = 1; - uint32 hash = 2; - } + oneof JNHEJKGOMOD { + string str = 1; + uint32 hash = 2; + } } diff --git a/proto/AbilitySyncStateInfo.proto b/proto/AbilitySyncStateInfo.proto index d466d690..eda58dec 100644 --- a/proto/AbilitySyncStateInfo.proto +++ b/proto/AbilitySyncStateInfo.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + +import "AbilityScalarValueEntry.proto"; import "AbilityAppliedAbility.proto"; import "AbilityAppliedModifier.proto"; import "AbilityMixinRecoverInfo.proto"; -import "AbilityScalarValueEntry.proto"; - option java_package = "emu.grasscutter.net.proto"; message AbilitySyncStateInfo { - bool is_inited = 1; - repeated AbilityScalarValueEntry dynamic_value_map = 2; - repeated AbilityAppliedAbility applied_abilities = 3; - repeated AbilityAppliedModifier applied_modifiers = 4; - repeated AbilityMixinRecoverInfo mixin_recover_infos = 5; - repeated AbilityScalarValueEntry sgv_dynamic_value_map = 6; + bool isInited = 1; + repeated AbilityScalarValueEntry dynamicValueMap = 2; + repeated AbilityAppliedAbility appliedAbilities = 3; + repeated AbilityAppliedModifier appliedModifiers = 4; + repeated AbilityMixinRecoverInfo mixinRecoverInfos = 5; + repeated AbilityScalarValueEntry sgvDynamicValueMap = 6; } diff --git a/proto/AcceptCityReputationRequestReq.proto b/proto/AcceptCityReputationRequestReq.proto new file mode 100644 index 00000000..6e941cfb --- /dev/null +++ b/proto/AcceptCityReputationRequestReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AcceptCityReputationRequestReq { + enum GIJDOCIHNGK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2870; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 cityId = 2; + uint32 requestId = 12; +} diff --git a/proto/AcceptCityReputationRequestRsp.proto b/proto/AcceptCityReputationRequestRsp.proto new file mode 100644 index 00000000..c6c7a882 --- /dev/null +++ b/proto/AcceptCityReputationRequestRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AcceptCityReputationRequestRsp { + enum AMELOFGEGPF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2862; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 cityId = 5; + int32 retcode = 3; + uint32 requestId = 9; +} diff --git a/proto/Achievement.proto b/proto/Achievement.proto new file mode 100644 index 00000000..fb34b461 --- /dev/null +++ b/proto/Achievement.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + +import "Status.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message Achievement { + uint32 curProgress = 10; + uint32 id = 13; + uint32 totalProgress = 14; + Status status = 5; + uint32 finishTimestamp = 6; +} diff --git a/proto/AchievementAllDataNotify.proto b/proto/AchievementAllDataNotify.proto new file mode 100644 index 00000000..65c17545 --- /dev/null +++ b/proto/AchievementAllDataNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "Achievement.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AchievementAllDataNotify { + enum BPPEPMJFOPO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2688; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 rewardTakenGoalIdList = 8; + repeated Achievement achievementList = 4; +} diff --git a/proto/AchievementInfo.proto b/proto/AchievementInfo.proto index 4fef43cb..2e6df6f8 100644 --- a/proto/AchievementInfo.proto +++ b/proto/AchievementInfo.proto @@ -1,7 +1,8 @@ // Proto has been converted from Sorapointa to Grasscutter format syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; +option java_package = "emu.grasscutter.net.proto";option java_package = "emu.grasscutter.net.proto"; + message AchievementInfo { enum AchievementInfoStatus { ACHIEVEMENT_INVALID = 0; diff --git a/proto/AchievementUpdateNotify.proto b/proto/AchievementUpdateNotify.proto new file mode 100644 index 00000000..860f3919 --- /dev/null +++ b/proto/AchievementUpdateNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "Achievement.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AchievementUpdateNotify { + enum LKDGLEKOFGN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2695; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated Achievement achievementList = 4; +} diff --git a/proto/ActivityAcceptAllGiveGiftReq.proto b/proto/ActivityAcceptAllGiveGiftReq.proto new file mode 100644 index 00000000..65dd400f --- /dev/null +++ b/proto/ActivityAcceptAllGiveGiftReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivityAcceptAllGiveGiftReq { + enum ILOFGDOHANL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8116; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 scheduleId = 10; +} diff --git a/proto/ActivityAcceptAllGiveGiftRsp.proto b/proto/ActivityAcceptAllGiveGiftRsp.proto new file mode 100644 index 00000000..25896230 --- /dev/null +++ b/proto/ActivityAcceptAllGiveGiftRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "ActivityAcceptGiftResultInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ActivityAcceptAllGiveGiftRsp { + enum NFEIACOAPGB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8316; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 scheduleId = 15; + int32 retcode = 11; + repeated ActivityAcceptGiftResultInfo acceptGiftResultInfoList = 14; +} diff --git a/proto/ActivityAcceptGiftResultInfo.proto b/proto/ActivityAcceptGiftResultInfo.proto new file mode 100644 index 00000000..e9587f90 --- /dev/null +++ b/proto/ActivityAcceptGiftResultInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivityAcceptGiftResultInfo { + map Unk3300_JFHLEBLOFMA = 14; + uint32 uid = 11; + map Unk3300_COCFNBJCFGP = 4; +} diff --git a/proto/ActivityAcceptGiveGiftReq.proto b/proto/ActivityAcceptGiveGiftReq.proto new file mode 100644 index 00000000..b660785e --- /dev/null +++ b/proto/ActivityAcceptGiveGiftReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivityAcceptGiveGiftReq { + enum PFFEKBBHEBG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8679; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 scheduleId = 2; + uint32 uid = 7; +} diff --git a/proto/ActivityAcceptGiveGiftRsp.proto b/proto/ActivityAcceptGiveGiftRsp.proto new file mode 100644 index 00000000..d9d8a5ee --- /dev/null +++ b/proto/ActivityAcceptGiveGiftRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "ActivityAcceptGiftResultInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ActivityAcceptGiveGiftRsp { + enum CKELMMOFJBG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8235; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 scheduleId = 4; + ActivityAcceptGiftResultInfo acceptGiftResultInfo = 9; + int32 retcode = 6; +} diff --git a/proto/ActivityBannerClearReq.proto b/proto/ActivityBannerClearReq.proto new file mode 100644 index 00000000..d340e45a --- /dev/null +++ b/proto/ActivityBannerClearReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivityBannerClearReq { + enum GJAJOIDANAN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2198; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 scheduleId = 6; + uint32 activityId = 3; +} diff --git a/proto/ActivityBannerClearRsp.proto b/proto/ActivityBannerClearRsp.proto new file mode 100644 index 00000000..b5f84faa --- /dev/null +++ b/proto/ActivityBannerClearRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivityBannerClearRsp { + enum CCNNOICPILH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2143; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 activityId = 14; + uint32 scheduleId = 1; + int32 retcode = 2; +} diff --git a/proto/ActivityBannerNotify.proto b/proto/ActivityBannerNotify.proto new file mode 100644 index 00000000..dc75b02c --- /dev/null +++ b/proto/ActivityBannerNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivityBannerNotify { + enum PGPJDNLAFNJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2005; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 scheduleId = 11; + uint32 activityId = 6; +} diff --git a/proto/ActivityCoinInfoNotify.proto b/proto/ActivityCoinInfoNotify.proto new file mode 100644 index 00000000..fbde4efe --- /dev/null +++ b/proto/ActivityCoinInfoNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivityCoinInfoNotify { + enum IILGOILMBMC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2055; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 activityId = 7; + map activityCoinMap = 14; + uint32 scheduleId = 15; +} diff --git a/proto/ActivityCondStateChangeNotify.proto b/proto/ActivityCondStateChangeNotify.proto new file mode 100644 index 00000000..43b319ea --- /dev/null +++ b/proto/ActivityCondStateChangeNotify.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +import "Uint32Pair.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ActivityCondStateChangeNotify { + enum ACEKBANJHLJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2089; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 expireCondList = 2; + repeated uint32 activatedSaleIdList = 1; + uint32 scheduleId = 15; + uint32 activityId = 3; + repeated Uint32Pair disableTransferPointInteractionList = 8; + repeated uint32 meetCondList = 13; +} diff --git a/proto/ActivityDisableTransferPointInteractionNotify.proto b/proto/ActivityDisableTransferPointInteractionNotify.proto new file mode 100644 index 00000000..2346badb --- /dev/null +++ b/proto/ActivityDisableTransferPointInteractionNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "Uint32Pair.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ActivityDisableTransferPointInteractionNotify { + enum CDGCBPNNOMC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8440; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isDisable = 15; + Uint32Pair scenePointPair = 8; +} diff --git a/proto/ActivityDungeonAvatar.proto b/proto/ActivityDungeonAvatar.proto new file mode 100644 index 00000000..f966f538 --- /dev/null +++ b/proto/ActivityDungeonAvatar.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivityDungeonAvatar { + uint32 avatarId = 1; + bool isTrial = 2; + uint32 costumeId = 3; +} diff --git a/proto/ActivityFriendGiftWishData.proto b/proto/ActivityFriendGiftWishData.proto new file mode 100644 index 00000000..b96b2255 --- /dev/null +++ b/proto/ActivityFriendGiftWishData.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "ProfilePicture.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ActivityFriendGiftWishData { + uint32 uid = 4; + map giftNumMap = 1; + string remarkName = 2; + string nickname = 9; + ProfilePicture profilePicture = 3; +} diff --git a/proto/ActivityGetCanGiveFriendGiftReq.proto b/proto/ActivityGetCanGiveFriendGiftReq.proto new file mode 100644 index 00000000..039bb983 --- /dev/null +++ b/proto/ActivityGetCanGiveFriendGiftReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivityGetCanGiveFriendGiftReq { + enum PEELJEBIGBJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8383; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 scheduleId = 8; +} diff --git a/proto/ActivityGetCanGiveFriendGiftRsp.proto b/proto/ActivityGetCanGiveFriendGiftRsp.proto new file mode 100644 index 00000000..c2b64486 --- /dev/null +++ b/proto/ActivityGetCanGiveFriendGiftRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivityGetCanGiveFriendGiftRsp { + enum MJMDIEGOJPJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8965; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 scheduleId = 10; + map giftNumMap = 4; + int32 retcode = 12; +} diff --git a/proto/ActivityGetFriendGiftWishListReq.proto b/proto/ActivityGetFriendGiftWishListReq.proto new file mode 100644 index 00000000..06f8896a --- /dev/null +++ b/proto/ActivityGetFriendGiftWishListReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivityGetFriendGiftWishListReq { + enum BCIOGIDBNAF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8246; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 scheduleId = 11; +} diff --git a/proto/ActivityGetFriendGiftWishListRsp.proto b/proto/ActivityGetFriendGiftWishListRsp.proto new file mode 100644 index 00000000..f5f25b8d --- /dev/null +++ b/proto/ActivityGetFriendGiftWishListRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "ActivityFriendGiftWishData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ActivityGetFriendGiftWishListRsp { + enum CAALHDHHDIH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8145; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 scheduleId = 8; + repeated ActivityFriendGiftWishData friendGiftWishList = 13; + int32 retcode = 15; +} diff --git a/proto/ActivityGetRecvGiftListReq.proto b/proto/ActivityGetRecvGiftListReq.proto new file mode 100644 index 00000000..d081061d --- /dev/null +++ b/proto/ActivityGetRecvGiftListReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivityGetRecvGiftListReq { + enum DMCDNLPJHKJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8622; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 scheduleId = 5; +} diff --git a/proto/ActivityGetRecvGiftListRsp.proto b/proto/ActivityGetRecvGiftListRsp.proto new file mode 100644 index 00000000..a55a9552 --- /dev/null +++ b/proto/ActivityGetRecvGiftListRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "ActivityRecvGiftData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ActivityGetRecvGiftListRsp { + enum KHCFDOOIHOM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8705; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 15; + repeated ActivityRecvGiftData recvGiftList = 7; + uint32 scheduleId = 10; +} diff --git a/proto/ActivityGiveFriendGiftReq.proto b/proto/ActivityGiveFriendGiftReq.proto new file mode 100644 index 00000000..382e8df1 --- /dev/null +++ b/proto/ActivityGiveFriendGiftReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivityGiveFriendGiftReq { + enum FFJGCFPIEIE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8919; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 uid = 15; + map giftNumMap = 9; + uint32 scheduleId = 13; +} diff --git a/proto/ActivityGiveFriendGiftRsp.proto b/proto/ActivityGiveFriendGiftRsp.proto new file mode 100644 index 00000000..9b67df54 --- /dev/null +++ b/proto/ActivityGiveFriendGiftRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivityGiveFriendGiftRsp { + enum JNEDHBGDFJJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8707; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 limitGiftList = 2; + int32 retcode = 3; + uint32 scheduleId = 13; +} diff --git a/proto/ActivityHaveRecvGiftNotify.proto b/proto/ActivityHaveRecvGiftNotify.proto new file mode 100644 index 00000000..4b57100c --- /dev/null +++ b/proto/ActivityHaveRecvGiftNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivityHaveRecvGiftNotify { + enum NKCGFPNKJOE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8600; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 scheduleId = 10; +} diff --git a/proto/ActivityInfo.proto b/proto/ActivityInfo.proto index f5177363..8d773440 100644 --- a/proto/ActivityInfo.proto +++ b/proto/ActivityInfo.proto @@ -1,177 +1,172 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + +import "SamLampInfo.proto"; +import "CrucibleInfo.proto"; +import "SalesmanInfo.proto"; +import "TrialAvatarInfo.proto"; +import "DeliveryInfo.proto"; +import "AsterInfo.proto"; +import "FlightInfo.proto"; +import "DragonSpineInfo.proto"; +import "EffigyInfo.proto"; +import "TreasureMapInfo.proto"; +import "BlessingInfo.proto"; +import "SeaLampInfo.proto"; +import "ExpeditionInfo.proto"; +import "ArenaChallengeInfo.proto"; +import "FleurFairInfo.proto"; +import "WaterSpiritInfo.proto"; +import "ChallnelerSlabInfo.proto"; +import "MistTrialActivityInfo.proto"; +import "HideAndSeekInfo.proto"; +import "FindHilichurlInfo.proto"; +import "SummerTimeInfo.proto"; +import "BuoyantCombatInfo.proto"; +import "EchoShellInfo.proto"; +import "BounceConjuringInfo.proto"; +import "BlitzRushInfo.proto"; +import "ChessInfo.proto"; +import "SumoInfo.proto"; +import "MoonfinTrialInfo.proto"; +import "LunaRiteInfo.proto"; +import "PlantFlowerInfo.proto"; +import "MusicGameInfo.proto"; +import "RoguelikeDungoenInfo.proto"; +import "DigInfo.proto"; +import "HachiInfo.proto"; +import "WinterCampInfo.proto"; +import "PotionInfo.proto"; +import "TanukiTravelActivityInfo.proto"; +import "LanternRiteActivityInfo.proto"; +import "MichiaeMatsuriInfo.proto"; +import "BartenderInfo.proto"; +import "UgcInfo.proto"; +import "CrystalLinkInfo.proto"; +import "IrodoriInfo.proto"; +import "PhotoInfo.proto"; +import "SpiceInfo.proto"; +import "GachaInfo.proto"; +import "LuminanceStoneChallengeInfo.proto"; +import "RogueDiaryInfo.proto"; +import "SummerTimeV2Info.proto"; +import "IslandPartyInfo.proto"; +import "GearInfo.proto"; +import "GravenInnocenceInfo.proto"; +import "InstableSprayInfo.proto"; +import "MuqadasPotionInfo.proto"; +import "TreasureSeelieInfo.proto"; +import "RockBoardExploreInfo.proto"; +import "VintageInfo.proto"; +import "WindFieldInfo.proto"; +import "FungusFighterInfo.proto"; +import "CharAmusementInfo.proto"; +import "EffigyChallengeInfo.proto"; +import "CoinCollectInfo.proto"; +import "BrickBreakerInfo.proto"; +import "DuelHeartInfo.proto"; +import "SeaLampV3Info.proto"; +import "TeamChainInfo.proto"; +import "ElectroherculesBattleInfo.proto"; +import "GcgFestivalInfo.proto"; import "ActivityPushTipsData.proto"; import "ActivityWatcherInfo.proto"; -import "ArenaChallengeActivityDetailInfo.proto"; -import "AsterActivityDetailInfo.proto"; -import "BartenderActivityDetailInfo.proto"; -import "BlessingActivityDetailInfo.proto"; -import "BlitzRushActivityDetailInfo.proto"; -import "BounceConjuringActivityDetailInfo.proto"; -import "BrickBreakerDetailInfo.proto"; -import "BuoyantCombatDetailInfo.proto"; -import "ChannelerSlabActivityDetailInfo.proto"; -import "CharAmusementDetailInfo.proto"; -import "ChessActivityDetailInfo.proto"; -import "CoinCollectDetailInfo.proto"; -import "CrucibleActivityDetailInfo.proto"; -import "CrystalLinkActivityDetailInfo.proto"; -import "DeliveryActivityDetailInfo.proto"; -import "DigActivityDetailInfo.proto"; -import "DragonSpineActivityDetailInfo.proto"; -import "EchoShellDetailInfo.proto"; -import "EffigyActivityDetailInfo.proto"; -import "EffigyChallengeV2DetailInfo.proto"; -import "ExpeditionActivityDetailInfo.proto"; -import "FindHilichurlDetailInfo.proto"; -import "FleurFairActivityDetailInfo.proto"; -import "FlightActivityDetailInfo.proto"; -import "FungusFighterDetailInfo.proto"; -import "GachaActivityDetailInfo.proto"; -import "GearActivityDetailInfo.proto"; -import "GravenInnocenceDetailInfo.proto"; -import "HachiActivityDetailInfo.proto"; -import "HideAndSeekActivityDetailInfo.proto"; -import "InstableSprayDetailInfo.proto"; -import "IrodoriActivityDetailInfo.proto"; -import "IslandPartyDetailInfo.proto"; -import "LanternRiteActivityDetailInfo.proto"; -import "LuminanceStoneChallengeActivityDetailInfo.proto"; -import "LunaRiteDetailInfo.proto"; -import "MichiaeMatsuriActivityDetailInfo.proto"; -import "MistTrialActivityDetailInfo.proto"; -import "MoonfinTrialActivityDetailInfo.proto"; -import "MuqadasPotionActivityDetailInfo.proto"; -import "MusicGameActivityDetailInfo.proto"; -import "PhotoActivityDetailInfo.proto"; -import "PlantFlowerActivityDetailInfo.proto"; -import "PotionActivityDetailInfo.proto"; -import "RockBoardExploreDetailInfo.proto"; -import "RogueDiaryActivityDetailInfo.proto"; -import "RoguelikeDungeonActivityDetailInfo.proto"; -import "SalesmanActivityDetailInfo.proto"; -import "SeaLampActivityDetailInfo.proto"; -import "SeaLampActivityInfo.proto"; -import "SpiceActivityDetailInfo.proto"; -import "SummerTimeDetailInfo.proto"; -import "SummerTimeV2DetailInfo.proto"; -import "SumoActivityDetailInfo.proto"; -import "TanukiTravelActivityDetailInfo.proto"; -import "TreasureMapActivityDetailInfo.proto"; -import "TreasureSeelieActivityDetailInfo.proto"; -import "TrialAvatarActivityDetailInfo.proto"; -import "UgcActivityDetailInfo.proto"; -import "VintageActivityDetailInfo.proto"; -import "WaterSpiritActivityDetailInfo.proto"; -import "WindFieldDetailInfo.proto"; -import "WinterCampActivityDetailInfo.proto"; - option java_package = "emu.grasscutter.net.proto"; message ActivityInfo { - bool Unk3300_MJNPGEKLOCG = 360; - bool is_finished = 8; - uint32 cur_score = 1268; - uint32 schedule_id = 7; - uint32 score_limit = 1870; - bool Unk3300_ICNJJKDHPCH = 14; - repeated uint32 meet_cond_list = 11; - bool Unk3300_NEPKLLBJFKK = 1645; - repeated ActivityWatcherInfo watcher_info_list = 6; - repeated ActivityPushTipsData activity_push_tips_data_list = 1867; - uint32 activity_id = 13; - repeated uint32 taken_reward_list = 1889; - uint32 selected_avatar_reward_id = 697; - map activity_coin_map = 36; - uint32 first_day_start_time = 786; - bool Unk3300_ABJKLALKLDG = 1486; - uint32 activity_type = 3; - bool Unk3300_CBCEHLJJOGI = 1375; - uint32 begin_time = 1; - bool Unk3300_MDBDPIBEGGH = 12; - map wish_gift_num_map = 939; - uint32 end_time = 10; - repeated uint32 expire_cond_list = 5; - oneof detail { - SeaLampActivityDetailInfo sam_lamp_info = 2; - CrucibleActivityDetailInfo crucible_info = 15; - SalesmanActivityDetailInfo salesman_info = 9; - TrialAvatarActivityDetailInfo trial_avatar_info = 4; - DeliveryActivityDetailInfo delivery_info = 1141; - AsterActivityDetailInfo aster_info = 1977; - FlightActivityDetailInfo flight_info = 2011; - DragonSpineActivityDetailInfo dragon_spine_info = 1310; - EffigyActivityDetailInfo effigy_info = 1374; - TreasureMapActivityDetailInfo treasure_map_info = 1925; - BlessingActivityDetailInfo blessing_info = 1962; - SeaLampActivityInfo sea_lamp_info = 247; - ExpeditionActivityDetailInfo expedition_info = 1752; - ArenaChallengeActivityDetailInfo arena_challenge_info = 538; - FleurFairActivityDetailInfo fleur_fair_info = 1447; - WaterSpiritActivityDetailInfo water_spirit_info = 635; - ChannelerSlabActivityDetailInfo channeler_slab_info = 846; - MistTrialActivityDetailInfo mist_trial_activity_info = 432; - HideAndSeekActivityDetailInfo hide_and_seek_info = 839; - FindHilichurlDetailInfo find_hilichurl_info = 378; - SummerTimeDetailInfo summer_time_info = 1910; - BuoyantCombatDetailInfo buoyant_combat_info = 686; - EchoShellDetailInfo echo_shell_info = 1162; - BounceConjuringActivityDetailInfo bounce_conjuring_info = 922; - BlitzRushActivityDetailInfo blitz_rush_info = 64; - ChessActivityDetailInfo chess_info = 1006; - SumoActivityDetailInfo sumo_info = 505; - MoonfinTrialActivityDetailInfo moonfin_trial_info = 766; - LunaRiteDetailInfo luna_rite_info = 1545; - PlantFlowerActivityDetailInfo plant_flower_info = 1274; - MusicGameActivityDetailInfo music_game_info = 1989; - RoguelikeDungeonActivityDetailInfo roguelike_dungeon_info = 970; - DigActivityDetailInfo dig_info = 1862; - HachiActivityDetailInfo hachi_info = 511; - WinterCampActivityDetailInfo winter_camp_info = 699; - PotionActivityDetailInfo potion_info = 1567; - TanukiTravelActivityDetailInfo tanuki_travel_activity_info = 1348; - LanternRiteActivityDetailInfo lantern_rite_activity_info = 237; - MichiaeMatsuriActivityDetailInfo michiae_matsuri_info = 1839; - BartenderActivityDetailInfo bartender_info = 551; - UgcActivityDetailInfo ugc_info = 1182; - CrystalLinkActivityDetailInfo crystal_link_info = 812; - IrodoriActivityDetailInfo irodori_info = 1056; - PhotoActivityDetailInfo photo_info = 1822; - SpiceActivityDetailInfo spice_info = 789; - GachaActivityDetailInfo gacha_info = 1297; - LuminanceStoneChallengeActivityDetailInfo luminance_stone_challenge_info = 444; - RogueDiaryActivityDetailInfo rogue_diary_info = 560; - SummerTimeV2DetailInfo summer_time_v2_info = 411; - IslandPartyDetailInfo island_party_info = 740; - GearActivityDetailInfo gear_info = 1482; - GravenInnocenceDetailInfo graven_innocence_info = 1928; - InstableSprayDetailInfo instable_spray_info = 1145; - MuqadasPotionActivityDetailInfo muqadas_potion_info = 1662; - TreasureSeelieActivityDetailInfo treasure_seelie_info = 1032; - RockBoardExploreDetailInfo rock_board_explore_info = 1265; - VintageActivityDetailInfo vintage_info = 1308; - WindFieldDetailInfo wind_field_info = 468; - FungusFighterDetailInfo fungus_fighter_info = 1757; - CharAmusementDetailInfo char_amusement_info = 621; - EffigyChallengeV2DetailInfo effigy_challenge_info = 233; - CoinCollectDetailInfo coin_collect_info = 2002; - BrickBreakerDetailInfo brick_breaker_info = 1522; - } + map activityCoinMap = 406; + uint32 scoreLimit = 1497; + repeated uint32 takenRewardList = 644; + bool Unk3300_MDBDPIBEGGH = 7; + bool Unk3300_MJNPGEKLOCG = 754; + uint32 endTime = 12; + uint32 activityType = 10; + uint32 selectedAvatarRewardId = 519; + repeated uint32 meetCondList = 2; + uint32 activityId = 15; + bool Unk3300_ABJKLALKLDG = 537; + bool isFinished = 3; + repeated ActivityPushTipsData activityPushTipsDataList = 336; + repeated ActivityWatcherInfo watcherInfoList = 14; + bool Unk3300_CBCEHLJJOGI = 1126; + uint32 scheduleId = 6; + repeated uint32 expireCondList = 9; + repeated uint32 fdjefldhela = 2021; + bool Unk3300_ICNJJKDHPCH = 11; + uint32 firstDayStartTime = 598; + uint32 curScore = 396; + map wishGiftNumMap = 1052; + bool Unk3300_NEPKLLBJFKK = 1637; + uint32 beginTime = 5; + oneof IKJIPGGMNBK { + SamLampInfo sam_lamp_info = 4; + CrucibleInfo crucible_info = 13; + SalesmanInfo salesman_info = 1; + TrialAvatarInfo trial_avatar_info = 8; + DeliveryInfo delivery_info = 32; + AsterInfo aster_info = 1808; + FlightInfo flight_info = 1062; + DragonSpineInfo dragon_spine_info = 378; + EffigyInfo effigy_info = 1991; + TreasureMapInfo treasure_map_info = 546; + BlessingInfo blessing_info = 1198; + SeaLampInfo sea_lamp_info = 578; + ExpeditionInfo expedition_info = 930; + ArenaChallengeInfo arena_challenge_info = 699; + FleurFairInfo fleur_fair_info = 1116; + WaterSpiritInfo water_spirit_info = 1651; + ChallnelerSlabInfo challneler_slab_info = 1135; + MistTrialActivityInfo mist_trial_activity_info = 1320; + HideAndSeekInfo hide_and_seek_info = 1077; + FindHilichurlInfo find_hilichurl_info = 417; + SummerTimeInfo summer_time_info = 1477; + BuoyantCombatInfo buoyant_combat_info = 1277; + EchoShellInfo echo_shell_info = 1172; + BounceConjuringInfo bounce_conjuring_info = 278; + BlitzRushInfo blitz_rush_info = 192; + ChessInfo chess_info = 1797; + SumoInfo sumo_info = 1379; + MoonfinTrialInfo moonfin_trial_info = 1122; + LunaRiteInfo luna_rite_info = 82; + PlantFlowerInfo plant_flower_info = 1864; + MusicGameInfo music_game_info = 1220; + RoguelikeDungoenInfo roguelike_dungoen_info = 1817; + DigInfo dig_info = 168; + HachiInfo hachi_info = 1663; + WinterCampInfo winter_camp_info = 114; + PotionInfo potion_info = 1552; + TanukiTravelActivityInfo tanuki_travel_activity_info = 1453; + LanternRiteActivityInfo lantern_rite_activity_info = 1372; + MichiaeMatsuriInfo michiae_matsuri_info = 428; + BartenderInfo bartender_info = 35; + UgcInfo ugc_info = 589; + CrystalLinkInfo crystal_link_info = 1375; + IrodoriInfo irodori_info = 1014; + PhotoInfo photo_info = 309; + SpiceInfo spice_info = 1446; + GachaInfo gacha_info = 1177; + LuminanceStoneChallengeInfo luminance_stone_challenge_info = 142; + RogueDiaryInfo rogue_diary_info = 397; + SummerTimeV2Info summer_time_v2info = 951; + IslandPartyInfo island_party_info = 1631; + GearInfo gear_info = 1801; + GravenInnocenceInfo graven_innocence_info = 1173; + InstableSprayInfo instable_spray_info = 944; + MuqadasPotionInfo muqadas_potion_info = 1350; + TreasureSeelieInfo treasure_seelie_info = 1142; + RockBoardExploreInfo rock_board_explore_info = 1273; + VintageInfo vintage_info = 1316; + WindFieldInfo wind_field_info = 2029; + FungusFighterInfo fungus_fighter_info = 1543; + CharAmusementInfo char_amusement_info = 504; + EffigyChallengeInfo effigy_challenge_info = 1144; + CoinCollectInfo coin_collect_info = 559; + BrickBreakerInfo brick_breaker_info = 1275; + DuelHeartInfo duel_heart_info = 221; + SeaLampV3Info sea_lamp_v3info = 1080; + TeamChainInfo team_chain_info = 144; + ElectroherculesBattleInfo electrohercules_battle_info = 172; + GcgFestivalInfo gcg_festival_info = 71; + } } diff --git a/proto/ActivityInfoNotify.proto b/proto/ActivityInfoNotify.proto index 16082d31..0e900f43 100644 --- a/proto/ActivityInfoNotify.proto +++ b/proto/ActivityInfoNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ActivityInfo.proto"; + +import "ActivityInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message ActivityInfoNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2119; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum KBFOADCMONG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2136; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - ActivityInfo activity_info = 12; + ActivityInfo activityInfo = 3; } diff --git a/proto/ActivityPlayOpenAnimNotify.proto b/proto/ActivityPlayOpenAnimNotify.proto new file mode 100644 index 00000000..a5bfec35 --- /dev/null +++ b/proto/ActivityPlayOpenAnimNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivityPlayOpenAnimNotify { + enum BOFOPFKDLEN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2178; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 activityId = 15; +} diff --git a/proto/ActivityPushTipsData.proto b/proto/ActivityPushTipsData.proto index ef90e895..1703f135 100644 --- a/proto/ActivityPushTipsData.proto +++ b/proto/ActivityPushTipsData.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ActivityPushTipsState.proto"; + +import "ActivityPushTipsState.proto"; option java_package = "emu.grasscutter.net.proto"; message ActivityPushTipsData { - uint32 activity_push_tips_id = 14; - ActivityPushTipsState state = 3; -} + ActivityPushTipsState state = 12; + uint32 activityPushTipsId = 11; +} \ No newline at end of file diff --git a/proto/ActivityPushTipsInfoNotify.proto b/proto/ActivityPushTipsInfoNotify.proto new file mode 100644 index 00000000..172e7e07 --- /dev/null +++ b/proto/ActivityPushTipsInfoNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "ActivityPushTipsData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ActivityPushTipsInfoNotify { + enum EGCLPKNLNMG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8527; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 scheduleId = 6; + repeated ActivityPushTipsData activityPushTipsDataList = 7; + uint32 activityId = 9; +} diff --git a/proto/ActivityPushTipsState.proto b/proto/ActivityPushTipsState.proto index 61bf9419..07a1eee5 100644 --- a/proto/ActivityPushTipsState.proto +++ b/proto/ActivityPushTipsState.proto @@ -1,26 +1,7 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - enum ActivityPushTipsState { - ACTIVITY_PUSH_TIPS_STATE_NONE = 0; - ACTIVITY_PUSH_TIPS_STATE_START = 1; - ACTIVITY_PUSH_TIPS_STATE_READ = 2; + ACTIVITY_PUSH_TIPS_STATE_NONE = 0; + ACTIVITY_PUSH_TIPS_STATE_START = 1; + ACTIVITY_PUSH_TIPS_STATE_READ = 2; } diff --git a/proto/ActivityReadPushTipsReq.proto b/proto/ActivityReadPushTipsReq.proto new file mode 100644 index 00000000..7cbdc454 --- /dev/null +++ b/proto/ActivityReadPushTipsReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivityReadPushTipsReq { + enum DLNMIJEFDKL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8896; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 activityPushTipsIdList = 11; + uint32 activityId = 14; +} diff --git a/proto/ActivityReadPushTipsRsp.proto b/proto/ActivityReadPushTipsRsp.proto new file mode 100644 index 00000000..5fad65fa --- /dev/null +++ b/proto/ActivityReadPushTipsRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivityReadPushTipsRsp { + enum GOBCODACHJA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8938; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 8; +} diff --git a/proto/ActivityRecvGiftData.proto b/proto/ActivityRecvGiftData.proto new file mode 100644 index 00000000..8f7b28c1 --- /dev/null +++ b/proto/ActivityRecvGiftData.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "ProfilePicture.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ActivityRecvGiftData { + string remarkName = 15; + string nickname = 10; + uint32 uid = 2; + map giftNumMap = 8; + ProfilePicture profilePicture = 5; +} diff --git a/proto/ActivitySaleChangeNotify.proto b/proto/ActivitySaleChangeNotify.proto new file mode 100644 index 00000000..781d704f --- /dev/null +++ b/proto/ActivitySaleChangeNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivitySaleChangeNotify { + enum DDCDJICOFHA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2058; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 saleId = 2; + bool isClose = 8; +} diff --git a/proto/ActivityScheduleInfo.proto b/proto/ActivityScheduleInfo.proto index 7dc1d0de..d5b55072 100644 --- a/proto/ActivityScheduleInfo.proto +++ b/proto/ActivityScheduleInfo.proto @@ -1,28 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ActivityScheduleInfo { - uint32 end_time = 3; - bool is_open = 12; - uint32 begin_time = 1; - uint32 schedule_id = 9; - uint32 activity_id = 11; + uint32 activityId = 12; + uint32 scheduleId = 13; + uint32 beginTime = 2; + uint32 endTime = 9; + bool isOpen = 7; } diff --git a/proto/ActivityScheduleInfoNotify.proto b/proto/ActivityScheduleInfoNotify.proto index 67af7f39..62c1c3e5 100644 --- a/proto/ActivityScheduleInfoNotify.proto +++ b/proto/ActivityScheduleInfoNotify.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ActivityScheduleInfo.proto"; + +import "ActivityScheduleInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message ActivityScheduleInfoNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2124; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum GMLKEAPFFKO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2047; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated ActivityScheduleInfo activity_schedule_list = 1; - uint32 remain_fly_sea_lamp_num = 13; + repeated ActivityScheduleInfo activityScheduleList = 5; + uint32 remainFlySeaLampNum = 11; } diff --git a/proto/ActivitySelectAvatarCardReq.proto b/proto/ActivitySelectAvatarCardReq.proto new file mode 100644 index 00000000..a0b8f4f2 --- /dev/null +++ b/proto/ActivitySelectAvatarCardReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivitySelectAvatarCardReq { + enum NLDDGCJAFHG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2085; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 rewardId = 8; + uint32 activityId = 1; +} diff --git a/proto/ActivitySelectAvatarCardRsp.proto b/proto/ActivitySelectAvatarCardRsp.proto new file mode 100644 index 00000000..04691e8f --- /dev/null +++ b/proto/ActivitySelectAvatarCardRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivitySelectAvatarCardRsp { + enum IDBPNCGFMFI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2154; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 rewardId = 14; + uint32 activityId = 1; + int32 retcode = 5; +} diff --git a/proto/ActivitySetGiftWishReq.proto b/proto/ActivitySetGiftWishReq.proto new file mode 100644 index 00000000..4217288c --- /dev/null +++ b/proto/ActivitySetGiftWishReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivitySetGiftWishReq { + enum OEMGMBJOBMA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8597; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 scheduleId = 2; + map giftNumMap = 7; +} diff --git a/proto/ActivitySetGiftWishRsp.proto b/proto/ActivitySetGiftWishRsp.proto new file mode 100644 index 00000000..d0b87f62 --- /dev/null +++ b/proto/ActivitySetGiftWishRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivitySetGiftWishRsp { + enum PFLMMCDAHKN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8828; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 scheduleId = 14; + int32 retcode = 11; +} diff --git a/proto/ActivityShopSheetInfo.proto b/proto/ActivityShopSheetInfo.proto index b0921f19..a3694070 100644 --- a/proto/ActivityShopSheetInfo.proto +++ b/proto/ActivityShopSheetInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ActivityShopSheetInfo { - uint32 begin_time = 1; - uint32 end_time = 6; - uint32 sheet_id = 15; + uint32 beginTime = 5; + uint32 sheetId = 14; + uint32 endTime = 12; } diff --git a/proto/ActivityTakeAllScoreRewardReq.proto b/proto/ActivityTakeAllScoreRewardReq.proto new file mode 100644 index 00000000..c39d4a44 --- /dev/null +++ b/proto/ActivityTakeAllScoreRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivityTakeAllScoreRewardReq { + enum BNDAGHCGHNM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8101; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 activityId = 4; +} diff --git a/proto/ActivityTakeAllScoreRewardRsp.proto b/proto/ActivityTakeAllScoreRewardRsp.proto new file mode 100644 index 00000000..4d7669df --- /dev/null +++ b/proto/ActivityTakeAllScoreRewardRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivityTakeAllScoreRewardRsp { + enum AGJHBFOEPGP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8501; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 activityId = 13; + repeated uint32 rewardConfigList = 7; + int32 retcode = 4; +} diff --git a/proto/ActivityTakeScoreRewardReq.proto b/proto/ActivityTakeScoreRewardReq.proto new file mode 100644 index 00000000..3a3a4d3b --- /dev/null +++ b/proto/ActivityTakeScoreRewardReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivityTakeScoreRewardReq { + enum KHFHJNJIHIG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8174; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 rewardConfigId = 14; + uint32 activityId = 2; +} diff --git a/proto/ActivityTakeScoreRewardRsp.proto b/proto/ActivityTakeScoreRewardRsp.proto new file mode 100644 index 00000000..6b622da5 --- /dev/null +++ b/proto/ActivityTakeScoreRewardRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivityTakeScoreRewardRsp { + enum EILFPJBGJHG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8946; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 rewardConfigId = 13; + uint32 activityId = 14; + int32 retcode = 15; +} diff --git a/proto/ActivityTakeWatcherRewardBatchReq.proto b/proto/ActivityTakeWatcherRewardBatchReq.proto new file mode 100644 index 00000000..df272f91 --- /dev/null +++ b/proto/ActivityTakeWatcherRewardBatchReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ActivityTakeWatcherRewardBatchReq { + enum MGCDKDCPFFL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2083; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 watcherIdList = 13; + uint32 activityId = 2; +} diff --git a/proto/ActivityTakeWatcherRewardBatchRsp.proto b/proto/ActivityTakeWatcherRewardBatchRsp.proto new file mode 100644 index 00000000..fbd73f10 --- /dev/null +++ b/proto/ActivityTakeWatcherRewardBatchRsp.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ActivityTakeWatcherRewardBatchRsp { + enum EKIKICOOEMC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2186; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 activityId = 12; + repeated uint32 watcherIdList = 9; + repeated ItemParam itemList = 8; + int32 retcode = 15; +} diff --git a/proto/ActivityTakeWatcherRewardReq.proto b/proto/ActivityTakeWatcherRewardReq.proto index 2c7a33d0..27244498 100644 --- a/proto/ActivityTakeWatcherRewardReq.proto +++ b/proto/ActivityTakeWatcherRewardReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ActivityTakeWatcherRewardReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2073; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum PHOMHFCNABE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2124; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 watcher_id = 14; - uint32 activity_id = 4; + uint32 activityId = 11; + uint32 watcherId = 6; } diff --git a/proto/ActivityTakeWatcherRewardRsp.proto b/proto/ActivityTakeWatcherRewardRsp.proto index 99e3a5b2..47f50d65 100644 --- a/proto/ActivityTakeWatcherRewardRsp.proto +++ b/proto/ActivityTakeWatcherRewardRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ActivityTakeWatcherRewardRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2109; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum JIMPALCEJKB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2009; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 14; - uint32 activity_id = 10; - uint32 watcher_id = 15; + int32 retcode = 9; + uint32 watcherId = 5; + uint32 activityId = 3; } diff --git a/proto/ActivityUpdateWatcherNotify.proto b/proto/ActivityUpdateWatcherNotify.proto index c3f7f1fb..05290ed8 100644 --- a/proto/ActivityUpdateWatcherNotify.proto +++ b/proto/ActivityUpdateWatcherNotify.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ActivityWatcherInfo.proto"; + +import "ActivityWatcherInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message ActivityUpdateWatcherNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2103; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum FDMJLLHOHGH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2079; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 activity_id = 9; - ActivityWatcherInfo watcher_info = 5; + ActivityWatcherInfo watcherInfo = 11; + uint32 activityId = 3; } diff --git a/proto/ActivityWatcherInfo.proto b/proto/ActivityWatcherInfo.proto index 94197832..f0cdee99 100644 --- a/proto/ActivityWatcherInfo.proto +++ b/proto/ActivityWatcherInfo.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ActivityWatcherInfo { - bool is_taken_reward = 2; - uint32 total_progress = 1; - uint32 cur_progress = 8; - uint32 watcher_id = 14; + uint32 curProgress = 8; + bool isTakenReward = 12; + uint32 totalProgress = 1; + uint32 watcherId = 10; } diff --git a/proto/AddAranaraCollectionNotify.proto b/proto/AddAranaraCollectionNotify.proto new file mode 100644 index 00000000..5d2f7284 --- /dev/null +++ b/proto/AddAranaraCollectionNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "AranaraCollectionState.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AddAranaraCollectionNotify { + enum DCJEFDEAHBE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6395; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + AranaraCollectionState Unk3300_AFBIBLNKCOD = 10; + AranaraCollectionState Unk3300_NJLJBBMJLBK = 15; + uint32 collectionId = 1; + uint32 collectionType = 5; +} diff --git a/proto/AddBackupAvatarTeamReq.proto b/proto/AddBackupAvatarTeamReq.proto index 1f9dc12d..41201dba 100644 --- a/proto/AddBackupAvatarTeamReq.proto +++ b/proto/AddBackupAvatarTeamReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AddBackupAvatarTeamReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1616; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum IFMLKOMGBGA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1620; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/AddBackupAvatarTeamRsp.proto b/proto/AddBackupAvatarTeamRsp.proto index 939af80e..c9d39043 100644 --- a/proto/AddBackupAvatarTeamRsp.proto +++ b/proto/AddBackupAvatarTeamRsp.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AddBackupAvatarTeamRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1782; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum NOLHJKLAPHH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1757; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 13; + int32 retcode = 5; } diff --git a/proto/AddBlacklistReq.proto b/proto/AddBlacklistReq.proto new file mode 100644 index 00000000..679b8ac0 --- /dev/null +++ b/proto/AddBlacklistReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AddBlacklistReq { + enum LEECDNBLDFJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4028; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 targetUid = 9; +} diff --git a/proto/AddBlacklistRsp.proto b/proto/AddBlacklistRsp.proto new file mode 100644 index 00000000..30689317 --- /dev/null +++ b/proto/AddBlacklistRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "FriendBrief.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AddBlacklistRsp { + enum DNMNGICBLNF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4073; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + FriendBrief targetFriendBrief = 2; + int32 retcode = 7; +} diff --git a/proto/AddCards.proto b/proto/AddCards.proto new file mode 100644 index 00000000..2497d6d8 --- /dev/null +++ b/proto/AddCards.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +import "GCGReason.proto"; +import "GCGZoneType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AddCards { + uint32 controllerId = 11; + GCGReason reason = 1; + uint32 pos = 6; + GCGZoneType zone = 9; + repeated uint32 cardGuidList = 5; +} diff --git a/proto/AddDice.proto b/proto/AddDice.proto new file mode 100644 index 00000000..01aaa60d --- /dev/null +++ b/proto/AddDice.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +import "GCGReason.proto"; +import "GCGDiceSideType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AddDice { + map Unk3300_PCMPCCLFEIM = 15; + map Unk3300_KFKOGOKPIFN = 5; + uint32 controllerId = 3; + GCGReason reason = 9; + int32 changeCount = 10; +} diff --git a/proto/AddFriendNotify.proto b/proto/AddFriendNotify.proto new file mode 100644 index 00000000..4b062590 --- /dev/null +++ b/proto/AddFriendNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "FriendBrief.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AddFriendNotify { + enum JAKBIGICFGI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4092; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 targetUid = 4; + FriendBrief targetFriendBrief = 12; +} diff --git a/proto/AddNoGachaAvatarCardNotify.proto b/proto/AddNoGachaAvatarCardNotify.proto index 6380df5d..a3ea0ec3 100644 --- a/proto/AddNoGachaAvatarCardNotify.proto +++ b/proto/AddNoGachaAvatarCardNotify.proto @@ -1,40 +1,24 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AddNoGachaAvatarCardTransferItem.proto"; + +import "AddNoGachaAvatarCardTransferItem.proto"; option java_package = "emu.grasscutter.net.proto"; message AddNoGachaAvatarCardNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1610; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum NMBGCPIDMPH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1669; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 reason = 9; - uint32 initial_promote_level = 7; - uint32 item_id = 2; - uint32 avatar_id = 4; - bool is_transfer_to_item = 14; - uint32 initial_level = 8; - repeated AddNoGachaAvatarCardTransferItem transfer_item_list = 6; + uint32 itemId = 7; + uint32 Unk3300_MGAPHPOLKKE = 3; + bool isTransferToItem = 14; + uint32 reason = 9; + repeated AddNoGachaAvatarCardTransferItem transferItemList = 10; + uint32 Unk3300_GPBINALMFDF = 13; + uint32 avatarId = 4; } diff --git a/proto/AddNoGachaAvatarCardTransferItem.proto b/proto/AddNoGachaAvatarCardTransferItem.proto index 01cfb2b2..2b6da4c6 100644 --- a/proto/AddNoGachaAvatarCardTransferItem.proto +++ b/proto/AddNoGachaAvatarCardTransferItem.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AddNoGachaAvatarCardTransferItem { - uint32 count = 5; - bool is_new = 8; - uint32 item_id = 11; + uint32 count = 10; + bool isNew = 11; + uint32 itemId = 12; } diff --git a/proto/AddQuestContentProgressReq.proto b/proto/AddQuestContentProgressReq.proto index b7643f4a..0a4b94f7 100644 --- a/proto/AddQuestContentProgressReq.proto +++ b/proto/AddQuestContentProgressReq.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AddQuestContentProgressReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 443; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum FJCPEKKPFHI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 474; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 content_type = 1; - uint32 add_progress = 6; - uint32 param = 11; + uint32 addProgress = 2; + uint32 param = 9; + uint32 contentType = 14; } diff --git a/proto/AddQuestContentProgressRsp.proto b/proto/AddQuestContentProgressRsp.proto index d214ef45..e584ff34 100644 --- a/proto/AddQuestContentProgressRsp.proto +++ b/proto/AddQuestContentProgressRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AddQuestContentProgressRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 461; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum OCHDKHKOIKI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 480; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 content_type = 7; - int32 retcode = 12; + uint32 contentType = 13; + int32 retcode = 8; } diff --git a/proto/AddRandTaskInfoNotify.proto b/proto/AddRandTaskInfoNotify.proto new file mode 100644 index 00000000..c77759be --- /dev/null +++ b/proto/AddRandTaskInfoNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AddRandTaskInfoNotify { + enum AAMKDIJOLIA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 123; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + Rotation pos = 6; + uint32 randTaskId = 2; +} diff --git a/proto/AddSeenMonsterNotify.proto b/proto/AddSeenMonsterNotify.proto new file mode 100644 index 00000000..dd62f05d --- /dev/null +++ b/proto/AddSeenMonsterNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AddSeenMonsterNotify { + enum JLNJGHLBJNN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 296; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 monsterIdList = 1; +} diff --git a/proto/AdjustTrackingInfo.proto b/proto/AdjustTrackingInfo.proto index fea9838e..c5ebf89d 100644 --- a/proto/AdjustTrackingInfo.proto +++ b/proto/AdjustTrackingInfo.proto @@ -1,29 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AdjustTrackingInfo { - string Unk3300_CHCOHLGBHLB = 2; - string Unk3300_GAMLJPFKCGC = 9; - string Unk3300_ONNMBNODPIA = 4; - string Unk3300_MHDOPAMDMPL = 6; - string Unk3300_INAIEOMCIEM = 7; - string Unk3300_KLKFLIIOFKK = 3; + string Unk3300_GAMLJPFKCGC = 5; + string Unk3300_CHCOHLGBHLB = 8; + string Unk3300_INAIEOMCIEM = 15; + string Unk3300_ONNMBNODPIA = 3; + string Unk3300_KLKFLIIOFKK = 7; + string Unk3300_MHDOPAMDMPL = 13; } diff --git a/proto/AdjustWorldLevelReq.proto b/proto/AdjustWorldLevelReq.proto new file mode 100644 index 00000000..a621883c --- /dev/null +++ b/proto/AdjustWorldLevelReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AdjustWorldLevelReq { + enum DAFJHPIGAIN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 138; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 Unk3300_DNLKIMGLBLP = 3; + uint32 Unk3300_DJBKBPDCBFH = 11; +} diff --git a/proto/AdjustWorldLevelRsp.proto b/proto/AdjustWorldLevelRsp.proto new file mode 100644 index 00000000..175252e7 --- /dev/null +++ b/proto/AdjustWorldLevelRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AdjustWorldLevelRsp { + enum ADJPAGLIHHE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 140; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 cdOverTime = 7; + uint32 afterWorldLevel = 15; + int32 retcode = 14; +} diff --git a/proto/AiSkillCdInfo.proto b/proto/AiSkillCdInfo.proto index e6e8a632..e5d8fa20 100644 --- a/proto/AiSkillCdInfo.proto +++ b/proto/AiSkillCdInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AiSkillCdInfo { - map skill_group_cd_map = 1; - map skill_cd_map = 15; + map skillCdMap = 14; + map skillGroupCdMap = 3; } diff --git a/proto/AiSyncInfo.proto b/proto/AiSyncInfo.proto index 5e25b5c9..81c4f61b 100644 --- a/proto/AiSyncInfo.proto +++ b/proto/AiSyncInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AiSyncInfo { - uint32 entity_id = 2; - bool has_path_to_target = 4; - bool is_self_killing = 14; + uint32 entityId = 1; + bool Unk3300_EBICCLLGICG = 2; + bool Unk3300_NOIPAMJJIDL = 10; } diff --git a/proto/AiThreatInfo.proto b/proto/AiThreatInfo.proto index 2c4bbb05..76e48b8a 100644 --- a/proto/AiThreatInfo.proto +++ b/proto/AiThreatInfo.proto @@ -1,24 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AiThreatInfo { - map ai_threat_map = 11; + map aiThreatMap = 13; } diff --git a/proto/AllCoopInfoNotify.proto b/proto/AllCoopInfoNotify.proto new file mode 100644 index 00000000..75ffbfde --- /dev/null +++ b/proto/AllCoopInfoNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "MainCoop.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AllCoopInfoNotify { + enum PDNGDNMLEIN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1988; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated MainCoop mainCoopList = 14; +} diff --git a/proto/AllMarkPointNotify.proto b/proto/AllMarkPointNotify.proto new file mode 100644 index 00000000..e597d660 --- /dev/null +++ b/proto/AllMarkPointNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "MapMarkPoint.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AllMarkPointNotify { + enum AHIHKFEIPFI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3284; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated MapMarkPoint markList = 6; +} diff --git a/proto/AllSeenMonsterNotify.proto b/proto/AllSeenMonsterNotify.proto new file mode 100644 index 00000000..b5b1d6fc --- /dev/null +++ b/proto/AllSeenMonsterNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AllSeenMonsterNotify { + enum KKALDBFNKCN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 244; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 monsterIdList = 2; +} diff --git a/proto/AllShareCDDataNotify.proto b/proto/AllShareCDDataNotify.proto new file mode 100644 index 00000000..834fb517 --- /dev/null +++ b/proto/AllShareCDDataNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "ShareCDInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AllShareCDDataNotify { + enum EEMPBEJEDNO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 9005; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + map shareCdInfoMap = 2; +} diff --git a/proto/AllWidgetBackgroundActiveStateNotify.proto b/proto/AllWidgetBackgroundActiveStateNotify.proto new file mode 100644 index 00000000..66e114a0 --- /dev/null +++ b/proto/AllWidgetBackgroundActiveStateNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AllWidgetBackgroundActiveStateNotify { + enum FHMOGDOBJLM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6011; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 backgroundActiveWidgetList = 11; +} diff --git a/proto/AllWidgetDataNotify.proto b/proto/AllWidgetDataNotify.proto index 9f7a52a7..9f3b9b72 100644 --- a/proto/AllWidgetDataNotify.proto +++ b/proto/AllWidgetDataNotify.proto @@ -1,51 +1,35 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AnchorPointData.proto"; -import "ClientCollectorData.proto"; -import "LunchBoxData.proto"; -import "OneoffGatherPointDetectorData.proto"; + + import "SkyCrystalDetectorData.proto"; import "WeatherWizardData.proto"; +import "LunchBoxData.proto"; import "WidgetCoolDownData.proto"; import "WidgetSlotData.proto"; - +import "AnchorPointData.proto"; +import "ClientCollectorData.proto"; +import "DetectorData.proto"; option java_package = "emu.grasscutter.net.proto"; message AllWidgetDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4286; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum CKJPMBIBMDC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4286; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 next_anchor_point_usable_time = 5; - LunchBoxData lunch_box_data = 1; - repeated OneoffGatherPointDetectorData oneoff_gather_point_detector_data_list = 14; - repeated WidgetSlotData slot_list = 6; - repeated uint32 background_active_widget_list = 9; - repeated WidgetCoolDownData cool_down_group_data_list = 3; - SkyCrystalDetectorData sky_crystal_detector_data = 4; - repeated ClientCollectorData client_collector_data_list = 7; - WeatherWizardData weather_wizard_data = 15; - repeated WidgetCoolDownData normal_cool_down_data_list = 10; - repeated AnchorPointData anchor_point_list = 13; + SkyCrystalDetectorData skyCrystalDetectorData = 2; + repeated WidgetCoolDownData normalCoolDownDataList = 4; + repeated WidgetSlotData slotList = 14; + repeated uint32 backgroundActiveWidgetList = 5; + repeated AnchorPointData anchorPointList = 11; + WeatherWizardData weatherWizardData = 13; + uint32 nextAnchorPointUsableTime = 15; + repeated ClientCollectorData clientCollectorDataList = 7; + repeated WidgetCoolDownData coolDownGroupDataList = 6; + repeated DetectorData oneoffGatherPointDetectorDataList = 8; + LunchBoxData lunchBoxData = 1; } diff --git a/proto/AnchorPointData.proto b/proto/AnchorPointData.proto index 5e339c0a..6760d358 100644 --- a/proto/AnchorPointData.proto +++ b/proto/AnchorPointData.proto @@ -1,30 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message AnchorPointData { - uint32 scene_id = 3; - Vector rot = 4; - uint32 end_time = 8; - Vector pos = 11; - uint32 anchor_point_id = 9; + uint32 sceneId = 15; + Rotation rot = 13; + uint32 endTime = 10; + Rotation pos = 12; + uint32 anchorPointId = 11; } diff --git a/proto/AnchorPointDataNotify.proto b/proto/AnchorPointDataNotify.proto new file mode 100644 index 00000000..cf083a53 --- /dev/null +++ b/proto/AnchorPointDataNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "AnchorPointData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AnchorPointDataNotify { + enum ABGDBOHAGJL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4288; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 nextUsableTime = 10; + repeated AnchorPointData anchorPointList = 11; +} diff --git a/proto/AnchorPointOpReq.proto b/proto/AnchorPointOpReq.proto new file mode 100644 index 00000000..1529fcc9 --- /dev/null +++ b/proto/AnchorPointOpReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AnchorPointOpReq { + enum OAIEELHBGLI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4291; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 anchorPointId = 15; + uint32 anchorPointOpType = 3; +} diff --git a/proto/AnchorPointOpRsp.proto b/proto/AnchorPointOpRsp.proto new file mode 100644 index 00000000..c160fb7d --- /dev/null +++ b/proto/AnchorPointOpRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AnchorPointOpRsp { + enum EGLPAOCDNNN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4269; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 anchorPointId = 3; + int32 retcode = 4; + uint32 anchorPointOpType = 11; +} diff --git a/proto/AnimatorForceSetAirMoveNotify.proto b/proto/AnimatorForceSetAirMoveNotify.proto new file mode 100644 index 00000000..640aac63 --- /dev/null +++ b/proto/AnimatorForceSetAirMoveNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "ForwardType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AnimatorForceSetAirMoveNotify { + enum BKKMLNOEIGJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 330; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool inAirMove = 1; + ForwardType forwardType = 11; + uint32 entityId = 2; +} diff --git a/proto/AnimatorParameterValueInfo.proto b/proto/AnimatorParameterValueInfo.proto index 8b7f961e..48979d5e 100644 --- a/proto/AnimatorParameterValueInfo.proto +++ b/proto/AnimatorParameterValueInfo.proto @@ -1,29 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AnimatorParameterValueInfo { - uint32 para_type = 1; - oneof para_val { - int32 int_val = 2; - float float_val = 3; - bool bool_val = 4; - } + uint32 paraType = 1; + oneof MMJOJNNFGCN { + int32 int_val = 2; + float float_val = 3; + bool bool_val = 4; + } } diff --git a/proto/AnimatorParameterValueInfoPair.proto b/proto/AnimatorParameterValueInfoPair.proto index 8195e095..5092542e 100644 --- a/proto/AnimatorParameterValueInfoPair.proto +++ b/proto/AnimatorParameterValueInfoPair.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AnimatorParameterValueInfo.proto"; + +import "AnimatorParameterValueInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message AnimatorParameterValueInfoPair { - int32 name_id = 1; - AnimatorParameterValueInfo animator_para = 2; + int32 nameId = 1; + AnimatorParameterValueInfo animatorPara = 2; } diff --git a/proto/AnnounceData.proto b/proto/AnnounceData.proto index 72783ab9..69d80352 100644 --- a/proto/AnnounceData.proto +++ b/proto/AnnounceData.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AnnounceData { - uint32 begin_time = 10; - bool is_center_system_last_5_every_minutes = 3; - uint32 end_time = 1; - uint32 config_id = 2; - string center_system_text = 11; - uint32 count_down_frequency = 5; - uint32 center_system_frequency = 13; - string dungeon_confirm_text = 4; - string count_down_text = 6; + uint32 configId = 9; + uint32 centerSystemFrequency = 14; + uint32 endTime = 5; + uint32 beginTime = 4; + string countDownText = 7; + bool isCenterSystemLast_5EveryMinutes = 12; + string dungeonConfirmText = 2; + uint32 countDownFrequency = 8; + string centerSystemText = 13; } diff --git a/proto/AntiAddictNotify.proto b/proto/AntiAddictNotify.proto new file mode 100644 index 00000000..b42fe4fa --- /dev/null +++ b/proto/AntiAddictNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AntiAddictNotify { + enum GCFCHEHELNP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 104; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + string msg = 3; + string level = 14; + int32 msgType = 13; +} diff --git a/proto/AranaraCollectionDataNotify.proto b/proto/AranaraCollectionDataNotify.proto new file mode 100644 index 00000000..7d871c5b --- /dev/null +++ b/proto/AranaraCollectionDataNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "AranaraCollectionSuite.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AranaraCollectionDataNotify { + enum FPPAFIEEHCA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6388; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated AranaraCollectionSuite collectionSuiteList = 7; +} diff --git a/proto/AranaraCollectionState.proto b/proto/AranaraCollectionState.proto new file mode 100644 index 00000000..85362b2b --- /dev/null +++ b/proto/AranaraCollectionState.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + +enum AranaraCollectionState { + ARANARA_COLLECTION_STATE_NONE = 0; + ARANARA_COLLECTION_STATE_COLLECTABLE = 1; + ARANARA_COLLECTION_STATE_COLLECTED = 2; + ARANARA_COLLECTION_STATE_FINISHED = 3; +} diff --git a/proto/AranaraCollectionSuite.proto b/proto/AranaraCollectionSuite.proto new file mode 100644 index 00000000..864ca0b0 --- /dev/null +++ b/proto/AranaraCollectionSuite.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "AranaraCollectionState.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AranaraCollectionSuite { + map collectionIdStateMap = 8; + uint32 collectionType = 12; +} diff --git a/proto/AreaPlayInfoNotify.proto b/proto/AreaPlayInfoNotify.proto new file mode 100644 index 00000000..6350f80c --- /dev/null +++ b/proto/AreaPlayInfoNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "AreaPlayType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AreaPlayInfoNotify { + enum DOKMOHCABHF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3069; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 detailPlayType = 12; + AreaPlayType areaPlayType = 9; +} diff --git a/proto/AreaPlayType.proto b/proto/AreaPlayType.proto new file mode 100644 index 00000000..453ceeb4 --- /dev/null +++ b/proto/AreaPlayType.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum AreaPlayType { + AREA_PLAY_TYPE_NONE = 0; + AREA_PLAY_TYPE_CLIMATE = 1; + AREA_PLAY_TYPE_REGIONAL_PLAY = 2; +} diff --git a/proto/ArenaChallengeActivityDetailInfo.proto b/proto/ArenaChallengeActivityDetailInfo.proto index 73c3b711..017fbdcc 100644 --- a/proto/ArenaChallengeActivityDetailInfo.proto +++ b/proto/ArenaChallengeActivityDetailInfo.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ArenaChallengeMonsterLevel.proto"; + +import "ArenaChallengeMonsterLevel.proto"; option java_package = "emu.grasscutter.net.proto"; message ArenaChallengeActivityDetailInfo { - repeated ArenaChallengeMonsterLevel level_list = 15; - map level_open_time_map = 1; - bool is_finish_any_level = 4; - uint32 world_level = 7; + map levelOpenTimeMap = 2; + uint32 worldLevel = 6; + repeated ArenaChallengeMonsterLevel levelList = 7; + bool isFinishAnyLevel = 5; } diff --git a/proto/ArenaChallengeChildChallengeInfo.proto b/proto/ArenaChallengeChildChallengeInfo.proto new file mode 100644 index 00000000..48d9d599 --- /dev/null +++ b/proto/ArenaChallengeChildChallengeInfo.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ArenaChallengeChildChallengeInfo { + bool isSuccess = 15; + bool isSettled = 4; + uint32 challengeType = 5; + uint32 challengeIndex = 8; + uint32 challengeId = 14; +} diff --git a/proto/ArenaChallengeFinishNotify.proto b/proto/ArenaChallengeFinishNotify.proto new file mode 100644 index 00000000..c02af130 --- /dev/null +++ b/proto/ArenaChallengeFinishNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "ArenaChallengeChildChallengeInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ArenaChallengeFinishNotify { + enum MNGBJBKHOEP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2199; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isSuccess = 7; + repeated ArenaChallengeChildChallengeInfo childChallengeList = 6; + uint32 Unk3300_DBHAGHMMLAI = 15; + uint32 Unk3300_FDFNFLAKONG = 9; +} diff --git a/proto/ArenaChallengeInfo.proto b/proto/ArenaChallengeInfo.proto new file mode 100644 index 00000000..a2a0cb1b --- /dev/null +++ b/proto/ArenaChallengeInfo.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "ArenaChallengeMonsterLevel.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ArenaChallengeInfo { + map levelOpenTimeMap = 2; + uint32 worldLevel = 6; + repeated ArenaChallengeMonsterLevel levelList = 7; + bool isFinishAnyLevel = 5; +} diff --git a/proto/ArenaChallengeMonsterLevel.proto b/proto/ArenaChallengeMonsterLevel.proto index 80fd2040..c406d776 100644 --- a/proto/ArenaChallengeMonsterLevel.proto +++ b/proto/ArenaChallengeMonsterLevel.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ArenaChallengeMonsterLevel { - uint32 Unk3300_DBHAGHMMLAI = 8; - uint32 Unk3300_FDFNFLAKONG = 15; + uint32 Unk3300_FDFNFLAKONG = 13; + uint32 Unk3300_DBHAGHMMLAI = 3; } diff --git a/proto/AskAddFriendNotify.proto b/proto/AskAddFriendNotify.proto index bcdd7723..def042dd 100644 --- a/proto/AskAddFriendNotify.proto +++ b/proto/AskAddFriendNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "FriendBrief.proto"; + +import "FriendBrief.proto"; option java_package = "emu.grasscutter.net.proto"; message AskAddFriendNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4089; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum ACDJLMOMLPL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4088; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 target_uid = 5; - FriendBrief target_friend_brief = 1; + FriendBrief targetFriendBrief = 7; + uint32 targetUid = 8; } diff --git a/proto/AskAddFriendReq.proto b/proto/AskAddFriendReq.proto index f069a9a7..fa1357dc 100644 --- a/proto/AskAddFriendReq.proto +++ b/proto/AskAddFriendReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AskAddFriendReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4100; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum CCLLNOCJFNI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4020; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 target_uid = 12; + uint32 targetUid = 10; } diff --git a/proto/AskAddFriendRsp.proto b/proto/AskAddFriendRsp.proto index 6b2e730c..58145315 100644 --- a/proto/AskAddFriendRsp.proto +++ b/proto/AskAddFriendRsp.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AskAddFriendRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4043; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum IHOJOFGEDBL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4074; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - int32 retcode = 11; - uint32 target_uid = 9; - uint32 param = 12; + int32 retcode = 11; + uint32 param = 13; + uint32 targetUid = 10; } diff --git a/proto/AssociateInferenceWordReq.proto b/proto/AssociateInferenceWordReq.proto new file mode 100644 index 00000000..2ba0d6b5 --- /dev/null +++ b/proto/AssociateInferenceWordReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AssociateInferenceWordReq { + enum NCOBIJLLDLL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 456; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 Unk3300_EPMGHELECNH = 11; + uint32 pageId = 3; + uint32 Unk3300_FDGLBLJOKOK = 13; +} diff --git a/proto/AssociateInferenceWordRsp.proto b/proto/AssociateInferenceWordRsp.proto new file mode 100644 index 00000000..2a9cab86 --- /dev/null +++ b/proto/AssociateInferenceWordRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AssociateInferenceWordRsp { + enum CPCLGHEALEH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 490; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 Unk3300_FDGLBLJOKOK = 14; + uint32 Unk3300_EPMGHELECNH = 5; + uint32 pageId = 11; + int32 retcode = 13; +} diff --git a/proto/AsterActivityDetailInfo.proto b/proto/AsterActivityDetailInfo.proto index e743e09c..30e8a72c 100644 --- a/proto/AsterActivityDetailInfo.proto +++ b/proto/AsterActivityDetailInfo.proto @@ -22,6 +22,7 @@ import "AsterLittleDetailInfo.proto"; import "AsterMidDetailInfo.proto"; import "AsterProgressDetailInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message AsterActivityDetailInfo { diff --git a/proto/AsterInfo.proto b/proto/AsterInfo.proto new file mode 100644 index 00000000..703e3395 --- /dev/null +++ b/proto/AsterInfo.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "AsterLargeDetailInfo.proto"; +import "AsterLittleDetailInfo.proto"; +import "AsterMidDetailInfo.proto"; +import "AsterProgressDetailInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AsterInfo { + AsterLargeDetailInfo asterLarge = 2; + uint32 Unk3300_KFDGFFPJGJC = 8; + bool isSpecialRewardTaken = 9; + AsterLittleDetailInfo asterLittle = 3; + uint32 contentCloseTime = 14; + uint32 Unk3300_DCHBFEJNBHP = 10; + AsterMidDetailInfo asterMid = 4; + AsterProgressDetailInfo asterProgress = 7; + bool leftMonsters = 15; +} diff --git a/proto/AsterLargeDetailInfo.proto b/proto/AsterLargeDetailInfo.proto index 6f48a83a..9177a955 100644 --- a/proto/AsterLargeDetailInfo.proto +++ b/proto/AsterLargeDetailInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AsterLargeDetailInfo { - uint32 begin_time = 6; - bool is_open = 9; + bool isOpen = 3; + uint32 beginTime = 7; } diff --git a/proto/AsterLargeInfoNotify.proto b/proto/AsterLargeInfoNotify.proto new file mode 100644 index 00000000..0faf2a47 --- /dev/null +++ b/proto/AsterLargeInfoNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "AsterLargeDetailInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AsterLargeInfoNotify { + enum HICENMJODEB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2185; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + AsterLargeDetailInfo info = 12; +} diff --git a/proto/AsterLittleDetailInfo.proto b/proto/AsterLittleDetailInfo.proto index d5e18146..56ecfb42 100644 --- a/proto/AsterLittleDetailInfo.proto +++ b/proto/AsterLittleDetailInfo.proto @@ -1,30 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AsterLittleStageState.proto"; + +import "AsterLittleStageState.proto"; option java_package = "emu.grasscutter.net.proto"; message AsterLittleDetailInfo { - uint32 stage_begin_time = 9; - bool is_open = 8; - AsterLittleStageState stage_state = 5; - uint32 stage_id = 14; - uint32 begin_time = 6; + uint32 stageBeginTime = 13; + AsterLittleStageState stageState = 9; + uint32 stageId = 6; + uint32 beginTime = 11; + bool isOpen = 12; } diff --git a/proto/AsterLittleInfoNotify.proto b/proto/AsterLittleInfoNotify.proto new file mode 100644 index 00000000..f4c24357 --- /dev/null +++ b/proto/AsterLittleInfoNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "AsterLittleDetailInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AsterLittleInfoNotify { + enum FABDDBGOKAB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2063; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + AsterLittleDetailInfo info = 7; +} diff --git a/proto/AsterLittleStageState.proto b/proto/AsterLittleStageState.proto index 868b33ae..2ea8e9fe 100644 --- a/proto/AsterLittleStageState.proto +++ b/proto/AsterLittleStageState.proto @@ -1,27 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum AsterLittleStageState { - ASTER_LITTLE_STAGE_STATE_NONE = 0; - ASTER_LITTLE_STAGE_STATE_UNSTARTED = 1; - ASTER_LITTLE_STAGE_STATE_STARTED = 2; - ASTER_LITTLE_STAGE_STATE_FINISHED = 3; + ASTER_LITTLE_STAGE_STATE_NONE = 0; + ASTER_LITTLE_STAGE_STATE_UNSTARTED = 1; + ASTER_LITTLE_STAGE_STATE_STARTED = 2; + ASTER_LITTLE_STAGE_STATE_FINISHED = 3; } diff --git a/proto/AsterMidCampInfo.proto b/proto/AsterMidCampInfo.proto index e5620b66..5b37dad9 100644 --- a/proto/AsterMidCampInfo.proto +++ b/proto/AsterMidCampInfo.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message AsterMidCampInfo { - Vector pos = 3; - uint32 camp_id = 15; + Rotation pos = 10; + uint32 campId = 14; } diff --git a/proto/AsterMidCampInfoNotify.proto b/proto/AsterMidCampInfoNotify.proto new file mode 100644 index 00000000..cb9f0776 --- /dev/null +++ b/proto/AsterMidCampInfoNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "AsterMidCampInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AsterMidCampInfoNotify { + enum MHCPMCJDEHK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2151; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated AsterMidCampInfo campList = 2; +} diff --git a/proto/AsterMidDetailInfo.proto b/proto/AsterMidDetailInfo.proto index 0d67a503..77f3ca70 100644 --- a/proto/AsterMidDetailInfo.proto +++ b/proto/AsterMidDetailInfo.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AsterMidCampInfo.proto"; + +import "AsterMidCampInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message AsterMidDetailInfo { - bool is_open = 13; - repeated AsterMidCampInfo camp_list = 11; - uint32 begin_time = 4; - uint32 collect_count = 7; + repeated AsterMidCampInfo campList = 2; + bool isOpen = 10; + uint32 beginTime = 13; + uint32 collectCount = 4; } diff --git a/proto/AsterMidInfoNotify.proto b/proto/AsterMidInfoNotify.proto new file mode 100644 index 00000000..dc2658f1 --- /dev/null +++ b/proto/AsterMidInfoNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "AsterMidDetailInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AsterMidInfoNotify { + enum NLCFBMFHHDC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2007; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + AsterMidDetailInfo info = 8; +} diff --git a/proto/AsterMiscInfoNotify.proto b/proto/AsterMiscInfoNotify.proto new file mode 100644 index 00000000..19f32fea --- /dev/null +++ b/proto/AsterMiscInfoNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AsterMiscInfoNotify { + enum FBFFGFLJKNO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2165; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 Unk3300_KFDGFFPJGJC = 7; + uint32 Unk3300_DCHBFEJNBHP = 8; +} diff --git a/proto/AsterProgressDetailInfo.proto b/proto/AsterProgressDetailInfo.proto index cf4dc264..ba2492e5 100644 --- a/proto/AsterProgressDetailInfo.proto +++ b/proto/AsterProgressDetailInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AsterProgressDetailInfo { - uint32 count = 4; - uint32 last_auto_add_time = 1; + uint32 lastAutoAddTime = 14; + uint32 count = 8; } diff --git a/proto/AsterProgressInfoNotify.proto b/proto/AsterProgressInfoNotify.proto new file mode 100644 index 00000000..cea18f52 --- /dev/null +++ b/proto/AsterProgressInfoNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "AsterProgressDetailInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AsterProgressInfoNotify { + enum LIELBIINANH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2091; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + AsterProgressDetailInfo info = 7; +} diff --git a/proto/AttackHitEffectResult.proto b/proto/AttackHitEffectResult.proto index c14a07bf..dc56018c 100644 --- a/proto/AttackHitEffectResult.proto +++ b/proto/AttackHitEffectResult.proto @@ -1,29 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AttackHitEffectResult { - float air_strength = 13; - float hit_halt_time_scale = 10; - float hit_halt_time = 9; - uint32 Unk3300_LCKECJCKKJK = 8; - uint32 Unk3300_KLNGDAMMFIF = 1; - float retreat_strength = 3; + uint32 Unk3300_KLNGDAMMFIF = 3; + float airStrength = 6; + uint32 Unk3300_LCKECJCKKJK = 13; + float hitHaltTime = 15; + float retreatStrength = 4; + float hitHaltTimeScale = 7; } diff --git a/proto/AttackResult.proto b/proto/AttackResult.proto index b242b1fb..0f812046 100644 --- a/proto/AttackResult.proto +++ b/proto/AttackResult.proto @@ -1,58 +1,42 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AbilityIdentifier.proto"; -import "AttackHitEffectResult.proto"; -import "HitCollision.proto"; -import "Vector.proto"; + +import "AttackHitEffectResult.proto"; +import "AbilityIdentifier.proto"; +import "HitCollision.proto"; +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message AttackResult { - uint32 defense_id = 2; - uint32 attacker_id = 1; - uint32 target_type = 1870; - float endure_delta = 803; - bool Unk3300_DOMAOPGPHMD = 454; - uint32 element_type = 12; - uint32 Unk3300_BALCPHMFIBC = 1438; - float damage = 10; - uint32 hashed_anim_event_id = 1115; - uint32 critical_rand = 645; - uint32 Unk3300_ABJJNNNKGBB = 1742; - uint32 Unk3300_KPKAECBFABP = 2012; - AttackHitEffectResult hit_eff_result = 8; - uint32 endure_break = 14; - AbilityIdentifier ability_identifier = 7; - uint32 hit_pos_type = 3; - uint32 attack_timestamp_ms = 1782; - float damage_shield = 1932; - uint32 attack_count = 1484; - bool is_resist_text = 633; - int32 hit_retreat_angle_compat = 5; - HitCollision hit_collision = 15; - bool Unk3300_MGIMJGMIPLD = 732; - bool is_crit = 6; - Vector resolved_dir = 11; - float element_amplify_rate = 28; - string anim_event_id = 4; - uint32 Unk3300_GBPJCELJKJA = 1844; - uint32 Unk3300_JMJHGJCAOBH = 914; - float element_durability_attenuation = 775; + uint32 endureBreak = 6; + uint32 Unk3300_BALCPHMFIBC = 1940; + float damage = 12; + bool isCrit = 9; + AttackHitEffectResult hitEffResult = 5; + float elementDurabilityAttenuation = 1333; + float damageShield = 198; + bool Unk3300_DOMAOPGPHMD = 1698; + uint32 elementType = 1; + uint32 targetType = 346; + bool Unk3300_MGIMJGMIPLD = 531; + uint32 criticalRand = 1576; + AbilityIdentifier abilityIdentifier = 2; + HitCollision hitCollision = 14; + uint32 attackTimestampMs = 1829; + uint32 attackerId = 4; + string animEventId = 11; + int32 hitRetreatAngleCompat = 15; + uint32 Unk3300_JMJHGJCAOBH = 55; + uint32 defenseId = 13; + bool isResistText = 555; + uint32 attackCount = 1593; + Rotation resolvedDir = 8; + uint32 hitPosType = 7; + uint32 hashedAnimEventId = 2009; + uint32 Unk3300_KPKAECBFABP = 1569; + float endureDelta = 1169; + uint32 Unk3300_GBPJCELJKJA = 701; + float elementAmplifyRate = 1858; + uint32 Unk3300_ABJJNNNKGBB = 888; } diff --git a/proto/AttackResultCreateCount.proto b/proto/AttackResultCreateCount.proto index 63f5282e..b6423621 100644 --- a/proto/AttackResultCreateCount.proto +++ b/proto/AttackResultCreateCount.proto @@ -17,6 +17,7 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message AttackResultCreateCount { diff --git a/proto/AuditState.proto b/proto/AuditState.proto new file mode 100644 index 00000000..e652c885 --- /dev/null +++ b/proto/AuditState.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum AuditState { + AUDIT_STATE_NONE = 0; + AUDIT_STATE_WAITING = 1; + AUDIT_STATE_FAILED = 2; +} diff --git a/proto/AuthorityChange.proto b/proto/AuthorityChange.proto new file mode 100644 index 00000000..1a13baf2 --- /dev/null +++ b/proto/AuthorityChange.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "EntityAuthorityInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AuthorityChange { + uint32 authorityPeerId = 2; + EntityAuthorityInfo entityAuthorityInfo = 4; + uint32 entityId = 14; +} diff --git a/proto/Avatar.proto b/proto/Avatar.proto new file mode 100644 index 00000000..e13e1b81 --- /dev/null +++ b/proto/Avatar.proto @@ -0,0 +1,34 @@ +syntax = "proto3"; + + + +import "SceneWeaponInfo.proto"; +import "CurVehicleInfo.proto"; +import "AvatarExcelInfo.proto"; +import "SceneReliquaryInfo.proto"; +import "ServerBuff.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message Avatar { + uint32 uid = 1; + uint32 avatarId = 2; + uint64 guid = 3; + uint32 peerId = 4; + repeated uint32 equipIdList = 5; + uint32 skillDepotId = 6; + repeated uint32 talentIdList = 7; + SceneWeaponInfo weapon = 8; + repeated SceneReliquaryInfo reliquaryList = 9; + uint32 coreProudSkillLevel = 11; + repeated uint32 inherentProudSkillList = 12; + map skillLevelMap = 13; + map proudSkillExtraLevelMap = 14; + repeated ServerBuff serverBuffList = 15; + repeated uint32 teamResonanceList = 16; + uint32 wearingFlycloakId = 17; + uint32 bornTime = 18; + uint32 costumeId = 19; + CurVehicleInfo curVehicleInfo = 20; + AvatarExcelInfo excelInfo = 21; + uint32 animHash = 22; +} diff --git a/proto/AvatarAddNotify.proto b/proto/AvatarAddNotify.proto index 9bfc8a92..adf08d16 100644 --- a/proto/AvatarAddNotify.proto +++ b/proto/AvatarAddNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AvatarInfo.proto"; + +import "AvatarInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message AvatarAddNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1757; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum APNKIMFCJIH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1661; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - AvatarInfo avatar = 1; - bool is_in_team = 15; + AvatarInfo avatar = 8; + bool isInTeam = 14; } diff --git a/proto/AvatarBuffAddNotify.proto b/proto/AvatarBuffAddNotify.proto new file mode 100644 index 00000000..65070f41 --- /dev/null +++ b/proto/AvatarBuffAddNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AvatarBuffAddNotify { + enum FHLJCLILLFG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 328; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 buffId = 15; + uint64 avatarGuid = 7; +} diff --git a/proto/AvatarBuffDelNotify.proto b/proto/AvatarBuffDelNotify.proto new file mode 100644 index 00000000..9b4a58d6 --- /dev/null +++ b/proto/AvatarBuffDelNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AvatarBuffDelNotify { + enum EIDJJGIPAOB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 373; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 buffId = 15; + uint64 avatarGuid = 8; +} diff --git a/proto/AvatarCardChangeReq.proto b/proto/AvatarCardChangeReq.proto new file mode 100644 index 00000000..f6adc2c8 --- /dev/null +++ b/proto/AvatarCardChangeReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AvatarCardChangeReq { + enum HPAINGGFDBE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 628; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 itemId = 11; + uint64 avatarGuid = 1; + uint32 count = 6; +} diff --git a/proto/AvatarCardChangeRsp.proto b/proto/AvatarCardChangeRsp.proto new file mode 100644 index 00000000..a6c8800d --- /dev/null +++ b/proto/AvatarCardChangeRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AvatarCardChangeRsp { + enum MOINLDKAIHB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 673; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 10; +} diff --git a/proto/AvatarChangeAnimHashReq.proto b/proto/AvatarChangeAnimHashReq.proto new file mode 100644 index 00000000..81ecc1b2 --- /dev/null +++ b/proto/AvatarChangeAnimHashReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AvatarChangeAnimHashReq { + enum JPEFNCKOODN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1603; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint64 avatarGuid = 2; + uint32 animHash = 12; +} diff --git a/proto/AvatarChangeAnimHashRsp.proto b/proto/AvatarChangeAnimHashRsp.proto new file mode 100644 index 00000000..cd406b86 --- /dev/null +++ b/proto/AvatarChangeAnimHashRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AvatarChangeAnimHashRsp { + enum LLCGGMAIDBD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1700; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 15; + uint32 animHash = 9; + uint64 avatarGuid = 11; +} diff --git a/proto/AvatarChangeCostumeNotify.proto b/proto/AvatarChangeCostumeNotify.proto index c75091af..c4add49e 100644 --- a/proto/AvatarChangeCostumeNotify.proto +++ b/proto/AvatarChangeCostumeNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "SceneEntityInfo.proto"; + +import "SceneEntityInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message AvatarChangeCostumeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1665; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum IJBEGDIBHOL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1648; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - SceneEntityInfo entity_info = 11; + SceneEntityInfo entityInfo = 13; } diff --git a/proto/AvatarChangeCostumeReq.proto b/proto/AvatarChangeCostumeReq.proto index 9863169e..e36ea5df 100644 --- a/proto/AvatarChangeCostumeReq.proto +++ b/proto/AvatarChangeCostumeReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarChangeCostumeReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1707; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum KCNDOLCKEMD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1759; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint64 avatar_guid = 6; - uint32 costume_id = 1; + uint64 avatarGuid = 4; + uint32 costumeId = 11; } diff --git a/proto/AvatarChangeCostumeRsp.proto b/proto/AvatarChangeCostumeRsp.proto index a704c430..914975bc 100644 --- a/proto/AvatarChangeCostumeRsp.proto +++ b/proto/AvatarChangeCostumeRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarChangeCostumeRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1609; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum AAJPALBMJPF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1753; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 10; - uint64 avatar_guid = 9; - uint32 costume_id = 3; + uint32 costumeId = 15; + uint64 avatarGuid = 5; + int32 retcode = 7; } diff --git a/proto/AvatarChangeElementTypeReq.proto b/proto/AvatarChangeElementTypeReq.proto index f237f493..b04f780d 100644 --- a/proto/AvatarChangeElementTypeReq.proto +++ b/proto/AvatarChangeElementTypeReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarChangeElementTypeReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1779; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum MAGIHCDMAJD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1664; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 area_id = 12; - uint32 scene_id = 3; + uint32 sceneId = 8; + uint32 areaId = 1; } diff --git a/proto/AvatarChangeElementTypeRsp.proto b/proto/AvatarChangeElementTypeRsp.proto index aecf7fcb..b68b28cc 100644 --- a/proto/AvatarChangeElementTypeRsp.proto +++ b/proto/AvatarChangeElementTypeRsp.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarChangeElementTypeRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1717; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HNKCONAIBOJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1744; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 9; + int32 retcode = 15; } diff --git a/proto/AvatarDataNotify.proto b/proto/AvatarDataNotify.proto index 1c5329d0..3ea531cb 100644 --- a/proto/AvatarDataNotify.proto +++ b/proto/AvatarDataNotify.proto @@ -1,44 +1,28 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AvatarInfo.proto"; -import "AvatarRenameInfo.proto"; -import "AvatarTeam.proto"; + +import "AvatarInfo.proto"; +import "AvatarTeam.proto"; +import "AvatarRenameInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message AvatarDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1607; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum FHCMOBLNBMF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1645; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated AvatarInfo avatar_list = 14; - repeated AvatarRenameInfo avatar_rename_list = 8; - uint32 cur_avatar_team_id = 7; - repeated uint32 owned_flycloak_list = 6; - repeated uint64 temp_avatar_guid_list = 15; - uint64 choose_avatar_guid = 1; - map avatar_team_map = 11; - repeated uint32 owned_costume_list = 5; - repeated uint32 backup_avatar_team_order_list = 3; + uint64 chooseAvatarGuid = 4; + repeated uint32 ownedCostumeList = 15; + repeated AvatarInfo avatarList = 8; + uint32 curAvatarTeamId = 5; + map avatarTeamMap = 6; + repeated uint32 ownedFlycloakList = 2; + repeated AvatarRenameInfo avatarRenameList = 7; + repeated uint32 backupAvatarTeamOrderList = 12; + repeated uint64 tempAvatarGuidList = 14; } diff --git a/proto/AvatarDelNotify.proto b/proto/AvatarDelNotify.proto new file mode 100644 index 00000000..bc0ec679 --- /dev/null +++ b/proto/AvatarDelNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AvatarDelNotify { + enum JCFIEDDPCDF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1670; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint64 avatarGuidList = 1; +} diff --git a/proto/AvatarDieAnimationEndReq.proto b/proto/AvatarDieAnimationEndReq.proto index ab91cae8..b218e3b1 100644 --- a/proto/AvatarDieAnimationEndReq.proto +++ b/proto/AvatarDieAnimationEndReq.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message AvatarDieAnimationEndReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1695; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum BBHLLEDPODB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1652; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint64 die_guid = 13; - Vector reborn_pos = 14; - uint32 skill_id = 9; + uint64 dieGuid = 7; + uint32 skillId = 4; + Rotation rebornPos = 10; } diff --git a/proto/AvatarDieAnimationEndRsp.proto b/proto/AvatarDieAnimationEndRsp.proto index 2abcb64c..5b76eeb6 100644 --- a/proto/AvatarDieAnimationEndRsp.proto +++ b/proto/AvatarDieAnimationEndRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarDieAnimationEndRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1604; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum LFADGEJKMLI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1657; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 12; - uint32 skill_id = 10; - uint64 die_guid = 7; + uint64 dieGuid = 3; + uint32 skillId = 6; + int32 retcode = 5; } diff --git a/proto/AvatarEnterElementViewNotify.proto b/proto/AvatarEnterElementViewNotify.proto new file mode 100644 index 00000000..a86c3bfa --- /dev/null +++ b/proto/AvatarEnterElementViewNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AvatarEnterElementViewNotify { + enum LIFOCPJLIDM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 351; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isTriggered = 6; + uint32 avatarEntityId = 1; +} diff --git a/proto/AvatarEnterSceneInfo.proto b/proto/AvatarEnterSceneInfo.proto index 6d4730cc..e03fc0dc 100644 --- a/proto/AvatarEnterSceneInfo.proto +++ b/proto/AvatarEnterSceneInfo.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "AbilitySyncStateInfo.proto"; import "ServerBuff.proto"; - option java_package = "emu.grasscutter.net.proto"; message AvatarEnterSceneInfo { - uint32 weapon_entity_id = 5; - uint64 avatar_guid = 9; - uint32 avatar_entity_id = 13; - repeated ServerBuff server_buff_list = 7; - AbilitySyncStateInfo weapon_ability_info = 6; - repeated uint32 buff_id_list = 8; - AbilitySyncStateInfo avatar_ability_info = 1; - uint64 weapon_guid = 15; + uint64 avatarGuid = 8; + uint32 weaponEntityId = 13; + AbilitySyncStateInfo avatarAbilityInfo = 1; + repeated uint32 buffIdList = 7; + uint32 avatarEntityId = 10; + repeated ServerBuff serverBuffList = 4; + AbilitySyncStateInfo weaponAbilityInfo = 11; + uint64 weaponGuid = 14; } diff --git a/proto/AvatarEquipAffixInfo.proto b/proto/AvatarEquipAffixInfo.proto index 8919d88d..763a98df 100644 --- a/proto/AvatarEquipAffixInfo.proto +++ b/proto/AvatarEquipAffixInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarEquipAffixInfo { - uint32 equip_affix_id = 1; - uint32 left_cd_time = 2; + uint32 equipAffixId = 1; + uint32 leftCdTime = 2; } diff --git a/proto/AvatarEquipAffixStartNotify.proto b/proto/AvatarEquipAffixStartNotify.proto index 3c2ecd00..b5e6c94a 100644 --- a/proto/AvatarEquipAffixStartNotify.proto +++ b/proto/AvatarEquipAffixStartNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AvatarEquipAffixInfo.proto"; + +import "AvatarEquipAffixInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message AvatarEquipAffixStartNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1708; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum CIBOKBFGLBI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1602; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint64 avatar_guid = 1; - AvatarEquipAffixInfo equip_affix_info = 9; + AvatarEquipAffixInfo equipAffixInfo = 5; + uint64 avatarGuid = 15; } diff --git a/proto/AvatarEquipChangeNotify.proto b/proto/AvatarEquipChangeNotify.proto index 6f6323b1..209ec22a 100644 --- a/proto/AvatarEquipChangeNotify.proto +++ b/proto/AvatarEquipChangeNotify.proto @@ -1,41 +1,25 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "SceneReliquaryInfo.proto"; import "SceneWeaponInfo.proto"; - option java_package = "emu.grasscutter.net.proto"; message AvatarEquipChangeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 676; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum KBOAEKOMBGL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 639; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint64 avatar_guid = 7; - uint32 equip_type = 10; - uint64 equip_guid = 5; - uint32 item_id = 3; - SceneReliquaryInfo reliquary = 4; - SceneWeaponInfo weapon = 15; + uint32 itemId = 2; + uint64 equipGuid = 11; + uint32 equipType = 12; + SceneReliquaryInfo reliquary = 13; + uint64 avatarGuid = 15; + SceneWeaponInfo weapon = 10; } diff --git a/proto/AvatarExcelInfo.proto b/proto/AvatarExcelInfo.proto index 65a541f8..03928ba5 100644 --- a/proto/AvatarExcelInfo.proto +++ b/proto/AvatarExcelInfo.proto @@ -1,28 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarExcelInfo { - uint64 prefab_path_hash = 1; - uint64 prefab_path_remote_hash = 2; - uint64 controller_path_hash = 3; - uint64 controller_path_remote_hash = 4; - uint64 combat_config_hash = 5; + uint64 prefabPathHash = 1; + uint64 prefabPathRemoteHash = 2; + uint64 controllerPathHash = 3; + uint64 controllerPathRemoteHash = 4; + uint64 combatConfigHash = 5; } diff --git a/proto/AvatarExpeditionAllDataReq.proto b/proto/AvatarExpeditionAllDataReq.proto index 510863af..e6b83849 100644 --- a/proto/AvatarExpeditionAllDataReq.proto +++ b/proto/AvatarExpeditionAllDataReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarExpeditionAllDataReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1685; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum DENKBLMPDGH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1777; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/AvatarExpeditionAllDataRsp.proto b/proto/AvatarExpeditionAllDataRsp.proto index 3088447d..e4aa6196 100644 --- a/proto/AvatarExpeditionAllDataRsp.proto +++ b/proto/AvatarExpeditionAllDataRsp.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AvatarExpeditionInfo.proto"; + +import "AvatarExpeditionInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message AvatarExpeditionAllDataRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1621; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HDIMKBBDJLE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1654; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 15; - repeated uint32 open_expedition_list = 4; - map expedition_info_map = 1; - uint32 expedition_count_limit = 13; + uint32 expeditionCountLimit = 12; + repeated uint32 openExpeditionList = 9; + int32 retcode = 4; + map expeditionInfoMap = 10; } diff --git a/proto/AvatarExpeditionCallBackReq.proto b/proto/AvatarExpeditionCallBackReq.proto index d3d19ee3..8e2670b9 100644 --- a/proto/AvatarExpeditionCallBackReq.proto +++ b/proto/AvatarExpeditionCallBackReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarExpeditionCallBackReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1777; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum KEPEFJMFOHO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1697; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated uint64 avatar_guid = 14; + repeated uint64 avatarGuid = 14; } diff --git a/proto/AvatarExpeditionCallBackRsp.proto b/proto/AvatarExpeditionCallBackRsp.proto index 90cc657b..3dbbf061 100644 --- a/proto/AvatarExpeditionCallBackRsp.proto +++ b/proto/AvatarExpeditionCallBackRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AvatarExpeditionInfo.proto"; + +import "AvatarExpeditionInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message AvatarExpeditionCallBackRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1702; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum PAFOHCPJJIP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1632; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 2; - map expedition_info_map = 7; + int32 retcode = 14; + map expeditionInfoMap = 7; } diff --git a/proto/AvatarExpeditionDataNotify.proto b/proto/AvatarExpeditionDataNotify.proto index 95a90055..2bd6bef7 100644 --- a/proto/AvatarExpeditionDataNotify.proto +++ b/proto/AvatarExpeditionDataNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AvatarExpeditionInfo.proto"; + +import "AvatarExpeditionInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message AvatarExpeditionDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1632; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum INDPMHLNJFH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1638; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - map expedition_info_map = 15; + map expeditionInfoMap = 4; } diff --git a/proto/AvatarExpeditionGetRewardReq.proto b/proto/AvatarExpeditionGetRewardReq.proto index c6527d3c..f65b7563 100644 --- a/proto/AvatarExpeditionGetRewardReq.proto +++ b/proto/AvatarExpeditionGetRewardReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarExpeditionGetRewardReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1640; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum ELDPCKGGBFB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1712; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint64 avatar_guid = 2; + uint64 avatarGuid = 15; } diff --git a/proto/AvatarExpeditionGetRewardRsp.proto b/proto/AvatarExpeditionGetRewardRsp.proto index be82aa28..56636265 100644 --- a/proto/AvatarExpeditionGetRewardRsp.proto +++ b/proto/AvatarExpeditionGetRewardRsp.proto @@ -1,38 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AvatarExpeditionInfo.proto"; -import "ItemParam.proto"; + +import "ItemParam.proto"; +import "AvatarExpeditionInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message AvatarExpeditionGetRewardRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1715; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum OEBMGNAINIP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1659; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated ItemParam item_list = 7; - repeated ItemParam extra_item_list = 11; - map expedition_info_map = 13; - int32 retcode = 8; + int32 retcode = 9; + repeated ItemParam extraItemList = 10; + map expeditionInfoMap = 4; + repeated ItemParam itemList = 14; } diff --git a/proto/AvatarExpeditionInfo.proto b/proto/AvatarExpeditionInfo.proto index 81209ecd..fb03c601 100644 --- a/proto/AvatarExpeditionInfo.proto +++ b/proto/AvatarExpeditionInfo.proto @@ -1,30 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AvatarExpeditionState.proto"; + +import "AvatarExpeditionState.proto"; option java_package = "emu.grasscutter.net.proto"; message AvatarExpeditionInfo { - AvatarExpeditionState state = 1; - uint32 exp_id = 2; - uint32 hour_time = 3; - uint32 start_time = 4; - float shorten_ratio = 5; + AvatarExpeditionState state = 1; + uint32 expId = 2; + uint32 hourTime = 3; + uint32 startTime = 4; + float shortenRatio = 5; } diff --git a/proto/AvatarExpeditionStartReq.proto b/proto/AvatarExpeditionStartReq.proto index dc600310..bc410e5e 100644 --- a/proto/AvatarExpeditionStartReq.proto +++ b/proto/AvatarExpeditionStartReq.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarExpeditionStartReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1697; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum ALMCOHOIHKE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1656; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 hour_time = 7; - uint64 avatar_guid = 3; - uint32 exp_id = 2; + uint32 hourTime = 12; + uint64 avatarGuid = 8; + uint32 expId = 14; } diff --git a/proto/AvatarExpeditionStartRsp.proto b/proto/AvatarExpeditionStartRsp.proto index 8f4001f2..39e8a075 100644 --- a/proto/AvatarExpeditionStartRsp.proto +++ b/proto/AvatarExpeditionStartRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AvatarExpeditionInfo.proto"; + +import "AvatarExpeditionInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message AvatarExpeditionStartRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1646; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum PGOGFJNPCBG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1653; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 4; - map expedition_info_map = 8; + map expeditionInfoMap = 7; + int32 retcode = 10; } diff --git a/proto/AvatarExpeditionState.proto b/proto/AvatarExpeditionState.proto index e9fe5f54..b1d28889 100644 --- a/proto/AvatarExpeditionState.proto +++ b/proto/AvatarExpeditionState.proto @@ -1,28 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum AvatarExpeditionState { - AVATAR_EXPEDITION_STATE_NONE = 0; - AVATAR_EXPEDITION_STATE_DOING = 1; - AVATAR_EXPEDITION_STATE_FINISH_WAIT_REWARD = 2; - AVATAR_EXPEDITION_STATE_CALLBACK_WAIT_REWARD = 3; - AVATAR_EXPEDITION_STATE_LOCKED = 4; + AVATAR_EXPEDITION_STATE_NONE = 0; + AVATAR_EXPEDITION_STATE_DOING = 1; + AVATAR_EXPEDITION_STATE_FINISH_WAIT_REWARD = 2; + AVATAR_EXPEDITION_STATE_CALLBACK_WAIT_REWARD = 3; + AVATAR_EXPEDITION_STATE_LOCKED = 4; } diff --git a/proto/AvatarFetterDataNotify.proto b/proto/AvatarFetterDataNotify.proto index 738860e4..af9ea179 100644 --- a/proto/AvatarFetterDataNotify.proto +++ b/proto/AvatarFetterDataNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AvatarFetterInfo.proto"; + +import "AvatarFetterInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message AvatarFetterDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1617; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum GNEHOADIGHH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1772; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - map fetter_info_map = 2; + map fetterInfoMap = 11; } diff --git a/proto/AvatarFetterInfo.proto b/proto/AvatarFetterInfo.proto index f6751635..053cdaa7 100644 --- a/proto/AvatarFetterInfo.proto +++ b/proto/AvatarFetterInfo.proto @@ -1,31 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "FetterData.proto"; + +import "FetterData.proto"; option java_package = "emu.grasscutter.net.proto"; message AvatarFetterInfo { - uint32 exp_number = 1; - uint32 exp_level = 2; - repeated uint32 open_id_list = 3; - repeated uint32 finish_id_list = 4; - repeated uint32 rewarded_fetter_level_list = 5; - repeated FetterData fetter_list = 6; + uint32 expNumber = 1; + uint32 expLevel = 2; + repeated uint32 openIdList = 3; + repeated uint32 finishIdList = 4; + repeated uint32 rewardedFetterLevelList = 5; + repeated FetterData fetterList = 6; } diff --git a/proto/AvatarFetterLevelRewardReq.proto b/proto/AvatarFetterLevelRewardReq.proto index b6d0850c..87b0f8db 100644 --- a/proto/AvatarFetterLevelRewardReq.proto +++ b/proto/AvatarFetterLevelRewardReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarFetterLevelRewardReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1642; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum BMENKDDIBDD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1682; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint64 avatar_guid = 2; - uint32 fetter_level = 5; + uint64 avatarGuid = 13; + uint32 fetterLevel = 12; } diff --git a/proto/AvatarFetterLevelRewardRsp.proto b/proto/AvatarFetterLevelRewardRsp.proto index 19850dc3..ed2651c1 100644 --- a/proto/AvatarFetterLevelRewardRsp.proto +++ b/proto/AvatarFetterLevelRewardRsp.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarFetterLevelRewardRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1753; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum JBNBIMLNDDO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1612; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 2; - uint32 reward_id = 15; - uint32 fetter_level = 1; - uint64 avatar_guid = 6; + uint32 rewardId = 15; + int32 retcode = 14; + uint32 fetterLevel = 2; + uint64 avatarGuid = 6; } diff --git a/proto/AvatarFightPropNotify.proto b/proto/AvatarFightPropNotify.proto index 1394bcc6..5501f613 100644 --- a/proto/AvatarFightPropNotify.proto +++ b/proto/AvatarFightPropNotify.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarFightPropNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1300; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum FMAOPOPANDM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1220; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint64 avatar_guid = 13; - map fight_prop_map = 5; + map fightPropMap = 13; + uint64 avatarGuid = 12; } diff --git a/proto/AvatarFightPropUpdateNotify.proto b/proto/AvatarFightPropUpdateNotify.proto index 13d14ac4..ea3efe35 100644 --- a/proto/AvatarFightPropUpdateNotify.proto +++ b/proto/AvatarFightPropUpdateNotify.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarFightPropUpdateNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1243; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HMBDFKEJKAN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1274; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint64 avatar_guid = 13; - map fight_prop_map = 10; + uint64 avatarGuid = 8; + map fightPropMap = 10; } diff --git a/proto/AvatarFlycloakChangeNotify.proto b/proto/AvatarFlycloakChangeNotify.proto index c318eb7d..dcd92202 100644 --- a/proto/AvatarFlycloakChangeNotify.proto +++ b/proto/AvatarFlycloakChangeNotify.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarFlycloakChangeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1790; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum FCMNOBMLJIF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1626; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 flycloak_id = 1; - uint64 avatar_guid = 13; + uint32 flycloakId = 4; + uint64 avatarGuid = 12; } diff --git a/proto/AvatarFollowRouteNotify.proto b/proto/AvatarFollowRouteNotify.proto index 091c5bda..e75216ef 100644 --- a/proto/AvatarFollowRouteNotify.proto +++ b/proto/AvatarFollowRouteNotify.proto @@ -1,38 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Route.proto"; + +import "Route.proto"; option java_package = "emu.grasscutter.net.proto"; message AvatarFollowRouteNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 3256; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum PEPNPAGIKJC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3097; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - string client_params = 5; - Route route = 1; - uint32 entity_id = 10; - uint32 template_id = 4; - uint32 start_scene_time_ms = 3; + uint32 startSceneTimeMs = 6; + uint32 templateId = 2; + string clientParams = 10; + Route route = 4; + uint32 entityId = 1; } diff --git a/proto/AvatarGainCostumeNotify.proto b/proto/AvatarGainCostumeNotify.proto index 223d8a67..ba1bdb59 100644 --- a/proto/AvatarGainCostumeNotify.proto +++ b/proto/AvatarGainCostumeNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarGainCostumeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1625; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum GMAECEBKKBE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1714; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 costume_id = 10; + uint32 costumeId = 6; } diff --git a/proto/AvatarGainFlycloakNotify.proto b/proto/AvatarGainFlycloakNotify.proto index 23cf68cb..65bfe243 100644 --- a/proto/AvatarGainFlycloakNotify.proto +++ b/proto/AvatarGainFlycloakNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarGainFlycloakNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1676; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum BNAPPNHGLHA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1702; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 flycloak_id = 4; + uint32 flycloakId = 15; } diff --git a/proto/AvatarInfo.proto b/proto/AvatarInfo.proto index 62325768..a832a788 100644 --- a/proto/AvatarInfo.proto +++ b/proto/AvatarInfo.proto @@ -1,57 +1,43 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AvatarEquipAffixInfo.proto"; -import "AvatarExcelInfo.proto"; -import "AvatarExpeditionState.proto"; -import "AvatarFetterInfo.proto"; -import "AvatarSkillInfo.proto"; -import "PropValue.proto"; -import "TrialAvatarInfo.proto"; + +import "TrialAvatarInfo.proto"; +import "AvatarFetterInfo.proto"; +import "AvatarExpeditionState.proto"; +import "AvatarExcelInfo.proto"; +import "PIDFKDHMHKA.proto"; +import "PropValue.proto"; +import "AvatarSkillInfo.proto"; +import "AvatarEquipAffixInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message AvatarInfo { - uint32 avatar_id = 1; - uint64 guid = 2; - map prop_map = 3; - uint32 life_state = 4; - repeated uint64 equip_guid_list = 5; - repeated uint32 talent_id_list = 6; - map fight_prop_map = 7; - TrialAvatarInfo trial_avatar_info = 9; - map skill_map = 10; - uint32 skill_depot_id = 11; - AvatarFetterInfo fetter_info = 12; - uint32 core_proud_skill_level = 13; - repeated uint32 inherent_proud_skill_list = 14; - map skill_level_map = 15; - AvatarExpeditionState expedition_state = 16; - map proud_skill_extra_level_map = 17; - bool is_focus = 18; - uint32 avatar_type = 19; - repeated uint32 team_resonance_list = 20; - uint32 wearing_flycloak_id = 21; - repeated AvatarEquipAffixInfo equip_affix_list = 22; - uint32 born_time = 23; - repeated uint32 pending_promote_reward_list = 24; - uint32 costume_id = 25; - AvatarExcelInfo excel_info = 26; - uint32 anim_hash = 27; + uint32 avatarId = 1; + uint64 guid = 2; + map propMap = 3; + uint32 lifeState = 4; + repeated uint64 equipGuidList = 5; + repeated uint32 talentIdList = 6; + map fightPropMap = 7; + TrialAvatarInfo trialAvatarInfo = 9; + map skillMap = 10; + uint32 skillDepotId = 11; + AvatarFetterInfo fetterInfo = 12; + uint32 coreProudSkillLevel = 13; + repeated uint32 inherentProudSkillList = 14; + map skillLevelMap = 15; + AvatarExpeditionState expeditionState = 16; + map proudSkillExtraLevelMap = 17; + bool isFocus = 18; + uint32 avatarType = 19; + repeated uint32 teamResonanceList = 20; + uint32 wearingFlycloakId = 21; + repeated AvatarEquipAffixInfo equipAffixList = 22; + uint32 bornTime = 23; + repeated uint32 pendingPromoteRewardList = 24; + uint32 costumeId = 25; + AvatarExcelInfo excelInfo = 26; + uint32 animHash = 27; + PIDFKDHMHKA lejhmjbbjcp = 28; } diff --git a/proto/AvatarLifeStateChangeNotify.proto b/proto/AvatarLifeStateChangeNotify.proto index 8b6d5543..f5d969c2 100644 --- a/proto/AvatarLifeStateChangeNotify.proto +++ b/proto/AvatarLifeStateChangeNotify.proto @@ -1,41 +1,25 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "PlayerDieType.proto"; import "ServerBuff.proto"; - option java_package = "emu.grasscutter.net.proto"; message AvatarLifeStateChangeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1247; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MCNNCBGGDAI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1270; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 source_entity_id = 11; - repeated ServerBuff server_buff_list = 14; - uint32 move_reliable_seq = 12; - uint32 life_state = 6; - PlayerDieType die_type = 5; - string attack_tag = 15; - uint64 avatar_guid = 2; + uint32 lifeState = 8; + uint32 moveReliableSeq = 10; + PlayerDieType dieType = 1; + string attackTag = 6; + uint64 avatarGuid = 3; + uint32 sourceEntityId = 5; + repeated ServerBuff serverBuffList = 4; } diff --git a/proto/AvatarPromoteGetRewardReq.proto b/proto/AvatarPromoteGetRewardReq.proto new file mode 100644 index 00000000..d4d45794 --- /dev/null +++ b/proto/AvatarPromoteGetRewardReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AvatarPromoteGetRewardReq { + enum AHLKOIHOHKI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1642; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint64 avatarGuid = 8; + uint32 promoteLevel = 10; +} diff --git a/proto/AvatarPromoteGetRewardRsp.proto b/proto/AvatarPromoteGetRewardRsp.proto new file mode 100644 index 00000000..b84d88f4 --- /dev/null +++ b/proto/AvatarPromoteGetRewardRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AvatarPromoteGetRewardRsp { + enum CAPLBOCEKAL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1718; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 rewardId = 8; + uint32 promoteLevel = 5; + int32 retcode = 12; + uint64 avatarGuid = 14; +} diff --git a/proto/AvatarPromoteReq.proto b/proto/AvatarPromoteReq.proto index 4792fd54..a8b9defb 100644 --- a/proto/AvatarPromoteReq.proto +++ b/proto/AvatarPromoteReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarPromoteReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1731; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum GECCHDOHJLM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1715; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint64 guid = 1; + uint64 guid = 1; } diff --git a/proto/AvatarPromoteRsp.proto b/proto/AvatarPromoteRsp.proto index a9dd7332..70f52670 100644 --- a/proto/AvatarPromoteRsp.proto +++ b/proto/AvatarPromoteRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarPromoteRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1710; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum CNLNLEOAILH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1668; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint64 guid = 11; - int32 retcode = 13; + uint64 guid = 13; + int32 retcode = 7; } diff --git a/proto/AvatarPropChangeReasonNotify.proto b/proto/AvatarPropChangeReasonNotify.proto index d1d64060..d3770f3b 100644 --- a/proto/AvatarPropChangeReasonNotify.proto +++ b/proto/AvatarPropChangeReasonNotify.proto @@ -1,38 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "PropChangeReason.proto"; + +import "PropChangeReason.proto"; option java_package = "emu.grasscutter.net.proto"; message AvatarPropChangeReasonNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1278; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MNCBONEOPGK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1262; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 prop_type = 7; - PropChangeReason reason = 15; - float cur_value = 14; - uint64 avatar_guid = 3; - float old_value = 13; + float curValue = 2; + uint32 propType = 10; + float oldValue = 4; + PropChangeReason reason = 5; + uint64 avatarGuid = 12; } diff --git a/proto/AvatarPropNotify.proto b/proto/AvatarPropNotify.proto index 888180d0..58105dd4 100644 --- a/proto/AvatarPropNotify.proto +++ b/proto/AvatarPropNotify.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarPropNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1227; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum OPECNEKAPGO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1224; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint64 avatar_guid = 1; - map prop_map = 8; + uint64 avatarGuid = 15; + map propMap = 11; } diff --git a/proto/AvatarRenameInfo.proto b/proto/AvatarRenameInfo.proto index a9ee9b67..ec15acad 100644 --- a/proto/AvatarRenameInfo.proto +++ b/proto/AvatarRenameInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarRenameInfo { - string avatar_name = 3; - uint32 avatar_id = 7; + uint32 avatarId = 1; + string avatarName = 8; } diff --git a/proto/AvatarRenameInfoNotify.proto b/proto/AvatarRenameInfoNotify.proto new file mode 100644 index 00000000..15a60ec4 --- /dev/null +++ b/proto/AvatarRenameInfoNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "AvatarRenameInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AvatarRenameInfoNotify { + enum HEGAMGBFDLO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1665; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated AvatarRenameInfo avatarRenameList = 12; +} diff --git a/proto/AvatarSatiationData.proto b/proto/AvatarSatiationData.proto new file mode 100644 index 00000000..86586ea5 --- /dev/null +++ b/proto/AvatarSatiationData.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message AvatarSatiationData { + uint64 avatarGuid = 5; + float finishTime = 15; + float penaltyFinishTime = 12; +} diff --git a/proto/AvatarSatiationDataNotify.proto b/proto/AvatarSatiationDataNotify.proto new file mode 100644 index 00000000..7efe989d --- /dev/null +++ b/proto/AvatarSatiationDataNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "AvatarSatiationData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message AvatarSatiationDataNotify { + enum JKBKGEDKLLG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1722; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated AvatarSatiationData satiationDataList = 9; +} diff --git a/proto/AvatarSkillChangeNotify.proto b/proto/AvatarSkillChangeNotify.proto index c6c46336..daa2e4df 100644 --- a/proto/AvatarSkillChangeNotify.proto +++ b/proto/AvatarSkillChangeNotify.proto @@ -1,37 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarSkillChangeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1099; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MHMGKMKHGCN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1016; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint64 avatar_guid = 4; - uint32 old_level = 7; - uint32 cur_level = 15; - uint32 skill_depot_id = 6; - uint32 entity_id = 1; - uint32 avatar_skill_id = 11; + uint64 avatarGuid = 4; + uint32 entityId = 12; + uint32 avatarSkillId = 1; + uint32 skillDepotId = 5; + uint32 oldLevel = 6; + uint32 curLevel = 2; } diff --git a/proto/AvatarSkillDepotChangeNotify.proto b/proto/AvatarSkillDepotChangeNotify.proto index 5795a10e..d0302ba9 100644 --- a/proto/AvatarSkillDepotChangeNotify.proto +++ b/proto/AvatarSkillDepotChangeNotify.proto @@ -1,39 +1,24 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarSkillDepotChangeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1019; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum DCNKKEIFKEO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1098; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - map proud_skill_extra_level_map = 9; - repeated uint32 proud_skill_list = 3; - uint32 entity_id = 5; - uint64 avatar_guid = 7; - map skill_level_map = 1; - uint32 skill_depot_id = 13; - repeated uint32 talent_id_list = 14; - uint32 core_proud_skill_level = 15; + repeated uint32 talentIdList = 14; + repeated uint32 proudSkillList = 11; + uint32 skillDepotId = 8; + uint32 entityId = 3; + map proudSkillExtraLevelMap = 4; + uint32 coreProudSkillLevel = 10; + map skillLevelMap = 13; + uint64 avatarGuid = 12; } diff --git a/proto/AvatarSkillInfo.proto b/proto/AvatarSkillInfo.proto index 931f3dd6..f19da210 100644 --- a/proto/AvatarSkillInfo.proto +++ b/proto/AvatarSkillInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarSkillInfo { - uint32 pass_cd_time = 1; - repeated uint32 full_cd_time_list = 2; - uint32 max_charge_count = 3; + uint32 passCdTime = 1; + repeated uint32 fullCdTimeList = 2; + uint32 maxChargeCount = 3; } diff --git a/proto/AvatarSkillInfoNotify.proto b/proto/AvatarSkillInfoNotify.proto index 862b1964..63e9c00c 100644 --- a/proto/AvatarSkillInfoNotify.proto +++ b/proto/AvatarSkillInfoNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AvatarSkillInfo.proto"; + +import "AvatarSkillInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message AvatarSkillInfoNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1047; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum ECOIPGLJMMN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1070; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - map skill_map = 6; - uint64 guid = 4; + map skillMap = 2; + uint64 guid = 4; } diff --git a/proto/AvatarSkillMaxChargeCountNotify.proto b/proto/AvatarSkillMaxChargeCountNotify.proto index 63fe55bb..cc8b1c01 100644 --- a/proto/AvatarSkillMaxChargeCountNotify.proto +++ b/proto/AvatarSkillMaxChargeCountNotify.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarSkillMaxChargeCountNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1061; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum GJOILNCPKPJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1080; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint64 avatar_guid = 4; - uint32 max_charge_count = 9; - uint32 skill_id = 6; + uint32 skillId = 3; + uint64 avatarGuid = 7; + uint32 maxChargeCount = 1; } diff --git a/proto/AvatarSkillUpgradeReq.proto b/proto/AvatarSkillUpgradeReq.proto index d4e13466..2816f6f8 100644 --- a/proto/AvatarSkillUpgradeReq.proto +++ b/proto/AvatarSkillUpgradeReq.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarSkillUpgradeReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1039; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum APLOEPHODPD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1029; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint64 avatar_guid = 5; - uint32 avatar_skill_id = 12; - uint32 old_level = 8; + uint32 avatarSkillId = 10; + uint64 avatarGuid = 2; + uint32 oldLevel = 12; } diff --git a/proto/AvatarSkillUpgradeRsp.proto b/proto/AvatarSkillUpgradeRsp.proto index 63abde5f..95aef8be 100644 --- a/proto/AvatarSkillUpgradeRsp.proto +++ b/proto/AvatarSkillUpgradeRsp.proto @@ -1,36 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarSkillUpgradeRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1048; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum CIIINDGLIJC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1078; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 cur_level = 6; - uint32 avatar_skill_id = 13; - int32 retcode = 15; - uint32 old_level = 1; - uint64 avatar_guid = 5; + int32 retcode = 5; + uint32 curLevel = 2; + uint32 avatarSkillId = 15; + uint64 avatarGuid = 7; + uint32 oldLevel = 1; } diff --git a/proto/AvatarTeam.proto b/proto/AvatarTeam.proto index f6b0c6e8..676f0cd3 100644 --- a/proto/AvatarTeam.proto +++ b/proto/AvatarTeam.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarTeam { - repeated uint64 avatar_guid_list = 13; - string team_name = 4; + string teamName = 11; + repeated uint64 avatarGuidList = 5; } diff --git a/proto/AvatarTeamAllDataNotify.proto b/proto/AvatarTeamAllDataNotify.proto index 48b2473d..40016537 100644 --- a/proto/AvatarTeamAllDataNotify.proto +++ b/proto/AvatarTeamAllDataNotify.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AvatarTeam.proto"; + +import "AvatarTeam.proto"; option java_package = "emu.grasscutter.net.proto"; message AvatarTeamAllDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1615; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum AMCELHNAEJK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1763; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint64 temp_avatar_guid_list = 2; - repeated uint32 backup_avatar_team_order_list = 10; - map avatar_team_map = 5; + repeated uint64 tempAvatarGuidList = 15; + repeated uint32 backupAvatarTeamOrderList = 14; + map avatarTeamMap = 12; } diff --git a/proto/AvatarTeamResonanceInfo.proto b/proto/AvatarTeamResonanceInfo.proto index 1b6211df..e0a5bd05 100644 --- a/proto/AvatarTeamResonanceInfo.proto +++ b/proto/AvatarTeamResonanceInfo.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarTeamResonanceInfo { - uint64 avatar_guid = 9; - uint32 entity_id = 8; - repeated uint32 add_team_resonance_id_list = 15; - repeated uint32 del_team_resonance_id_list = 13; + uint64 avatarGuid = 10; + repeated uint32 delTeamResonanceIdList = 8; + uint32 entityId = 15; + repeated uint32 addTeamResonanceIdList = 2; } diff --git a/proto/AvatarTeamUpdateNotify.proto b/proto/AvatarTeamUpdateNotify.proto index 55baa00e..1032b4a1 100644 --- a/proto/AvatarTeamUpdateNotify.proto +++ b/proto/AvatarTeamUpdateNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AvatarTeam.proto"; + +import "AvatarTeam.proto"; option java_package = "emu.grasscutter.net.proto"; message AvatarTeamUpdateNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1739; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum KGKBPKDHFNL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1723; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - map avatar_team_map = 15; - repeated uint64 temp_avatar_guid_list = 10; + map avatarTeamMap = 6; + repeated uint64 tempAvatarGuidList = 8; } diff --git a/proto/AvatarType.proto b/proto/AvatarType.proto index ab44f94f..cfb0b59f 100644 --- a/proto/AvatarType.proto +++ b/proto/AvatarType.proto @@ -1,27 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum AvatarType { - AVATAR_TYPE_NONE = 0; - AVATAR_TYPE_FORMAL = 1; - AVATAR_TYPE_TRIAL = 2; - AVATAR_TYPE_MIRROR = 3; + AVATAR_TYPE_NONE = 0; + AVATAR_TYPE_FORMAL = 1; + AVATAR_TYPE_TRIAL = 2; + AVATAR_TYPE_MIRROR = 3; } diff --git a/proto/AvatarUnlockTalentNotify.proto b/proto/AvatarUnlockTalentNotify.proto index 802a26bd..9f3b6fc7 100644 --- a/proto/AvatarUnlockTalentNotify.proto +++ b/proto/AvatarUnlockTalentNotify.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarUnlockTalentNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1056; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum DMKONIEJLBG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1087; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 skill_depot_id = 9; - uint64 avatar_guid = 3; - uint32 entity_id = 10; - uint32 talent_id = 8; + uint64 avatarGuid = 12; + uint32 talentId = 10; + uint32 skillDepotId = 15; + uint32 entityId = 14; } diff --git a/proto/AvatarUpgradeReq.proto b/proto/AvatarUpgradeReq.proto index e5c17351..9c014e70 100644 --- a/proto/AvatarUpgradeReq.proto +++ b/proto/AvatarUpgradeReq.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarUpgradeReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1653; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum AJKBLCOOOKI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1752; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 item_id = 12; - uint32 count = 7; - uint64 avatar_guid = 1; + uint32 itemId = 1; + uint32 count = 9; + uint64 avatarGuid = 12; } diff --git a/proto/AvatarUpgradeRsp.proto b/proto/AvatarUpgradeRsp.proto index 889bc1dc..c28bfcb9 100644 --- a/proto/AvatarUpgradeRsp.proto +++ b/proto/AvatarUpgradeRsp.proto @@ -1,37 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarUpgradeRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1792; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum NFHCCCOLLBL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1788; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 8; - uint64 avatar_guid = 14; - uint32 cur_level = 9; - map cur_fight_prop_map = 13; - map old_fight_prop_map = 6; - uint32 old_level = 12; + map curFightPropMap = 11; + uint64 avatarGuid = 8; + map oldFightPropMap = 14; + uint32 oldLevel = 15; + int32 retcode = 13; + uint32 curLevel = 6; } diff --git a/proto/AvatarWearFlycloakReq.proto b/proto/AvatarWearFlycloakReq.proto index f9812aec..cd42b720 100644 --- a/proto/AvatarWearFlycloakReq.proto +++ b/proto/AvatarWearFlycloakReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarWearFlycloakReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1636; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum CLAGOAGGHID { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1773; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint64 avatar_guid = 11; - uint32 flycloak_id = 15; + uint64 avatarGuid = 13; + uint32 flycloakId = 14; } diff --git a/proto/AvatarWearFlycloakRsp.proto b/proto/AvatarWearFlycloakRsp.proto index 5cd15540..2fd83dda 100644 --- a/proto/AvatarWearFlycloakRsp.proto +++ b/proto/AvatarWearFlycloakRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message AvatarWearFlycloakRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1613; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum BKFIFBFODFE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1704; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 12; - uint64 avatar_guid = 14; - uint32 flycloak_id = 1; + uint64 avatarGuid = 3; + uint32 flycloakId = 1; + int32 retcode = 14; } diff --git a/proto/BBKCGLAKCPM.proto b/proto/BBKCGLAKCPM.proto new file mode 100644 index 00000000..d30f83ec --- /dev/null +++ b/proto/BBKCGLAKCPM.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "NOABGCFIDLD.proto"; +import "NHMKAMGOKDK.proto"; +import "POHLFOGNPII.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BBKCGLAKCPM { + string createTime = 1; + int32 daehjagbjbl = 3; + NOABGCFIDLD plkbejkcfai = 4; + NHMKAMGOKDK type = 5; + string nkgnchooned = 6; + string ggmggbnbpga = 2; + string kppiclokhkf = 7; + int32 eemaljenfdh = 9; + string npaoooeccdm = 10; + POHLFOGNPII jkfdibhoggm = 8; +} diff --git a/proto/BDFNLKLGIBI.proto b/proto/BDFNLKLGIBI.proto new file mode 100644 index 00000000..90820380 --- /dev/null +++ b/proto/BDFNLKLGIBI.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BDFNLKLGIBI { + uint64 value = 1; +} diff --git a/proto/BDKPJAMLNCL.proto b/proto/BDKPJAMLNCL.proto new file mode 100644 index 00000000..eb285138 --- /dev/null +++ b/proto/BDKPJAMLNCL.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "MLBFNDKNIEM.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BDKPJAMLNCL { + repeated MLBFNDKNIEM levelInfoList = 6; +} diff --git a/proto/BFIEOJNAJCA.proto b/proto/BFIEOJNAJCA.proto new file mode 100644 index 00000000..25ed1130 --- /dev/null +++ b/proto/BFIEOJNAJCA.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "DMIOGBOGIEG.proto"; +import "ANOKFBLCGGM.proto"; +import "PKGIAOBKFDC.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BFIEOJNAJCA { + uint32 uid = 10; + string oiibnieamib = 4; + string token = 2; + string fecoacjadfm = 14; + DMIOGBOGIEG kcmpcninooj = 11; + ANOKFBLCGGM gkpgobnbfce = 7; + PKGIAOBKFDC lang = 1; + uint32 timestamp = 13; +} diff --git a/proto/BGADCCEEGAO.proto b/proto/BGADCCEEGAO.proto new file mode 100644 index 00000000..f38dff44 --- /dev/null +++ b/proto/BGADCCEEGAO.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BGADCCEEGAO { + bool fhkoemgadhe = 1; +} diff --git a/proto/BGAOMPJLJDP.proto b/proto/BGAOMPJLJDP.proto new file mode 100644 index 00000000..986c2d3a --- /dev/null +++ b/proto/BGAOMPJLJDP.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BGAOMPJLJDP { + uint32 challengeId = 1; + uint32 challengeType = 2; + repeated uint32 paramList = 3; + uint32 progress = 4; +} diff --git a/proto/BGPGPMLJNLP.proto b/proto/BGPGPMLJNLP.proto new file mode 100644 index 00000000..47c8a679 --- /dev/null +++ b/proto/BGPGPMLJNLP.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "PLDKICHAHEB.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BGPGPMLJNLP { + string createTime = 1; + int32 daehjagbjbl = 2; + repeated PLDKICHAHEB jkfdibhoggm = 3; +} diff --git a/proto/BJDOMLGAILM.proto b/proto/BJDOMLGAILM.proto new file mode 100644 index 00000000..d4adf0a7 --- /dev/null +++ b/proto/BJDOMLGAILM.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BJDOMLGAILM { + bool mlonppbojpp = 1; +} diff --git a/proto/BJGDBMMEDNK.proto b/proto/BJGDBMMEDNK.proto new file mode 100644 index 00000000..b5da81af --- /dev/null +++ b/proto/BJGDBMMEDNK.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BJGDBMMEDNK { + Rotation faceDir = 3; + Rotation velocity = 7; + uint32 entityId = 6; + Rotation pos = 4; +} diff --git a/proto/BKJPMFGNDAE.proto b/proto/BKJPMFGNDAE.proto new file mode 100644 index 00000000..660084d7 --- /dev/null +++ b/proto/BKJPMFGNDAE.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "AbilityAppliedAbility.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BKJPMFGNDAE { + AbilityAppliedAbility eiemljpbfin = 4; +} diff --git a/proto/BMAPKBNNAGD.proto b/proto/BMAPKBNNAGD.proto new file mode 100644 index 00000000..a990659e --- /dev/null +++ b/proto/BMAPKBNNAGD.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BMAPKBNNAGD { + Rotation mpfmoiobaad = 2; + Rotation eknhofiihcl = 4; +} diff --git a/proto/BMIPNMKJMHN.proto b/proto/BMIPNMKJMHN.proto new file mode 100644 index 00000000..ed3647f2 --- /dev/null +++ b/proto/BMIPNMKJMHN.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BMIPNMKJMHN { +} diff --git a/proto/BOIPHJCFLBK.proto b/proto/BOIPHJCFLBK.proto new file mode 100644 index 00000000..6be674fa --- /dev/null +++ b/proto/BOIPHJCFLBK.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "NFHBHHJAJDA.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BOIPHJCFLBK { + float impfndpedoa = 11; + uint32 attackTargetId = 15; + float gjnmmadghcn = 6; + repeated NFHBHHJAJDA hdbonehdhll = 1; + float dladdidhjbc = 3; + float ogigbahpfog = 14; + map dlhfjjbaggg = 12; + uint32 nnlkpdinema = 7; + uint32 kldlcmkpnaa = 4; + uint32 akgfenlfekh = 9; + uint32 egfkffbealf = 5; + uint32 entityId = 2; +} diff --git a/proto/BackMyWorldReq.proto b/proto/BackMyWorldReq.proto new file mode 100644 index 00000000..c695b7ce --- /dev/null +++ b/proto/BackMyWorldReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BackMyWorldReq { + enum LKDIGIDFBMK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 231; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/BackMyWorldRsp.proto b/proto/BackMyWorldRsp.proto new file mode 100644 index 00000000..cb54cc7b --- /dev/null +++ b/proto/BackMyWorldRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BackMyWorldRsp { + enum MHICMFDMFAI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 276; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 9; +} diff --git a/proto/BackPlayCustomDungeonOfficialReq.proto b/proto/BackPlayCustomDungeonOfficialReq.proto new file mode 100644 index 00000000..ea01bb82 --- /dev/null +++ b/proto/BackPlayCustomDungeonOfficialReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BackPlayCustomDungeonOfficialReq { + enum LEOMIABPADC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6227; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 roomId = 4; +} diff --git a/proto/BackPlayCustomDungeonOfficialRsp.proto b/proto/BackPlayCustomDungeonOfficialRsp.proto new file mode 100644 index 00000000..17d87d66 --- /dev/null +++ b/proto/BackPlayCustomDungeonOfficialRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BackPlayCustomDungeonOfficialRsp { + enum HCINMIHICEF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6213; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 7; +} diff --git a/proto/BackRebornGalleryReq.proto b/proto/BackRebornGalleryReq.proto new file mode 100644 index 00000000..c3ca137f --- /dev/null +++ b/proto/BackRebornGalleryReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BackRebornGalleryReq { + enum KIIHHCFAPOO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5558; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 galleryId = 5; +} diff --git a/proto/BackRebornGalleryRsp.proto b/proto/BackRebornGalleryRsp.proto new file mode 100644 index 00000000..14c45bd6 --- /dev/null +++ b/proto/BackRebornGalleryRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BackRebornGalleryRsp { + enum BKBIFNPADFG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5518; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; + uint32 galleryId = 3; +} diff --git a/proto/BalloonGalleryInfo.proto b/proto/BalloonGalleryInfo.proto new file mode 100644 index 00000000..0e1b6523 --- /dev/null +++ b/proto/BalloonGalleryInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "HomeBalloonGalleryRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BalloonGalleryInfo { + repeated HomeBalloonGalleryRecord recordList = 7; +} diff --git a/proto/BalloonGallerySettleInfo.proto b/proto/BalloonGallerySettleInfo.proto new file mode 100644 index 00000000..e4026716 --- /dev/null +++ b/proto/BalloonGallerySettleInfo.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "GalleryStopReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BalloonGallerySettleInfo { + uint32 ownerUid = 5; + uint32 hitCount = 3; + GalleryStopReason reason = 15; + uint32 score = 6; +} diff --git a/proto/BalloonInfo.proto b/proto/BalloonInfo.proto new file mode 100644 index 00000000..a251e4db --- /dev/null +++ b/proto/BalloonInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "BalloonPlayerInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BalloonInfo { + map scenePlayerBalloonInfoMap = 13; + uint32 endTime = 7; +} diff --git a/proto/BalloonPlayerInfo.proto b/proto/BalloonPlayerInfo.proto new file mode 100644 index 00000000..2332f437 --- /dev/null +++ b/proto/BalloonPlayerInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BalloonPlayerInfo { + uint32 comboDisableTime = 8; + uint32 curScore = 13; + uint32 uid = 10; + uint32 combo = 6; +} diff --git a/proto/BalloonSettleInfo.proto b/proto/BalloonSettleInfo.proto new file mode 100644 index 00000000..7ab88e80 --- /dev/null +++ b/proto/BalloonSettleInfo.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "OnlinePlayerInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BalloonSettleInfo { + uint32 shootCount = 3; + uint32 maxCombo = 14; + uint32 finalScore = 1; + uint32 uid = 11; + OnlinePlayerInfo playerInfo = 15; +} diff --git a/proto/BargainOfferPriceReq.proto b/proto/BargainOfferPriceReq.proto new file mode 100644 index 00000000..a24b2bb3 --- /dev/null +++ b/proto/BargainOfferPriceReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BargainOfferPriceReq { + enum JLABCLHCCMG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 458; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 bargainId = 12; + uint32 price = 7; +} diff --git a/proto/BargainOfferPriceRsp.proto b/proto/BargainOfferPriceRsp.proto new file mode 100644 index 00000000..3b3c4b4f --- /dev/null +++ b/proto/BargainOfferPriceRsp.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "BargainResultType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BargainOfferPriceRsp { + enum HAOJEFGNHMK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 418; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + BargainResultType bargainResult = 2; + int32 retcode = 13; + int32 curMood = 7; + uint32 resultParam = 11; +} diff --git a/proto/BargainResultType.proto b/proto/BargainResultType.proto new file mode 100644 index 00000000..ff0041b8 --- /dev/null +++ b/proto/BargainResultType.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum BargainResultType { + BARGAIN_RESULT_TYPE_COMPLETE_SUCC = 0; + BARGAIN_RESULT_TYPE_SINGLE_FAIL = 1; + BARGAIN_RESULT_TYPE_COMPLETE_FAIL = 2; +} diff --git a/proto/BargainSnapshot.proto b/proto/BargainSnapshot.proto new file mode 100644 index 00000000..c658ddd0 --- /dev/null +++ b/proto/BargainSnapshot.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BargainSnapshot { + uint32 Unk3300_MHFDEBOBFNE = 10; + uint32 bargainId = 7; + int32 curMood = 13; + uint32 Unk3300_KOCJELACJLM = 6; +} diff --git a/proto/BargainStartNotify.proto b/proto/BargainStartNotify.proto new file mode 100644 index 00000000..38e5deb9 --- /dev/null +++ b/proto/BargainStartNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "BargainSnapshot.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BargainStartNotify { + enum BOPACPEHDDK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 425; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 bargainId = 12; + BargainSnapshot snapshot = 2; +} diff --git a/proto/BargainTerminateNotify.proto b/proto/BargainTerminateNotify.proto new file mode 100644 index 00000000..108a9a40 --- /dev/null +++ b/proto/BargainTerminateNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BargainTerminateNotify { + enum LOMNFHBNNDG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 475; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 bargainId = 14; +} diff --git a/proto/BartenderActivityDetailInfo.proto b/proto/BartenderActivityDetailInfo.proto index 0ff45278..247353f6 100644 --- a/proto/BartenderActivityDetailInfo.proto +++ b/proto/BartenderActivityDetailInfo.proto @@ -1,32 +1,16 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "BartenderLevelInfo.proto"; -import "BartenderTaskInfo.proto"; + +import "BartenderTaskInfo.proto"; +import "BartenderLevelInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message BartenderActivityDetailInfo { - bool is_content_closed = 15; - repeated BartenderLevelInfo unlock_level_list = 10; - repeated uint32 unlock_item_list = 3; - repeated uint32 unlock_formula_list = 6; - repeated BartenderTaskInfo unlock_task_list = 5; - bool is_develop_module_open = 9; + repeated BartenderTaskInfo unlockTaskList = 15; + bool isDevelopModuleOpen = 10; + repeated uint32 unlockItemList = 8; + repeated uint32 unlockFormulaList = 14; + bool leftMonsters = 2; + repeated BartenderLevelInfo unlockLevelList = 4; } diff --git a/proto/BartenderCancelLevelReq.proto b/proto/BartenderCancelLevelReq.proto new file mode 100644 index 00000000..7e3c82c8 --- /dev/null +++ b/proto/BartenderCancelLevelReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BartenderCancelLevelReq { + enum OPDJANGCECI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8567; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 levelId = 4; +} diff --git a/proto/BartenderCancelLevelRsp.proto b/proto/BartenderCancelLevelRsp.proto new file mode 100644 index 00000000..9e74905c --- /dev/null +++ b/proto/BartenderCancelLevelRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BartenderCancelLevelRsp { + enum DNGNPOJHPDI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8492; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; + uint32 levelId = 8; +} diff --git a/proto/BartenderCancelOrderReq.proto b/proto/BartenderCancelOrderReq.proto new file mode 100644 index 00000000..14605944 --- /dev/null +++ b/proto/BartenderCancelOrderReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BartenderCancelOrderReq { + enum MEKPLCKCHIL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8663; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 questId = 10; +} diff --git a/proto/BartenderCancelOrderRsp.proto b/proto/BartenderCancelOrderRsp.proto new file mode 100644 index 00000000..3f6f3900 --- /dev/null +++ b/proto/BartenderCancelOrderRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BartenderCancelOrderRsp { + enum FAHCDHNDEAC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8908; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 1; + uint32 questId = 8; +} diff --git a/proto/BartenderCompleteOrderReq.proto b/proto/BartenderCompleteOrderReq.proto new file mode 100644 index 00000000..ac529199 --- /dev/null +++ b/proto/BartenderCompleteOrderReq.proto @@ -0,0 +1,25 @@ +syntax = "proto3"; + + + +import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BartenderCompleteOrderReq { + enum MMPNFNDBFPC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8867; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isViewFormula = 10; + uint32 Unk3300_NKMHHHHGHIF = 6; + repeated ItemParam itemList = 8; + uint32 Unk3300_POEGPFJLNGB = 12; + uint32 questId = 9; + uint32 Unk3300_LONHKJFDOND = 15; + repeated uint32 optionalOrderList = 11; +} diff --git a/proto/BartenderCompleteOrderRsp.proto b/proto/BartenderCompleteOrderRsp.proto new file mode 100644 index 00000000..ecacdd8b --- /dev/null +++ b/proto/BartenderCompleteOrderRsp.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BartenderCompleteOrderRsp { + enum BPKOEDJEEKD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8192; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 affixList = 11; + int32 retcode = 15; + uint32 questId = 6; + uint32 finishOrderId = 7; + bool isNew = 14; + uint32 formulaId = 3; +} diff --git a/proto/BartenderFinishLevelReq.proto b/proto/BartenderFinishLevelReq.proto new file mode 100644 index 00000000..c59792b3 --- /dev/null +++ b/proto/BartenderFinishLevelReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BartenderFinishLevelReq { + enum IFEFINFMELN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8424; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 levelId = 10; +} diff --git a/proto/BartenderFinishLevelRsp.proto b/proto/BartenderFinishLevelRsp.proto new file mode 100644 index 00000000..25b26918 --- /dev/null +++ b/proto/BartenderFinishLevelRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BartenderFinishLevelRsp { + enum DBMKKFPMLEC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8364; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; + uint32 levelId = 6; +} diff --git a/proto/BartenderGetFormulaReq.proto b/proto/BartenderGetFormulaReq.proto new file mode 100644 index 00000000..8903ca71 --- /dev/null +++ b/proto/BartenderGetFormulaReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BartenderGetFormulaReq { + enum PINHACBMFME { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8258; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated ItemParam itemList = 4; + uint32 questId = 6; +} diff --git a/proto/BartenderGetFormulaRsp.proto b/proto/BartenderGetFormulaRsp.proto new file mode 100644 index 00000000..472c2bfb --- /dev/null +++ b/proto/BartenderGetFormulaRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BartenderGetFormulaRsp { + enum DDMOBCMKFNG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8550; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isNew = 12; + uint32 formulaId = 15; + repeated uint32 affixList = 9; + int32 retcode = 3; +} diff --git a/proto/BartenderInfo.proto b/proto/BartenderInfo.proto new file mode 100644 index 00000000..261db4e4 --- /dev/null +++ b/proto/BartenderInfo.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "BartenderTaskInfo.proto"; +import "BartenderLevelInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BartenderInfo { + repeated BartenderTaskInfo unlockTaskList = 15; + bool isDevelopModuleOpen = 10; + repeated uint32 unlockItemList = 8; + repeated uint32 unlockFormulaList = 14; + bool leftMonsters = 2; + repeated BartenderLevelInfo unlockLevelList = 4; +} diff --git a/proto/BartenderLevelInfo.proto b/proto/BartenderLevelInfo.proto index 5a07cd63..12dbcc10 100644 --- a/proto/BartenderLevelInfo.proto +++ b/proto/BartenderLevelInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message BartenderLevelInfo { - uint32 id = 12; - bool is_finish = 3; - uint32 max_score = 2; + bool isFinish = 13; + uint32 maxScore = 12; + uint32 id = 10; } diff --git a/proto/BartenderLevelProgressNotify.proto b/proto/BartenderLevelProgressNotify.proto new file mode 100644 index 00000000..2734bc28 --- /dev/null +++ b/proto/BartenderLevelProgressNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BartenderLevelProgressNotify { + enum MNIPDDGBEKK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8317; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 levelId = 13; + uint32 score = 3; + bool isNewRecord = 10; + bool isFinish = 5; +} diff --git a/proto/BartenderStartLevelReq.proto b/proto/BartenderStartLevelReq.proto new file mode 100644 index 00000000..9af7b6bf --- /dev/null +++ b/proto/BartenderStartLevelReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BartenderStartLevelReq { + enum OIBNODCEAJE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8710; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 levelId = 3; +} diff --git a/proto/BartenderStartLevelRsp.proto b/proto/BartenderStartLevelRsp.proto new file mode 100644 index 00000000..5047408b --- /dev/null +++ b/proto/BartenderStartLevelRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BartenderStartLevelRsp { + enum JMAIKGFHOCI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8495; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 orderList = 3; + int32 retcode = 4; + uint32 levelId = 14; + uint32 time = 6; +} diff --git a/proto/BartenderTaskInfo.proto b/proto/BartenderTaskInfo.proto index 460fee6d..394d9061 100644 --- a/proto/BartenderTaskInfo.proto +++ b/proto/BartenderTaskInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message BartenderTaskInfo { - uint32 id = 5; - bool is_finish = 3; + bool isFinish = 7; + uint32 id = 4; } diff --git a/proto/BatchBuyGoodsReq.proto b/proto/BatchBuyGoodsReq.proto index 31127ceb..a194eb31 100644 --- a/proto/BatchBuyGoodsReq.proto +++ b/proto/BatchBuyGoodsReq.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "BuyGoodsParam.proto"; + +import "BuyGoodsParam.proto"; option java_package = "emu.grasscutter.net.proto"; message BatchBuyGoodsReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 778; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum BJBCIEHJADP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 762; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 shop_type = 15; - repeated BuyGoodsParam buy_goods_list = 12; + repeated BuyGoodsParam buyGoodsList = 5; + uint32 shopType = 3; } diff --git a/proto/BatchBuyGoodsRsp.proto b/proto/BatchBuyGoodsRsp.proto index 46d67ec4..68bc2583 100644 --- a/proto/BatchBuyGoodsRsp.proto +++ b/proto/BatchBuyGoodsRsp.proto @@ -1,38 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "BuyGoodsParam.proto"; -import "ShopGoods.proto"; + +import "ShopGoods.proto"; +import "BuyGoodsParam.proto"; option java_package = "emu.grasscutter.net.proto"; message BatchBuyGoodsRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 757; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum PEONLFKKKFC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 714; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 shop_type = 6; - repeated ShopGoods goods_list = 15; - int32 retcode = 13; - repeated BuyGoodsParam buy_goods_list = 8; + int32 retcode = 5; + repeated ShopGoods goodsList = 11; + uint32 shopType = 14; + repeated BuyGoodsParam buyGoodsList = 3; } diff --git a/proto/BattlePassAllDataNotify.proto b/proto/BattlePassAllDataNotify.proto index f4d8e365..74a6f3d6 100644 --- a/proto/BattlePassAllDataNotify.proto +++ b/proto/BattlePassAllDataNotify.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "BattlePassMission.proto"; -import "BattlePassSchedule.proto"; + +import "BattlePassSchedule.proto"; +import "BattlePassMission.proto"; option java_package = "emu.grasscutter.net.proto"; message BattlePassAllDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2642; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum GBEOGFGMCDD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2638; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated BattlePassMission mission_list = 1; - BattlePassSchedule cur_schedule = 10; - bool have_cur_schedule = 3; + bool haveCurSchedule = 6; + BattlePassSchedule curSchedule = 15; + repeated BattlePassMission missionList = 3; } diff --git a/proto/BattlePassBuySuccNotify.proto b/proto/BattlePassBuySuccNotify.proto new file mode 100644 index 00000000..dfc87104 --- /dev/null +++ b/proto/BattlePassBuySuccNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BattlePassBuySuccNotify { + enum PCKAPDDMNHA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2642; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 Unk3300_IJOIKKDNKDE = 11; + uint32 Unk3300_PJODFJKAFLG = 6; + uint32 scheduleId = 14; + repeated ItemParam itemList = 2; +} diff --git a/proto/BattlePassCurScheduleUpdateNotify.proto b/proto/BattlePassCurScheduleUpdateNotify.proto index 955cad65..ef6ccb68 100644 --- a/proto/BattlePassCurScheduleUpdateNotify.proto +++ b/proto/BattlePassCurScheduleUpdateNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "BattlePassSchedule.proto"; + +import "BattlePassSchedule.proto"; option java_package = "emu.grasscutter.net.proto"; message BattlePassCurScheduleUpdateNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2635; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MGCMGPIHLOO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2641; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - BattlePassSchedule cur_schedule = 2; - bool have_cur_schedule = 12; + bool haveCurSchedule = 5; + BattlePassSchedule curSchedule = 14; } diff --git a/proto/BattlePassCycle.proto b/proto/BattlePassCycle.proto index d40e5ac6..f3b945db 100644 --- a/proto/BattlePassCycle.proto +++ b/proto/BattlePassCycle.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message BattlePassCycle { - uint32 end_time = 5; - uint32 begin_time = 13; - uint32 cycle_idx = 15; + uint32 cycleIdx = 8; + uint32 beginTime = 2; + uint32 endTime = 11; } diff --git a/proto/BattlePassMission.proto b/proto/BattlePassMission.proto index b4aac19d..5ddec195 100644 --- a/proto/BattlePassMission.proto +++ b/proto/BattlePassMission.proto @@ -1,36 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + +import "MissionStatus.proto"; option java_package = "emu.grasscutter.net.proto"; message BattlePassMission { - enum MissionStatus { - MISSION_STATUS_INVALID = 0; - MISSION_STATUS_UNFINISHED = 1; - MISSION_STATUS_FINISHED = 2; - MISSION_STATUS_POINT_TAKEN = 3; - } - - uint32 cur_progress = 10; - uint32 mission_type = 9; - uint32 reward_battle_pass_point = 14; - uint32 total_progress = 12; - uint32 mission_id = 15; - MissionStatus mission_status = 11; + uint32 missionId = 6; + uint32 missionType = 14; + MissionStatus missionStatus = 9; + uint32 curProgress = 11; + uint32 rewardBattlePassPoint = 10; + uint32 totalProgress = 13; } diff --git a/proto/BattlePassMissionDelNotify.proto b/proto/BattlePassMissionDelNotify.proto index faab3f97..b2282944 100644 --- a/proto/BattlePassMissionDelNotify.proto +++ b/proto/BattlePassMissionDelNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message BattlePassMissionDelNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2622; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum INMLJEGLKNJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2646; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 del_mission_id_list = 15; + repeated uint32 delMissionIdList = 11; } diff --git a/proto/BattlePassMissionUpdateNotify.proto b/proto/BattlePassMissionUpdateNotify.proto index 6ae893ce..fff2b5cd 100644 --- a/proto/BattlePassMissionUpdateNotify.proto +++ b/proto/BattlePassMissionUpdateNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "BattlePassMission.proto"; + +import "BattlePassMission.proto"; option java_package = "emu.grasscutter.net.proto"; message BattlePassMissionUpdateNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2641; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HDHJCOBAEKO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2645; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated BattlePassMission mission_list = 1; + repeated BattlePassMission missionList = 10; } diff --git a/proto/BattlePassProduct.proto b/proto/BattlePassProduct.proto index 4221499e..20b1a2b1 100644 --- a/proto/BattlePassProduct.proto +++ b/proto/BattlePassProduct.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message BattlePassProduct { - string extra_product_id = 12; - string normal_product_id = 9; - string upgrade_product_id = 7; + string normalProductId = 4; + string extraProductId = 14; + string upgradeProductId = 7; } diff --git a/proto/BattlePassRewardTag.proto b/proto/BattlePassRewardTag.proto index 1765de85..0e44fb16 100644 --- a/proto/BattlePassRewardTag.proto +++ b/proto/BattlePassRewardTag.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "BattlePassUnlockStatus.proto"; + +import "BattlePassUnlockStatus.proto"; option java_package = "emu.grasscutter.net.proto"; message BattlePassRewardTag { - BattlePassUnlockStatus unlock_status = 11; - uint32 reward_id = 4; - uint32 level = 1; + uint32 level = 8; + BattlePassUnlockStatus unlockStatus = 13; + uint32 rewardId = 15; } diff --git a/proto/BattlePassRewardTakeOption.proto b/proto/BattlePassRewardTakeOption.proto index 44a4445f..14fcbf4f 100644 --- a/proto/BattlePassRewardTakeOption.proto +++ b/proto/BattlePassRewardTakeOption.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "BattlePassRewardTag.proto"; + +import "BattlePassRewardTag.proto"; option java_package = "emu.grasscutter.net.proto"; message BattlePassRewardTakeOption { - uint32 option_idx = 5; - BattlePassRewardTag tag = 15; + BattlePassRewardTag tag = 15; + uint32 optionIdx = 14; } diff --git a/proto/BattlePassSchedule.proto b/proto/BattlePassSchedule.proto index f2e2b32b..f48c9a51 100644 --- a/proto/BattlePassSchedule.proto +++ b/proto/BattlePassSchedule.proto @@ -1,41 +1,25 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "BattlePassCycle.proto"; +import "BattlePassUnlockStatus.proto"; import "BattlePassProduct.proto"; import "BattlePassRewardTag.proto"; -import "BattlePassUnlockStatus.proto"; - option java_package = "emu.grasscutter.net.proto"; message BattlePassSchedule { - uint32 schedule_id = 5; - uint32 point = 2; - uint32 level = 7; - bool is_extra_paid_reward_taken = 8; - uint32 cur_cycle_points = 14; - bool is_viewed = 12; - uint32 paid_platform_flags = 4; - BattlePassCycle cur_cycle = 11; - uint32 begin_time = 1; - BattlePassUnlockStatus unlock_status = 15; - BattlePassProduct product_info = 10; - uint32 end_time = 13; - repeated BattlePassRewardTag reward_taken_list = 3; + uint32 scheduleId = 11; + uint32 level = 10; + uint32 point = 7; + BattlePassCycle curCycle = 5; + uint32 beginTime = 8; + uint32 paidPlatformFlags = 2; + uint32 endTime = 14; + bool isExtraPaidRewardTaken = 12; + repeated BattlePassRewardTag rewardTakenList = 3; + uint32 curCyclePoints = 9; + bool isViewed = 4; + BattlePassUnlockStatus unlockStatus = 6; + BattlePassProduct productInfo = 15; } diff --git a/proto/BattlePassUnlockStatus.proto b/proto/BattlePassUnlockStatus.proto index 33d37455..2eb67837 100644 --- a/proto/BattlePassUnlockStatus.proto +++ b/proto/BattlePassUnlockStatus.proto @@ -1,26 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum BattlePassUnlockStatus { - BATTLE_PASS_UNLOCK_STATUS_INVALID = 0; - BATTLE_PASS_UNLOCK_STATUS_FREE = 1; - BATTLE_PASS_UNLOCK_STATUS_PAID = 2; + BATTLE_PASS_UNLOCK_STATUS_INVALID = 0; + BATTLE_PASS_UNLOCK_STATUS_FREE = 1; + BATTLE_PASS_UNLOCK_STATUS_PAID = 2; } diff --git a/proto/BeginCameraSceneLookNotify.proto b/proto/BeginCameraSceneLookNotify.proto index c6a55df6..35c9b07b 100644 --- a/proto/BeginCameraSceneLookNotify.proto +++ b/proto/BeginCameraSceneLookNotify.proto @@ -1,58 +1,38 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "KeepRotType.proto"; +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message BeginCameraSceneLookNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 249; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum CPHHCGOAFAE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 279; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - enum KeepRotType { - KEEP_ROT_TYPE_X = 0; - KEEP_ROT_TYPE_XY = 1; - } - - float Unk3300_HKKCHCEMJIE = 1716; - bool Unk3300_DFPCMOFONNK = 15; - bool Unk3300_EELNOAICHOJ = 4; - bool Unk3300_ODADMBBFPAP = 7; - float duration = 2; - uint32 Unk3300_KCHKKBODNCJ = 1746; - float Unk3300_FIOLGCIKFLH = 10; - repeated string other_params = 9; - bool Unk3300_NJLBIMJDFHJ = 3; - bool Unk3300_AAOGBCCNJAF = 1224; - uint32 entity_id = 1403; - KeepRotType keep_rot_type = 11; - Vector Unk3300_PPCIDICMIEN = 8; - uint32 Unk3300_AJEENEOCFON = 965; - bool Unk3300_ONBDMCHFPDL = 5; - bool Unk3300_PIEFLAEGGBI = 6; - Vector Unk3300_FJDFGLNLMBN = 13; - bool Unk3300_ILMHDLHLKGJ = 1; - float Unk3300_HCLPGGAOIAC = 12; - float Unk3300_HFPCHFNFJKP = 14; + bool Unk3300_ONBDMCHFPDL = 2; + bool Unk3300_PIEFLAEGGBI = 8; + bool Unk3300_NJLBIMJDFHJ = 1; + float duration = 10; + KeepRotType keepRotType = 14; + Rotation Unk3300_FJDFGLNLMBN = 13; + float Unk3300_FIOLGCIKFLH = 5; + float Unk3300_HFPCHFNFJKP = 11; + repeated string otherParams = 12; + uint32 entityId = 167; + bool Unk3300_ODADMBBFPAP = 4; + bool Unk3300_EELNOAICHOJ = 3; + uint32 Unk3300_KCHKKBODNCJ = 1965; + bool Unk3300_DFPCMOFONNK = 15; + float Unk3300_HKKCHCEMJIE = 2004; + uint32 Unk3300_AJEENEOCFON = 106; + Rotation Unk3300_PPCIDICMIEN = 7; + bool Unk3300_AAOGBCCNJAF = 644; + float Unk3300_HCLPGGAOIAC = 6; + bool Unk3300_ILMHDLHLKGJ = 9; } diff --git a/proto/BeginCameraSceneLookWithTemplateNotify.proto b/proto/BeginCameraSceneLookWithTemplateNotify.proto new file mode 100644 index 00000000..3a871d9d --- /dev/null +++ b/proto/BeginCameraSceneLookWithTemplateNotify.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +import "FollowType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BeginCameraSceneLookWithTemplateNotify { + enum KDFDCPCDOJA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3201; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 templateId = 9; + Rotation Unk3300_FJDFGLNLMBN = 4; + FollowType followType = 3; + repeated string otherParams = 8; + uint32 entityId = 14; + Rotation Unk3300_PPCIDICMIEN = 7; +} diff --git a/proto/BigTalentPointConvertReq.proto b/proto/BigTalentPointConvertReq.proto new file mode 100644 index 00000000..6f0251b3 --- /dev/null +++ b/proto/BigTalentPointConvertReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BigTalentPointConvertReq { + enum HANKPODKPOA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1020; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint64 itemGuidList = 5; + uint64 avatarGuid = 3; +} diff --git a/proto/BigTalentPointConvertRsp.proto b/proto/BigTalentPointConvertRsp.proto new file mode 100644 index 00000000..061712c6 --- /dev/null +++ b/proto/BigTalentPointConvertRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BigTalentPointConvertRsp { + enum ILFNHCOJDNC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1074; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; + uint64 avatarGuid = 12; +} diff --git a/proto/Birthday.proto b/proto/Birthday.proto index 02ae45e6..b7339e2c 100644 --- a/proto/Birthday.proto +++ b/proto/Birthday.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message Birthday { - uint32 month = 1; - uint32 day = 2; + uint32 month = 1; + uint32 day = 2; } diff --git a/proto/BlessingAcceptAllGivePicReq.proto b/proto/BlessingAcceptAllGivePicReq.proto new file mode 100644 index 00000000..5e115b30 --- /dev/null +++ b/proto/BlessingAcceptAllGivePicReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BlessingAcceptAllGivePicReq { + enum HPNEEFPDMBK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2153; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/BlessingAcceptAllGivePicRsp.proto b/proto/BlessingAcceptAllGivePicRsp.proto new file mode 100644 index 00000000..7ed4e8a5 --- /dev/null +++ b/proto/BlessingAcceptAllGivePicRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BlessingAcceptAllGivePicRsp { + enum NNHNAGFFCLE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2048; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + map acceptPicNumMap = 13; + repeated uint32 acceptIndexList = 3; + int32 retcode = 11; +} diff --git a/proto/BlessingAcceptGivePicReq.proto b/proto/BlessingAcceptGivePicReq.proto new file mode 100644 index 00000000..6d108d4b --- /dev/null +++ b/proto/BlessingAcceptGivePicReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BlessingAcceptGivePicReq { + enum JFGMAIDPGOE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2012; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 uid = 1; + uint32 index = 6; +} diff --git a/proto/BlessingAcceptGivePicRsp.proto b/proto/BlessingAcceptGivePicRsp.proto new file mode 100644 index 00000000..6c6b27b9 --- /dev/null +++ b/proto/BlessingAcceptGivePicRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BlessingAcceptGivePicRsp { + enum FEJBBKCGFHF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2069; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 picId = 12; + uint32 index = 13; + uint32 uid = 11; + int32 retcode = 14; +} diff --git a/proto/BlessingActivityDetailInfo.proto b/proto/BlessingActivityDetailInfo.proto index fb354b7e..ecba3a71 100644 --- a/proto/BlessingActivityDetailInfo.proto +++ b/proto/BlessingActivityDetailInfo.proto @@ -1,31 +1,16 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message BlessingActivityDetailInfo { - uint32 cur_day_scan_num = 10; - uint32 content_close_time = 8; - uint32 Unk3300_JLADHEKJPBP = 1; - uint32 next_refresh_time = 6; - bool is_activated = 5; - uint32 Unk3300_INOHLELBOAM = 7; - bool is_content_closed = 2; - map pic_num_map = 11; + bool leftMonsters = 5; + uint32 contentCloseTime = 11; + uint32 curDayScanNum = 12; + uint32 Unk3300_INOHLELBOAM = 15; + uint32 Unk3300_JLADHEKJPBP = 9; + map picNumMap = 7; + uint32 nextRefreshTime = 14; + bool isActivated = 8; } diff --git a/proto/BlessingFriendPicData.proto b/proto/BlessingFriendPicData.proto new file mode 100644 index 00000000..0cf00165 --- /dev/null +++ b/proto/BlessingFriendPicData.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "ProfilePicture.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BlessingFriendPicData { + uint32 avatarId = 2; + ProfilePicture profilePicture = 4; + string nickname = 5; + string signature = 6; + map picNumMap = 12; + string remarkName = 3; + uint32 uid = 9; +} diff --git a/proto/BlessingGetAllRecvPicRecordListReq.proto b/proto/BlessingGetAllRecvPicRecordListReq.proto new file mode 100644 index 00000000..8c6b4cd3 --- /dev/null +++ b/proto/BlessingGetAllRecvPicRecordListReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BlessingGetAllRecvPicRecordListReq { + enum OFLAFNHNLDF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2042; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/BlessingGetAllRecvPicRecordListRsp.proto b/proto/BlessingGetAllRecvPicRecordListRsp.proto new file mode 100644 index 00000000..a3f91622 --- /dev/null +++ b/proto/BlessingGetAllRecvPicRecordListRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "BlessingRecvPicRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BlessingGetAllRecvPicRecordListRsp { + enum PNOIBIOJPPG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2118; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated BlessingRecvPicRecord recvPicRecordList = 9; + int32 retcode = 4; +} diff --git a/proto/BlessingGetFriendPicListReq.proto b/proto/BlessingGetFriendPicListReq.proto new file mode 100644 index 00000000..45b6ccc8 --- /dev/null +++ b/proto/BlessingGetFriendPicListReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BlessingGetFriendPicListReq { + enum NEFNBCLPDFI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2026; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/BlessingGetFriendPicListRsp.proto b/proto/BlessingGetFriendPicListRsp.proto new file mode 100644 index 00000000..0c2cd29d --- /dev/null +++ b/proto/BlessingGetFriendPicListRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "BlessingFriendPicData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BlessingGetFriendPicListRsp { + enum ABMDCPAJCFJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2102; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated BlessingFriendPicData friendPicDataList = 12; + int32 retcode = 2; +} diff --git a/proto/BlessingGiveFriendPicReq.proto b/proto/BlessingGiveFriendPicReq.proto new file mode 100644 index 00000000..89b98c2b --- /dev/null +++ b/proto/BlessingGiveFriendPicReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BlessingGiveFriendPicReq { + enum PFFKAJIJIMP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2002; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 uid = 9; + uint32 picId = 8; +} diff --git a/proto/BlessingGiveFriendPicRsp.proto b/proto/BlessingGiveFriendPicRsp.proto new file mode 100644 index 00000000..a7cc024c --- /dev/null +++ b/proto/BlessingGiveFriendPicRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BlessingGiveFriendPicRsp { + enum GFFEOGMCJKA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2082; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 uid = 5; + uint32 picId = 15; + int32 retcode = 11; +} diff --git a/proto/BlessingInfo.proto b/proto/BlessingInfo.proto new file mode 100644 index 00000000..e046b347 --- /dev/null +++ b/proto/BlessingInfo.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BlessingInfo { + bool leftMonsters = 5; + uint32 contentCloseTime = 11; + uint32 curDayScanNum = 12; + uint32 Unk3300_INOHLELBOAM = 15; + uint32 Unk3300_JLADHEKJPBP = 9; + map picNumMap = 7; + uint32 nextRefreshTime = 14; + bool isActivated = 8; +} diff --git a/proto/BlessingRecvFriendPicNotify.proto b/proto/BlessingRecvFriendPicNotify.proto new file mode 100644 index 00000000..ca9ef03c --- /dev/null +++ b/proto/BlessingRecvFriendPicNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BlessingRecvFriendPicNotify { + enum POLFBPILKBJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2159; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 uid = 15; + uint32 picId = 14; +} diff --git a/proto/BlessingRecvPicRecord.proto b/proto/BlessingRecvPicRecord.proto new file mode 100644 index 00000000..53b8a959 --- /dev/null +++ b/proto/BlessingRecvPicRecord.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "ProfilePicture.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BlessingRecvPicRecord { + ProfilePicture profilePicture = 11; + string signature = 10; + uint32 avatarId = 8; + uint32 uid = 5; + uint32 index = 1; + string remarkName = 14; + uint32 picId = 2; + string nickname = 12; + bool isRecv = 7; +} diff --git a/proto/BlessingRedeemRewardReq.proto b/proto/BlessingRedeemRewardReq.proto new file mode 100644 index 00000000..4c32ab07 --- /dev/null +++ b/proto/BlessingRedeemRewardReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BlessingRedeemRewardReq { + enum NOAHKCOMDGA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2173; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/BlessingRedeemRewardRsp.proto b/proto/BlessingRedeemRewardRsp.proto new file mode 100644 index 00000000..b4e3371f --- /dev/null +++ b/proto/BlessingRedeemRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BlessingRedeemRewardRsp { + enum DCGDNODOJKM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2104; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; + map picNumMap = 6; +} diff --git a/proto/BlessingScanReq.proto b/proto/BlessingScanReq.proto new file mode 100644 index 00000000..06999c74 --- /dev/null +++ b/proto/BlessingScanReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BlessingScanReq { + enum HMAEJOFLPCK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2179; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 entityId = 13; +} diff --git a/proto/BlessingScanRsp.proto b/proto/BlessingScanRsp.proto new file mode 100644 index 00000000..61524674 --- /dev/null +++ b/proto/BlessingScanRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BlessingScanRsp { + enum BHEHFEHNFDK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2122; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 8; + uint32 curDayScanNum = 4; + uint32 scanPicId = 9; +} diff --git a/proto/BlitzRushActivityDetailInfo.proto b/proto/BlitzRushActivityDetailInfo.proto index 201f2b7c..74f5e048 100644 --- a/proto/BlitzRushActivityDetailInfo.proto +++ b/proto/BlitzRushActivityDetailInfo.proto @@ -20,6 +20,7 @@ syntax = "proto3"; import "BlitzRushStage.proto"; import "ParkourLevelInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message BlitzRushActivityDetailInfo { diff --git a/proto/BlitzRushInfo.proto b/proto/BlitzRushInfo.proto new file mode 100644 index 00000000..eae0b6e2 --- /dev/null +++ b/proto/BlitzRushInfo.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "BlitzRushStage.proto"; +import "ParkourLevelInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BlitzRushInfo { + repeated BlitzRushStage stageList = 11; + uint32 contentCloseTime = 1; + repeated ParkourLevelInfo parkourLevelInfoList = 6; + bool leftMonsters = 5; +} diff --git a/proto/BlitzRushParkourRestartReq.proto b/proto/BlitzRushParkourRestartReq.proto new file mode 100644 index 00000000..cfa63cae --- /dev/null +++ b/proto/BlitzRushParkourRestartReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BlitzRushParkourRestartReq { + enum LLFCAHFMONP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8204; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 groupId = 10; + uint32 scheduleId = 9; +} diff --git a/proto/BlitzRushParkourRestartRsp.proto b/proto/BlitzRushParkourRestartRsp.proto new file mode 100644 index 00000000..33616855 --- /dev/null +++ b/proto/BlitzRushParkourRestartRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BlitzRushParkourRestartRsp { + enum PBBJICEIPJD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8502; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 scheduleId = 2; + uint32 groupId = 15; + int32 retcode = 3; +} diff --git a/proto/BlitzRushStage.proto b/proto/BlitzRushStage.proto index ddf70786..c5da76cb 100644 --- a/proto/BlitzRushStage.proto +++ b/proto/BlitzRushStage.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message BlitzRushStage { - bool is_open = 8; - uint32 open_time = 12; + uint32 openTime = 14; + bool isOpen = 6; } diff --git a/proto/BlockInfo.proto b/proto/BlockInfo.proto index 027b2ed0..17ff2c3c 100644 --- a/proto/BlockInfo.proto +++ b/proto/BlockInfo.proto @@ -1,27 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + +import "bytes.proto"; option java_package = "emu.grasscutter.net.proto"; message BlockInfo { - uint32 block_id = 1; - uint32 data_version = 2; - bytes bin_data = 3; - bool is_dirty = 4; + uint32 blockId = 1; + uint32 dataVersion = 2; + bytes binData = 3; + bool isDirty = 4; } diff --git a/proto/BlossomBriefInfo.proto b/proto/BlossomBriefInfo.proto index f148aff5..a9b2767a 100644 --- a/proto/BlossomBriefInfo.proto +++ b/proto/BlossomBriefInfo.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message BlossomBriefInfo { - Vector pos = 7; - bool is_guide_opened = 15; - uint32 reward_id = 3; - uint32 resin = 5; - uint32 city_id = 8; - uint32 circle_camp_id = 10; - uint32 state = 11; - uint32 monster_level = 1; - uint32 scene_id = 4; - uint32 refresh_id = 14; + bool isGuideOpened = 6; + uint32 resin = 3; + Rotation pos = 9; + uint32 sceneId = 13; + uint32 state = 10; + uint32 cityId = 8; + uint32 rewardId = 11; + uint32 circleCampId = 2; + uint32 monsterLevel = 15; + uint32 refreshId = 5; } diff --git a/proto/BlossomBriefInfoNotify.proto b/proto/BlossomBriefInfoNotify.proto index 3cc93629..2778f916 100644 --- a/proto/BlossomBriefInfoNotify.proto +++ b/proto/BlossomBriefInfoNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "BlossomBriefInfo.proto"; + +import "BlossomBriefInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message BlossomBriefInfoNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2756; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum FJJJNPAJCOM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2787; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated BlossomBriefInfo brief_info_list = 8; + repeated BlossomBriefInfo briefInfoList = 9; } diff --git a/proto/BlossomChest.proto b/proto/BlossomChest.proto new file mode 100644 index 00000000..e8edbe54 --- /dev/null +++ b/proto/BlossomChest.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BlossomChest { + uint32 resin = 1; + repeated uint32 qualifyUidList = 2; + repeated uint32 remainUidList = 3; + uint32 deadTime = 4; + uint32 blossomRefreshType = 5; + uint32 refreshId = 6; +} diff --git a/proto/BlossomChestCreateNotify.proto b/proto/BlossomChestCreateNotify.proto new file mode 100644 index 00000000..9c72d5c0 --- /dev/null +++ b/proto/BlossomChestCreateNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BlossomChestCreateNotify { + enum EMNMLFHOMFG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2774; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 circleCampId = 9; + uint32 refreshId = 1; +} diff --git a/proto/BlossomChestInfo.proto b/proto/BlossomChestInfo.proto index a5b06d97..d99d1b4e 100644 --- a/proto/BlossomChestInfo.proto +++ b/proto/BlossomChestInfo.proto @@ -17,6 +17,7 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message BlossomChestInfo { diff --git a/proto/BlossomChestInfoNotify.proto b/proto/BlossomChestInfoNotify.proto new file mode 100644 index 00000000..414cba73 --- /dev/null +++ b/proto/BlossomChestInfoNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "BlossomChest.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BlossomChestInfoNotify { + enum OJIGAMJAGGL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 870; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + BlossomChest blossomChestInfo = 5; + uint32 entityId = 13; +} diff --git a/proto/BlossomScheduleInfo.proto b/proto/BlossomScheduleInfo.proto new file mode 100644 index 00000000..d9de5dba --- /dev/null +++ b/proto/BlossomScheduleInfo.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BlossomScheduleInfo { + uint32 refreshId = 6; + uint32 state = 9; + uint32 circleCampId = 1; + uint32 finishProgress = 12; + uint32 round = 14; + uint32 progress = 15; +} diff --git a/proto/BoatMultiInfo.proto b/proto/BoatMultiInfo.proto new file mode 100644 index 00000000..69797057 --- /dev/null +++ b/proto/BoatMultiInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "IPLHKNLPPHD.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BoatMultiInfo { + repeated IPLHKNLPPHD playerData = 14; +} diff --git a/proto/BonusActivityInfo.proto b/proto/BonusActivityInfo.proto index 758a8dbf..d6f5d1a2 100644 --- a/proto/BonusActivityInfo.proto +++ b/proto/BonusActivityInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message BonusActivityInfo { - uint32 bonus_activity_id = 14; - uint32 state = 8; + uint32 bonusActivityId = 5; + uint32 state = 4; } diff --git a/proto/BonusActivityInfoReq.proto b/proto/BonusActivityInfoReq.proto index 64ea99c8..01ea6d98 100644 --- a/proto/BonusActivityInfoReq.proto +++ b/proto/BonusActivityInfoReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message BonusActivityInfoReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2548; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum GLPNMOAIDFD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2578; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/BonusActivityInfoRsp.proto b/proto/BonusActivityInfoRsp.proto index db5e66c1..734c2a74 100644 --- a/proto/BonusActivityInfoRsp.proto +++ b/proto/BonusActivityInfoRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "BonusActivityInfo.proto"; + +import "BonusActivityInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message BonusActivityInfoRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2599; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum JAGOBCLBFBH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2516; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 6; - repeated BonusActivityInfo bonus_activity_info_list = 15; + repeated BonusActivityInfo bonusActivityInfoList = 13; + int32 retcode = 12; } diff --git a/proto/BonusActivityUpdateNotify.proto b/proto/BonusActivityUpdateNotify.proto new file mode 100644 index 00000000..a5652c75 --- /dev/null +++ b/proto/BonusActivityUpdateNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "BonusActivityInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BonusActivityUpdateNotify { + enum HPNBMCFBEIK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2529; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated BonusActivityInfo bonusActivityInfoList = 8; +} diff --git a/proto/BonusInfo.proto b/proto/BonusInfo.proto new file mode 100644 index 00000000..2fa5a960 --- /dev/null +++ b/proto/BonusInfo.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BonusInfo { + uint32 leftBonusCount = 13; +} diff --git a/proto/BonusOpActivityInfo.proto b/proto/BonusOpActivityInfo.proto index 038f0fde..7c48cbd7 100644 --- a/proto/BonusOpActivityInfo.proto +++ b/proto/BonusOpActivityInfo.proto @@ -17,6 +17,7 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message BonusOpActivityInfo { diff --git a/proto/BossChest.proto b/proto/BossChest.proto new file mode 100644 index 00000000..43ce0bc8 --- /dev/null +++ b/proto/BossChest.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "WeeklyBossResinDiscountInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BossChest { + uint32 monsterConfigId = 1; + uint32 resin = 2; + repeated uint32 remainUidList = 3; + repeated uint32 qualifyUidList = 4; + map uidDiscountMap = 5; +} diff --git a/proto/BossChestActivateNotify.proto b/proto/BossChestActivateNotify.proto new file mode 100644 index 00000000..2acf7eb8 --- /dev/null +++ b/proto/BossChestActivateNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BossChestActivateNotify { + enum FNOBDGJBPHL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 880; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 qualifyUidList = 6; + uint32 entityId = 4; +} diff --git a/proto/BossChestInfo.proto b/proto/BossChestInfo.proto index 8d871e0d..3f000a2c 100644 --- a/proto/BossChestInfo.proto +++ b/proto/BossChestInfo.proto @@ -1,30 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "WeeklyBossResinDiscountInfo.proto"; + +import "WeeklyBossResinDiscountInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message BossChestInfo { - uint32 monster_config_id = 1; - uint32 resin = 2; - repeated uint32 remain_uid_list = 3; - repeated uint32 qualify_uid_list = 4; - map uid_discount_map = 5; + uint32 monsterConfigId = 1; + uint32 resin = 2; + repeated uint32 remainUidList = 3; + repeated uint32 qualifyUidList = 4; + map uidDiscountMap = 5; } diff --git a/proto/BossSettleInfo.proto b/proto/BossSettleInfo.proto new file mode 100644 index 00000000..b145e636 --- /dev/null +++ b/proto/BossSettleInfo.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "FleurFairPlayerStatInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BossSettleInfo { + repeated FleurFairPlayerStatInfo statInfoList = 3; + uint32 rewardTokenNum = 4; + uint32 energy = 8; + uint32 costTime = 2; + bool isSuccess = 6; +} diff --git a/proto/BounceConjuringActivityDetailInfo.proto b/proto/BounceConjuringActivityDetailInfo.proto index 942f0674..a2f06928 100644 --- a/proto/BounceConjuringActivityDetailInfo.proto +++ b/proto/BounceConjuringActivityDetailInfo.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "BounceConjuringChapterInfo.proto"; + +import "BounceConjuringChapterInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message BounceConjuringActivityDetailInfo { - bool is_content_closed = 8; - repeated BounceConjuringChapterInfo chapter_info_list = 15; - uint32 content_close_time = 2; + uint32 contentCloseTime = 1; + bool leftMonsters = 6; + repeated BounceConjuringChapterInfo chapterInfoList = 7; } diff --git a/proto/BounceConjuringChapterInfo.proto b/proto/BounceConjuringChapterInfo.proto index 25742773..fd6f85b1 100644 --- a/proto/BounceConjuringChapterInfo.proto +++ b/proto/BounceConjuringChapterInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message BounceConjuringChapterInfo { - uint32 best_score = 3; - uint32 open_time = 2; - uint32 chapter_id = 11; + uint32 chapterId = 2; + uint32 bestScore = 3; + uint32 openTime = 11; } diff --git a/proto/BounceConjuringGallerySettleInfo.proto b/proto/BounceConjuringGallerySettleInfo.proto new file mode 100644 index 00000000..581835ac --- /dev/null +++ b/proto/BounceConjuringGallerySettleInfo.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "OnlinePlayerInfo.proto"; +import "ExhibitionDisplayInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BounceConjuringGallerySettleInfo { + uint32 Unk3300_NKGFKLGDFAC = 8; + float damage = 5; + uint32 Unk3300_PELHBJDMKAE = 9; + uint32 score = 7; + OnlinePlayerInfo playerInfo = 11; + repeated ExhibitionDisplayInfo cardList = 15; + uint32 Unk3300_CNGOBOFDEOE = 2; + map gadgetCountMap = 3; + uint32 Unk3300_BJHCDKNFDFN = 4; +} diff --git a/proto/BounceConjuringInfo.proto b/proto/BounceConjuringInfo.proto new file mode 100644 index 00000000..f32b9e94 --- /dev/null +++ b/proto/BounceConjuringInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BounceConjuringInfo { + uint32 totalDestroyedMachineCount = 5; + uint32 totalScore = 4; +} diff --git a/proto/BounceConjuringSettleNotify.proto b/proto/BounceConjuringSettleNotify.proto new file mode 100644 index 00000000..dd73a6c9 --- /dev/null +++ b/proto/BounceConjuringSettleNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "BounceConjuringGallerySettleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BounceConjuringSettleNotify { + enum KAFJPFDFNDG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8552; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isNewRecord = 6; + map settleInfoMap = 7; + uint32 chapterId = 11; + uint32 totalScore = 4; +} diff --git a/proto/BoxInfo.proto b/proto/BoxInfo.proto new file mode 100644 index 00000000..0c9d680d --- /dev/null +++ b/proto/BoxInfo.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BoxInfo { + int32 id = 1; + uint32 configId = 2; + Rotation center = 3; + Rotation extents = 4; + Rotation up = 5; + Rotation forward = 6; + Rotation right = 7; +} diff --git a/proto/BreakoutAction.proto b/proto/BreakoutAction.proto index 8930244c..cd4a203d 100644 --- a/proto/BreakoutAction.proto +++ b/proto/BreakoutAction.proto @@ -1,51 +1,28 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "BreakoutVector2.proto"; + +import "BreakoutActionType.proto"; +import "BreakoutVector2.proto"; option java_package = "emu.grasscutter.net.proto"; message BreakoutAction { - enum BreakoutActionType { - BREAKOUT_ACTION_TYPE_NONE = 0; - BREAKOUT_ACTION_TYPE_LAUNCH_BALL = 1; - BREAKOUT_ACTION_TYPE_DESTROY_BALL = 2; - BREAKOUT_ACTION_TYPE_FALLING_OBJECT = 3; - BREAKOUT_ACTION_TYPE_MISSILE = 4; - } - - BreakoutActionType action_type = 1; - uint64 client_game_time = 2; - uint64 server_game_time = 3; - bool is_failed = 4; - uint32 pre_index = 5; - uint32 new_index = 6; - BreakoutVector2 pos = 7; - BreakoutVector2 move_dir = 8; - int32 speed = 9; - uint32 peer_id = 10; - uint32 element_type = 11; - uint32 element_reaction_buff = 12; - uint32 speed_increase_count = 13; - bool has_extra_ball = 14; - BreakoutVector2 extra_ball_dir = 15; - uint32 extra_ball_index = 16; - int32 offset = 17; - uint64 Unk3300_AIEBGJHBOHL = 18; + BreakoutActionType actionType = 1; + uint64 clientGameTime = 2; + uint64 serverGameTime = 3; + bool mbfjjacbmck = 4; + uint32 gddolpoemjk = 5; + uint32 joandihiadc = 6; + BreakoutVector2 pos = 7; + BreakoutVector2 mjehpphliia = 8; + int32 speed = 9; + uint32 peerId = 10; + uint32 elementType = 11; + uint32 inhflokdoal = 12; + uint32 apiembahlab = 13; + bool mhkdmdjeaan = 14; + BreakoutVector2 cjegmomlbck = 15; + uint32 idngdpalicj = 16; + int32 offset = 17; + uint64 lccmdkibdpf = 18; } diff --git a/proto/BreakoutActionType.proto b/proto/BreakoutActionType.proto new file mode 100644 index 00000000..26bc5288 --- /dev/null +++ b/proto/BreakoutActionType.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +enum BreakoutActionType { + BREAKOUT_ACTION_TYPE_NONE = 0; + BREAKOUT_ACTION_TYPE_LAUNCH_BALL = 1; + BREAKOUT_ACTION_TYPE_DESTROY_BALL = 2; + BREAKOUT_ACTION_TYPE_FALLING_OBJECT = 3; + BREAKOUT_ACTION_TYPE_MISSILE = 4; +} diff --git a/proto/BreakoutBrickInfo.proto b/proto/BreakoutBrickInfo.proto index 4c0df736..6b29bd5b 100644 --- a/proto/BreakoutBrickInfo.proto +++ b/proto/BreakoutBrickInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message BreakoutBrickInfo { - uint32 hp = 1; - uint32 element_type = 2; + uint32 cpoenmafigh = 1; + uint32 elementType = 2; } diff --git a/proto/BreakoutElementReactionCounter.proto b/proto/BreakoutElementReactionCounter.proto index 69929ed3..f0e5ba41 100644 --- a/proto/BreakoutElementReactionCounter.proto +++ b/proto/BreakoutElementReactionCounter.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message BreakoutElementReactionCounter { - uint32 element_reaction = 1; - uint32 count = 2; + uint32 aknhdghiblg = 1; + uint32 count = 2; } diff --git a/proto/BreakoutPhysicalObject.proto b/proto/BreakoutPhysicalObject.proto index 12ec287b..4349a203 100644 --- a/proto/BreakoutPhysicalObject.proto +++ b/proto/BreakoutPhysicalObject.proto @@ -1,43 +1,27 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "BreakoutBrickInfo.proto"; -import "BreakoutPhysicalObjectModifier.proto"; -import "BreakoutVector2.proto"; + +import "BreakoutVector2.proto"; +import "BreakoutPhysicalObjectModifier.proto"; +import "BreakoutBrickInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message BreakoutPhysicalObject { - uint32 id = 1; - uint32 index = 2; - bool is_active = 3; - BreakoutVector2 pos = 4; - BreakoutVector2 move_dir = 5; - int32 speed = 6; - uint32 init_peer_id = 7; - uint32 state = 8; - uint32 element_type = 9; - uint32 element_reaction_buff = 10; - repeated BreakoutPhysicalObjectModifier modifier_list = 11; - int32 total_rotation = 12; - repeated BreakoutBrickInfo info_list = 13; - uint32 last_hit_peer_id = 14; - uint32 speed_increase_count = 15; - int32 offset = 16; + uint32 id = 1; + uint32 index = 2; + bool isActive = 3; + BreakoutVector2 pos = 4; + BreakoutVector2 mjehpphliia = 5; + int32 speed = 6; + uint32 dlgpedplibk = 7; + uint32 state = 8; + uint32 elementType = 9; + uint32 inhflokdoal = 10; + repeated BreakoutPhysicalObjectModifier dlijmbkhdif = 11; + int32 abolecjpbhb = 12; + repeated BreakoutBrickInfo infoList = 13; + uint32 hmgmjglmbpl = 14; + uint32 apiembahlab = 15; + int32 offset = 16; } diff --git a/proto/BreakoutPhysicalObjectModifier.proto b/proto/BreakoutPhysicalObjectModifier.proto index 3902826d..4d3a4f31 100644 --- a/proto/BreakoutPhysicalObjectModifier.proto +++ b/proto/BreakoutPhysicalObjectModifier.proto @@ -1,39 +1,24 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message BreakoutPhysicalObjectModifier { - uint32 type = 1; - uint32 id = 2; - int32 param1 = 3; - int32 param2 = 4; - int32 param3 = 5; - int32 param4 = 6; - int32 param5 = 7; - int32 param6 = 8; - bool bool1 = 9; - int32 duration = 10; - int32 end_time = 11; - uint32 combo = 12; - uint32 peer_id = 13; - uint32 skill_type = 14; - uint32 level = 15; - uint32 choose_player_count = 16; + uint32 type = 1; + uint32 id = 2; + int32 param1 = 3; + int32 param2 = 4; + int32 param3 = 5; + int32 ondeciihanm = 6; + int32 bcobaoidmmc = 7; + int32 bcmmggaidek = 8; + bool dgbbbnffmlb = 9; + int32 duration = 10; + int32 endTime = 11; + uint32 combo = 12; + uint32 peerId = 13; + uint32 hichllhajdp = 14; + uint32 level = 15; + uint32 nfheenapfmf = 16; } diff --git a/proto/BreakoutSnapShot.proto b/proto/BreakoutSnapShot.proto index a96b9f19..a6ac4a93 100644 --- a/proto/BreakoutSnapShot.proto +++ b/proto/BreakoutSnapShot.proto @@ -1,49 +1,33 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "BreakoutAction.proto"; -import "BreakoutElementReactionCounter.proto"; -import "BreakoutPhysicalObject.proto"; -import "BreakoutSpawnPoint.proto"; -import "BreakoutSyncConnectUidInfo.proto"; + +import "BreakoutPhysicalObject.proto"; +import "BreakoutAction.proto"; +import "BreakoutSpawnPoint.proto"; +import "BreakoutElementReactionCounter.proto"; +import "BreakoutSyncConnectUidInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message BreakoutSnapShot { - uint64 client_game_time = 1; - uint64 server_game_time = 2; - repeated BreakoutPhysicalObject ball_list = 3; - repeated BreakoutPhysicalObject physical_object_list = 4; - repeated BreakoutAction action_list = 5; - uint32 wave_index = 6; - bool is_finish = 7; - uint32 score = 8; - uint32 combo = 9; - uint32 max_combo = 10; - uint32 life_count = 11; - uint32 wave_suite_index = 12; - repeated BreakoutSpawnPoint spawn_point_list = 13; - uint32 remaining_boss_hp = 14; - repeated BreakoutElementReactionCounter brick_element_reaction_list = 15; - repeated BreakoutElementReactionCounter ball_element_reaction_list = 16; - repeated BreakoutSyncConnectUidInfo uid_info_list = 17; - repeated BreakoutPhysicalObject dynamic_object_list = 18; - repeated uint32 id_index_list = 19; - int32 raw_client_game_time = 20; + uint64 clientGameTime = 1; + uint64 serverGameTime = 2; + repeated BreakoutPhysicalObject ballList = 3; + repeated BreakoutPhysicalObject physicalObjectList = 4; + repeated BreakoutAction actionList = 5; + uint32 waveIndex = 6; + bool isFinish = 7; + uint32 score = 8; + uint32 combo = 9; + uint32 maxCombo = 10; + uint32 lifeCount = 11; + uint32 waveSuiteIndex = 12; + repeated BreakoutSpawnPoint spawnPointList = 13; + uint32 remainingBossHp = 14; + repeated BreakoutElementReactionCounter brickElementReactionList = 15; + repeated BreakoutElementReactionCounter ballElementReactionList = 16; + repeated BreakoutSyncConnectUidInfo uidInfoList = 17; + repeated BreakoutPhysicalObject dynamicObjectList = 18; + repeated uint32 idIndexList = 19; + int32 rawClientGameTime = 20; } diff --git a/proto/BreakoutSpawnPoint.proto b/proto/BreakoutSpawnPoint.proto index ece2a58c..28d183a6 100644 --- a/proto/BreakoutSpawnPoint.proto +++ b/proto/BreakoutSpawnPoint.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "BreakoutPhysicalObject.proto"; + +import "BreakoutPhysicalObject.proto"; option java_package = "emu.grasscutter.net.proto"; message BreakoutSpawnPoint { - uint32 id = 1; - uint32 brick_suite_id = 2; - repeated BreakoutPhysicalObject spawned_brick_list = 3; + uint32 id = 1; + uint32 jkjacakbdch = 2; + repeated BreakoutPhysicalObject clnllfklpjc = 3; } diff --git a/proto/BreakoutSyncConnectUidInfo.proto b/proto/BreakoutSyncConnectUidInfo.proto index 1ede36bc..e12eb54c 100644 --- a/proto/BreakoutSyncConnectUidInfo.proto +++ b/proto/BreakoutSyncConnectUidInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message BreakoutSyncConnectUidInfo { - uint32 uid = 1; - repeated uint32 skill_id_list = 2; - repeated uint32 skill_level_list = 3; + uint32 uid = 1; + repeated uint32 skillIdList = 2; + repeated uint32 namghchjljl = 3; } diff --git a/proto/BreakoutVector2.proto b/proto/BreakoutVector2.proto index 5279c683..0471c9a8 100644 --- a/proto/BreakoutVector2.proto +++ b/proto/BreakoutVector2.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message BreakoutVector2 { - int32 x = 1; - int32 y = 2; + int32 x = 1; + int32 y = 2; } diff --git a/proto/BrickBreakerActivityStageInfo.proto b/proto/BrickBreakerActivityStageInfo.proto index b2089057..a813bc82 100644 --- a/proto/BrickBreakerActivityStageInfo.proto +++ b/proto/BrickBreakerActivityStageInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message BrickBreakerActivityStageInfo { - uint32 stage_id = 3; - bool Unk3300_ALOGIKNHEIM = 2; - bool Unk3300_FFKIEDNGNGK = 10; + uint32 stageId = 1; + bool Unk3300_FFKIEDNGNGK = 12; + bool Unk3300_ALOGIKNHEIM = 5; } diff --git a/proto/BrickBreakerDetailInfo.proto b/proto/BrickBreakerDetailInfo.proto index aed91b49..f042c1d3 100644 --- a/proto/BrickBreakerDetailInfo.proto +++ b/proto/BrickBreakerDetailInfo.proto @@ -20,6 +20,7 @@ syntax = "proto3"; import "BrickBreakerActivityStageInfo.proto"; import "BrickBreakerLevelInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message BrickBreakerDetailInfo { diff --git a/proto/BrickBreakerInfo.proto b/proto/BrickBreakerInfo.proto new file mode 100644 index 00000000..c78fcbbd --- /dev/null +++ b/proto/BrickBreakerInfo.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "BrickBreakerLevelInfo.proto"; +import "BrickBreakerActivityStageInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BrickBreakerInfo { + repeated BrickBreakerLevelInfo dungeonLevelInfoList = 7; + repeated BrickBreakerActivityStageInfo stageInfoList = 9; + repeated BrickBreakerLevelInfo worldLevelInfoList = 3; + map skillInfoMap = 8; +} diff --git a/proto/BrickBreakerLevelInfo.proto b/proto/BrickBreakerLevelInfo.proto index 38a6d104..1c04a4d1 100644 --- a/proto/BrickBreakerLevelInfo.proto +++ b/proto/BrickBreakerLevelInfo.proto @@ -1,29 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message BrickBreakerLevelInfo { - repeated uint32 chosen_avatar_list = 5; - uint32 level_id = 3; - bool is_finish = 13; - uint32 max_score = 8; - repeated uint32 chosen_skill_list = 14; - bool is_can_start = 1; + repeated uint32 chosenSkillList = 12; + uint32 levelId = 2; + bool isFinish = 11; + bool isCanStart = 1; + uint32 maxScore = 6; + repeated uint32 chosenAvatarList = 4; } diff --git a/proto/BrickBreakerPlayerBattleInfo.proto b/proto/BrickBreakerPlayerBattleInfo.proto new file mode 100644 index 00000000..0162f8ac --- /dev/null +++ b/proto/BrickBreakerPlayerBattleInfo.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BrickBreakerPlayerBattleInfo { + repeated uint32 skillList = 9; + bool isReady = 6; + string nickname = 15; + bool isChanging = 14; + repeated uint32 costumeId = 12; + repeated uint32 avatarId = 5; + uint32 uid = 3; +} diff --git a/proto/BrickBreakerPlayerReadyNotify.proto b/proto/BrickBreakerPlayerReadyNotify.proto new file mode 100644 index 00000000..690b9647 --- /dev/null +++ b/proto/BrickBreakerPlayerReadyNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BrickBreakerPlayerReadyNotify { + enum DFGMIAMDBJK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5332; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 uidList = 9; +} diff --git a/proto/BrickBreakerPlayerSetAvatarNotify.proto b/proto/BrickBreakerPlayerSetAvatarNotify.proto new file mode 100644 index 00000000..6a0e6b44 --- /dev/null +++ b/proto/BrickBreakerPlayerSetAvatarNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BrickBreakerPlayerSetAvatarNotify { + enum KLPPMKBNEHC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5368; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 costumeIdList = 6; + uint32 uid = 3; + repeated uint32 avatarIdList = 13; +} diff --git a/proto/BrickBreakerPlayerSetChangingNotify.proto b/proto/BrickBreakerPlayerSetChangingNotify.proto new file mode 100644 index 00000000..899dfda2 --- /dev/null +++ b/proto/BrickBreakerPlayerSetChangingNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BrickBreakerPlayerSetChangingNotify { + enum MKCDBGCBFAL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5366; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isChanging = 1; + uint32 uid = 9; +} diff --git a/proto/BrickBreakerPlayerSetSkillNotify.proto b/proto/BrickBreakerPlayerSetSkillNotify.proto new file mode 100644 index 00000000..c6e8c97c --- /dev/null +++ b/proto/BrickBreakerPlayerSetSkillNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BrickBreakerPlayerSetSkillNotify { + enum NLDNJKCEONN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5333; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 uid = 12; + repeated uint32 skillIdList = 5; +} diff --git a/proto/BrickBreakerQuitReq.proto b/proto/BrickBreakerQuitReq.proto new file mode 100644 index 00000000..65fe634b --- /dev/null +++ b/proto/BrickBreakerQuitReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BrickBreakerQuitReq { + enum GDLGFMCKOEA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23676; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/BrickBreakerQuitRsp.proto b/proto/BrickBreakerQuitRsp.proto new file mode 100644 index 00000000..63b18e6f --- /dev/null +++ b/proto/BrickBreakerQuitRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BrickBreakerQuitRsp { + enum PECCFKOCDFL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23955; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 7; +} diff --git a/proto/BrickBreakerSelectAvatarReq.proto b/proto/BrickBreakerSelectAvatarReq.proto new file mode 100644 index 00000000..a1678aa3 --- /dev/null +++ b/proto/BrickBreakerSelectAvatarReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BrickBreakerSelectAvatarReq { + enum FHBNKGAFMEO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5397; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 avatarId = 13; +} diff --git a/proto/BrickBreakerSelectAvatarRsp.proto b/proto/BrickBreakerSelectAvatarRsp.proto new file mode 100644 index 00000000..52f9d659 --- /dev/null +++ b/proto/BrickBreakerSelectAvatarRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BrickBreakerSelectAvatarRsp { + enum HCCMDPLDFKP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5302; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 avatarId = 13; + int32 retcode = 9; +} diff --git a/proto/BrickBreakerSelectSkillReq.proto b/proto/BrickBreakerSelectSkillReq.proto new file mode 100644 index 00000000..dddeed25 --- /dev/null +++ b/proto/BrickBreakerSelectSkillReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BrickBreakerSelectSkillReq { + enum JHOENKPNEGJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5319; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 skillId = 15; +} diff --git a/proto/BrickBreakerSelectSkillRsp.proto b/proto/BrickBreakerSelectSkillRsp.proto new file mode 100644 index 00000000..6fee5f93 --- /dev/null +++ b/proto/BrickBreakerSelectSkillRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BrickBreakerSelectSkillRsp { + enum PEKBCBCGBAM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5321; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 skillId = 6; + int32 retcode = 9; +} diff --git a/proto/BrickBreakerSetChangingReq.proto b/proto/BrickBreakerSetChangingReq.proto new file mode 100644 index 00000000..223b8090 --- /dev/null +++ b/proto/BrickBreakerSetChangingReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BrickBreakerSetChangingReq { + enum GCOKFLLGHPD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5371; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isChanging = 13; +} diff --git a/proto/BrickBreakerSetChangingRsp.proto b/proto/BrickBreakerSetChangingRsp.proto new file mode 100644 index 00000000..401f71e1 --- /dev/null +++ b/proto/BrickBreakerSetChangingRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BrickBreakerSetChangingRsp { + enum CAIEMGNIPHA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5308; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 12; +} diff --git a/proto/BrickBreakerSetReadyReq.proto b/proto/BrickBreakerSetReadyReq.proto new file mode 100644 index 00000000..9a337190 --- /dev/null +++ b/proto/BrickBreakerSetReadyReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BrickBreakerSetReadyReq { + enum IJBEGKHFNFP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5386; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/BrickBreakerSetReadyRsp.proto b/proto/BrickBreakerSetReadyRsp.proto new file mode 100644 index 00000000..eaf56fe8 --- /dev/null +++ b/proto/BrickBreakerSetReadyRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BrickBreakerSetReadyRsp { + enum JDGBGKACGME { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5348; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 13; +} diff --git a/proto/BrickBreakerSettleNotify.proto b/proto/BrickBreakerSettleNotify.proto new file mode 100644 index 00000000..5ed72cdd --- /dev/null +++ b/proto/BrickBreakerSettleNotify.proto @@ -0,0 +1,28 @@ +syntax = "proto3"; + + + +import "SettleReason.proto"; +import "Uint32Pair.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BrickBreakerSettleNotify { + enum EHJNACJCAIL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21188; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 galleryId = 11; + uint32 combo = 13; + uint32 time = 3; + repeated Uint32Pair updateSkillList = 8; + uint32 score = 1; + bool isDungeon = 4; + uint32 levelId = 5; + SettleReason reason = 10; + bool isSingleMode = 14; + bool isNewRecord = 7; +} diff --git a/proto/BrickBreakerStageInfo.proto b/proto/BrickBreakerStageInfo.proto new file mode 100644 index 00000000..f8072882 --- /dev/null +++ b/proto/BrickBreakerStageInfo.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "BrickBreakerStageType.proto"; +import "BrickBreakerPlayerBattleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BrickBreakerStageInfo { + uint32 levelId = 12; + BrickBreakerStageType stageType = 7; + repeated BrickBreakerPlayerBattleInfo battleInfoList = 2; +} diff --git a/proto/BrickBreakerStageType.proto b/proto/BrickBreakerStageType.proto new file mode 100644 index 00000000..970142da --- /dev/null +++ b/proto/BrickBreakerStageType.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +enum BrickBreakerStageType { + BRICK_BREAKER_STAGE_TYPE_PREPARE = 0; + BRICK_BREAKER_STAGE_TYPE_PICK = 1; + BRICK_BREAKER_STAGE_TYPE_GAME = 2; + BRICK_BREAKER_STAGE_TYPE_PLAY = 3; + BRICK_BREAKER_STAGE_TYPE_SETTLE = 4; +} diff --git a/proto/BrickBreakerTwiceStartReq.proto b/proto/BrickBreakerTwiceStartReq.proto new file mode 100644 index 00000000..fba91390 --- /dev/null +++ b/proto/BrickBreakerTwiceStartReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BrickBreakerTwiceStartReq { + enum OEPIDOFOIEM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20456; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/BrickBreakerTwiceStartRsp.proto b/proto/BrickBreakerTwiceStartRsp.proto new file mode 100644 index 00000000..d7ab58e9 --- /dev/null +++ b/proto/BrickBreakerTwiceStartRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BrickBreakerTwiceStartRsp { + enum HKLBALACGIP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23952; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 9; +} diff --git a/proto/BrokenFloorInfo.proto b/proto/BrokenFloorInfo.proto new file mode 100644 index 00000000..6e927af9 --- /dev/null +++ b/proto/BrokenFloorInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BrokenFloorInfo { + map fallCountMap = 15; + uint32 endTime = 10; +} diff --git a/proto/BuildingInfo.proto b/proto/BuildingInfo.proto new file mode 100644 index 00000000..e5d912dd --- /dev/null +++ b/proto/BuildingInfo.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BuildingInfo { + uint32 buildingId = 1; + uint32 pointConfigId = 2; + uint32 cost = 3; + uint32 refund = 5; + uint32 ownerUid = 6; + uint32 currentNum = 7; + uint32 maxNum = 8; +} diff --git a/proto/BulletInfo.proto b/proto/BulletInfo.proto new file mode 100644 index 00000000..78671543 --- /dev/null +++ b/proto/BulletInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BulletInfo { + uint32 endTime = 8; + map hitCountMap = 1; +} diff --git a/proto/BundleInfo.proto b/proto/BundleInfo.proto new file mode 100644 index 00000000..7a829ca9 --- /dev/null +++ b/proto/BundleInfo.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BundleInfo { + repeated uint32 famklmmklpj = 10; +} diff --git a/proto/BuoyantCombatDailyInfo.proto b/proto/BuoyantCombatDailyInfo.proto index 31c6cd7d..e258e8f6 100644 --- a/proto/BuoyantCombatDailyInfo.proto +++ b/proto/BuoyantCombatDailyInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message BuoyantCombatDailyInfo { - uint32 best_score = 5; - uint32 start_time = 10; + uint32 bestScore = 12; + uint32 startTime = 2; } diff --git a/proto/BuoyantCombatDetailInfo.proto b/proto/BuoyantCombatDetailInfo.proto index e6830941..0f1dc61f 100644 --- a/proto/BuoyantCombatDetailInfo.proto +++ b/proto/BuoyantCombatDetailInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "BuoyantCombatDailyInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message BuoyantCombatDetailInfo { diff --git a/proto/BuoyantCombatGallerySettleInfo.proto b/proto/BuoyantCombatGallerySettleInfo.proto new file mode 100644 index 00000000..e60e8283 --- /dev/null +++ b/proto/BuoyantCombatGallerySettleInfo.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BuoyantCombatGallerySettleInfo { + uint32 killSpecialMonsterCount = 4; + uint32 galleryId = 14; + uint32 killMonsterCount = 10; + uint32 Unk3300_HLFHLPEKOML = 9; + uint32 galleryLevel = 8; + uint32 finalScore = 6; + uint32 Unk3300_KPCJBOOGEMG = 2; +} diff --git a/proto/BuoyantCombatInfo.proto b/proto/BuoyantCombatInfo.proto new file mode 100644 index 00000000..98cfbec7 --- /dev/null +++ b/proto/BuoyantCombatInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BuoyantCombatInfo { + uint32 killMonsterCount = 3; + uint32 killSpecialMonsterCount = 15; + uint32 score = 12; +} diff --git a/proto/BuoyantCombatSettleInfo.proto b/proto/BuoyantCombatSettleInfo.proto new file mode 100644 index 00000000..ecabb043 --- /dev/null +++ b/proto/BuoyantCombatSettleInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "BuoyantCombatGallerySettleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BuoyantCombatSettleInfo { + BuoyantCombatGallerySettleInfo settleInfo = 9; + bool isNewRecord = 1; +} diff --git a/proto/BuoyantCombatSettleNotify.proto b/proto/BuoyantCombatSettleNotify.proto new file mode 100644 index 00000000..19be1e49 --- /dev/null +++ b/proto/BuoyantCombatSettleNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "BuoyantCombatSettleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message BuoyantCombatSettleNotify { + enum EHEEOKAHJFL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8267; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + BuoyantCombatSettleInfo settleInfo = 5; + uint32 galleryId = 15; +} diff --git a/proto/BuyBattlePassLevelReq.proto b/proto/BuyBattlePassLevelReq.proto index 11bb294d..a081a27d 100644 --- a/proto/BuyBattlePassLevelReq.proto +++ b/proto/BuyBattlePassLevelReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message BuyBattlePassLevelReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2643; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum GAFBPOGLKLK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2607; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 buy_level = 15; + uint32 buyLevel = 4; } diff --git a/proto/BuyBattlePassLevelRsp.proto b/proto/BuyBattlePassLevelRsp.proto index fde25816..28b3c261 100644 --- a/proto/BuyBattlePassLevelRsp.proto +++ b/proto/BuyBattlePassLevelRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message BuyBattlePassLevelRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2609; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum FHNEBDCOHHI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2615; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 11; - uint32 buy_level = 15; + uint32 buyLevel = 15; + int32 retcode = 7; } diff --git a/proto/BuyGoodsParam.proto b/proto/BuyGoodsParam.proto index 7dd18822..25b3769b 100644 --- a/proto/BuyGoodsParam.proto +++ b/proto/BuyGoodsParam.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ShopGoods.proto"; + +import "ShopGoods.proto"; option java_package = "emu.grasscutter.net.proto"; message BuyGoodsParam { - ShopGoods goods = 14; - uint32 buy_count = 2; + ShopGoods goods = 8; + uint32 buyCount = 3; } diff --git a/proto/BuyGoodsReq.proto b/proto/BuyGoodsReq.proto index 5235b979..eb57e1ed 100644 --- a/proto/BuyGoodsReq.proto +++ b/proto/BuyGoodsReq.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ShopGoods.proto"; + +import "ShopGoods.proto"; option java_package = "emu.grasscutter.net.proto"; message BuyGoodsReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 756; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum ELOCMPDKODO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 787; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 shop_type = 9; - ShopGoods goods = 10; - uint32 buy_count = 13; + uint32 buyCount = 14; + uint32 shopType = 5; + ShopGoods goods = 3; } diff --git a/proto/BuyGoodsRsp.proto b/proto/BuyGoodsRsp.proto index 882fe9c9..928e1c23 100644 --- a/proto/BuyGoodsRsp.proto +++ b/proto/BuyGoodsRsp.proto @@ -1,38 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ShopGoods.proto"; + +import "ShopGoods.proto"; option java_package = "emu.grasscutter.net.proto"; message BuyGoodsRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 719; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum DIHAHKEFGKP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 798; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 shop_type = 15; - int32 retcode = 13; - repeated ShopGoods goods_list = 10; - ShopGoods goods = 7; - uint32 buy_count = 9; + uint32 buyCount = 2; + ShopGoods goods = 1; + repeated ShopGoods goodsList = 7; + int32 retcode = 5; + uint32 shopType = 14; } diff --git a/proto/BuyResinReq.proto b/proto/BuyResinReq.proto new file mode 100644 index 00000000..4319be05 --- /dev/null +++ b/proto/BuyResinReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BuyResinReq { + enum ACPHABNBHCD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 663; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/BuyResinRsp.proto b/proto/BuyResinRsp.proto new file mode 100644 index 00000000..5b58fbc0 --- /dev/null +++ b/proto/BuyResinRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message BuyResinRsp { + enum FNEEMDCCGOH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 623; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 curValue = 15; + int32 retcode = 1; +} diff --git a/proto/CAFAPMPMBPO.proto b/proto/CAFAPMPMBPO.proto new file mode 100644 index 00000000..799e80b2 --- /dev/null +++ b/proto/CAFAPMPMBPO.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CAFAPMPMBPO { + enum AJHBMGOOHAM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6124; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool chfncchhlii = 14; +} diff --git a/proto/CBNIFFCNOEC.proto b/proto/CBNIFFCNOEC.proto new file mode 100644 index 00000000..08b129a0 --- /dev/null +++ b/proto/CBNIFFCNOEC.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CBNIFFCNOEC { + uint64 dungeonGuid = 1; + uint32 minCostTime = 2; +} diff --git a/proto/CBPPJAIEOKC.proto b/proto/CBPPJAIEOKC.proto new file mode 100644 index 00000000..129b6d43 --- /dev/null +++ b/proto/CBPPJAIEOKC.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "AnimatorParameterValueInfoPair.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CBPPJAIEOKC { + AnimatorParameterValueInfoPair value = 2; +} diff --git a/proto/CFBEJCCBIAL.proto b/proto/CFBEJCCBIAL.proto new file mode 100644 index 00000000..315b26dd --- /dev/null +++ b/proto/CFBEJCCBIAL.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CFBEJCCBIAL { + bool jomaminoocj = 15; +} diff --git a/proto/CGEEOKKPKLA.proto b/proto/CGEEOKKPKLA.proto new file mode 100644 index 00000000..48237a78 --- /dev/null +++ b/proto/CGEEOKKPKLA.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CGEEOKKPKLA { + enum HBPMEJAKMIO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 110; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/CKGBCMJEJHH.proto b/proto/CKGBCMJEJHH.proto new file mode 100644 index 00000000..469e0d75 --- /dev/null +++ b/proto/CKGBCMJEJHH.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "IDOELHBANCP.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CKGBCMJEJHH { + repeated IDOELHBANCP kcllbppiboo = 999; +} diff --git a/proto/CLMDHLAENEJ.proto b/proto/CLMDHLAENEJ.proto new file mode 100644 index 00000000..8c4113d7 --- /dev/null +++ b/proto/CLMDHLAENEJ.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum CLMDHLAENEJ { + HIHDNJGDBML = 0; + DPMMMOJKBIL = 1; + LJODKMGEFHL = 2; +} diff --git a/proto/CPINCMHJEIB.proto b/proto/CPINCMHJEIB.proto new file mode 100644 index 00000000..3ef17be5 --- /dev/null +++ b/proto/CPINCMHJEIB.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +import "bytes.proto"; +import "HGHPBLJEAJJ.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CPINCMHJEIB { + int32 retcode = 1; + repeated HGHPBLJEAJJ hjaeginkldk = 2; + bytes lkcfpnkfoma = 5; + bytes jhbailmlkio = 6; + bool odnjldgmjkg = 7; +} diff --git a/proto/CPNNKGLFFOP.proto b/proto/CPNNKGLFFOP.proto new file mode 100644 index 00000000..e53052fc --- /dev/null +++ b/proto/CPNNKGLFFOP.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CPNNKGLFFOP { + uint32 bfpknggpgbp = 10; +} diff --git a/proto/CalcWeaponUpgradeReturnItemsReq.proto b/proto/CalcWeaponUpgradeReturnItemsReq.proto index 650451db..1fcadd7d 100644 --- a/proto/CalcWeaponUpgradeReturnItemsReq.proto +++ b/proto/CalcWeaponUpgradeReturnItemsReq.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ItemParam.proto"; + +import "ItemParam.proto"; option java_package = "emu.grasscutter.net.proto"; message CalcWeaponUpgradeReturnItemsReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 666; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum KBOIILFHAHG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 691; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated uint64 food_weapon_guid_list = 12; - repeated ItemParam item_param_list = 8; - uint64 target_weapon_guid = 2; + repeated uint64 foodWeaponGuidList = 8; + repeated ItemParam itemParamList = 4; + uint64 targetWeaponGuid = 10; } diff --git a/proto/CalcWeaponUpgradeReturnItemsRsp.proto b/proto/CalcWeaponUpgradeReturnItemsRsp.proto index 0cc3d97c..baedbd4a 100644 --- a/proto/CalcWeaponUpgradeReturnItemsRsp.proto +++ b/proto/CalcWeaponUpgradeReturnItemsRsp.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ItemParam.proto"; + +import "ItemParam.proto"; option java_package = "emu.grasscutter.net.proto"; message CalcWeaponUpgradeReturnItemsRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 652; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MMGACCGBCKM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 660; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint64 target_weapon_guid = 3; - repeated ItemParam item_param_list = 10; - int32 retcode = 4; + int32 retcode = 4; + uint64 targetWeaponGuid = 9; + repeated ItemParam itemParamList = 7; } diff --git a/proto/CameraInfo.proto b/proto/CameraInfo.proto new file mode 100644 index 00000000..6cfcb7ac --- /dev/null +++ b/proto/CameraInfo.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CameraInfo { + uint32 targetEntityId = 6; +} diff --git a/proto/CanUseSkillNotify.proto b/proto/CanUseSkillNotify.proto index 07e94a9a..8c2df764 100644 --- a/proto/CanUseSkillNotify.proto +++ b/proto/CanUseSkillNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message CanUseSkillNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1042; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum BKAHAJDKDCC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1069; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - bool is_can_use_skill = 12; + bool isCanUseSkill = 2; } diff --git a/proto/CancelCityReputationRequestReq.proto b/proto/CancelCityReputationRequestReq.proto new file mode 100644 index 00000000..19ed9af6 --- /dev/null +++ b/proto/CancelCityReputationRequestReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CancelCityReputationRequestReq { + enum PEGIPDOPPMB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2814; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 cityId = 4; + uint32 requestId = 3; +} diff --git a/proto/CancelCityReputationRequestRsp.proto b/proto/CancelCityReputationRequestRsp.proto new file mode 100644 index 00000000..3be82585 --- /dev/null +++ b/proto/CancelCityReputationRequestRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CancelCityReputationRequestRsp { + enum DPFLDELPNAJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2824; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 requestId = 9; + int32 retcode = 12; + uint32 cityId = 14; +} diff --git a/proto/CancelCoopTaskReq.proto b/proto/CancelCoopTaskReq.proto new file mode 100644 index 00000000..bb355d5f --- /dev/null +++ b/proto/CancelCoopTaskReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CancelCoopTaskReq { + enum IAGEEEFFNDF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1957; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 chapterId = 3; +} diff --git a/proto/CancelCoopTaskRsp.proto b/proto/CancelCoopTaskRsp.proto new file mode 100644 index 00000000..6c9f9f2c --- /dev/null +++ b/proto/CancelCoopTaskRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CancelCoopTaskRsp { + enum OCEJECOKKOI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1965; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 chapterId = 12; + int32 retcode = 3; +} diff --git a/proto/CancelFinishParentQuestNotify.proto b/proto/CancelFinishParentQuestNotify.proto index 6ff25a2e..6ae51616 100644 --- a/proto/CancelFinishParentQuestNotify.proto +++ b/proto/CancelFinishParentQuestNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message CancelFinishParentQuestNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 422; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum IEDHEJEMNLC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 453; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 parent_quest_id = 14; + uint32 parentQuestId = 10; } diff --git a/proto/CardProductRewardNotify.proto b/proto/CardProductRewardNotify.proto index 3ff0a0c1..8654124d 100644 --- a/proto/CardProductRewardNotify.proto +++ b/proto/CardProductRewardNotify.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message CardProductRewardNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4135; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum EIGMFIIBFJL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4141; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 hcoin = 6; - string product_id = 3; - uint32 remain_days = 4; + string productId = 9; + uint32 hcoin = 6; + uint32 remainDays = 7; } diff --git a/proto/CardUpdate.proto b/proto/CardUpdate.proto new file mode 100644 index 00000000..64bf9e61 --- /dev/null +++ b/proto/CardUpdate.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "GCGCard.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CardUpdate { + GCGCard card = 10; +} diff --git a/proto/CataLogFinishedGlobalWatcherAllDataNotify.proto b/proto/CataLogFinishedGlobalWatcherAllDataNotify.proto new file mode 100644 index 00000000..35f1ca77 --- /dev/null +++ b/proto/CataLogFinishedGlobalWatcherAllDataNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "CataLogGlobalWatcherFinishedData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CataLogFinishedGlobalWatcherAllDataNotify { + enum KGDHMHMGKCN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6352; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated CataLogGlobalWatcherFinishedData finishedGlobalWatcherDataList = 13; +} diff --git a/proto/CataLogGlobalWatcherFinishedData.proto b/proto/CataLogGlobalWatcherFinishedData.proto new file mode 100644 index 00000000..55240a09 --- /dev/null +++ b/proto/CataLogGlobalWatcherFinishedData.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CataLogGlobalWatcherFinishedData { + uint32 catalogType = 5; + repeated uint32 finishedGlobalWatcherList = 2; +} diff --git a/proto/CataLogNewFinishedGlobalWatcherNotify.proto b/proto/CataLogNewFinishedGlobalWatcherNotify.proto new file mode 100644 index 00000000..ff2e50ff --- /dev/null +++ b/proto/CataLogNewFinishedGlobalWatcherNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "CataLogGlobalWatcherFinishedData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CataLogNewFinishedGlobalWatcherNotify { + enum IEGJCONPBEJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6390; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated CataLogGlobalWatcherFinishedData newFinishedGlobalWatcherDataList = 13; +} diff --git a/proto/ChallengeBrief.proto b/proto/ChallengeBrief.proto index 686f1e61..6cf9552d 100644 --- a/proto/ChallengeBrief.proto +++ b/proto/ChallengeBrief.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ChallengeBrief { - uint32 challenge_index = 5; - uint32 cur_progress = 15; - bool is_success = 12; - uint32 challenge_id = 1; + uint32 curProgress = 9; + bool isSuccess = 5; + uint32 challengeIndex = 15; + uint32 challengeId = 2; } diff --git a/proto/ChallengeDataNotify.proto b/proto/ChallengeDataNotify.proto index 48afddb3..7f8f8dcb 100644 --- a/proto/ChallengeDataNotify.proto +++ b/proto/ChallengeDataNotify.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ChallengeDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 973; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum FIELHNJEKDK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1000; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 param_index = 4; - uint32 challenge_index = 2; - uint32 value = 3; + uint32 paramIndex = 1; + uint32 value = 11; + uint32 challengeIndex = 8; } diff --git a/proto/ChallengeFinishType.proto b/proto/ChallengeFinishType.proto index 10cc62b3..ca708c05 100644 --- a/proto/ChallengeFinishType.proto +++ b/proto/ChallengeFinishType.proto @@ -1,23 +1,6 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum ChallengeFinishType { CHALLENGE_FINISH_TYPE_NONE = 0; diff --git a/proto/ChallengeRecord.proto b/proto/ChallengeRecord.proto new file mode 100644 index 00000000..296d6779 --- /dev/null +++ b/proto/ChallengeRecord.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChallengeRecord { + uint32 bestValue = 2; + uint32 challengeIndex = 15; + uint32 challengeId = 3; + uint32 challengeRecordType = 5; +} diff --git a/proto/ChallengeRecordNotify.proto b/proto/ChallengeRecordNotify.proto new file mode 100644 index 00000000..2b19fad7 --- /dev/null +++ b/proto/ChallengeRecordNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "ChallengeRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ChallengeRecordNotify { + enum KCLBIOJDAOF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 958; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 groupId = 3; + repeated ChallengeRecord challengeRecordList = 5; +} diff --git a/proto/ChallnelerSlabInfo.proto b/proto/ChallnelerSlabInfo.proto new file mode 100644 index 00000000..97535663 --- /dev/null +++ b/proto/ChallnelerSlabInfo.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +import "ChannelerSlabBuffInfo.proto"; +import "ChannelerSlabLoopDungeonStageInfo.proto"; +import "ChannelerSlabChallengeStage.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ChallnelerSlabInfo { + ChannelerSlabBuffInfo buffInfo = 13; + uint32 playEndTime = 7; + ChannelerSlabLoopDungeonStageInfo loopDungeonStageInfo = 4; + repeated ChannelerSlabChallengeStage stageList = 9; +} diff --git a/proto/ChangeAvatarReq.proto b/proto/ChangeAvatarReq.proto index deb1c731..b2f88635 100644 --- a/proto/ChangeAvatarReq.proto +++ b/proto/ChangeAvatarReq.proto @@ -1,38 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message ChangeAvatarReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1682; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum IKMGCHELDNF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1649; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - Vector move_pos = 9; - uint64 guid = 14; - bool is_move = 11; - uint32 skill_id = 4; + uint64 guid = 12; + bool isMove = 10; + Rotation movePos = 3; + uint32 skillId = 5; } diff --git a/proto/ChangeAvatarRsp.proto b/proto/ChangeAvatarRsp.proto index 5a8a789f..f1ecfea0 100644 --- a/proto/ChangeAvatarRsp.proto +++ b/proto/ChangeAvatarRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ChangeAvatarRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1699; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum ICFALNBBCJF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1780; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint64 cur_guid = 10; - uint32 skill_id = 1; - int32 retcode = 5; + uint64 curGuid = 14; + uint32 skillId = 6; + int32 retcode = 15; } diff --git a/proto/ChangeCustomDungeonRoomReq.proto b/proto/ChangeCustomDungeonRoomReq.proto new file mode 100644 index 00000000..4bfad8c2 --- /dev/null +++ b/proto/ChangeCustomDungeonRoomReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChangeCustomDungeonRoomReq { + enum LOEJDJJNBPL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6235; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 roomId = 6; +} diff --git a/proto/ChangeCustomDungeonRoomRsp.proto b/proto/ChangeCustomDungeonRoomRsp.proto new file mode 100644 index 00000000..d562d154 --- /dev/null +++ b/proto/ChangeCustomDungeonRoomRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChangeCustomDungeonRoomRsp { + enum AOHAENIHBLK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6216; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 roomId = 10; + int32 retcode = 2; +} diff --git a/proto/ChangeEnergyReason.proto b/proto/ChangeEnergyReason.proto index 870a0fb5..61271846 100644 --- a/proto/ChangeEnergyReason.proto +++ b/proto/ChangeEnergyReason.proto @@ -1,25 +1,8 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum ChangeEnergyReason { - CHANGE_ENERGY_REASON_NONE = 0; - CHANGE_ENERGY_REASON_SKILL_START = 1; + CHANGE_ENERGY_REASON_NONE = 0; + CHANGE_ENERGY_REASON_SKILL_START = 1; } diff --git a/proto/ChangeGameTimeReq.proto b/proto/ChangeGameTimeReq.proto index 0accd23a..68bbbce8 100644 --- a/proto/ChangeGameTimeReq.proto +++ b/proto/ChangeGameTimeReq.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ChangeGameTimeReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 178; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum ALPCPKGFHFL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 162; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 extra_days = 3; - uint32 game_time = 8; - bool is_force_set = 2; + uint32 extraDays = 7; + bool isForceSet = 6; + uint32 gameTime = 9; } diff --git a/proto/ChangeGameTimeRsp.proto b/proto/ChangeGameTimeRsp.proto index b9e14d4f..7910067a 100644 --- a/proto/ChangeGameTimeRsp.proto +++ b/proto/ChangeGameTimeRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ChangeGameTimeRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 157; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum LAFFGLCBMLP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 114; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 10; - uint32 extra_days = 2; - uint32 cur_game_time = 8; + uint32 curGameTime = 15; + uint32 extraDays = 5; + int32 retcode = 7; } diff --git a/proto/ChangeHpReason.proto b/proto/ChangeHpReason.proto index 28c784a3..b9b35b2f 100644 --- a/proto/ChangeHpReason.proto +++ b/proto/ChangeHpReason.proto @@ -1,53 +1,36 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + 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_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_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; } diff --git a/proto/ChangeMailStarNotify.proto b/proto/ChangeMailStarNotify.proto index 8d41a971..1aeebd38 100644 --- a/proto/ChangeMailStarNotify.proto +++ b/proto/ChangeMailStarNotify.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ChangeMailStarNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1448; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum PHAAKAMCIEC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1478; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated uint32 mail_id_list = 13; - bool is_star = 15; + repeated uint32 mailIdList = 11; + bool isStar = 12; } diff --git a/proto/ChangeMpTeamAvatarReq.proto b/proto/ChangeMpTeamAvatarReq.proto index 68689bcf..88cd376f 100644 --- a/proto/ChangeMpTeamAvatarReq.proto +++ b/proto/ChangeMpTeamAvatarReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ChangeMpTeamAvatarReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1645; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum AJMGCPCANMH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1784; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint64 cur_avatar_guid = 3; - repeated uint64 avatar_guid_list = 14; + uint64 curAvatarGuid = 8; + repeated uint64 avatarGuidList = 2; } diff --git a/proto/ChangeMpTeamAvatarRsp.proto b/proto/ChangeMpTeamAvatarRsp.proto index f926db57..bf627bd9 100644 --- a/proto/ChangeMpTeamAvatarRsp.proto +++ b/proto/ChangeMpTeamAvatarRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ChangeMpTeamAvatarRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1730; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum FHBBDOEOPMF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1796; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint64 cur_avatar_guid = 12; - int32 retcode = 10; - repeated uint64 avatar_guid_list = 2; + uint64 curAvatarGuid = 12; + repeated uint64 avatarGuidList = 10; + int32 retcode = 1; } diff --git a/proto/ChangeServerGlobalValueNotify.proto b/proto/ChangeServerGlobalValueNotify.proto new file mode 100644 index 00000000..70ab3a23 --- /dev/null +++ b/proto/ChangeServerGlobalValueNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChangeServerGlobalValueNotify { + enum PPLFEGBCMHN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 18; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 entityId = 2; +} diff --git a/proto/ChangeTeamNameReq.proto b/proto/ChangeTeamNameReq.proto index f6690758..4507a33d 100644 --- a/proto/ChangeTeamNameReq.proto +++ b/proto/ChangeTeamNameReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ChangeTeamNameReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1706; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum OGFMHICCHEC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1631; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - int32 team_id = 14; - string team_name = 15; + string teamName = 8; + int32 teamId = 1; } diff --git a/proto/ChangeTeamNameRsp.proto b/proto/ChangeTeamNameRsp.proto index f2588c5f..21b955b1 100644 --- a/proto/ChangeTeamNameRsp.proto +++ b/proto/ChangeTeamNameRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ChangeTeamNameRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1696; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum NNNCLFAEGPM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1741; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 2; - string team_name = 15; - int32 team_id = 5; + int32 retcode = 14; + string teamName = 2; + int32 teamId = 3; } diff --git a/proto/ChangeWidgetBackgroundActiveStateReq.proto b/proto/ChangeWidgetBackgroundActiveStateReq.proto new file mode 100644 index 00000000..ed1a7213 --- /dev/null +++ b/proto/ChangeWidgetBackgroundActiveStateReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChangeWidgetBackgroundActiveStateReq { + enum DJJNCLHIPBO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6092; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 materialId = 8; + bool isActive = 9; +} diff --git a/proto/ChangeWidgetBackgroundActiveStateRsp.proto b/proto/ChangeWidgetBackgroundActiveStateRsp.proto new file mode 100644 index 00000000..df502784 --- /dev/null +++ b/proto/ChangeWidgetBackgroundActiveStateRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChangeWidgetBackgroundActiveStateRsp { + enum MLOHDHDAHDD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6088; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 7; + uint32 materialId = 13; +} diff --git a/proto/ChangeWorldToSingleModeNotify.proto b/proto/ChangeWorldToSingleModeNotify.proto new file mode 100644 index 00000000..bd3e3f3d --- /dev/null +++ b/proto/ChangeWorldToSingleModeNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChangeWorldToSingleModeNotify { + enum ALLKFGAHIBD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3397; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/ChangeWorldToSingleModeReq.proto b/proto/ChangeWorldToSingleModeReq.proto new file mode 100644 index 00000000..469c267a --- /dev/null +++ b/proto/ChangeWorldToSingleModeReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChangeWorldToSingleModeReq { + enum JLMELBPCHKE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3171; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/ChangeWorldToSingleModeRsp.proto b/proto/ChangeWorldToSingleModeRsp.proto new file mode 100644 index 00000000..f0631999 --- /dev/null +++ b/proto/ChangeWorldToSingleModeRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChangeWorldToSingleModeRsp { + enum HOCMNBAFFAL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3197; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 quitMpValidTime = 13; + int32 retcode = 3; +} diff --git a/proto/ChannelerSlabActivityDetailInfo.proto b/proto/ChannelerSlabActivityDetailInfo.proto index d8abbffd..dfb4dda4 100644 --- a/proto/ChannelerSlabActivityDetailInfo.proto +++ b/proto/ChannelerSlabActivityDetailInfo.proto @@ -1,31 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ChannelerSlabBuffInfo.proto"; -import "ChannelerSlabChallengeStage.proto"; -import "ChannelerSlabLoopDungeonStageInfo.proto"; + +import "ChannelerSlabBuffInfo.proto"; +import "ChannelerSlabLoopDungeonStageInfo.proto"; +import "ChannelerSlabChallengeStage.proto"; option java_package = "emu.grasscutter.net.proto"; message ChannelerSlabActivityDetailInfo { - ChannelerSlabLoopDungeonStageInfo loop_dungeon_stage_info = 2; - ChannelerSlabBuffInfo buff_info = 9; - repeated ChannelerSlabChallengeStage stage_list = 8; - uint32 play_end_time = 14; + ChannelerSlabBuffInfo buffInfo = 13; + uint32 playEndTime = 7; + ChannelerSlabLoopDungeonStageInfo loopDungeonStageInfo = 4; + repeated ChannelerSlabChallengeStage stageList = 9; } diff --git a/proto/ChannelerSlabAssistInfo.proto b/proto/ChannelerSlabAssistInfo.proto index 0848fe6f..c12847a1 100644 --- a/proto/ChannelerSlabAssistInfo.proto +++ b/proto/ChannelerSlabAssistInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ChannelerSlabAssistInfo { - uint32 avatar_level = 10; - uint32 uid = 11; - uint32 avatar_id = 6; + uint32 uid = 11; + uint32 avatarId = 15; + uint32 avatarLevel = 3; } diff --git a/proto/ChannelerSlabBuffInfo.proto b/proto/ChannelerSlabBuffInfo.proto index e5e54785..d1142668 100644 --- a/proto/ChannelerSlabBuffInfo.proto +++ b/proto/ChannelerSlabBuffInfo.proto @@ -1,30 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ChannelerSlabAssistInfo.proto"; -import "ChannelerSlabBuffSchemeInfo.proto"; + +import "ChannelerSlabBuffSchemeInfo.proto"; +import "ChannelerSlabAssistInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message ChannelerSlabBuffInfo { - repeated ChannelerSlabAssistInfo assist_info_list = 11; - ChannelerSlabBuffSchemeInfo Unk3300_CDFLIONGKCH = 8; - ChannelerSlabBuffSchemeInfo Unk3300_ANENHMAADLN = 14; - repeated uint32 buff_id_list = 6; + ChannelerSlabBuffSchemeInfo Unk3300_ANENHMAADLN = 6; + repeated uint32 buffIdList = 10; + ChannelerSlabBuffSchemeInfo Unk3300_CDFLIONGKCH = 9; + repeated ChannelerSlabAssistInfo assistInfoList = 14; } diff --git a/proto/ChannelerSlabBuffSchemeInfo.proto b/proto/ChannelerSlabBuffSchemeInfo.proto index b98cc344..cdf38e0a 100644 --- a/proto/ChannelerSlabBuffSchemeInfo.proto +++ b/proto/ChannelerSlabBuffSchemeInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ChannelerSlabBuffSchemeInfo { - uint32 Unk3300_NCMDDAFNENO = 9; - map slot_map = 11; - uint32 Unk3300_CKMNFOCNMGL = 5; + map slotMap = 9; + uint32 Unk3300_NCMDDAFNENO = 1; + uint32 Unk3300_CKMNFOCNMGL = 10; } diff --git a/proto/ChannelerSlabCamp.proto b/proto/ChannelerSlabCamp.proto index 56677774..727a349d 100644 --- a/proto/ChannelerSlabCamp.proto +++ b/proto/ChannelerSlabCamp.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message ChannelerSlabCamp { - uint32 buff_num = 11; - uint32 reward_id = 9; - uint32 group_id = 8; - Vector pos = 15; + Rotation pos = 14; + uint32 rewardId = 11; + uint32 groupId = 5; + uint32 bfgophiannc = 15; } diff --git a/proto/ChannelerSlabChallenge.proto b/proto/ChannelerSlabChallenge.proto index 80f516ba..812e8dee 100644 --- a/proto/ChannelerSlabChallenge.proto +++ b/proto/ChannelerSlabChallenge.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ChannelerSlabCamp.proto"; + +import "ChannelerSlabCamp.proto"; option java_package = "emu.grasscutter.net.proto"; message ChannelerSlabChallenge { - uint32 active_camp_index = 1; - repeated ChannelerSlabCamp camp_list = 14; + repeated ChannelerSlabCamp campList = 15; + uint32 activeCampIndex = 14; } diff --git a/proto/ChannelerSlabChallengeStage.proto b/proto/ChannelerSlabChallengeStage.proto index 2b1ea607..bf0204f4 100644 --- a/proto/ChannelerSlabChallengeStage.proto +++ b/proto/ChannelerSlabChallengeStage.proto @@ -1,31 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ChannelerSlabChallenge.proto"; -import "ChannelerSlabOneoffDungeon.proto"; + +import "ChannelerSlabOneoffDungeon.proto"; +import "ChannelerSlabChallenge.proto"; option java_package = "emu.grasscutter.net.proto"; message ChannelerSlabChallengeStage { - bool is_open = 4; - ChannelerSlabOneoffDungeon dungeon_info = 12; - uint32 open_time = 13; - uint32 stage_id = 1; - repeated ChannelerSlabChallenge challenge_list = 2; + uint32 openTime = 10; + repeated ChannelerSlabChallenge challengeList = 12; + ChannelerSlabOneoffDungeon dungeonInfo = 5; + uint32 stageId = 13; + bool isOpen = 1; } diff --git a/proto/ChannelerSlabLoopDungeonInfo.proto b/proto/ChannelerSlabLoopDungeonInfo.proto index 5261b021..01e958a9 100644 --- a/proto/ChannelerSlabLoopDungeonInfo.proto +++ b/proto/ChannelerSlabLoopDungeonInfo.proto @@ -1,29 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ChannelerSlabLoopDungeonInfo { - bool is_first_pass_reward_taken = 9; - uint32 score = 7; - repeated uint32 last_condition_id_list = 10; - uint32 dungeon_index = 1; - bool is_open = 4; - uint32 open_time = 13; + uint32 dungeonIndex = 7; + uint32 score = 4; + bool isOpen = 2; + bool isFirstPassRewardTaken = 11; + uint32 openTime = 3; + repeated uint32 lastConditionIdList = 1; } diff --git a/proto/ChannelerSlabLoopDungeonResultInfo.proto b/proto/ChannelerSlabLoopDungeonResultInfo.proto index f8402f31..b3414a53 100644 --- a/proto/ChannelerSlabLoopDungeonResultInfo.proto +++ b/proto/ChannelerSlabLoopDungeonResultInfo.proto @@ -1,28 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ChannelerSlabLoopDungeonResultInfo { - uint32 dungeon_index = 7; - uint32 challenge_score = 5; - bool is_in_time_limit = 8; - bool is_success = 12; - uint32 challenge_max_score = 13; + uint32 challengeMaxScore = 5; + bool isSuccess = 13; + bool isInTimeLimit = 6; + uint32 challengeScore = 1; + uint32 dungeonIndex = 3; } diff --git a/proto/ChannelerSlabLoopDungeonStageInfo.proto b/proto/ChannelerSlabLoopDungeonStageInfo.proto index 521b5f16..e613ac90 100644 --- a/proto/ChannelerSlabLoopDungeonStageInfo.proto +++ b/proto/ChannelerSlabLoopDungeonStageInfo.proto @@ -1,30 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ChannelerSlabLoopDungeonInfo.proto"; + +import "ChannelerSlabLoopDungeonInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message ChannelerSlabLoopDungeonStageInfo { - repeated uint32 taken_reward_index_list = 5; - bool is_open = 9; - uint32 open_time = 7; - repeated ChannelerSlabLoopDungeonInfo dungeon_info_list = 3; - uint32 last_difficulty_id = 6; + repeated ChannelerSlabLoopDungeonInfo dungeonInfoList = 10; + uint32 openTime = 12; + uint32 lastDifficultyId = 2; + bool isOpen = 8; + repeated uint32 takenRewardIndexList = 9; } diff --git a/proto/ChannelerSlabOneoffDungeon.proto b/proto/ChannelerSlabOneoffDungeon.proto index 4793f4ed..4886703a 100644 --- a/proto/ChannelerSlabOneoffDungeon.proto +++ b/proto/ChannelerSlabOneoffDungeon.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ChannelerSlabOneoffDungeon { - uint32 dungeon_id = 6; - bool is_done = 1; - uint32 reward_id = 5; + bool isDone = 13; + uint32 rewardId = 12; + uint32 dungeonId = 15; } diff --git a/proto/ChannelerSlabStageActiveChallengeIndexNotify.proto b/proto/ChannelerSlabStageActiveChallengeIndexNotify.proto new file mode 100644 index 00000000..af8f81b8 --- /dev/null +++ b/proto/ChannelerSlabStageActiveChallengeIndexNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChannelerSlabStageActiveChallengeIndexNotify { + enum FKBDDLDGEPN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8354; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 activeCampIndex = 6; + uint32 challengeIndex = 8; + uint32 stageId = 7; +} diff --git a/proto/ChannelerSlabStageOneoffDungeonNotify.proto b/proto/ChannelerSlabStageOneoffDungeonNotify.proto new file mode 100644 index 00000000..f467c389 --- /dev/null +++ b/proto/ChannelerSlabStageOneoffDungeonNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChannelerSlabStageOneoffDungeonNotify { + enum HCJDENJOCNA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8449; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isDone = 4; + uint32 stageId = 14; +} diff --git a/proto/ChannellerSlabCheckEnterLoopDungeonReq.proto b/proto/ChannellerSlabCheckEnterLoopDungeonReq.proto new file mode 100644 index 00000000..64c377ba --- /dev/null +++ b/proto/ChannellerSlabCheckEnterLoopDungeonReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChannellerSlabCheckEnterLoopDungeonReq { + enum ICIFAPFEDAO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8678; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/ChannellerSlabCheckEnterLoopDungeonRsp.proto b/proto/ChannellerSlabCheckEnterLoopDungeonRsp.proto new file mode 100644 index 00000000..9a5e4f7e --- /dev/null +++ b/proto/ChannellerSlabCheckEnterLoopDungeonRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChannellerSlabCheckEnterLoopDungeonRsp { + enum IHAEEPNONDH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8961; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 8; +} diff --git a/proto/ChannellerSlabEnterLoopDungeonReq.proto b/proto/ChannellerSlabEnterLoopDungeonReq.proto new file mode 100644 index 00000000..a5db60c0 --- /dev/null +++ b/proto/ChannellerSlabEnterLoopDungeonReq.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChannellerSlabEnterLoopDungeonReq { + enum ACNPALJIMAE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8928; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 difficultyId = 14; + uint32 dungeonIndex = 10; + uint32 pointId = 3; + repeated uint32 conditionIdList = 2; +} diff --git a/proto/ChannellerSlabEnterLoopDungeonRsp.proto b/proto/ChannellerSlabEnterLoopDungeonRsp.proto new file mode 100644 index 00000000..be3a304d --- /dev/null +++ b/proto/ChannellerSlabEnterLoopDungeonRsp.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChannellerSlabEnterLoopDungeonRsp { + enum JEJOCNKFDPA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8892; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 5; + uint32 dungeonIndex = 6; + repeated uint32 conditionIdList = 11; + uint32 pointId = 2; + uint32 difficultyId = 4; +} diff --git a/proto/ChannellerSlabLoopDungeonChallengeInfoNotify.proto b/proto/ChannellerSlabLoopDungeonChallengeInfoNotify.proto new file mode 100644 index 00000000..2c01b0ae --- /dev/null +++ b/proto/ChannellerSlabLoopDungeonChallengeInfoNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChannellerSlabLoopDungeonChallengeInfoNotify { + enum NGDFPBBOCJE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8499; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 difficultyId = 9; + uint32 challengeScore = 1; + repeated uint32 conditionIdList = 10; + uint32 dungeonIndex = 3; + repeated uint32 gihlcdadndf = 8; +} diff --git a/proto/ChannellerSlabLoopDungeonResultInfo.proto b/proto/ChannellerSlabLoopDungeonResultInfo.proto new file mode 100644 index 00000000..84118752 --- /dev/null +++ b/proto/ChannellerSlabLoopDungeonResultInfo.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChannellerSlabLoopDungeonResultInfo { + uint32 challengeMaxScore = 5; + bool isSuccess = 13; + bool isInTimeLimit = 6; + uint32 challengeScore = 1; + uint32 dungeonIndex = 3; +} diff --git a/proto/ChannellerSlabLoopDungeonSelectConditionReq.proto b/proto/ChannellerSlabLoopDungeonSelectConditionReq.proto new file mode 100644 index 00000000..5fec9180 --- /dev/null +++ b/proto/ChannellerSlabLoopDungeonSelectConditionReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChannellerSlabLoopDungeonSelectConditionReq { + enum HOPMIHFAPPB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8368; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 dungeonIndex = 4; + uint32 difficultyId = 2; + repeated uint32 conditionIdList = 3; +} diff --git a/proto/ChannellerSlabLoopDungeonSelectConditionRsp.proto b/proto/ChannellerSlabLoopDungeonSelectConditionRsp.proto new file mode 100644 index 00000000..e47fd455 --- /dev/null +++ b/proto/ChannellerSlabLoopDungeonSelectConditionRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChannellerSlabLoopDungeonSelectConditionRsp { + enum JGJNDJHFDMC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8943; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 5; + repeated uint32 conditionIdList = 10; + uint32 dungeonIndex = 15; + uint32 difficultyId = 6; +} diff --git a/proto/ChannellerSlabLoopDungeonTakeFirstPassRewardReq.proto b/proto/ChannellerSlabLoopDungeonTakeFirstPassRewardReq.proto new file mode 100644 index 00000000..3db3d68a --- /dev/null +++ b/proto/ChannellerSlabLoopDungeonTakeFirstPassRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChannellerSlabLoopDungeonTakeFirstPassRewardReq { + enum DOHCBHPAGEN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8779; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 dungeonIndex = 6; +} diff --git a/proto/ChannellerSlabLoopDungeonTakeFirstPassRewardRsp.proto b/proto/ChannellerSlabLoopDungeonTakeFirstPassRewardRsp.proto new file mode 100644 index 00000000..02f5e4b7 --- /dev/null +++ b/proto/ChannellerSlabLoopDungeonTakeFirstPassRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChannellerSlabLoopDungeonTakeFirstPassRewardRsp { + enum EKLACKKLBNP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8654; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; + uint32 dungeonIndex = 2; +} diff --git a/proto/ChannellerSlabLoopDungeonTakeScoreRewardReq.proto b/proto/ChannellerSlabLoopDungeonTakeScoreRewardReq.proto new file mode 100644 index 00000000..888c82a0 --- /dev/null +++ b/proto/ChannellerSlabLoopDungeonTakeScoreRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChannellerSlabLoopDungeonTakeScoreRewardReq { + enum FLOJOKLLEDO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8751; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 rewardIndex = 4; +} diff --git a/proto/ChannellerSlabLoopDungeonTakeScoreRewardRsp.proto b/proto/ChannellerSlabLoopDungeonTakeScoreRewardRsp.proto new file mode 100644 index 00000000..7207b753 --- /dev/null +++ b/proto/ChannellerSlabLoopDungeonTakeScoreRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChannellerSlabLoopDungeonTakeScoreRewardRsp { + enum GELENGHNKBJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8186; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 5; + uint32 rewardIndex = 11; +} diff --git a/proto/ChannellerSlabOneOffDungeonInfoNotify.proto b/proto/ChannellerSlabOneOffDungeonInfoNotify.proto new file mode 100644 index 00000000..c5b60f0a --- /dev/null +++ b/proto/ChannellerSlabOneOffDungeonInfoNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChannellerSlabOneOffDungeonInfoNotify { + enum BKAFOFOEHAN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8038; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 gihlcdadndf = 9; +} diff --git a/proto/ChannellerSlabOneOffDungeonInfoReq.proto b/proto/ChannellerSlabOneOffDungeonInfoReq.proto new file mode 100644 index 00000000..c2d37b28 --- /dev/null +++ b/proto/ChannellerSlabOneOffDungeonInfoReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChannellerSlabOneOffDungeonInfoReq { + enum LKOJBMCAMFA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8069; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/ChannellerSlabOneOffDungeonInfoRsp.proto b/proto/ChannellerSlabOneOffDungeonInfoRsp.proto new file mode 100644 index 00000000..fabc0aeb --- /dev/null +++ b/proto/ChannellerSlabOneOffDungeonInfoRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChannellerSlabOneOffDungeonInfoRsp { + enum LLOPHGACKFN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8731; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; + repeated uint32 gihlcdadndf = 11; +} diff --git a/proto/ChannellerSlabSaveAssistInfoReq.proto b/proto/ChannellerSlabSaveAssistInfoReq.proto new file mode 100644 index 00000000..9d604633 --- /dev/null +++ b/proto/ChannellerSlabSaveAssistInfoReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "ChannelerSlabAssistInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ChannellerSlabSaveAssistInfoReq { + enum FOOBHNAHDGM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8304; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated ChannelerSlabAssistInfo assistInfoList = 6; +} diff --git a/proto/ChannellerSlabSaveAssistInfoRsp.proto b/proto/ChannellerSlabSaveAssistInfoRsp.proto new file mode 100644 index 00000000..327893a7 --- /dev/null +++ b/proto/ChannellerSlabSaveAssistInfoRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "ChannelerSlabAssistInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ChannellerSlabSaveAssistInfoRsp { + enum HIPMBCPBNOK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8443; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated ChannelerSlabAssistInfo assistInfoList = 6; + int32 retcode = 4; +} diff --git a/proto/ChannellerSlabTakeoffBuffReq.proto b/proto/ChannellerSlabTakeoffBuffReq.proto new file mode 100644 index 00000000..b8eecb55 --- /dev/null +++ b/proto/ChannellerSlabTakeoffBuffReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChannellerSlabTakeoffBuffReq { + enum CMDMMBPNAPD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8329; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool fhableimdgl = 8; + uint32 buffId = 10; + uint32 slotId = 13; +} diff --git a/proto/ChannellerSlabTakeoffBuffRsp.proto b/proto/ChannellerSlabTakeoffBuffRsp.proto new file mode 100644 index 00000000..ed6cb02f --- /dev/null +++ b/proto/ChannellerSlabTakeoffBuffRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChannellerSlabTakeoffBuffRsp { + enum IPFMOHKHPPK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8646; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 slotId = 2; + bool fhableimdgl = 6; + uint32 buffId = 14; + int32 retcode = 3; +} diff --git a/proto/ChannellerSlabWearBuffReq.proto b/proto/ChannellerSlabWearBuffReq.proto new file mode 100644 index 00000000..fbf5196b --- /dev/null +++ b/proto/ChannellerSlabWearBuffReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChannellerSlabWearBuffReq { + enum DANEAPMBHBG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8487; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool fhableimdgl = 8; + uint32 slotId = 11; + uint32 buffId = 12; +} diff --git a/proto/ChannellerSlabWearBuffRsp.proto b/proto/ChannellerSlabWearBuffRsp.proto new file mode 100644 index 00000000..74e0f1bd --- /dev/null +++ b/proto/ChannellerSlabWearBuffRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChannellerSlabWearBuffRsp { + enum GKHBJILDBJN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8651; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 buffId = 4; + uint32 slotId = 5; + bool fhableimdgl = 9; + int32 retcode = 12; +} diff --git a/proto/ChapterState.proto b/proto/ChapterState.proto index 858cc3bc..33dc7591 100644 --- a/proto/ChapterState.proto +++ b/proto/ChapterState.proto @@ -1,27 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum ChapterState { - CHAPTER_STATE_INVALID = 0; - CHAPTER_STATE_UNABLE_TO_BEGIN = 1; - CHAPTER_STATE_BEGIN = 2; - CHAPTER_STATE_END = 3; + CHAPTER_STATE_NONE = 0; + CHAPTER_STATE_UNABLE_TO_BEGIN = 1; + CHAPTER_STATE_BEGIN = 2; + CHAPTER_STATE_END = 3; } diff --git a/proto/ChapterStateNotify.proto b/proto/ChapterStateNotify.proto index f270a883..d7ae1d23 100644 --- a/proto/ChapterStateNotify.proto +++ b/proto/ChapterStateNotify.proto @@ -1,47 +1,30 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ChapterState.proto"; + +import "ChapterState.proto"; option java_package = "emu.grasscutter.net.proto"; message ChapterStateNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 442; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum FCANPLPPJEL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 469; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - message NeedPlayerLevel { - bool is_limit = 12; - uint32 config_need_player_level = 3; - } + message NeedPlayerLevel { + uint32 configNeedPlayerLevel = 4; + bool isLimit = 14; + } + message NeedBeginTime { + uint32 configNeedBeginTime = 5; + bool isLimit = 4; + } - message NeedBeginTime { - bool is_limit = 4; - uint32 config_need_begin_time = 14; - } - - uint32 chapter_id = 9; - NeedBeginTime need_begin_time = 13; - ChapterState chapter_state = 1; - NeedPlayerLevel need_player_level = 5; + NeedPlayerLevel needPlayerLevel = 2; + NeedBeginTime needBeginTime = 9; + ChapterState chapterState = 13; + uint32 chapterId = 15; } diff --git a/proto/CharAmusementAvatarInfo.proto b/proto/CharAmusementAvatarInfo.proto index 174afca3..a88e9034 100644 --- a/proto/CharAmusementAvatarInfo.proto +++ b/proto/CharAmusementAvatarInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message CharAmusementAvatarInfo { - uint32 uid = 14; - repeated uint32 avatar_id_list = 4; - uint32 punish_time = 5; + uint32 uid = 3; + repeated uint32 avatarIdList = 11; + uint32 pmahgkplcgi = 1; } diff --git a/proto/CharAmusementDetailInfo.proto b/proto/CharAmusementDetailInfo.proto index 5ecc31c4..4942076d 100644 --- a/proto/CharAmusementDetailInfo.proto +++ b/proto/CharAmusementDetailInfo.proto @@ -1,26 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "CharAmusementStageData.proto"; + +import "CharAmusementStageData.proto"; option java_package = "emu.grasscutter.net.proto"; message CharAmusementDetailInfo { - repeated CharAmusementStageData stage_data_list = 12; + repeated CharAmusementStageData stageDataList = 1; } diff --git a/proto/CharAmusementInfo.proto b/proto/CharAmusementInfo.proto new file mode 100644 index 00000000..c7268d9f --- /dev/null +++ b/proto/CharAmusementInfo.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "CharAmusementAvatarInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CharAmusementInfo { + repeated CharAmusementAvatarInfo avatarInfoList = 11; + uint32 emdkpmhihmp = 3; + uint32 levelId = 6; + uint32 stageId = 8; + uint32 inllhgjoaco = 5; +} diff --git a/proto/CharAmusementSettleNotify.proto b/proto/CharAmusementSettleNotify.proto new file mode 100644 index 00000000..64453b11 --- /dev/null +++ b/proto/CharAmusementSettleNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CharAmusementSettleNotify { + enum PPKKMCEDOFG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21939; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 finishTime = 9; + bool isNewRecord = 11; + bool isSucc = 13; +} diff --git a/proto/CharAmusementStageData.proto b/proto/CharAmusementStageData.proto index 9f9ce857..c4edaa5d 100644 --- a/proto/CharAmusementStageData.proto +++ b/proto/CharAmusementStageData.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message CharAmusementStageData { - uint32 finish_time = 3; - bool is_open = 6; - uint32 stage_id = 4; + uint32 finishTime = 11; + uint32 stageId = 12; + bool isOpen = 9; } diff --git a/proto/CharDie.proto b/proto/CharDie.proto new file mode 100644 index 00000000..de2b9490 --- /dev/null +++ b/proto/CharDie.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CharDie { + uint32 cardGuid = 10; + uint32 controllerId = 9; +} diff --git a/proto/ChatChannelDataNotify.proto b/proto/ChatChannelDataNotify.proto new file mode 100644 index 00000000..2e35d810 --- /dev/null +++ b/proto/ChatChannelDataNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "ChatChannelInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ChatChannelDataNotify { + enum GDPPJBFLFNO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5028; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 channelList = 12; + repeated ChatChannelInfo channelInfoList = 7; +} diff --git a/proto/ChatChannelInfo.proto b/proto/ChatChannelInfo.proto new file mode 100644 index 00000000..f5ca7ad0 --- /dev/null +++ b/proto/ChatChannelInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChatChannelInfo { + uint32 channelId = 4; + bool isShield = 2; +} diff --git a/proto/ChatChannelInfoNotify.proto b/proto/ChatChannelInfoNotify.proto new file mode 100644 index 00000000..11c2c895 --- /dev/null +++ b/proto/ChatChannelInfoNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "ChatChannelInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ChatChannelInfoNotify { + enum HDDAKDGMNMB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4963; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + ChatChannelInfo channelInfo = 15; +} diff --git a/proto/ChatChannelShieldNotify.proto b/proto/ChatChannelShieldNotify.proto new file mode 100644 index 00000000..3e44d543 --- /dev/null +++ b/proto/ChatChannelShieldNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChatChannelShieldNotify { + enum INDNLFBPOGA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4966; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 channelId = 8; + bool isShield = 1; +} diff --git a/proto/ChatChannelUpdateNotify.proto b/proto/ChatChannelUpdateNotify.proto new file mode 100644 index 00000000..2c33773a --- /dev/null +++ b/proto/ChatChannelUpdateNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "ChatChannelInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ChatChannelUpdateNotify { + enum LJAJLOILCKG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4979; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isCreate = 13; + ChatChannelInfo channelInfo = 6; + uint32 channelId = 12; +} diff --git a/proto/ChatEmojiCollectionData.proto b/proto/ChatEmojiCollectionData.proto index ed8877fc..fe38fda8 100644 --- a/proto/ChatEmojiCollectionData.proto +++ b/proto/ChatEmojiCollectionData.proto @@ -1,24 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ChatEmojiCollectionData { - repeated uint32 emoji_id_list = 1; + repeated uint32 emojiIdList = 1; } diff --git a/proto/ChatHistoryNotify.proto b/proto/ChatHistoryNotify.proto new file mode 100644 index 00000000..77ac210c --- /dev/null +++ b/proto/ChatHistoryNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "ChatInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ChatHistoryNotify { + enum NDNAPJGNDGE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3099; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 channelId = 14; + repeated ChatInfo chatInfo = 12; +} diff --git a/proto/ChatInfo.proto b/proto/ChatInfo.proto index e406d26b..e531d228 100644 --- a/proto/ChatInfo.proto +++ b/proto/ChatInfo.proto @@ -1,43 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; 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 = 14; + } - message SystemHint { - uint32 type = 15; - } - - bool is_read = 3; - uint32 time = 1; - uint32 to_uid = 10; - uint32 uid = 11; - uint32 sequence = 5; - oneof content { - string text = 909; - uint32 icon = 990; - SystemHint system_hint = 799; - } + bool isRead = 6; + uint32 uid = 15; + uint32 toUid = 3; + oneof DNNKFOCELDL { + string text = 1809; + uint32 icon = 1168; + SystemHint system_hint = 523; + } + uint32 sequence = 2; + uint32 time = 11; } diff --git a/proto/CheckAddItemExceedLimitNotify.proto b/proto/CheckAddItemExceedLimitNotify.proto index dc1b1ab9..27b4a6ae 100644 --- a/proto/CheckAddItemExceedLimitNotify.proto +++ b/proto/CheckAddItemExceedLimitNotify.proto @@ -1,43 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + +import "ItemExceedLimitMsgType.proto"; option java_package = "emu.grasscutter.net.proto"; message CheckAddItemExceedLimitNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 697; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum PMNKAGAEEAP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 634; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - enum ItemExceedLimitMsgType { - ITEM_EXCEED_LIMIT_MSG_TYPE_DEFAULT = 0; - ITEM_EXCEED_LIMIT_MSG_TYPE_TEXT = 1; - ITEM_EXCEED_LIMIT_MSG_TYPE_DIALOG = 2; - ITEM_EXCEED_LIMIT_MSG_TYPE_DIALOG_NONBLOCK = 3; - } - - repeated uint32 exceeded_item_list = 4; - repeated uint32 exceeded_item_type_list = 11; - uint32 reason = 9; - bool is_drop = 14; - ItemExceedLimitMsgType msg_type = 6; + repeated uint32 finishedChallengeIdList = 15; + repeated uint32 exceededItemList = 5; + uint32 reason = 2; + ItemExceedLimitMsgType msgType = 7; + bool isDrop = 1; } diff --git a/proto/CheckGroupReplacedReq.proto b/proto/CheckGroupReplacedReq.proto new file mode 100644 index 00000000..69f5b750 --- /dev/null +++ b/proto/CheckGroupReplacedReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CheckGroupReplacedReq { + enum IFJJADJGMGG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3329; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 groupIdList = 7; +} diff --git a/proto/CheckGroupReplacedRsp.proto b/proto/CheckGroupReplacedRsp.proto new file mode 100644 index 00000000..dd5f7df1 --- /dev/null +++ b/proto/CheckGroupReplacedRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CheckGroupReplacedRsp { + enum FJMGJMAPMLK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3117; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 3; + repeated uint32 replacedGroupIdList = 6; +} diff --git a/proto/CheckSegmentCRCNotify.proto b/proto/CheckSegmentCRCNotify.proto new file mode 100644 index 00000000..1f60e385 --- /dev/null +++ b/proto/CheckSegmentCRCNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "SegmentInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CheckSegmentCRCNotify { + enum KAMEODOLADA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 46; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated SegmentInfo infoList = 9; +} diff --git a/proto/CheckSegmentCRCReq.proto b/proto/CheckSegmentCRCReq.proto new file mode 100644 index 00000000..ec31bd28 --- /dev/null +++ b/proto/CheckSegmentCRCReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "SegmentCRCInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CheckSegmentCRCReq { + enum HFJFCONIADA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 100; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated SegmentCRCInfo infoList = 1; +} diff --git a/proto/CheckUgcStateReq.proto b/proto/CheckUgcStateReq.proto new file mode 100644 index 00000000..97f1154f --- /dev/null +++ b/proto/CheckUgcStateReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CheckUgcStateReq { + enum GANFKHHKGBK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6314; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/CheckUgcStateRsp.proto b/proto/CheckUgcStateRsp.proto new file mode 100644 index 00000000..0b790b2f --- /dev/null +++ b/proto/CheckUgcStateRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CheckUgcStateRsp { + enum FCOLFLLKGCC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6342; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 13; +} diff --git a/proto/CheckUgcUpdateReq.proto b/proto/CheckUgcUpdateReq.proto new file mode 100644 index 00000000..47b1530c --- /dev/null +++ b/proto/CheckUgcUpdateReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "UgcType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CheckUgcUpdateReq { + enum JJLLNJHGHPD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6302; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + UgcType ugcType = 3; +} diff --git a/proto/CheckUgcUpdateRsp.proto b/proto/CheckUgcUpdateRsp.proto new file mode 100644 index 00000000..d887ef00 --- /dev/null +++ b/proto/CheckUgcUpdateRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "UgcType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CheckUgcUpdateRsp { + enum KICAKIMJIPI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6340; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; + UgcType ugcType = 6; + repeated uint64 updateUgcGuidList = 2; +} diff --git a/proto/ChessActivityDetailInfo.proto b/proto/ChessActivityDetailInfo.proto index f2adcaaf..153762ea 100644 --- a/proto/ChessActivityDetailInfo.proto +++ b/proto/ChessActivityDetailInfo.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ChessActivityDetailInfo { - uint32 punish_over_time = 9; - uint32 Unk3300_LPDDFGGKGBP = 4; - uint32 level = 14; - uint32 exp = 6; - uint32 Unk3300_HBGEGIPIANG = 15; - uint32 content_close_time = 1; - bool is_teach_dungeon_finished = 11; - bool is_content_closed = 5; - repeated uint32 finished_map_id_list = 13; + uint32 punishOverTime = 4; + uint32 contentCloseTime = 10; + uint32 playerInfoMap = 5; + uint32 exp = 11; + bool escapedMonsters = 6; + uint32 selectedCardInfoList = 8; + uint32 level = 14; + repeated uint32 totalRound = 7; + bool leftMonsters = 15; } diff --git a/proto/ChessCardInfo.proto b/proto/ChessCardInfo.proto new file mode 100644 index 00000000..16cac8b2 --- /dev/null +++ b/proto/ChessCardInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChessCardInfo { + uint32 cardId = 11; + uint32 effectStack = 12; +} diff --git a/proto/ChessEntranceDetailInfo.proto b/proto/ChessEntranceDetailInfo.proto new file mode 100644 index 00000000..e80cf25a --- /dev/null +++ b/proto/ChessEntranceDetailInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "ChessEntranceInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ChessEntranceDetailInfo { + repeated ChessEntranceInfo infoList = 6; +} diff --git a/proto/ChessEntranceInfo.proto b/proto/ChessEntranceInfo.proto new file mode 100644 index 00000000..3c950416 --- /dev/null +++ b/proto/ChessEntranceInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "ChessMonsterInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ChessEntranceInfo { + repeated ChessMonsterInfo lhjhgbpjpkl = 7; + uint32 dfpedbghhma = 6; + uint32 lfemigkpkdd = 9; +} diff --git a/proto/ChessEscapedMonstersNotify.proto b/proto/ChessEscapedMonstersNotify.proto new file mode 100644 index 00000000..081202a0 --- /dev/null +++ b/proto/ChessEscapedMonstersNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChessEscapedMonstersNotify { + enum GIKHFKKIEIJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5312; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 escapedMonsters = 10; +} diff --git a/proto/ChessInfo.proto b/proto/ChessInfo.proto new file mode 100644 index 00000000..43d16a7d --- /dev/null +++ b/proto/ChessInfo.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChessInfo { + uint32 punishOverTime = 4; + uint32 contentCloseTime = 10; + uint32 playerInfoMap = 5; + uint32 exp = 11; + bool escapedMonsters = 6; + uint32 selectedCardInfoList = 8; + uint32 level = 14; + repeated uint32 totalRound = 7; + bool leftMonsters = 15; +} diff --git a/proto/ChessLeftMonstersNotify.proto b/proto/ChessLeftMonstersNotify.proto new file mode 100644 index 00000000..645bc8b5 --- /dev/null +++ b/proto/ChessLeftMonstersNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChessLeftMonstersNotify { + enum GMFIONKIFLF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5377; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 leftMonsters = 8; +} diff --git a/proto/ChessManualRefreshCardsReq.proto b/proto/ChessManualRefreshCardsReq.proto new file mode 100644 index 00000000..e4e7330a --- /dev/null +++ b/proto/ChessManualRefreshCardsReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChessManualRefreshCardsReq { + enum ADNNGAMJMPH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5361; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/ChessManualRefreshCardsRsp.proto b/proto/ChessManualRefreshCardsRsp.proto new file mode 100644 index 00000000..2c40defc --- /dev/null +++ b/proto/ChessManualRefreshCardsRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChessManualRefreshCardsRsp { + enum AKBFEJJJGDA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5365; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 1; +} diff --git a/proto/ChessMonsterInfo.proto b/proto/ChessMonsterInfo.proto new file mode 100644 index 00000000..55179710 --- /dev/null +++ b/proto/ChessMonsterInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChessMonsterInfo { + uint32 monsterId = 9; + uint32 level = 2; + repeated uint32 affixList = 3; +} diff --git a/proto/ChessMysteryInfo.proto b/proto/ChessMysteryInfo.proto new file mode 100644 index 00000000..cf4f18f7 --- /dev/null +++ b/proto/ChessMysteryInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "ChessEntranceDetailInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ChessMysteryInfo { + repeated uint32 mdilcblhnao = 2; + map lneiknbbcdd = 11; + map fhmdalcaomp = 5; +} diff --git a/proto/ChessNormalCardInfo.proto b/proto/ChessNormalCardInfo.proto new file mode 100644 index 00000000..bcaeb968 --- /dev/null +++ b/proto/ChessNormalCardInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChessNormalCardInfo { + uint32 cardId = 6; + bool isAttachCurse = 9; + uint32 costPoints = 2; +} diff --git a/proto/ChessPickCardNotify.proto b/proto/ChessPickCardNotify.proto new file mode 100644 index 00000000..6b0c70f2 --- /dev/null +++ b/proto/ChessPickCardNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "ChessNormalCardInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ChessPickCardNotify { + enum KNIKFFKNDOB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5304; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + ChessNormalCardInfo normalCardInfo = 7; + uint32 curseCardId = 5; +} diff --git a/proto/ChessPickCardReq.proto b/proto/ChessPickCardReq.proto new file mode 100644 index 00000000..5ee299d0 --- /dev/null +++ b/proto/ChessPickCardReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChessPickCardReq { + enum OLIJEMKHFII { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5391; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 cardIndex = 9; + uint32 cardId = 3; +} diff --git a/proto/ChessPickCardRsp.proto b/proto/ChessPickCardRsp.proto new file mode 100644 index 00000000..a1fe8e25 --- /dev/null +++ b/proto/ChessPickCardRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ChessPickCardRsp { + enum KPCIEJPGOCL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5360; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 cardIndex = 10; + uint32 cardId = 8; + int32 retcode = 7; +} diff --git a/proto/ChessPlayerInfo.proto b/proto/ChessPlayerInfo.proto new file mode 100644 index 00000000..5bb4a7dc --- /dev/null +++ b/proto/ChessPlayerInfo.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "ChessNormalCardInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ChessPlayerInfo { + uint32 buildingPoints = 13; + uint32 Unk3300_PPFPEAGBHLP = 12; + uint32 Unk3300_AOCJHOKCDDM = 2; + repeated ChessNormalCardInfo candidateCardInfoList = 6; + uint32 uid = 11; + uint32 Unk3300_PPFBGIDKCDJ = 8; + uint32 Unk3300_GPNDNCCLHKE = 3; +} diff --git a/proto/ChessPlayerInfoNotify.proto b/proto/ChessPlayerInfoNotify.proto new file mode 100644 index 00000000..5fcca0cd --- /dev/null +++ b/proto/ChessPlayerInfoNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "ChessPlayerInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ChessPlayerInfoNotify { + enum GIJKADEPEMA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5326; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + ChessPlayerInfo playerInfo = 15; +} diff --git a/proto/ChessSelectedCardsNotify.proto b/proto/ChessSelectedCardsNotify.proto new file mode 100644 index 00000000..d47b1107 --- /dev/null +++ b/proto/ChessSelectedCardsNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "ChessCardInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ChessSelectedCardsNotify { + enum EPBLFDHAOKF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5334; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated ChessCardInfo selectedCardInfoList = 9; +} diff --git a/proto/ChessSettleInfo.proto b/proto/ChessSettleInfo.proto new file mode 100644 index 00000000..b1b18944 --- /dev/null +++ b/proto/ChessSettleInfo.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "ExhibitionDisplayInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ChessSettleInfo { + uint32 Unk3300_NKHDFHAPNCN = 9; + uint64 sceneTimeMs = 11; + uint32 Unk3300_LPANFEBFJOJ = 15; + bool isSuccess = 2; + repeated ExhibitionDisplayInfo scoreList = 1; + uint32 Unk3300_IPGILJCBABK = 3; + uint32 Unk3300_EMNLLDJHMEI = 10; +} diff --git a/proto/ChildQuest.proto b/proto/ChildQuest.proto index 92841972..d0f6d5bb 100644 --- a/proto/ChildQuest.proto +++ b/proto/ChildQuest.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ChildQuest { - uint32 state = 15; - uint32 quest_config_id = 9; - uint32 quest_id = 13; + uint32 questId = 5; + uint32 questConfigId = 10; + uint32 state = 12; } diff --git a/proto/ChooseCurAvatarTeamReq.proto b/proto/ChooseCurAvatarTeamReq.proto index e894c3cb..c2110729 100644 --- a/proto/ChooseCurAvatarTeamReq.proto +++ b/proto/ChooseCurAvatarTeamReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ChooseCurAvatarTeamReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1738; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum DMNPHACHDEO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1680; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 team_id = 10; + uint32 teamId = 6; } diff --git a/proto/ChooseCurAvatarTeamRsp.proto b/proto/ChooseCurAvatarTeamRsp.proto index 5cf004a6..aa88cf7c 100644 --- a/proto/ChooseCurAvatarTeamRsp.proto +++ b/proto/ChooseCurAvatarTeamRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ChooseCurAvatarTeamRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1778; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum AHLEDPGENMP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1770; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 15; - uint32 cur_team_id = 11; + int32 retcode = 2; + uint32 curTeamId = 8; } diff --git a/proto/CityInfo.proto b/proto/CityInfo.proto index 5a19d4f8..c70dfa6b 100644 --- a/proto/CityInfo.proto +++ b/proto/CityInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message CityInfo { - uint32 city_id = 9; - uint32 level = 12; - uint32 crystal_num = 2; + uint32 crystalNum = 15; + uint32 cityId = 6; + uint32 level = 11; } diff --git a/proto/CityReputationDataNotify.proto b/proto/CityReputationDataNotify.proto new file mode 100644 index 00000000..84faf4b9 --- /dev/null +++ b/proto/CityReputationDataNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "CityReputationSimpleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CityReputationDataNotify { + enum EDHJAKJHIAO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2869; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated CityReputationSimpleInfo simpleInfoList = 8; +} diff --git a/proto/CityReputationExploreInfo.proto b/proto/CityReputationExploreInfo.proto new file mode 100644 index 00000000..c46b42bb --- /dev/null +++ b/proto/CityReputationExploreInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CityReputationExploreInfo { + repeated uint32 takenExploreRewardList = 9; + bool isOpen = 1; + uint32 explorePercent = 11; +} diff --git a/proto/CityReputationHuntInfo.proto b/proto/CityReputationHuntInfo.proto new file mode 100644 index 00000000..60052569 --- /dev/null +++ b/proto/CityReputationHuntInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CityReputationHuntInfo { + uint32 curWeekFinishNum = 1; + bool hasReward = 4; + bool isOpen = 10; +} diff --git a/proto/CityReputationInfo.proto b/proto/CityReputationInfo.proto new file mode 100644 index 00000000..6ce15ae4 --- /dev/null +++ b/proto/CityReputationInfo.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "CityReputationHuntInfo.proto"; +import "CityReputationExploreInfo.proto"; +import "CityReputationQuestInfo.proto"; +import "CityReputationRequestInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CityReputationInfo { + uint32 totalAcceptRequestNum = 11; + CityReputationHuntInfo huntInfo = 9; + uint32 exp = 8; + CityReputationExploreInfo exploreInfo = 5; + uint32 level = 13; + repeated uint32 takenLevelRewardList = 4; + CityReputationQuestInfo questInfo = 7; + CityReputationRequestInfo requestInfo = 2; + uint32 nextRefreshTime = 14; +} diff --git a/proto/CityReputationLevelupNotify.proto b/proto/CityReputationLevelupNotify.proto new file mode 100644 index 00000000..d12c996f --- /dev/null +++ b/proto/CityReputationLevelupNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CityReputationLevelupNotify { + enum IJGLMFMJHCF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2820; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 cityId = 10; + uint32 level = 11; +} diff --git a/proto/CityReputationQuestInfo.proto b/proto/CityReputationQuestInfo.proto index 7fecf841..2321b127 100644 --- a/proto/CityReputationQuestInfo.proto +++ b/proto/CityReputationQuestInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message CityReputationQuestInfo { - repeated uint32 Unk3300_IMLDPDMHJBJ = 12; - repeated uint32 Unk3300_OMGMGDIHDOH = 10; - bool is_open = 4; + bool isOpen = 14; + repeated uint32 Unk3300_OMGMGDIHDOH = 4; + repeated uint32 Unk3300_IMLDPDMHJBJ = 10; } diff --git a/proto/CityReputationRequestInfo.proto b/proto/CityReputationRequestInfo.proto new file mode 100644 index 00000000..ca1d1f16 --- /dev/null +++ b/proto/CityReputationRequestInfo.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CityReputationRequestInfo { + message RequestInfo { + uint32 requestId = 11; + uint32 questId = 14; + bool isTakenReward = 13; + } + + bool isOpen = 1; + repeated RequestInfo requestInfoList = 2; +} diff --git a/proto/CityReputationSimpleInfo.proto b/proto/CityReputationSimpleInfo.proto new file mode 100644 index 00000000..fda900b4 --- /dev/null +++ b/proto/CityReputationSimpleInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CityReputationSimpleInfo { + uint32 level = 10; + uint32 cityId = 8; +} diff --git a/proto/ClearRoguelikeCurseNotify.proto b/proto/ClearRoguelikeCurseNotify.proto new file mode 100644 index 00000000..4a2fbfab --- /dev/null +++ b/proto/ClearRoguelikeCurseNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ClearRoguelikeCurseNotify { + enum FACMIBLDHHO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8183; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isCurseAllClear = 14; + bool isClearAll = 9; + map clearCurseMap = 12; + uint32 cardId = 6; +} diff --git a/proto/ClientAIStateNotify.proto b/proto/ClientAIStateNotify.proto new file mode 100644 index 00000000..2a48a101 --- /dev/null +++ b/proto/ClientAIStateNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ClientAIStateNotify { + enum LLCPDLEANOA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1113; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 entityId = 6; + uint32 curTactic = 10; +} diff --git a/proto/ClientAbilitiesInitFinishCombineNotify.proto b/proto/ClientAbilitiesInitFinishCombineNotify.proto new file mode 100644 index 00000000..14fed39d --- /dev/null +++ b/proto/ClientAbilitiesInitFinishCombineNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "EntityAbilityInvokeEntry.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ClientAbilitiesInitFinishCombineNotify { + enum AEEPHACNEPG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1180; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated EntityAbilityInvokeEntry entityInvokeList = 4; +} diff --git a/proto/ClientAbilityChangeNotify.proto b/proto/ClientAbilityChangeNotify.proto index dd62444e..8a82f6ba 100644 --- a/proto/ClientAbilityChangeNotify.proto +++ b/proto/ClientAbilityChangeNotify.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AbilityInvokeEntry.proto"; + +import "AbilityInvokeEntry.proto"; option java_package = "emu.grasscutter.net.proto"; message ClientAbilityChangeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1139; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum JMGIEMHIIJI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1129; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - bool is_init_hash = 10; - repeated AbilityInvokeEntry invokes = 14; - uint32 entity_id = 11; + repeated AbilityInvokeEntry invokes = 10; + bool isInitHash = 4; + uint32 entityId = 9; } diff --git a/proto/ClientAbilityInitBeginNotify.proto b/proto/ClientAbilityInitBeginNotify.proto new file mode 100644 index 00000000..444a2a6f --- /dev/null +++ b/proto/ClientAbilityInitBeginNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ClientAbilityInitBeginNotify { + enum PJFNAJGKMEC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1187; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 entityId = 2; +} diff --git a/proto/ClientAbilityInitFinishNotify.proto b/proto/ClientAbilityInitFinishNotify.proto index 75cc7d0d..f6e922d7 100644 --- a/proto/ClientAbilityInitFinishNotify.proto +++ b/proto/ClientAbilityInitFinishNotify.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AbilityInvokeEntry.proto"; + +import "AbilityInvokeEntry.proto"; option java_package = "emu.grasscutter.net.proto"; message ClientAbilityInitFinishNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1119; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum NFFHBOGDOEJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1198; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 entity_id = 11; - repeated AbilityInvokeEntry invokes = 9; + uint32 entityId = 1; + repeated AbilityInvokeEntry invokes = 14; } diff --git a/proto/ClientBulletCreateNotify.proto b/proto/ClientBulletCreateNotify.proto new file mode 100644 index 00000000..64592bb8 --- /dev/null +++ b/proto/ClientBulletCreateNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ClientBulletCreateNotify { + enum MFPLLDGENIF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 25; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 param = 3; +} diff --git a/proto/ClientCollectorData.proto b/proto/ClientCollectorData.proto index 0c7a24e9..4c744030 100644 --- a/proto/ClientCollectorData.proto +++ b/proto/ClientCollectorData.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ClientCollectorData { - uint32 max_points = 2; - uint32 curr_points = 3; - uint32 material_id = 9; + uint32 maxPoints = 8; + uint32 currPoints = 2; + uint32 materialId = 13; } diff --git a/proto/ClientCollectorDataNotify.proto b/proto/ClientCollectorDataNotify.proto new file mode 100644 index 00000000..fb0343c5 --- /dev/null +++ b/proto/ClientCollectorDataNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "ClientCollectorData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ClientCollectorDataNotify { + enum MHKPPKBHJDO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4292; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated ClientCollectorData clientCollectorDataList = 9; +} diff --git a/proto/ClientGadget.proto b/proto/ClientGadget.proto new file mode 100644 index 00000000..fe75dd66 --- /dev/null +++ b/proto/ClientGadget.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ClientGadget { + uint32 campId = 1; + uint32 campType = 2; + uint64 guid = 3; + uint32 ownerEntityId = 4; + uint32 targetEntityId = 5; + bool glmdcefdgeg = 6; + bool isPeerIdFromPlayer = 7; + repeated uint32 targetEntityIdList = 8; +} diff --git a/proto/ClientGadgetInfo.proto b/proto/ClientGadgetInfo.proto index e43ec8a9..9c33750e 100644 --- a/proto/ClientGadgetInfo.proto +++ b/proto/ClientGadgetInfo.proto @@ -17,6 +17,7 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message ClientGadgetInfo { diff --git a/proto/ClientHashDebugNotify.proto b/proto/ClientHashDebugNotify.proto new file mode 100644 index 00000000..6b6c821d --- /dev/null +++ b/proto/ClientHashDebugNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ClientHashDebugNotify { + enum NKIMHFNEGMO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3279; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 jobId = 2; +} diff --git a/proto/ClientInputType.proto b/proto/ClientInputType.proto index c3eb29ec..6aa05d69 100644 --- a/proto/ClientInputType.proto +++ b/proto/ClientInputType.proto @@ -1,27 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum ClientInputType { - CLIENT_INPUT_TYPE_NONE = 0; - CLIENT_INPUT_TYPE_KEYBOARD_MOUSE = 1; - CLIENT_INPUT_TYPE_GAMEPAD = 2; - CLIENT_INPUT_TYPE_TOUCH_PANEL = 3; + CLIENT_INPUT_TYPE_NONE = 0; + CLIENT_INPUT_TYPE_KEYBOARD_MOUSE = 1; + CLIENT_INPUT_TYPE_GAMEPAD = 2; + CLIENT_INPUT_TYPE_TOUCH_PANEL = 3; } diff --git a/proto/ClientLoadingCostumeVerificationNotify.proto b/proto/ClientLoadingCostumeVerificationNotify.proto new file mode 100644 index 00000000..47c8a384 --- /dev/null +++ b/proto/ClientLoadingCostumeVerificationNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ClientLoadingCostumeVerificationNotify { + enum ADGJCEJGDDD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3441; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint64 prefabHash = 15; + uint32 costumeId = 8; + uint64 guid = 13; +} diff --git a/proto/ClientLockGameTimeNotify.proto b/proto/ClientLockGameTimeNotify.proto new file mode 100644 index 00000000..a61f4b76 --- /dev/null +++ b/proto/ClientLockGameTimeNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ClientLockGameTimeNotify { + enum BPHAFNCFEOA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 112; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isLock = 1; +} diff --git a/proto/ClientMassiveEntity.proto b/proto/ClientMassiveEntity.proto new file mode 100644 index 00000000..5737abc4 --- /dev/null +++ b/proto/ClientMassiveEntity.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "WaterInfo.proto"; +import "GrassInfo.proto"; +import "BoxInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ClientMassiveEntity { + uint32 entityType = 1; + uint32 configId = 2; + int64 objId = 3; + oneof HBBGAEHDLKE { + WaterInfo water_info = 4; + GrassInfo grass_info = 5; + BoxInfo box_info = 6; + } +} diff --git a/proto/ClientNewMailNotify.proto b/proto/ClientNewMailNotify.proto new file mode 100644 index 00000000..220d24b1 --- /dev/null +++ b/proto/ClientNewMailNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ClientNewMailNotify { + enum BJODFBDCPEK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1414; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 notReadNum = 3; + uint32 notGotAttachmentNum = 11; +} diff --git a/proto/ClientPauseNotify.proto b/proto/ClientPauseNotify.proto new file mode 100644 index 00000000..a371d914 --- /dev/null +++ b/proto/ClientPauseNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ClientPauseNotify { + enum BLDACOPAFHI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 277; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isOpen = 10; +} diff --git a/proto/ClientPerform.proto b/proto/ClientPerform.proto new file mode 100644 index 00000000..b6e9abfd --- /dev/null +++ b/proto/ClientPerform.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "GCGClientPerformType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ClientPerform { + GCGClientPerformType performType = 2; + repeated uint32 paramList = 5; +} diff --git a/proto/ClientReconnectNotify.proto b/proto/ClientReconnectNotify.proto new file mode 100644 index 00000000..961ab4d0 --- /dev/null +++ b/proto/ClientReconnectNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "ClientReconnectReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ClientReconnectNotify { + enum JKMOFHFEHML { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 29; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + ClientReconnectReason reason = 1; +} diff --git a/proto/ClientReconnectReason.proto b/proto/ClientReconnectReason.proto new file mode 100644 index 00000000..edf8e7e8 --- /dev/null +++ b/proto/ClientReconnectReason.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +enum ClientReconnectReason { + CLIENT_RECONNECT_REASON_NONE = 0; + CLIENT_RECONNECT_REASON_QUIT_MP = 1; +} diff --git a/proto/ClientRemoveCombatEndModifierNotify.proto b/proto/ClientRemoveCombatEndModifierNotify.proto new file mode 100644 index 00000000..c01a243b --- /dev/null +++ b/proto/ClientRemoveCombatEndModifierNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ClientRemoveCombatEndModifierNotify { + enum NDBNGOODBHB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1106; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 combatEndTypeList = 12; +} diff --git a/proto/ClientReportNotify.proto b/proto/ClientReportNotify.proto new file mode 100644 index 00000000..30e5dd7f --- /dev/null +++ b/proto/ClientReportNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ClientReportNotify { + enum JFEGFPOGIHL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 13; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + string reportValue = 7; + string reportType = 12; +} diff --git a/proto/ClientScriptEventNotify.proto b/proto/ClientScriptEventNotify.proto new file mode 100644 index 00000000..8a00d34b --- /dev/null +++ b/proto/ClientScriptEventNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ClientScriptEventNotify { + enum DOLKGKDMHFA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 247; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 targetEntityId = 8; + repeated int32 paramList = 1; + uint32 sourceEntityId = 4; + uint32 eventType = 10; +} diff --git a/proto/ClientTransmitReq.proto b/proto/ClientTransmitReq.proto new file mode 100644 index 00000000..2cb749af --- /dev/null +++ b/proto/ClientTransmitReq.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +import "TransmitReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ClientTransmitReq { + enum FLGIDMJKIHB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 203; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + Rotation rot = 9; + TransmitReason reason = 13; + Rotation pos = 12; + uint32 sceneId = 8; +} diff --git a/proto/ClientTransmitRsp.proto b/proto/ClientTransmitRsp.proto new file mode 100644 index 00000000..7227b1ce --- /dev/null +++ b/proto/ClientTransmitRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "TransmitReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ClientTransmitRsp { + enum NJGMKOMHHIB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 253; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + TransmitReason reason = 12; + int32 retcode = 7; +} diff --git a/proto/ClientTriggerEventNotify.proto b/proto/ClientTriggerEventNotify.proto new file mode 100644 index 00000000..002783b6 --- /dev/null +++ b/proto/ClientTriggerEventNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "EventTriggerType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ClientTriggerEventNotify { + enum AJCCFKHMKCB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 178; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 forceId = 5; + EventTriggerType eventType = 1; +} diff --git a/proto/CloseCommonTipsNotify.proto b/proto/CloseCommonTipsNotify.proto new file mode 100644 index 00000000..9051277a --- /dev/null +++ b/proto/CloseCommonTipsNotify.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CloseCommonTipsNotify { + enum JDPGPPCNPNJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3010; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + +} diff --git a/proto/ClosedItemNotify.proto b/proto/ClosedItemNotify.proto index 6a5c1876..a17561fe 100644 --- a/proto/ClosedItemNotify.proto +++ b/proto/ClosedItemNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ClosedItemNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 641; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum EBJOICAJNPJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 612; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 item_id_list = 10; + repeated uint32 itemIdList = 6; } diff --git a/proto/CmdId.proto b/proto/CmdId.proto new file mode 100644 index 00000000..e2ddeefe --- /dev/null +++ b/proto/CmdId.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +enum CmdId { + SUCC = 0; + FAIL = 1; +} diff --git a/proto/CodexDataFullNotify.proto b/proto/CodexDataFullNotify.proto index 848d2474..3e272f17 100644 --- a/proto/CodexDataFullNotify.proto +++ b/proto/CodexDataFullNotify.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "CodexTypeData.proto"; + +import "CodexTypeData.proto"; option java_package = "emu.grasscutter.net.proto"; message CodexDataFullNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4201; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum BCCJMPBEOAG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4207; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated CodexTypeData type_data_list = 14; - uint32 last_read_pushtips_codex_id = 4; - uint32 last_read_pushtips_type_id = 13; - repeated uint32 recent_viewed_pushtips_list = 1; + repeated uint32 recentViewedPushtipsList = 1; + uint32 lastReadPushtipsCodexId = 11; + uint32 lastReadPushtipsTypeId = 10; + repeated CodexTypeData typeDataList = 8; } diff --git a/proto/CodexDataUpdateNotify.proto b/proto/CodexDataUpdateNotify.proto index 7ab55c24..3603e336 100644 --- a/proto/CodexDataUpdateNotify.proto +++ b/proto/CodexDataUpdateNotify.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "CodexType.proto"; + +import "CodexType.proto"; option java_package = "emu.grasscutter.net.proto"; message CodexDataUpdateNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4203; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum IJBHHHDDJOJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4202; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 weapon_max_promote_level = 10; - CodexType type = 5; - uint32 id = 3; + CodexType type = 15; + uint32 id = 6; + uint32 weaponMaxPromoteLevel = 1; } diff --git a/proto/CodexType.proto b/proto/CodexType.proto index de4016f2..c7c7be8c 100644 --- a/proto/CodexType.proto +++ b/proto/CodexType.proto @@ -1,32 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum CodexType { - CODEX_TYPE_NONE = 0; - CODEX_TYPE_QUEST = 1; - CODEX_TYPE_WEAPON = 2; - CODEX_TYPE_ANIMAL = 3; - CODEX_TYPE_MATERIAL = 4; - CODEX_TYPE_BOOKS = 5; - CODEX_TYPE_PUSHTIPS = 6; - CODEX_TYPE_VIEW = 7; - CODEX_TYPE_RELIQUARY = 8; + CODEX_TYPE_NONE = 0; + CODEX_TYPE_QUEST = 1; + CODEX_TYPE_WEAPON = 2; + CODEX_TYPE_ANIMAL = 3; + CODEX_TYPE_MATERIAL = 4; + CODEX_TYPE_BOOKS = 5; + CODEX_TYPE_PUSHTIPS = 6; + CODEX_TYPE_VIEW = 7; + CODEX_TYPE_RELIQUARY = 8; } diff --git a/proto/CodexTypeData.proto b/proto/CodexTypeData.proto index d2cf3f9a..a2cfde37 100644 --- a/proto/CodexTypeData.proto +++ b/proto/CodexTypeData.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "CodexType.proto"; + +import "CodexType.proto"; option java_package = "emu.grasscutter.net.proto"; message CodexTypeData { - repeated bool have_viewed_list = 13; - repeated uint32 codex_id_list = 9; - map weapon_max_promote_level_map = 12; - CodexType type = 14; + repeated uint32 codexIdList = 4; + repeated bool haveViewedList = 8; + CodexType type = 14; + map weaponMaxPromoteLevelMap = 3; } diff --git a/proto/CoinCollectCheckDoubleStartPlayReq.proto b/proto/CoinCollectCheckDoubleStartPlayReq.proto new file mode 100644 index 00000000..e5b65d83 --- /dev/null +++ b/proto/CoinCollectCheckDoubleStartPlayReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CoinCollectCheckDoubleStartPlayReq { + enum EFLLBGNMDDG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 24094; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 levelId = 11; +} diff --git a/proto/CoinCollectCheckDoubleStartPlayRsp.proto b/proto/CoinCollectCheckDoubleStartPlayRsp.proto new file mode 100644 index 00000000..289ec73c --- /dev/null +++ b/proto/CoinCollectCheckDoubleStartPlayRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CoinCollectCheckDoubleStartPlayRsp { + enum FOBGPGMPJMO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 24464; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 11; + uint32 levelId = 8; +} diff --git a/proto/CoinCollectChooseSkillReq.proto b/proto/CoinCollectChooseSkillReq.proto new file mode 100644 index 00000000..97639b70 --- /dev/null +++ b/proto/CoinCollectChooseSkillReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CoinCollectChooseSkillReq { + enum AHEPOAMJKNB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20307; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 levelId = 10; + uint32 chooseSkillNo = 7; +} diff --git a/proto/CoinCollectChooseSkillRsp.proto b/proto/CoinCollectChooseSkillRsp.proto new file mode 100644 index 00000000..59ef905e --- /dev/null +++ b/proto/CoinCollectChooseSkillRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CoinCollectChooseSkillRsp { + enum PEEIKCNOFNB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 24303; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 levelId = 5; + int32 retcode = 7; + uint32 chooseSkillNo = 1; +} diff --git a/proto/CoinCollectDetailInfo.proto b/proto/CoinCollectDetailInfo.proto index 11328292..1e73c7ed 100644 --- a/proto/CoinCollectDetailInfo.proto +++ b/proto/CoinCollectDetailInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "CoinCollectLevelData.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message CoinCollectDetailInfo { diff --git a/proto/CoinCollectGallerySettleNotify.proto b/proto/CoinCollectGallerySettleNotify.proto new file mode 100644 index 00000000..75667fad --- /dev/null +++ b/proto/CoinCollectGallerySettleNotify.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CoinCollectGallerySettleNotify { + enum LBHFNLLPEKD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5542; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 Unk3300_CPLDPCMBHOE = 6; + bool isNewRecord = 8; + uint32 Unk3300_KDHDMOGJDNL = 15; + uint32 multistagePlayIndex = 10; + uint32 levelId = 1; + uint32 Unk3300_DKBJMLJGLIB = 14; +} diff --git a/proto/CoinCollectInfo.proto b/proto/CoinCollectInfo.proto new file mode 100644 index 00000000..28265ac9 --- /dev/null +++ b/proto/CoinCollectInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CoinCollectInfo { + uint32 Unk3300_CPLDPCMBHOE = 11; + uint32 Unk3300_DKBJMLJGLIB = 9; +} diff --git a/proto/CoinCollectInterruptPlayReq.proto b/proto/CoinCollectInterruptPlayReq.proto new file mode 100644 index 00000000..57c6ae6a --- /dev/null +++ b/proto/CoinCollectInterruptPlayReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CoinCollectInterruptPlayReq { + enum FJFOAHJNPBO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 24934; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 galleryId = 9; +} diff --git a/proto/CoinCollectInterruptPlayRsp.proto b/proto/CoinCollectInterruptPlayRsp.proto new file mode 100644 index 00000000..b14b3ba6 --- /dev/null +++ b/proto/CoinCollectInterruptPlayRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CoinCollectInterruptPlayRsp { + enum MJAFIBMPBCG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 24576; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 galleryId = 7; + int32 retcode = 6; +} diff --git a/proto/CoinCollectLevelData.proto b/proto/CoinCollectLevelData.proto index e9dc317a..0a0ba6de 100644 --- a/proto/CoinCollectLevelData.proto +++ b/proto/CoinCollectLevelData.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "CoinCollectTeamInfoData.proto"; + +import "CoinCollectTeamInfoData.proto"; option java_package = "emu.grasscutter.net.proto"; message CoinCollectLevelData { - bool is_level_open = 6; - uint32 Unk3300_GNFGEFHKHEF = 14; - uint32 level_id = 7; - uint32 Unk3300_ONPKNIAHPHM = 4; - bool Unk3300_GDKMJJNFIPP = 13; - CoinCollectTeamInfoData single_best_team_info = 8; - uint32 Unk3300_HINHOCILNJC = 1; - uint32 Unk3300_ALILGJBDOMD = 3; - bool Unk3300_OLNMJJHJAGK = 10; - uint32 Unk3300_LOPHGLMNDCP = 11; - repeated CoinCollectTeamInfoData double_best_team_info_list = 2; - bool Unk3300_JDBOOHBJFCP = 9; + bool mffbbcobifb = 15; + repeated CoinCollectTeamInfoData mdjfnblbncn = 6; + CoinCollectTeamInfoData jkglemblhjj = 5; + uint32 dmgfjomildi = 13; + bool oahobildeen = 9; + bool ocbgniehaae = 2; + uint32 mipkplghgdb = 10; + uint32 gcgfggieage = 8; + uint32 oepemecbhfp = 14; + uint32 fcedmbblknb = 3; + uint32 levelId = 7; + bool caepnfpolia = 12; } diff --git a/proto/CoinCollectOperatorInfo.proto b/proto/CoinCollectOperatorInfo.proto index 841e20a7..4650f8cd 100644 --- a/proto/CoinCollectOperatorInfo.proto +++ b/proto/CoinCollectOperatorInfo.proto @@ -1,24 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message CoinCollectOperatorInfo { - uint32 level_id = 1; + uint32 levelId = 1; } diff --git a/proto/CoinCollectPlayerInfo.proto b/proto/CoinCollectPlayerInfo.proto new file mode 100644 index 00000000..12eca528 --- /dev/null +++ b/proto/CoinCollectPlayerInfo.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "CoinCollectTeamAvatarInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CoinCollectPlayerInfo { + repeated CoinCollectTeamAvatarInfo avatarInfoList = 14; + bool ddbhiknpgnp = 8; + uint32 chooseSkillNo = 10; + string playerName = 4; + uint32 playerUid = 5; +} diff --git a/proto/CoinCollectPrepareReq.proto b/proto/CoinCollectPrepareReq.proto new file mode 100644 index 00000000..6f7e0408 --- /dev/null +++ b/proto/CoinCollectPrepareReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CoinCollectPrepareReq { + enum CFOLMBHGMJK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20471; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/CoinCollectPrepareRsp.proto b/proto/CoinCollectPrepareRsp.proto new file mode 100644 index 00000000..568d66f0 --- /dev/null +++ b/proto/CoinCollectPrepareRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CoinCollectPrepareRsp { + enum GGNBJAOJLFK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23815; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 5; +} diff --git a/proto/CoinCollectPrepareStageNotify.proto b/proto/CoinCollectPrepareStageNotify.proto new file mode 100644 index 00000000..8bc62b69 --- /dev/null +++ b/proto/CoinCollectPrepareStageNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "CoinCollectInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CoinCollectPrepareStageNotify { + enum JFIJKJFNDGB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6441; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + CoinCollectInfo locpgggjmdl = 7; +} diff --git a/proto/CoinCollectStageInfo.proto b/proto/CoinCollectStageInfo.proto new file mode 100644 index 00000000..8b552674 --- /dev/null +++ b/proto/CoinCollectStageInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "CoinCollectPlayerInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CoinCollectStageInfo { + uint32 levelId = 6; + uint32 playIndex = 12; + repeated CoinCollectPlayerInfo playerInfoList = 5; +} diff --git a/proto/CoinCollectTeamAvatarInfo.proto b/proto/CoinCollectTeamAvatarInfo.proto index 9f8c3e16..ef580a2d 100644 --- a/proto/CoinCollectTeamAvatarInfo.proto +++ b/proto/CoinCollectTeamAvatarInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message CoinCollectTeamAvatarInfo { - uint32 avatar_id = 5; - uint32 costume_id = 1; + uint32 costumeId = 15; + uint32 avatarId = 8; } diff --git a/proto/CoinCollectTeamInfoData.proto b/proto/CoinCollectTeamInfoData.proto index 44107d35..dd0b981b 100644 --- a/proto/CoinCollectTeamInfoData.proto +++ b/proto/CoinCollectTeamInfoData.proto @@ -1,29 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message CoinCollectTeamInfoData { - repeated uint32 Unk3300_CPDGJEIOJAB = 2; - uint32 choose_skill_no = 11; - repeated uint32 Unk3300_IFBDFEOGOLH = 15; - bool is_host = 13; - uint32 player_uid = 6; - repeated uint32 avatar_id_list = 7; + repeated uint32 kmdmpiojlbd = 5; + uint32 playerUid = 7; + bool hiidcboahjm = 15; + uint32 chooseSkillNo = 3; + repeated uint32 eodeindkpal = 6; + repeated uint32 avatarIdList = 2; } diff --git a/proto/CombatInvocationsNotify.proto b/proto/CombatInvocationsNotify.proto index ff641437..e1c20af3 100644 --- a/proto/CombatInvocationsNotify.proto +++ b/proto/CombatInvocationsNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "CombatInvokeEntry.proto"; + +import "CombatInvokeEntry.proto"; option java_package = "emu.grasscutter.net.proto"; message CombatInvocationsNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 354; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum ENECMIELGCN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 323; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated CombatInvokeEntry invoke_list = 14; + repeated CombatInvokeEntry invokeList = 11; } diff --git a/proto/CombatInvokeEntry.proto b/proto/CombatInvokeEntry.proto index 0e840d01..6d75512d 100644 --- a/proto/CombatInvokeEntry.proto +++ b/proto/CombatInvokeEntry.proto @@ -1,29 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + +import "bytes.proto"; import "CombatTypeArgument.proto"; import "ForwardType.proto"; - option java_package = "emu.grasscutter.net.proto"; message CombatInvokeEntry { - ForwardType forward_type = 11; - CombatTypeArgument argument_type = 9; - bytes combat_data = 7; + bytes combatData = 7; + CombatTypeArgument argumentType = 8; + ForwardType forwardType = 15; } diff --git a/proto/CombatTypeArgument.proto b/proto/CombatTypeArgument.proto index 853af804..463a99c8 100644 --- a/proto/CombatTypeArgument.proto +++ b/proto/CombatTypeArgument.proto @@ -1,42 +1,25 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + 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_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; } diff --git a/proto/CombineDataNotify.proto b/proto/CombineDataNotify.proto index df57e109..26be64ac 100644 --- a/proto/CombineDataNotify.proto +++ b/proto/CombineDataNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message CombineDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 677; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum NDHNHHMBEFA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 665; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 combine_id_list = 7; + repeated uint32 combineIdList = 4; } diff --git a/proto/CombineFormulaDataNotify.proto b/proto/CombineFormulaDataNotify.proto index 0df19136..d891cfd5 100644 --- a/proto/CombineFormulaDataNotify.proto +++ b/proto/CombineFormulaDataNotify.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message CombineFormulaDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 665; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum FBPLDNIMKML { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 626; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 combine_id = 6; - bool is_locked = 8; + bool isLocked = 7; + uint32 combineId = 3; } diff --git a/proto/CombineReq.proto b/proto/CombineReq.proto index ccddb56c..c8ce8b4c 100644 --- a/proto/CombineReq.proto +++ b/proto/CombineReq.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message CombineReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 675; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum APLENPEJBMF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 650; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint64 avatar_guid = 6; - uint32 combine_id = 5; - uint32 combine_count = 15; + uint32 combineCount = 10; + uint32 combineId = 8; + uint64 avatarGuid = 15; } diff --git a/proto/CombineRsp.proto b/proto/CombineRsp.proto index 2cc59506..f3ce1d55 100644 --- a/proto/CombineRsp.proto +++ b/proto/CombineRsp.proto @@ -1,42 +1,26 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ItemParam.proto"; + +import "ItemParam.proto"; option java_package = "emu.grasscutter.net.proto"; message CombineRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 634; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HJFFHHJPMKC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 630; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated ItemParam total_return_item_list = 11; - repeated ItemParam total_extra_item_list = 13; - repeated ItemParam total_random_item_list = 6; - uint64 avatar_guid = 7; - uint32 combine_count = 2; - uint32 combine_id = 10; - repeated ItemParam cost_item_list = 15; - int32 retcode = 1; - repeated ItemParam result_item_list = 4; + uint32 combineCount = 10; + repeated ItemParam resultItemList = 13; + uint64 avatarGuid = 7; + repeated ItemParam totalExtraItemList = 1; + int32 retcode = 12; + repeated ItemParam totalRandomItemList = 3; + uint32 combineId = 5; + repeated ItemParam costItemList = 2; + repeated ItemParam totalReturnItemList = 4; } diff --git a/proto/CommonPlayerTipsNotify.proto b/proto/CommonPlayerTipsNotify.proto new file mode 100644 index 00000000..8b8eb26f --- /dev/null +++ b/proto/CommonPlayerTipsNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CommonPlayerTipsNotify { + enum IENNOPCOPIB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8996; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 notifyType = 11; + repeated string textMapIdList = 14; +} diff --git a/proto/CompoundBoostTakeStatusType.proto b/proto/CompoundBoostTakeStatusType.proto index 9ba55499..68621b77 100644 --- a/proto/CompoundBoostTakeStatusType.proto +++ b/proto/CompoundBoostTakeStatusType.proto @@ -1,27 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum CompoundBoostTakeStatusType { - COMPOUND_BOOST_TAKE_STATUS_TYPE_NONE = 0; - COMPOUND_BOOST_TAKE_STATUS_TYPE_BOOST_ONLY = 1; - COMPOUND_BOOST_TAKE_STATUS_TYPE_BOOST_AND_TAKE = 2; - COMPOUND_BOOST_TAKE_STATUS_TYPE_BAG_FULL = 3; + COMPOUND_BOOST_TAKE_STATUS_TYPE_NONE = 0; + COMPOUND_BOOST_TAKE_STATUS_TYPE_BOOST_ONLY = 1; + COMPOUND_BOOST_TAKE_STATUS_TYPE_BOOST_AND_TAKE = 2; + COMPOUND_BOOST_TAKE_STATUS_TYPE_BAG_FULL = 3; } diff --git a/proto/CompoundDataNotify.proto b/proto/CompoundDataNotify.proto index 4d8a9197..4c714d0f 100644 --- a/proto/CompoundDataNotify.proto +++ b/proto/CompoundDataNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "CompoundQueueData.proto"; + +import "CompoundQueueData.proto"; option java_package = "emu.grasscutter.net.proto"; message CompoundDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 164; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum JGMMCOFEBOL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 135; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated CompoundQueueData compound_queue_data_list = 7; - repeated uint32 unlock_compound_list = 11; + repeated CompoundQueueData compoundQueueDataList = 14; + repeated uint32 unlockCompoundList = 5; } diff --git a/proto/CompoundQueueData.proto b/proto/CompoundQueueData.proto index c47e0e22..90005d36 100644 --- a/proto/CompoundQueueData.proto +++ b/proto/CompoundQueueData.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message CompoundQueueData { - uint32 wait_count = 5; - uint32 output_time = 14; - uint32 output_count = 10; - uint32 compound_id = 12; + uint32 outputCount = 12; + uint32 compoundId = 9; + uint32 waitCount = 8; + uint32 outputTime = 11; } diff --git a/proto/CompoundUnlockNotify.proto b/proto/CompoundUnlockNotify.proto new file mode 100644 index 00000000..482845cb --- /dev/null +++ b/proto/CompoundUnlockNotify.proto @@ -0,0 +1,26 @@ +syntax = "proto3"; + + + +import "SkillRequest.proto"; +import "ReliquaryRequest.proto"; +import "ElementReliquaryRequest.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CompoundUnlockNotify { + enum BDNMOGLPGBI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 149; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 avatarId = 8; + oneof OOPACEKNFPA { + SkillRequest skill_request = 1689; + ReliquaryRequest reliquary_request = 118; + ElementReliquaryRequest element_reliquary_request = 1105; + } +} diff --git a/proto/ContentAuditInfo.proto b/proto/ContentAuditInfo.proto new file mode 100644 index 00000000..9f44c6b4 --- /dev/null +++ b/proto/ContentAuditInfo.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "AuditState.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ContentAuditInfo { + bool isOpen = 1; + string content = 2; + uint32 submitCount = 3; + AuditState auditState = 4; + uint32 submitLimit = 5; +} diff --git a/proto/CookDataNotify.proto b/proto/CookDataNotify.proto index 85a5a683..0d97f6a5 100644 --- a/proto/CookDataNotify.proto +++ b/proto/CookDataNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "CookRecipeData.proto"; + +import "CookRecipeData.proto"; option java_package = "emu.grasscutter.net.proto"; message CookDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 133; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum GIANKKAILGG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 145; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated CookRecipeData recipe_data_list = 15; - uint32 grade = 9; + repeated CookRecipeData recipeDataList = 9; + uint32 grade = 2; } diff --git a/proto/CookGradeDataNotify.proto b/proto/CookGradeDataNotify.proto new file mode 100644 index 00000000..99f3ff43 --- /dev/null +++ b/proto/CookGradeDataNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CookGradeDataNotify { + enum ODNEFHOIAIM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 151; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 grade = 2; +} diff --git a/proto/CookRecipeData.proto b/proto/CookRecipeData.proto index aedb4ebf..0939d83a 100644 --- a/proto/CookRecipeData.proto +++ b/proto/CookRecipeData.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message CookRecipeData { - uint32 proficiency = 8; - uint32 recipe_id = 14; + uint32 proficiency = 1; + uint32 recipeId = 6; } diff --git a/proto/CookRecipeDataNotify.proto b/proto/CookRecipeDataNotify.proto index 096775c1..b27914a4 100644 --- a/proto/CookRecipeDataNotify.proto +++ b/proto/CookRecipeDataNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "CookRecipeData.proto"; + +import "CookRecipeData.proto"; option java_package = "emu.grasscutter.net.proto"; message CookRecipeDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 110; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum OBKCEHGMAHN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 185; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - CookRecipeData recipe_data = 1; + CookRecipeData recipeData = 6; } diff --git a/proto/CoopCg.proto b/proto/CoopCg.proto new file mode 100644 index 00000000..b440856a --- /dev/null +++ b/proto/CoopCg.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CoopCg { + bool isUnlock = 15; + uint32 id = 5; +} diff --git a/proto/CoopCgShowNotify.proto b/proto/CoopCgShowNotify.proto new file mode 100644 index 00000000..eaef31a2 --- /dev/null +++ b/proto/CoopCgShowNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CoopCgShowNotify { + enum JNECNHGJNLE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1972; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 cgList = 8; +} diff --git a/proto/CoopCgUpdateNotify.proto b/proto/CoopCgUpdateNotify.proto new file mode 100644 index 00000000..47572ea9 --- /dev/null +++ b/proto/CoopCgUpdateNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CoopCgUpdateNotify { + enum HDNLOLLHBNM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1966; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 cgList = 14; +} diff --git a/proto/CoopChapter.proto b/proto/CoopChapter.proto new file mode 100644 index 00000000..20b9b503 --- /dev/null +++ b/proto/CoopChapter.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "State.proto"; +import "CoopCg.proto"; +import "CoopReward.proto"; +import "CoopPoint.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CoopChapter { + map seenEndingMap = 12; + repeated uint32 finishDialogList = 5; + repeated CoopCg coopCgList = 11; + repeated CoopReward coopRewardList = 9; + repeated uint32 lockReasonList = 4; + uint32 finishedEndCount = 8; + repeated CoopPoint coopPointList = 7; + State state = 15; + uint32 id = 6; + uint32 totalEndCount = 14; +} diff --git a/proto/CoopChapterUpdateNotify.proto b/proto/CoopChapterUpdateNotify.proto new file mode 100644 index 00000000..b7ac52c8 --- /dev/null +++ b/proto/CoopChapterUpdateNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "CoopChapter.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CoopChapterUpdateNotify { + enum BHINKPCMCOG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1985; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated CoopChapter chapterList = 5; +} diff --git a/proto/CoopDataNotify.proto b/proto/CoopDataNotify.proto new file mode 100644 index 00000000..f4d9971a --- /dev/null +++ b/proto/CoopDataNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "CoopChapter.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CoopDataNotify { + enum MBJJGCCJMPG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1981; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 viewedChapterList = 8; + bool isHaveProgress = 14; + repeated CoopChapter chapterList = 12; + uint32 curCoopPoint = 1; +} diff --git a/proto/CoopPoint.proto b/proto/CoopPoint.proto new file mode 100644 index 00000000..aded33c8 --- /dev/null +++ b/proto/CoopPoint.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "State.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CoopPoint { + uint32 id = 10; + State state = 5; + uint32 selfConfidence = 15; +} diff --git a/proto/CoopPointUpdateNotify.proto b/proto/CoopPointUpdateNotify.proto new file mode 100644 index 00000000..005bc899 --- /dev/null +++ b/proto/CoopPointUpdateNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "CoopPoint.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CoopPointUpdateNotify { + enum LBMGJFEPNOG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1987; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + CoopPoint coopPoint = 11; +} diff --git a/proto/CoopProgressUpdateNotify.proto b/proto/CoopProgressUpdateNotify.proto new file mode 100644 index 00000000..6abdbce4 --- /dev/null +++ b/proto/CoopProgressUpdateNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CoopProgressUpdateNotify { + enum HDIKAKDLKBH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1956; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 curCoopPoint = 5; + bool isHaveProgress = 1; +} diff --git a/proto/CoopReward.proto b/proto/CoopReward.proto new file mode 100644 index 00000000..5f8ac255 --- /dev/null +++ b/proto/CoopReward.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "State.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CoopReward { + State state = 8; + uint32 id = 1; +} diff --git a/proto/CoopRewardUpdateNotify.proto b/proto/CoopRewardUpdateNotify.proto new file mode 100644 index 00000000..c10b967f --- /dev/null +++ b/proto/CoopRewardUpdateNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "CoopReward.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CoopRewardUpdateNotify { + enum FGALHHPNKKF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1975; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated CoopReward rewardList = 11; +} diff --git a/proto/CostDice.proto b/proto/CostDice.proto new file mode 100644 index 00000000..5722696d --- /dev/null +++ b/proto/CostDice.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "GCGReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CostDice { + GCGReason reason = 7; + uint32 controllerId = 9; + repeated uint32 selectDiceIndexList = 8; +} diff --git a/proto/CostRevise.proto b/proto/CostRevise.proto new file mode 100644 index 00000000..3321ccab --- /dev/null +++ b/proto/CostRevise.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "GCGCostReviseInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CostRevise { + uint32 controllerId = 15; + GCGCostReviseInfo costRevise = 10; +} diff --git a/proto/CreateEntityInfo.proto b/proto/CreateEntityInfo.proto index a898d039..c74f5817 100644 --- a/proto/CreateEntityInfo.proto +++ b/proto/CreateEntityInfo.proto @@ -1,41 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "CreateGadgetInfo.proto"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message CreateEntityInfo { - uint32 level = 5; - Vector pos = 6; - Vector rot = 7; - uint32 scene_id = 10; - uint32 room_id = 11; - uint32 client_unique_id = 12; - oneof entity { - uint32 monster_id = 1; - uint32 npc_id = 2; - uint32 gadget_id = 3; - uint32 item_id = 4; - } - oneof entity_create_info { - CreateGadgetInfo gadget = 13; - } + oneof entity { + uint32 monster_id = 1; + uint32 npc_id = 2; + uint32 gadget_id = 3; + uint32 item_id = 4; + } + uint32 level = 5; + Rotation pos = 6; + Rotation rot = 7; + uint32 sceneId = 10; + uint32 roomId = 11; + uint32 clientUniqueId = 12; } diff --git a/proto/CreateGadgetInfo.proto b/proto/CreateGadgetInfo.proto index bf6405bb..b5f32912 100644 --- a/proto/CreateGadgetInfo.proto +++ b/proto/CreateGadgetInfo.proto @@ -1,32 +1,16 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "GadgetBornType.proto"; + +import "GadgetBornType.proto"; option java_package = "emu.grasscutter.net.proto"; message CreateGadgetInfo { - message Chest { - uint32 chest_drop_id = 1; - bool is_show_cutscene = 2; - } + message Chest { + uint32 kghimiienhg = 1; + bool isShowCutscene = 2; + } - GadgetBornType born_type = 1; - Chest chest = 2; + GadgetBornType bornType = 1; + Chest bknaophdkcf = 2; } diff --git a/proto/CreateMassiveEntityNotify.proto b/proto/CreateMassiveEntityNotify.proto new file mode 100644 index 00000000..58c1345a --- /dev/null +++ b/proto/CreateMassiveEntityNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "ServerMassiveEntity.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CreateMassiveEntityNotify { + enum FCEBCMCLECK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 364; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated ServerMassiveEntity massiveEntityList = 8; +} diff --git a/proto/CreateMassiveEntityReq.proto b/proto/CreateMassiveEntityReq.proto new file mode 100644 index 00000000..80834d45 --- /dev/null +++ b/proto/CreateMassiveEntityReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "ClientMassiveEntity.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CreateMassiveEntityReq { + enum AJDHCCNLMJE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 394; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated ClientMassiveEntity massiveEntityList = 5; +} diff --git a/proto/CreateMassiveEntityRsp.proto b/proto/CreateMassiveEntityRsp.proto new file mode 100644 index 00000000..8efd9cd8 --- /dev/null +++ b/proto/CreateMassiveEntityRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CreateMassiveEntityRsp { + enum PEKJAPOKDHF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 381; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; +} diff --git a/proto/CreateReason.proto b/proto/CreateReason.proto new file mode 100644 index 00000000..16fbd418 --- /dev/null +++ b/proto/CreateReason.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum CreateReason { + CREATE_REASON_NONE = 0; + CREATE_REASON_QUEST = 1; + CREATE_REASON_ENERGY = 2; +} diff --git a/proto/CreateVehicleReq.proto b/proto/CreateVehicleReq.proto index 5546b193..4f0f5a7e 100644 --- a/proto/CreateVehicleReq.proto +++ b/proto/CreateVehicleReq.proto @@ -1,38 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message CreateVehicleReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 807; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum JAAHLAPFNJN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 858; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - Vector pos = 11; - uint32 vehicle_id = 4; - uint32 scene_point_id = 3; - Vector rot = 6; + Rotation pos = 2; + Rotation rot = 10; + uint32 vehicleId = 1; + uint32 scenePointId = 15; } diff --git a/proto/CreateVehicleRsp.proto b/proto/CreateVehicleRsp.proto index b03543b9..74eaecdb 100644 --- a/proto/CreateVehicleRsp.proto +++ b/proto/CreateVehicleRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message CreateVehicleRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 817; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum ENBFHMKDDBM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 818; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 entity_id = 5; - uint32 vehicle_id = 8; - int32 retcode = 2; + uint32 vehicleId = 10; + int32 retcode = 3; + uint32 entityId = 13; } diff --git a/proto/CreatorInfo.proto b/proto/CreatorInfo.proto new file mode 100644 index 00000000..c63f358f --- /dev/null +++ b/proto/CreatorInfo.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "LocationInfo.proto"; +import "WidgetCreatorOpType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CreatorInfo { + uint32 entityId = 9; + LocationInfo locationInfo = 12; + WidgetCreatorOpType opType = 5; +} diff --git a/proto/CrucibleActivityDetailInfo.proto b/proto/CrucibleActivityDetailInfo.proto index d68d6dde..de080b92 100644 --- a/proto/CrucibleActivityDetailInfo.proto +++ b/proto/CrucibleActivityDetailInfo.proto @@ -20,6 +20,7 @@ syntax = "proto3"; import "CrucibleBattleUidInfo.proto"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message CrucibleActivityDetailInfo { diff --git a/proto/CrucibleBattleUidInfo.proto b/proto/CrucibleBattleUidInfo.proto index 014b0f66..053f4fb1 100644 --- a/proto/CrucibleBattleUidInfo.proto +++ b/proto/CrucibleBattleUidInfo.proto @@ -1,30 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ProfilePicture.proto"; + +import "ProfilePicture.proto"; option java_package = "emu.grasscutter.net.proto"; message CrucibleBattleUidInfo { - ProfilePicture profile_picture = 8; - uint32 uid = 14; - uint32 icon = 4; - string online_id = 13; - string nickname = 3; + string nickname = 4; + uint32 icon = 5; + uint32 uid = 2; + ProfilePicture profilePicture = 11; + string onlineId = 6; } diff --git a/proto/CrucibleInfo.proto b/proto/CrucibleInfo.proto new file mode 100644 index 00000000..93e034ed --- /dev/null +++ b/proto/CrucibleInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CrucibleInfo { + uint32 mpPlayId = 1; + uint32 prepareEndTime = 2; +} diff --git a/proto/CrystalLinkActivityDetailInfo.proto b/proto/CrystalLinkActivityDetailInfo.proto index 84678e5f..4d919730 100644 --- a/proto/CrystalLinkActivityDetailInfo.proto +++ b/proto/CrystalLinkActivityDetailInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "CrystalLinkLevelInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message CrystalLinkActivityDetailInfo { diff --git a/proto/CrystalLinkAvatarInfo.proto b/proto/CrystalLinkAvatarInfo.proto index c4279e9b..3a856002 100644 --- a/proto/CrystalLinkAvatarInfo.proto +++ b/proto/CrystalLinkAvatarInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message CrystalLinkAvatarInfo { - uint64 avatar_id = 10; - bool is_trial = 15; + bool isTrial = 9; + uint64 avatarId = 7; } diff --git a/proto/CrystalLinkBuffInfo.proto b/proto/CrystalLinkBuffInfo.proto index 5597ee96..e3056316 100644 --- a/proto/CrystalLinkBuffInfo.proto +++ b/proto/CrystalLinkBuffInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message CrystalLinkBuffInfo { - uint32 Unk3300_BGKLAFCBNOA = 6; - uint32 Unk3300_PFLAOCMEFIL = 4; + uint32 Unk3300_BGKLAFCBNOA = 8; + uint32 Unk3300_PFLAOCMEFIL = 7; } diff --git a/proto/CrystalLinkDungeonAvatarInfo.proto b/proto/CrystalLinkDungeonAvatarInfo.proto index d5921017..371b4fca 100644 --- a/proto/CrystalLinkDungeonAvatarInfo.proto +++ b/proto/CrystalLinkDungeonAvatarInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message CrystalLinkDungeonAvatarInfo { - uint64 avatar_guid = 4; - bool is_trial = 5; + uint64 avatarGuid = 2; + bool isTrial = 12; } diff --git a/proto/CrystalLinkDungeonInfoNotify.proto b/proto/CrystalLinkDungeonInfoNotify.proto new file mode 100644 index 00000000..9c695794 --- /dev/null +++ b/proto/CrystalLinkDungeonInfoNotify.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; + + + +import "CrystalLinkDungeonAvatarInfo.proto"; +import "CrystalLinkBuffInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CrystalLinkDungeonInfoNotify { + enum HLPDNAHBCNL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8343; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 initGalleryProgress = 7; + uint32 difficultyId = 9; + repeated CrystalLinkDungeonAvatarInfo dungeonAvatarInfoList = 10; + bool isUpperPart = 15; + uint32 levelId = 6; + repeated CrystalLinkBuffInfo buffInfoList = 2; +} diff --git a/proto/CrystalLinkDungeonSettleInfo.proto b/proto/CrystalLinkDungeonSettleInfo.proto index eb4f1b35..e802bc26 100644 --- a/proto/CrystalLinkDungeonSettleInfo.proto +++ b/proto/CrystalLinkDungeonSettleInfo.proto @@ -17,6 +17,7 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message CrystalLinkDungeonSettleInfo { diff --git a/proto/CrystalLinkEnterDungeonReq.proto b/proto/CrystalLinkEnterDungeonReq.proto new file mode 100644 index 00000000..9242c871 --- /dev/null +++ b/proto/CrystalLinkEnterDungeonReq.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "CrystalLinkTeamInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CrystalLinkEnterDungeonReq { + enum CLAELIDGHLP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8110; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated CrystalLinkTeamInfo teamInfoList = 7; + uint32 levelId = 8; + uint32 difficultyId = 4; +} diff --git a/proto/CrystalLinkEnterDungeonRsp.proto b/proto/CrystalLinkEnterDungeonRsp.proto new file mode 100644 index 00000000..e3c6c695 --- /dev/null +++ b/proto/CrystalLinkEnterDungeonRsp.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "CrystalLinkTeamInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CrystalLinkEnterDungeonRsp { + enum KDACNHFFGAN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8936; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 levelId = 11; + uint32 difficultyId = 2; + int32 retcode = 3; + repeated CrystalLinkTeamInfo teamInfoList = 10; +} diff --git a/proto/CrystalLinkInfo.proto b/proto/CrystalLinkInfo.proto new file mode 100644 index 00000000..eeb2cdeb --- /dev/null +++ b/proto/CrystalLinkInfo.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CrystalLinkInfo { + uint32 score = 6; +} diff --git a/proto/CrystalLinkLevelInfo.proto b/proto/CrystalLinkLevelInfo.proto index 5a73781c..e1859d7c 100644 --- a/proto/CrystalLinkLevelInfo.proto +++ b/proto/CrystalLinkLevelInfo.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "CrystalLinkTeamInfo.proto"; + +import "CrystalLinkTeamInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message CrystalLinkLevelInfo { - bool is_open = 4; - repeated CrystalLinkTeamInfo team_info_list = 3; - uint32 level_id = 14; - uint32 best_score = 7; + uint32 levelId = 3; + uint32 bestScore = 6; + bool isOpen = 7; + repeated CrystalLinkTeamInfo teamInfoList = 8; } diff --git a/proto/CrystalLinkRestartDungeonReq.proto b/proto/CrystalLinkRestartDungeonReq.proto new file mode 100644 index 00000000..39c11d14 --- /dev/null +++ b/proto/CrystalLinkRestartDungeonReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CrystalLinkRestartDungeonReq { + enum OIGGMLAIKAB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8056; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/CrystalLinkRestartDungeonRsp.proto b/proto/CrystalLinkRestartDungeonRsp.proto new file mode 100644 index 00000000..5ef2d43f --- /dev/null +++ b/proto/CrystalLinkRestartDungeonRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CrystalLinkRestartDungeonRsp { + enum OHBMCCBCLHH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8574; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 5; +} diff --git a/proto/CrystalLinkSettleInfo.proto b/proto/CrystalLinkSettleInfo.proto new file mode 100644 index 00000000..cf72e7d1 --- /dev/null +++ b/proto/CrystalLinkSettleInfo.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CrystalLinkSettleInfo { + uint32 killNormalMonsterNum = 11; + bool isNewRecord = 6; + uint32 finalScore = 13; + uint32 killEliteMonsterNum = 15; + uint32 difficultyId = 3; + uint32 levelId = 10; +} diff --git a/proto/CrystalLinkTeamInfo.proto b/proto/CrystalLinkTeamInfo.proto index 7b2f1990..513020f2 100644 --- a/proto/CrystalLinkTeamInfo.proto +++ b/proto/CrystalLinkTeamInfo.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "CrystalLinkAvatarInfo.proto"; import "CrystalLinkBuffInfo.proto"; - option java_package = "emu.grasscutter.net.proto"; message CrystalLinkTeamInfo { - repeated CrystalLinkAvatarInfo avatar_info_list = 14; - repeated CrystalLinkBuffInfo buff_info_list = 12; + repeated CrystalLinkAvatarInfo avatarInfoList = 13; + repeated CrystalLinkBuffInfo buffInfoList = 10; } diff --git a/proto/CurVehicleInfo.proto b/proto/CurVehicleInfo.proto index 5ce5b487..6350d412 100644 --- a/proto/CurVehicleInfo.proto +++ b/proto/CurVehicleInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message CurVehicleInfo { - uint32 entity_id = 1; - uint32 pos = 2; + uint32 entityId = 1; + uint32 pos = 2; } diff --git a/proto/CustomCommonNodeInfo.proto b/proto/CustomCommonNodeInfo.proto index c42e8410..8f87e7d5 100644 --- a/proto/CustomCommonNodeInfo.proto +++ b/proto/CustomCommonNodeInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message CustomCommonNodeInfo { - int32 parent_index = 1; - uint32 config_id = 2; - string slot_identifier = 3; + int32 parentIndex = 1; + uint32 configId = 2; + string slotIdentifier = 3; } diff --git a/proto/CustomDungeon.proto b/proto/CustomDungeon.proto new file mode 100644 index 00000000..d69e8962 --- /dev/null +++ b/proto/CustomDungeon.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "CustomDungeonSetting.proto"; +import "CustomDungeonRoom.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CustomDungeon { + uint64 dungeonGuid = 8; + repeated CustomDungeonRoom roomList = 3; + CustomDungeonSetting setting = 1; + uint32 dungeonId = 4; +} diff --git a/proto/CustomDungeonAbstract.proto b/proto/CustomDungeonAbstract.proto new file mode 100644 index 00000000..40b7155f --- /dev/null +++ b/proto/CustomDungeonAbstract.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CustomDungeonAbstract { + uint32 Unk3300_EJGBHGHLFPI = 10; + uint32 Unk3300_JPFIHKECLMF = 2; + uint32 firstPublishTime = 1; + uint32 lastPublishTime = 4; + map brickStatisticsMap = 12; +} diff --git a/proto/CustomDungeonBanInfo.proto b/proto/CustomDungeonBanInfo.proto new file mode 100644 index 00000000..0690ff96 --- /dev/null +++ b/proto/CustomDungeonBanInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "CustomDungeonBanType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CustomDungeonBanInfo { + uint32 expireTime = 12; + CustomDungeonBanType banType = 6; + uint64 dungeonGuid = 1; +} diff --git a/proto/CustomDungeonBanType.proto b/proto/CustomDungeonBanType.proto new file mode 100644 index 00000000..dfbdbc92 --- /dev/null +++ b/proto/CustomDungeonBanType.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +enum CustomDungeonBanType { + CUSTOM_DUNGEON_BAN_TYPE_NONE = 0; + CUSTOM_DUNGEON_BAN_TYPE_LAYOUT = 1; +} diff --git a/proto/CustomDungeonBattleRecordNotify.proto b/proto/CustomDungeonBattleRecordNotify.proto new file mode 100644 index 00000000..9db081eb --- /dev/null +++ b/proto/CustomDungeonBattleRecordNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CustomDungeonBattleRecordNotify { + enum HIDDKGJANKE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6201; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint64 dungeonGuid = 13; + uint32 minCostTime = 12; +} diff --git a/proto/CustomDungeonBlock.proto b/proto/CustomDungeonBlock.proto new file mode 100644 index 00000000..ebe41c4f --- /dev/null +++ b/proto/CustomDungeonBlock.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CustomDungeonBlock { + uint32 blockId = 15; + Rotation rot = 2; + Rotation pos = 11; + uint32 guid = 1; +} diff --git a/proto/CustomDungeonBrief.proto b/proto/CustomDungeonBrief.proto new file mode 100644 index 00000000..584d8bbc --- /dev/null +++ b/proto/CustomDungeonBrief.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "CustomDungeonSetting.proto"; +import "CustomDungeonAbstract.proto"; +import "CustomDungeonState.proto"; +import "CustomDungeonSocial.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CustomDungeonBrief { + CustomDungeonSetting setting = 7; + bool isPsnPlatform = 4; + CustomDungeonAbstract abstract = 13; + CustomDungeonState state = 9; + uint64 dungeonGuid = 5; + repeated uint32 tagList = 15; + uint32 lastSaveTime = 10; + CustomDungeonSocial social = 8; + uint32 battleMinCostTime = 2; + uint32 dungeonId = 6; +} diff --git a/proto/CustomDungeonFinishType.proto b/proto/CustomDungeonFinishType.proto index f0312895..f59cb8ea 100644 --- a/proto/CustomDungeonFinishType.proto +++ b/proto/CustomDungeonFinishType.proto @@ -1,27 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum CustomDungeonFinishType { - CUSTOM_DUNGEON_FINISH_TYPE_PLAY_NORMAL = 0; - CUSTOM_DUNGEON_FINISH_TYPE_PLAY_TRY = 1; - CUSTOM_DUNGEON_FINISH_TYPE_EDIT_TRY = 2; - CUSTOM_DUNGEON_FINISH_TYPE_SELF_PLAY_NORMAL = 3; + CUSTOM_DUNGEON_FINISH_TYPE_PLAY_NORMAL = 0; + CUSTOM_DUNGEON_FINISH_TYPE_PLAY_TRY = 1; + CUSTOM_DUNGEON_FINISH_TYPE_EDIT_TRY = 2; + CUSTOM_DUNGEON_FINISH_TYPE_SELF_PLAY_NORMAL = 3; } diff --git a/proto/CustomDungeonOfficialNotify.proto b/proto/CustomDungeonOfficialNotify.proto new file mode 100644 index 00000000..e6e5c00e --- /dev/null +++ b/proto/CustomDungeonOfficialNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "TryCustomDungeonType.proto"; +import "EnterCustomDungeonType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CustomDungeonOfficialNotify { + enum PDLFCGFJBIO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6236; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + TryCustomDungeonType tryType = 7; + repeated uint32 officialBlackCoinList = 12; + EnterCustomDungeonType enterType = 11; +} diff --git a/proto/CustomDungeonRecoverNotify.proto b/proto/CustomDungeonRecoverNotify.proto new file mode 100644 index 00000000..53d980b0 --- /dev/null +++ b/proto/CustomDungeonRecoverNotify.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +import "TryCustomDungeonType.proto"; +import "EnterCustomDungeonType.proto"; +import "CustomDungeon.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CustomDungeonRecoverNotify { + enum IFJDMKLPIDE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6233; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + TryCustomDungeonType tryType = 5; + EnterCustomDungeonType enterType = 10; + repeated uint32 officialBlackCoinList = 14; + CustomDungeon customDungeon = 3; +} diff --git a/proto/CustomDungeonResultInfo.proto b/proto/CustomDungeonResultInfo.proto index a751e877..890e1e0b 100644 --- a/proto/CustomDungeonResultInfo.proto +++ b/proto/CustomDungeonResultInfo.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ChallengeBrief.proto"; -import "CustomDungeonFinishType.proto"; + +import "CustomDungeonFinishType.proto"; +import "ChallengeBrief.proto"; option java_package = "emu.grasscutter.net.proto"; message CustomDungeonResultInfo { - bool is_liked = 13; - bool is_arrive_finish = 2; - uint64 dungeon_guid = 5; - CustomDungeonFinishType finish_type = 8; - repeated ChallengeBrief child_challenge_list = 1; - bool is_stored = 6; - uint32 time_cost = 9; - uint32 got_coin_num = 4; + CustomDungeonFinishType finishType = 2; + bool isStored = 8; + uint64 dungeonGuid = 9; + bool isLiked = 14; + bool isArriveFinish = 15; + uint32 gotCoinNum = 11; + repeated ChallengeBrief childChallengeList = 3; + uint32 timeCost = 4; } diff --git a/proto/CustomDungeonRoom.proto b/proto/CustomDungeonRoom.proto new file mode 100644 index 00000000..ed4d3364 --- /dev/null +++ b/proto/CustomDungeonRoom.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "CustomDungeonBlock.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CustomDungeonRoom { + repeated CustomDungeonBlock blockList = 7; + uint32 roomId = 3; +} diff --git a/proto/CustomDungeonSetting.proto b/proto/CustomDungeonSetting.proto new file mode 100644 index 00000000..b5536d40 --- /dev/null +++ b/proto/CustomDungeonSetting.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CustomDungeonSetting { + repeated uint32 openRoomList = 13; + uint32 lifeNum = 9; + uint32 coinLimit = 4; + uint32 startRoomId = 10; + bool isForbidSkill = 11; + uint32 timeLimit = 2; + bool isArriveFinish = 14; +} diff --git a/proto/CustomDungeonSocial.proto b/proto/CustomDungeonSocial.proto new file mode 100644 index 00000000..60ef5b2c --- /dev/null +++ b/proto/CustomDungeonSocial.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CustomDungeonSocial { + uint32 storeNum = 7; + uint32 winNum = 11; + uint32 likeNum = 6; + uint32 playNum = 12; +} diff --git a/proto/CustomDungeonState.proto b/proto/CustomDungeonState.proto new file mode 100644 index 00000000..fcdf941d --- /dev/null +++ b/proto/CustomDungeonState.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum CustomDungeonState { + CUSTOM_DUNGEON_STATE_EDIT = 0; + CUSTOM_DUNGEON_STATE_SELF_PASS = 1; + CUSTOM_DUNGEON_STATE_PUBLISHED = 2; +} diff --git a/proto/CustomDungeonUpdateNotify.proto b/proto/CustomDungeonUpdateNotify.proto new file mode 100644 index 00000000..c16df5f2 --- /dev/null +++ b/proto/CustomDungeonUpdateNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "CustomDungeonBrief.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CustomDungeonUpdateNotify { + enum LNAOFFLEHHK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6203; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + CustomDungeonBrief dungeonBrief = 14; +} diff --git a/proto/CustomGadgetTreeInfo.proto b/proto/CustomGadgetTreeInfo.proto index 86ec424f..b4169fe4 100644 --- a/proto/CustomGadgetTreeInfo.proto +++ b/proto/CustomGadgetTreeInfo.proto @@ -1,26 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "CustomCommonNodeInfo.proto"; + +import "CustomCommonNodeInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message CustomGadgetTreeInfo { - repeated CustomCommonNodeInfo node_list = 1; + repeated CustomCommonNodeInfo nodeList = 1; } diff --git a/proto/CutSceneBeginNotify.proto b/proto/CutSceneBeginNotify.proto new file mode 100644 index 00000000..7422b405 --- /dev/null +++ b/proto/CutSceneBeginNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "CutSceneExtraParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message CutSceneBeginNotify { + enum EODCIEGJJEE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 217; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isWaitOthers = 3; + repeated CutSceneExtraParam extraParamList = 14; + uint32 cutsceneId = 2; +} diff --git a/proto/CutSceneEndNotify.proto b/proto/CutSceneEndNotify.proto new file mode 100644 index 00000000..87aaf30f --- /dev/null +++ b/proto/CutSceneEndNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CutSceneEndNotify { + enum JNHHBPGAFGE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 299; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 cutsceneId = 15; + int32 retcode = 9; +} diff --git a/proto/CutSceneExtraParam.proto b/proto/CutSceneExtraParam.proto new file mode 100644 index 00000000..14c17c2c --- /dev/null +++ b/proto/CutSceneExtraParam.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CutSceneExtraParam { + repeated double detailParamList = 3; +} diff --git a/proto/CutSceneFinishNotify.proto b/proto/CutSceneFinishNotify.proto new file mode 100644 index 00000000..6b87a052 --- /dev/null +++ b/proto/CutSceneFinishNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CutSceneFinishNotify { + enum ABOAOLLFIOD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 257; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 cutsceneId = 14; +} diff --git a/proto/CylinderRegionSize.proto b/proto/CylinderRegionSize.proto new file mode 100644 index 00000000..82f247e0 --- /dev/null +++ b/proto/CylinderRegionSize.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CylinderRegionSize { + float height = 4; + float radius = 14; +} diff --git a/proto/CylinderSize.proto b/proto/CylinderSize.proto new file mode 100644 index 00000000..c45bcaea --- /dev/null +++ b/proto/CylinderSize.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message CylinderSize { + float height = 4; + float radius = 14; +} diff --git a/proto/DALLDMAANFE.proto b/proto/DALLDMAANFE.proto new file mode 100644 index 00000000..8b80e479 --- /dev/null +++ b/proto/DALLDMAANFE.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DALLDMAANFE { + uint32 entityId = 7; + Rotation skillAnchorPosition = 9; +} diff --git a/proto/DBIBEJBEOEE.proto b/proto/DBIBEJBEOEE.proto new file mode 100644 index 00000000..17698036 --- /dev/null +++ b/proto/DBIBEJBEOEE.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "EIEBDOJCDBH.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DBIBEJBEOEE { + string createTime = 1; + int32 daehjagbjbl = 2; + EIEBDOJCDBH jkfdibhoggm = 3; +} diff --git a/proto/DENJLLKHOMJ.proto b/proto/DENJLLKHOMJ.proto new file mode 100644 index 00000000..25119367 --- /dev/null +++ b/proto/DENJLLKHOMJ.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DENJLLKHOMJ { + Rotation eknhofiihcl = 7; + uint32 entityId = 13; + Rotation boedpkfedkp = 9; +} diff --git a/proto/DEOFBFHGCBD.proto b/proto/DEOFBFHGCBD.proto new file mode 100644 index 00000000..9b1a3b9e --- /dev/null +++ b/proto/DEOFBFHGCBD.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DEOFBFHGCBD { + bool gkdhighenkl = 9; + float bomgjkinedc = 2; +} diff --git a/proto/DFAIPJMKBCC.proto b/proto/DFAIPJMKBCC.proto new file mode 100644 index 00000000..6db47310 --- /dev/null +++ b/proto/DFAIPJMKBCC.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "GCGOperation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DFAIPJMKBCC { + GCGOperation op = 15; + uint32 controllerId = 10; +} diff --git a/proto/DFOIMMLICEG.proto b/proto/DFOIMMLICEG.proto new file mode 100644 index 00000000..b5a70236 --- /dev/null +++ b/proto/DFOIMMLICEG.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DFOIMMLICEG { + Rotation pos = 7; + Rotation mjehpphliia = 12; + Rotation rot = 9; +} diff --git a/proto/DHOADHACDHA.proto b/proto/DHOADHACDHA.proto new file mode 100644 index 00000000..d9e90389 --- /dev/null +++ b/proto/DHOADHACDHA.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DHOADHACDHA { + uint32 id = 7; + uint32 num = 6; + repeated uint32 type = 1; +} diff --git a/proto/DJLDJFDPBEI.proto b/proto/DJLDJFDPBEI.proto new file mode 100644 index 00000000..1767ecda --- /dev/null +++ b/proto/DJLDJFDPBEI.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +enum DJLDJFDPBEI { + DJLDJFDPBEI_NONE = 0; + CDFMIMCCFKH = 1; + FIIEHMIEFKF = 2; + EFEBEKMCOAN = 3; + GNPNHKCKDHL = 4; + DIHJPJCKIAP = 5; + JJOIEEDMABA = 6; +} diff --git a/proto/DJOOIPGJPFC.proto b/proto/DJOOIPGJPFC.proto new file mode 100644 index 00000000..52d54eab --- /dev/null +++ b/proto/DJOOIPGJPFC.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "AbilityString.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DJOOIPGJPFC { + float value = 14; + AbilityString key = 8; +} diff --git a/proto/DKCAEHHPAGD.proto b/proto/DKCAEHHPAGD.proto new file mode 100644 index 00000000..fd3b1490 --- /dev/null +++ b/proto/DKCAEHHPAGD.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "EFJNIGDJCLH.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DKCAEHHPAGD { + repeated EFJNIGDJCLH blnaldeiekj = 1; + string createTime = 2; +} diff --git a/proto/DKMDNEAEGDF.proto b/proto/DKMDNEAEGDF.proto new file mode 100644 index 00000000..2a735300 --- /dev/null +++ b/proto/DKMDNEAEGDF.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DKMDNEAEGDF { + enum HGNBEDAOKOC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 166; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 clientGameTime = 14; + uint32 gameTime = 15; + int32 retcode = 12; +} diff --git a/proto/DKOBFHFONLM.proto b/proto/DKOBFHFONLM.proto new file mode 100644 index 00000000..2cb2f16c --- /dev/null +++ b/proto/DKOBFHFONLM.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DKOBFHFONLM { + uint32 levelId = 2; + bool isOpen = 7; + uint32 minFinishTime = 12; +} diff --git a/proto/DMIOGBOGIEG.proto b/proto/DMIOGBOGIEG.proto new file mode 100644 index 00000000..1d56b6fc --- /dev/null +++ b/proto/DMIOGBOGIEG.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "NAMOHGAFBJP.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DMIOGBOGIEG { + uint32 sceneId = 11; + uint32 hoogfkfbckk = 15; + repeated NAMOHGAFBJP idgelpihkph = 5; + uint32 moduleId = 13; + uint32 version = 9; +} diff --git a/proto/DMMAGIEOPDG.proto b/proto/DMMAGIEOPDG.proto new file mode 100644 index 00000000..0beb4684 --- /dev/null +++ b/proto/DMMAGIEOPDG.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "DKOBFHFONLM.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DMMAGIEOPDG { + uint32 stageId = 5; + repeated DKOBFHFONLM levelInfoList = 4; + bool isOpen = 11; +} diff --git a/proto/DNEFMCCIFDH.proto b/proto/DNEFMCCIFDH.proto new file mode 100644 index 00000000..2ef2008a --- /dev/null +++ b/proto/DNEFMCCIFDH.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "IDOELHBANCP.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DNEFMCCIFDH { + bool aicefchaici = 33; + repeated IDOELHBANCP kcllbppiboo = 999; +} diff --git a/proto/DPBLIEBAKGI.proto b/proto/DPBLIEBAKGI.proto new file mode 100644 index 00000000..c6fc6e08 --- /dev/null +++ b/proto/DPBLIEBAKGI.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "IDOELHBANCP.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DPBLIEBAKGI { + bool oahpenjnboe = 1; + bool gimhlmfcojd = 2; + bool aicefchaici = 3; + bool docgilpleod = 7; + repeated IDOELHBANCP kcllbppiboo = 999; +} diff --git a/proto/DPLPLLGGJJC.proto b/proto/DPLPLLGGJJC.proto new file mode 100644 index 00000000..dbcc52c6 --- /dev/null +++ b/proto/DPLPLLGGJJC.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "BDKPJAMLNCL.proto"; +import "MEIDIANHEDD.proto"; +import "FKJCFGLHNPM.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DPLPLLGGJJC { + BDKPJAMLNCL raceInfo = 4; + MEIDIANHEDD campInfo = 11; + FKJCFGLHNPM jpegcngalgi = 3; +} diff --git a/proto/DailyDungeonEntryInfo.proto b/proto/DailyDungeonEntryInfo.proto index 50d2b872..d17dd2de 100644 --- a/proto/DailyDungeonEntryInfo.proto +++ b/proto/DailyDungeonEntryInfo.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "DungeonEntryInfo.proto"; + +import "DungeonEntryInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message DailyDungeonEntryInfo { - DungeonEntryInfo recommend_dungeon_entry_info = 6; - uint32 dungeon_entry_config_id = 10; - uint32 recommend_dungeon_id = 5; - uint32 dungeon_entry_id = 12; + uint32 recommendDungeonId = 13; + uint32 dungeonEntryId = 8; + uint32 dungeonEntryConfigId = 2; + DungeonEntryInfo recommendDungeonEntryInfo = 14; } diff --git a/proto/DailyTaskDataNotify.proto b/proto/DailyTaskDataNotify.proto index daa5d92d..825ec712 100644 --- a/proto/DailyTaskDataNotify.proto +++ b/proto/DailyTaskDataNotify.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DailyTaskDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 124; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum CJCCGCLIDDL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 183; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 score_reward_id = 13; - uint32 finished_num = 8; - bool is_taken_score_reward = 5; + bool isTakenScoreReward = 13; + uint32 finishedNum = 11; + uint32 scoreRewardId = 2; } diff --git a/proto/DailyTaskFilterCityReq.proto b/proto/DailyTaskFilterCityReq.proto index c35769e9..52931a65 100644 --- a/proto/DailyTaskFilterCityReq.proto +++ b/proto/DailyTaskFilterCityReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DailyTaskFilterCityReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 101; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum KCHAPJCNAJM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 182; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 city_id = 7; + uint32 cityId = 15; } diff --git a/proto/DailyTaskFilterCityRsp.proto b/proto/DailyTaskFilterCityRsp.proto index ce5ea028..0137e01d 100644 --- a/proto/DailyTaskFilterCityRsp.proto +++ b/proto/DailyTaskFilterCityRsp.proto @@ -1,33 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DailyTaskFilterCityRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 138; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum BAECKJPDBMI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 131; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 city_id = 7; - int32 retcode = 6; + repeated uint32 cikenonelim = 15; } diff --git a/proto/DailyTaskInfo.proto b/proto/DailyTaskInfo.proto index 6a1a3861..eba3f7a5 100644 --- a/proto/DailyTaskInfo.proto +++ b/proto/DailyTaskInfo.proto @@ -1,28 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DailyTaskInfo { - uint32 reward_id = 7; - uint32 finish_progress = 12; - bool is_finished = 2; - uint32 daily_task_id = 5; - uint32 progress = 10; + uint32 finishProgress = 9; + bool isFinished = 3; + uint32 progress = 7; + uint32 dailyTaskId = 5; + uint32 rewardId = 14; } diff --git a/proto/DailyTaskProgressNotify.proto b/proto/DailyTaskProgressNotify.proto index aed53881..3f7e3563 100644 --- a/proto/DailyTaskProgressNotify.proto +++ b/proto/DailyTaskProgressNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "DailyTaskInfo.proto"; + +import "DailyTaskInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message DailyTaskProgressNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 149; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum KCIINAGGOAF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 179; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - DailyTaskInfo info = 12; + DailyTaskInfo info = 12; } diff --git a/proto/DailyTaskScoreRewardNotify.proto b/proto/DailyTaskScoreRewardNotify.proto new file mode 100644 index 00000000..32eb2d8c --- /dev/null +++ b/proto/DailyTaskScoreRewardNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DailyTaskScoreRewardNotify { + enum GGOENPJJPMC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 127; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 rewardId = 9; +} diff --git a/proto/DailyTaskUnlockedCitiesNotify.proto b/proto/DailyTaskUnlockedCitiesNotify.proto index 227200c1..6bf21ade 100644 --- a/proto/DailyTaskUnlockedCitiesNotify.proto +++ b/proto/DailyTaskUnlockedCitiesNotify.proto @@ -1,32 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + +import "uint32.proto"; option java_package = "emu.grasscutter.net.proto"; message DailyTaskUnlockedCitiesNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 169; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum PGKOMCHPHJP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 176; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 unlocked_city_list = 15; + repeated uint32 unlockedCityList = 6; } diff --git a/proto/DataResVersionNotify.proto b/proto/DataResVersionNotify.proto new file mode 100644 index 00000000..30d34622 --- /dev/null +++ b/proto/DataResVersionNotify.proto @@ -0,0 +1,27 @@ +syntax = "proto3"; + + + +import "ResVersionConfig.proto"; +import "DataResVersionOpType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DataResVersionNotify { + enum MCCFGOPDKDA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 164; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + string clientSilenceMd5 = 12; + string clientMd5 = 1; + uint32 clientDataVersion = 3; + string clientSilenceVersionSuffix = 15; + ResVersionConfig resVersionConfig = 7; + bool isDataNeedRelogin = 6; + uint32 clientSilenceDataVersion = 5; + DataResVersionOpType opType = 14; + string clientVersionSuffix = 8; +} diff --git a/proto/DataResVersionOpType.proto b/proto/DataResVersionOpType.proto new file mode 100644 index 00000000..4817ce1c --- /dev/null +++ b/proto/DataResVersionOpType.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum DataResVersionOpType { + DATA_RES_VERSION_OP_TYPE_NONE = 0; + DATA_RES_VERSION_OP_TYPE_RELOGIN = 1; + DATA_RES_VERSION_OP_TYPE_MP_RELOGIN = 2; +} diff --git a/proto/DealAddFriendReq.proto b/proto/DealAddFriendReq.proto index 90231682..20de9ec9 100644 --- a/proto/DealAddFriendReq.proto +++ b/proto/DealAddFriendReq.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "DealAddFriendResultType.proto"; + +import "DealAddFriendResultType.proto"; option java_package = "emu.grasscutter.net.proto"; message DealAddFriendReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4061; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum DHDJDMLDIDK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4080; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - DealAddFriendResultType deal_add_friend_result = 7; - uint32 target_uid = 10; + uint32 targetUid = 1; + DealAddFriendResultType dealAddFriendResult = 6; } diff --git a/proto/DealAddFriendResultType.proto b/proto/DealAddFriendResultType.proto index 95772443..92d9b036 100644 --- a/proto/DealAddFriendResultType.proto +++ b/proto/DealAddFriendResultType.proto @@ -1,25 +1,8 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum DealAddFriendResultType { - DEAL_ADD_FRIEND_RESULT_TYPE_REJECT = 0; - DEAL_ADD_FRIEND_RESULT_TYPE_ACCEPT = 1; + DEAL_ADD_FRIEND_RESULT_TYPE_REJECT = 0; + DEAL_ADD_FRIEND_RESULT_TYPE_ACCEPT = 1; } diff --git a/proto/DealAddFriendRsp.proto b/proto/DealAddFriendRsp.proto index 2c2b2559..c9afdb0f 100644 --- a/proto/DealAddFriendRsp.proto +++ b/proto/DealAddFriendRsp.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "DealAddFriendResultType.proto"; + +import "DealAddFriendResultType.proto"; option java_package = "emu.grasscutter.net.proto"; message DealAddFriendRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4047; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum BGHBOGMDNDE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4070; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 target_uid = 15; - DealAddFriendResultType deal_add_friend_result = 4; - int32 retcode = 11; + DealAddFriendResultType dealAddFriendResult = 2; + int32 retcode = 3; + uint32 targetUid = 4; } diff --git a/proto/DeathZoneInfo.proto b/proto/DeathZoneInfo.proto new file mode 100644 index 00000000..c1d72758 --- /dev/null +++ b/proto/DeathZoneInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DeathZoneInfo { + bool isOpen = 15; + uint32 id = 6; +} diff --git a/proto/DeathZoneInfoNotify.proto b/proto/DeathZoneInfoNotify.proto new file mode 100644 index 00000000..c8df4665 --- /dev/null +++ b/proto/DeathZoneInfoNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "DeathZoneInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DeathZoneInfoNotify { + enum OHCAJKINFPJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6295; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated DeathZoneInfo deathZoneInfoList = 3; +} diff --git a/proto/DeathZoneObserveNotify.proto b/proto/DeathZoneObserveNotify.proto new file mode 100644 index 00000000..2860c173 --- /dev/null +++ b/proto/DeathZoneObserveNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DeathZoneObserveNotify { + enum GHGHPJPPIKH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3059; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 sourceEntityId = 5; + uint32 targetEntityId = 7; +} diff --git a/proto/DebugNotify.proto b/proto/DebugNotify.proto new file mode 100644 index 00000000..1998f679 --- /dev/null +++ b/proto/DebugNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "CmdId.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DebugNotify { + enum LEBINLJNBIN { + option allow_alias = true; + KDIIPNENMIM = 0; + PEPPOHPHJOJ = 101; + ANGMONKOIOA = 101; + DCDNILFDFLB = 2; + NNBKOLMPOEA = 1; + } + + uint32 id = 1; + string createTime = 2; + CmdId retcode = 3; +} diff --git a/proto/DelBackupAvatarTeamReq.proto b/proto/DelBackupAvatarTeamReq.proto index b5226f1c..076a7c0e 100644 --- a/proto/DelBackupAvatarTeamReq.proto +++ b/proto/DelBackupAvatarTeamReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DelBackupAvatarTeamReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1698; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum CMNDBFMDCEI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1611; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 backup_avatar_team_id = 10; + uint32 backupAvatarTeamId = 4; } diff --git a/proto/DelBackupAvatarTeamRsp.proto b/proto/DelBackupAvatarTeamRsp.proto index b0d71c0e..f70749bc 100644 --- a/proto/DelBackupAvatarTeamRsp.proto +++ b/proto/DelBackupAvatarTeamRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DelBackupAvatarTeamRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1666; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HMFPBAACAFA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1756; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 backup_avatar_team_id = 9; - int32 retcode = 3; + uint32 backupAvatarTeamId = 11; + int32 retcode = 12; } diff --git a/proto/DelMailReq.proto b/proto/DelMailReq.proto index a61bde71..8cd7f664 100644 --- a/proto/DelMailReq.proto +++ b/proto/DelMailReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DelMailReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1443; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum MNJLNHLDKMG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1474; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated uint32 mail_id_list = 2; + repeated uint32 mailIdList = 13; } diff --git a/proto/DelMailRsp.proto b/proto/DelMailRsp.proto index a8e70ec2..26be8d85 100644 --- a/proto/DelMailRsp.proto +++ b/proto/DelMailRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DelMailRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1461; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MJHOLNPDOKE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1480; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 2; - repeated uint32 mail_id_list = 11; + int32 retcode = 7; + repeated uint32 mailIdList = 9; } diff --git a/proto/DelScenePlayTeamEntityNotify.proto b/proto/DelScenePlayTeamEntityNotify.proto new file mode 100644 index 00000000..42fb71a8 --- /dev/null +++ b/proto/DelScenePlayTeamEntityNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DelScenePlayTeamEntityNotify { + enum NECOFJCADFL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3203; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 sceneId = 9; + repeated uint32 delEntityIdList = 6; +} diff --git a/proto/DelTeamEntityNotify.proto b/proto/DelTeamEntityNotify.proto index ce7f3f06..897728e0 100644 --- a/proto/DelTeamEntityNotify.proto +++ b/proto/DelTeamEntityNotify.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DelTeamEntityNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 393; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum KOEAKIPCJJN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 363; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 del_entity_id_list = 14; - uint32 scene_id = 10; + uint32 sceneId = 15; + repeated uint32 delEntityIdList = 1; } diff --git a/proto/DeleteFriendNotify.proto b/proto/DeleteFriendNotify.proto index 708c577f..853b9255 100644 --- a/proto/DeleteFriendNotify.proto +++ b/proto/DeleteFriendNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DeleteFriendNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4073; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum LNEAOFJLJFJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4100; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 target_uid = 5; + uint32 targetUid = 8; } diff --git a/proto/DeleteFriendReq.proto b/proto/DeleteFriendReq.proto index 9279d2d8..73864b35 100644 --- a/proto/DeleteFriendReq.proto +++ b/proto/DeleteFriendReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DeleteFriendReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4027; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum EGKJOEALFON { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4024; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 target_uid = 6; + uint32 targetUid = 6; } diff --git a/proto/DeleteFriendRsp.proto b/proto/DeleteFriendRsp.proto index 08a4c9ee..12cae77d 100644 --- a/proto/DeleteFriendRsp.proto +++ b/proto/DeleteFriendRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DeleteFriendRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4039; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HJECHGCDNFI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4029; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 target_uid = 12; - int32 retcode = 2; + uint32 targetUid = 11; + int32 retcode = 3; } diff --git a/proto/DeliveryActivityDetailInfo.proto b/proto/DeliveryActivityDetailInfo.proto index 1060bfc6..91c62bd8 100644 --- a/proto/DeliveryActivityDetailInfo.proto +++ b/proto/DeliveryActivityDetailInfo.proto @@ -17,6 +17,7 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message DeliveryActivityDetailInfo { diff --git a/proto/DeliveryInfo.proto b/proto/DeliveryInfo.proto new file mode 100644 index 00000000..527e7a92 --- /dev/null +++ b/proto/DeliveryInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DeliveryInfo { + uint32 dayIndex = 6; + repeated uint32 finishedDeliveryQuestIndex = 7; + bool isTakenReward = 4; +} diff --git a/proto/DeshretObeliskChestInfo.proto b/proto/DeshretObeliskChestInfo.proto new file mode 100644 index 00000000..1c9a28fc --- /dev/null +++ b/proto/DeshretObeliskChestInfo.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DeshretObeliskChestInfo { + uint32 sceneId = 4; + uint32 configId = 13; + uint32 groupId = 11; + Rotation pos = 10; +} diff --git a/proto/DeshretObeliskChestInfoNotify.proto b/proto/DeshretObeliskChestInfoNotify.proto new file mode 100644 index 00000000..feda33eb --- /dev/null +++ b/proto/DeshretObeliskChestInfoNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "DeshretObeliskChestInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DeshretObeliskChestInfoNotify { + enum ABOJDFAFAIE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 807; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated DeshretObeliskChestInfo chestInfoList = 4; +} diff --git a/proto/DeshretObeliskGadgetInfo.proto b/proto/DeshretObeliskGadgetInfo.proto index c69939e2..c19530c8 100644 --- a/proto/DeshretObeliskGadgetInfo.proto +++ b/proto/DeshretObeliskGadgetInfo.proto @@ -1,24 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DeshretObeliskGadgetInfo { - repeated uint32 argument_list = 1; + repeated uint32 argumentList = 1; } diff --git a/proto/DestroyMassiveEntityNotify.proto b/proto/DestroyMassiveEntityNotify.proto new file mode 100644 index 00000000..342f1402 --- /dev/null +++ b/proto/DestroyMassiveEntityNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "ClientMassiveEntity.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DestroyMassiveEntityNotify { + enum NJBEJKONIMB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 383; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated ClientMassiveEntity massiveEntityList = 9; +} diff --git a/proto/DestroyMaterialReq.proto b/proto/DestroyMaterialReq.proto index 04a4b4ab..93762929 100644 --- a/proto/DestroyMaterialReq.proto +++ b/proto/DestroyMaterialReq.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "MaterialInfo.proto"; + +import "MaterialInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message DestroyMaterialReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 685; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum IAALDMPBIIM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 601; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated MaterialInfo material_list = 1; + repeated MaterialInfo materialList = 10; } diff --git a/proto/DestroyMaterialRsp.proto b/proto/DestroyMaterialRsp.proto index 3e024cfd..c0e5b785 100644 --- a/proto/DestroyMaterialRsp.proto +++ b/proto/DestroyMaterialRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DestroyMaterialRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 608; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum IEOFDMOHAPI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 637; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 item_id_list = 10; - repeated uint32 item_count_list = 12; - int32 retcode = 13; + repeated uint32 itemIdList = 7; + int32 retcode = 12; + repeated uint32 itemCountList = 13; } diff --git a/proto/DetectorData.proto b/proto/DetectorData.proto new file mode 100644 index 00000000..4452bd08 --- /dev/null +++ b/proto/DetectorData.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DetectorData { + bool isHintValid = 2; + uint32 configId = 9; + Rotation hintCenterPos = 3; + uint32 materialId = 10; + bool isAllCollected = 13; + uint32 groupId = 14; + uint32 hintRadius = 5; +} diff --git a/proto/DiceReroll.proto b/proto/DiceReroll.proto new file mode 100644 index 00000000..d0816b15 --- /dev/null +++ b/proto/DiceReroll.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "GCGDiceSideType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DiceReroll { + uint32 controllerId = 8; + repeated GCGDiceSideType diceSideList = 7; + repeated uint32 selectDiceIndexList = 13; +} diff --git a/proto/DiceRoll.proto b/proto/DiceRoll.proto new file mode 100644 index 00000000..c6000a87 --- /dev/null +++ b/proto/DiceRoll.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "GCGDiceSideType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DiceRoll { + uint32 controllerId = 8; + uint32 diceNum = 11; + repeated GCGDiceSideType diceSideList = 7; +} diff --git a/proto/DigActivityChangeGadgetStateReq.proto b/proto/DigActivityChangeGadgetStateReq.proto new file mode 100644 index 00000000..0193124a --- /dev/null +++ b/proto/DigActivityChangeGadgetStateReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DigActivityChangeGadgetStateReq { + enum FFAMMHGJEKH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8676; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 entityId = 6; +} diff --git a/proto/DigActivityChangeGadgetStateRsp.proto b/proto/DigActivityChangeGadgetStateRsp.proto new file mode 100644 index 00000000..6851ad14 --- /dev/null +++ b/proto/DigActivityChangeGadgetStateRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DigActivityChangeGadgetStateRsp { + enum IDNACLGGCNF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8810; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 5; + uint32 entityId = 14; +} diff --git a/proto/DigActivityDetailInfo.proto b/proto/DigActivityDetailInfo.proto index e1ec987b..a643eebd 100644 --- a/proto/DigActivityDetailInfo.proto +++ b/proto/DigActivityDetailInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "DigMarkPoint.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message DigActivityDetailInfo { diff --git a/proto/DigActivityMarkPointChangeNotify.proto b/proto/DigActivityMarkPointChangeNotify.proto new file mode 100644 index 00000000..49dd2d81 --- /dev/null +++ b/proto/DigActivityMarkPointChangeNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "DigMarkPoint.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DigActivityMarkPointChangeNotify { + enum PDOCNKGLODB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8508; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated DigMarkPoint digMarkPointList = 4; +} diff --git a/proto/DigInfo.proto b/proto/DigInfo.proto new file mode 100644 index 00000000..326dc885 --- /dev/null +++ b/proto/DigInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "DigMarkPoint.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DigInfo { + repeated uint32 stageIdList = 14; + repeated DigMarkPoint digMarkPointList = 2; + uint32 stageId = 10; +} diff --git a/proto/DigMarkPoint.proto b/proto/DigMarkPoint.proto index 040f1a66..14c3f92f 100644 --- a/proto/DigMarkPoint.proto +++ b/proto/DigMarkPoint.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message DigMarkPoint { - Vector pos = 11; - uint32 bundle_id = 3; - Vector rot = 14; + Rotation rot = 14; + Rotation pos = 2; + uint32 bundleId = 3; } diff --git a/proto/DisableRoguelikeTrapNotify.proto b/proto/DisableRoguelikeTrapNotify.proto new file mode 100644 index 00000000..2ab15975 --- /dev/null +++ b/proto/DisableRoguelikeTrapNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DisableRoguelikeTrapNotify { + enum NCCBEODMJMC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8726; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 cardId = 8; +} diff --git a/proto/DoGachaReq.proto b/proto/DoGachaReq.proto index 07163062..38996a70 100644 --- a/proto/DoGachaReq.proto +++ b/proto/DoGachaReq.proto @@ -1,37 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DoGachaReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1556; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum PCEMGEJGMDI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1587; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - string gacha_tag = 14; - uint32 gacha_schedule_id = 6; - uint32 gacha_type = 1; - uint32 gacha_random = 9; - uint32 gacha_times = 3; + uint32 gachaRandom = 12; + uint32 gachaType = 2; + uint32 gachaScheduleId = 3; + string gachaTag = 15; + uint32 gachaTimes = 10; } diff --git a/proto/DoGachaRsp.proto b/proto/DoGachaRsp.proto index e263d103..b47248df 100644 --- a/proto/DoGachaRsp.proto +++ b/proto/DoGachaRsp.proto @@ -1,52 +1,36 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "GachaItem.proto"; + +import "GachaItem.proto"; option java_package = "emu.grasscutter.net.proto"; message DoGachaRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1519; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HBDCDLMKCPD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1598; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - bool Unk3300_OHFMHIHJHPJ = 1812; - uint32 left_gacha_times = 3; - repeated GachaItem gacha_item_list = 9; - bool Unk3300_HBILIAEIHNK = 1887; - uint32 gacha_type = 10; - uint32 new_gacha_random = 6; - uint32 wish_progress = 1; - uint32 wish_max_progress = 5; - uint32 gacha_times = 4; - uint32 gacha_times_limit = 15; - uint32 wish_item_id = 12; - uint32 ten_cost_item_id = 13; - uint32 cost_item_num = 8; - uint32 ten_cost_item_num = 2; - uint32 cur_schedule_daily_gacha_times = 1550; - uint32 cost_item_id = 7; - uint32 gacha_schedule_id = 14; - uint32 daily_gacha_times = 467; - int32 retcode = 11; + uint32 leftGachaTimes = 7; + uint32 newGachaRandom = 9; + uint32 gachaType = 13; + uint32 gachaTimesLimit = 4; + uint32 costItemNum = 8; + repeated GachaItem gachaItemList = 3; + uint32 wishProgress = 12; + uint32 dailyGachaTimes = 112; + uint32 tenCostItemId = 5; + uint32 wishItemId = 10; + uint32 curScheduleDailyGachaTimes = 475; + uint32 tenCostItemNum = 11; + int32 retcode = 14; + uint32 gachaTimes = 15; + bool Unk3300_HBILIAEIHNK = 1849; + bool Unk3300_OHFMHIHJHPJ = 397; + uint32 gachaScheduleId = 2; + uint32 wishMaxProgress = 1; + uint32 costItemId = 6; } diff --git a/proto/DoRoguelikeDungeonCardGachaReq.proto b/proto/DoRoguelikeDungeonCardGachaReq.proto new file mode 100644 index 00000000..552e6902 --- /dev/null +++ b/proto/DoRoguelikeDungeonCardGachaReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DoRoguelikeDungeonCardGachaReq { + enum GGEHBAGNIOK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8752; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 cellId = 13; + uint32 dungeonId = 6; +} diff --git a/proto/DoRoguelikeDungeonCardGachaRsp.proto b/proto/DoRoguelikeDungeonCardGachaRsp.proto new file mode 100644 index 00000000..b95160d9 --- /dev/null +++ b/proto/DoRoguelikeDungeonCardGachaRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DoRoguelikeDungeonCardGachaRsp { + enum KDEHOIKFNNB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8820; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isCanRefresh = 7; + int32 retcode = 15; + repeated uint32 cardList = 8; +} diff --git a/proto/DoSetPlayerBornDataNotify.proto b/proto/DoSetPlayerBornDataNotify.proto index c270c79a..ef236a63 100644 --- a/proto/DoSetPlayerBornDataNotify.proto +++ b/proto/DoSetPlayerBornDataNotify.proto @@ -1,30 +1,16 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DoSetPlayerBornDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 176; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum CALNHJLOBKC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 139; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + } diff --git a/proto/DraftGuestReplyInviteNotify.proto b/proto/DraftGuestReplyInviteNotify.proto new file mode 100644 index 00000000..c51c6a35 --- /dev/null +++ b/proto/DraftGuestReplyInviteNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DraftGuestReplyInviteNotify { + enum MFEGBELFGPP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5470; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 guestUid = 13; + uint32 draftId = 15; + bool isAgree = 7; +} diff --git a/proto/DraftGuestReplyInviteReq.proto b/proto/DraftGuestReplyInviteReq.proto new file mode 100644 index 00000000..2697adf7 --- /dev/null +++ b/proto/DraftGuestReplyInviteReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DraftGuestReplyInviteReq { + enum PBDFCHILMPK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5474; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isAgree = 13; + uint32 draftId = 10; +} diff --git a/proto/DraftGuestReplyInviteRsp.proto b/proto/DraftGuestReplyInviteRsp.proto new file mode 100644 index 00000000..75ca443d --- /dev/null +++ b/proto/DraftGuestReplyInviteRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DraftGuestReplyInviteRsp { + enum NNJLOPDFBFK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5480; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 draftId = 4; + bool isAgree = 7; + int32 retcode = 2; +} diff --git a/proto/DraftGuestReplyTwiceConfirmNotify.proto b/proto/DraftGuestReplyTwiceConfirmNotify.proto new file mode 100644 index 00000000..75e9e8e8 --- /dev/null +++ b/proto/DraftGuestReplyTwiceConfirmNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DraftGuestReplyTwiceConfirmNotify { + enum MOKKGEHPGJK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5416; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isAgree = 5; + uint32 draftId = 6; + uint32 guestUid = 11; +} diff --git a/proto/DraftGuestReplyTwiceConfirmReq.proto b/proto/DraftGuestReplyTwiceConfirmReq.proto new file mode 100644 index 00000000..9a84a3fe --- /dev/null +++ b/proto/DraftGuestReplyTwiceConfirmReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DraftGuestReplyTwiceConfirmReq { + enum ICCGBEDAJPE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5424; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isAgree = 10; + uint32 draftId = 11; +} diff --git a/proto/DraftGuestReplyTwiceConfirmRsp.proto b/proto/DraftGuestReplyTwiceConfirmRsp.proto new file mode 100644 index 00000000..005245de --- /dev/null +++ b/proto/DraftGuestReplyTwiceConfirmRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DraftGuestReplyTwiceConfirmRsp { + enum DILHBEBBNHC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5429; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 3; + bool isAgree = 5; + uint32 draftId = 15; +} diff --git a/proto/DraftInviteFailInfo.proto b/proto/DraftInviteFailInfo.proto new file mode 100644 index 00000000..f7e27b79 --- /dev/null +++ b/proto/DraftInviteFailInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "DraftInviteFailReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DraftInviteFailInfo { + DraftInviteFailReason reason = 9; + uint32 uid = 1; +} diff --git a/proto/DraftInviteFailReason.proto b/proto/DraftInviteFailReason.proto new file mode 100644 index 00000000..a7686e97 --- /dev/null +++ b/proto/DraftInviteFailReason.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +enum DraftInviteFailReason { + DRAFT_INVITE_FAIL_REASON_UNKNOWN = 0; + DRAFT_INVITE_FAIL_REASON_ACTIVITY_NOT_OPEN = 1; + DRAFT_INVITE_FAIL_REASON_ACTIVITY_PLAY_NOT_OPEN = 2; + DRAFT_INVITE_FAIL_REASON_SCENE_NOT_MEET = 3; + DRAFT_INVITE_FAIL_REASON_WORLD_NOT_MEET = 4; + DRAFT_INVITE_FAIL_REASON_PLAY_LIMIT_NOT_MEET = 5; +} diff --git a/proto/DraftInviteResultNotify.proto b/proto/DraftInviteResultNotify.proto new file mode 100644 index 00000000..54eef4f0 --- /dev/null +++ b/proto/DraftInviteResultNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DraftInviteResultNotify { + enum KELFMBPAIKI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5462; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isAllAgree = 1; + uint32 draftId = 5; +} diff --git a/proto/DraftOwnerInviteNotify.proto b/proto/DraftOwnerInviteNotify.proto new file mode 100644 index 00000000..4b23faf6 --- /dev/null +++ b/proto/DraftOwnerInviteNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DraftOwnerInviteNotify { + enum GDCHMFMAEGI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5420; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 draftId = 9; + uint32 inviteDeadlineTime = 1; +} diff --git a/proto/DraftOwnerStartInviteReq.proto b/proto/DraftOwnerStartInviteReq.proto new file mode 100644 index 00000000..25cc8a95 --- /dev/null +++ b/proto/DraftOwnerStartInviteReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DraftOwnerStartInviteReq { + enum JLCKFEKJMDG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5487; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 draftId = 1; +} diff --git a/proto/DraftOwnerStartInviteRsp.proto b/proto/DraftOwnerStartInviteRsp.proto new file mode 100644 index 00000000..450d8922 --- /dev/null +++ b/proto/DraftOwnerStartInviteRsp.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "DraftInviteFailInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DraftOwnerStartInviteRsp { + enum KNMCBAGKHHM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5498; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated DraftInviteFailInfo inviteFailInfoList = 6; + int32 retcode = 11; + uint32 draftId = 9; + uint32 wrongUid = 15; +} diff --git a/proto/DraftOwnerTwiceConfirmNotify.proto b/proto/DraftOwnerTwiceConfirmNotify.proto new file mode 100644 index 00000000..466fc736 --- /dev/null +++ b/proto/DraftOwnerTwiceConfirmNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DraftOwnerTwiceConfirmNotify { + enum APMIOPBAHIP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5414; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 draftId = 15; + uint32 twiceConfirmDeadlineTime = 7; +} diff --git a/proto/DraftTwiceConfirmResultNotify.proto b/proto/DraftTwiceConfirmResultNotify.proto new file mode 100644 index 00000000..a4ada68d --- /dev/null +++ b/proto/DraftTwiceConfirmResultNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DraftTwiceConfirmResultNotify { + enum LEBGFMOMICL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5478; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isAllAgree = 15; + uint32 draftId = 7; +} diff --git a/proto/DragonSpineActivityDetailInfo.proto b/proto/DragonSpineActivityDetailInfo.proto index f244f603..31cf9807 100644 --- a/proto/DragonSpineActivityDetailInfo.proto +++ b/proto/DragonSpineActivityDetailInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "DragonSpineChapterInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message DragonSpineActivityDetailInfo { diff --git a/proto/DragonSpineChapterFinishNotify.proto b/proto/DragonSpineChapterFinishNotify.proto new file mode 100644 index 00000000..156ebe02 --- /dev/null +++ b/proto/DragonSpineChapterFinishNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DragonSpineChapterFinishNotify { + enum FHHHLJNDHLK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2132; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 scheduleId = 5; + uint32 weaponEnhanceLevel = 2; + uint32 chapterId = 9; +} diff --git a/proto/DragonSpineChapterInfo.proto b/proto/DragonSpineChapterInfo.proto index 79eaddee..94fc9952 100644 --- a/proto/DragonSpineChapterInfo.proto +++ b/proto/DragonSpineChapterInfo.proto @@ -1,28 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DragonSpineChapterInfo { - uint32 open_time = 1; - uint32 progress = 12; - uint32 chapter_id = 6; - uint32 finished_mission_num = 5; - bool is_open = 2; + uint32 finishedMissionNum = 7; + uint32 chapterId = 4; + bool isOpen = 6; + uint32 progress = 8; + uint32 openTime = 3; } diff --git a/proto/DragonSpineChapterOpenNotify.proto b/proto/DragonSpineChapterOpenNotify.proto new file mode 100644 index 00000000..3a0788aa --- /dev/null +++ b/proto/DragonSpineChapterOpenNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DragonSpineChapterOpenNotify { + enum HNFIEEJIJHJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2037; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 chapterId = 10; + uint32 scheduleId = 8; +} diff --git a/proto/DragonSpineChapterProgressChangeNotify.proto b/proto/DragonSpineChapterProgressChangeNotify.proto new file mode 100644 index 00000000..b56ced33 --- /dev/null +++ b/proto/DragonSpineChapterProgressChangeNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DragonSpineChapterProgressChangeNotify { + enum CGACJMNBCBA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2086; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 chapterId = 8; + uint32 curProgress = 5; + uint32 scheduleId = 15; +} diff --git a/proto/DragonSpineCoinChangeNotify.proto b/proto/DragonSpineCoinChangeNotify.proto new file mode 100644 index 00000000..1a86d533 --- /dev/null +++ b/proto/DragonSpineCoinChangeNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DragonSpineCoinChangeNotify { + enum FNJPMJCMKPB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2067; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 Unk3300_FOHJDGCAKEK = 7; + uint32 scheduleId = 14; + uint32 Unk3300_IMLKIJAOADF = 1; + uint32 Unk3300_NEOCMGJCEOJ = 5; +} diff --git a/proto/DragonSpineInfo.proto b/proto/DragonSpineInfo.proto new file mode 100644 index 00000000..0eacb762 --- /dev/null +++ b/proto/DragonSpineInfo.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "DragonSpineChapterInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DragonSpineInfo { + uint32 Unk3300_PPABOFMIGNM = 14; + uint32 Unk3300_IMLKIJAOADF = 5; + uint32 Unk3300_FOHJDGCAKEK = 1; + uint32 Unk3300_NEOCMGJCEOJ = 7; + bool leftMonsters = 2; + repeated DragonSpineChapterInfo chapterInfoList = 9; + uint32 weaponEnhanceLevel = 15; +} diff --git a/proto/DropHintNotify.proto b/proto/DropHintNotify.proto index a48f8a3a..d6d58437 100644 --- a/proto/DropHintNotify.proto +++ b/proto/DropHintNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message DropHintNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 646; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MDFCGFMGDNI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 642; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 item_id_list = 12; - Vector position = 9; + Rotation position = 9; + repeated uint32 itemIdList = 10; } diff --git a/proto/DropItemReq.proto b/proto/DropItemReq.proto index a444378e..e9e88307 100644 --- a/proto/DropItemReq.proto +++ b/proto/DropItemReq.proto @@ -1,39 +1,23 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "StoreType.proto"; -import "Vector.proto"; + +import "StoreType.proto"; +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message DropItemReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 657; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum IIBGKJMMEHJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 614; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - Vector pos = 12; - StoreType store_type = 13; - uint32 count = 4; - uint64 guid = 9; + uint64 guid = 10; + uint32 count = 3; + StoreType storeType = 12; + Rotation pos = 13; } diff --git a/proto/DropItemRsp.proto b/proto/DropItemRsp.proto index 8b5909f0..f1b747b4 100644 --- a/proto/DropItemRsp.proto +++ b/proto/DropItemRsp.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "StoreType.proto"; + +import "StoreType.proto"; option java_package = "emu.grasscutter.net.proto"; message DropItemRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 627; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum IGMCJGLJOPD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 624; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint64 guid = 6; - int32 retcode = 4; - StoreType store_type = 2; + StoreType storeType = 14; + uint64 guid = 9; + int32 retcode = 10; } diff --git a/proto/Duel.proto b/proto/Duel.proto new file mode 100644 index 00000000..968ce2c6 --- /dev/null +++ b/proto/Duel.proto @@ -0,0 +1,38 @@ +syntax = "proto3"; + + + +import "GCGCostReviseInfo.proto"; +import "GCGGameBusinessType.proto"; +import "GCGPhase.proto"; +import "GCGCard.proto"; +import "GCGMessagePack.proto"; +import "GCGControllerShowInfo.proto"; +import "Unk3300_ADHENCIFKNI.proto"; +import "GCGPVEIntention.proto"; +import "GCGPlayerField.proto"; +import "GCGDuelChallenge.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message Duel { + repeated GCGCard cardList = 1; + uint32 Unk3300_JHDDNKFPINA = 5; + repeated uint32 forbidFinishChallengeList = 1985; + repeated GCGCard historyCardList = 1326; + repeated GCGMessagePack historyMsgPackList = 1636; + uint32 Unk3300_BIANMOPDEHO = 14; + repeated GCGControllerShowInfo showInfoList = 10; + repeated Unk3300_ADHENCIFKNI Unk3300_CDCMBOKBLAK = 1950; + repeated GCGPVEIntention intentionList = 15; + GCGCostReviseInfo costRevise = 6; + uint32 controllerId = 2; + repeated GCGPlayerField fieldList = 3; + GCGGameBusinessType businessType = 7; + GCGPhase phase = 8; + repeated GCGDuelChallenge challengeList = 37; + repeated uint32 cardIdList = 12; + uint32 serverSeq = 11; + uint32 round = 4; + uint32 gameId = 9; + uint32 Unk3300_JBBMBKGOONO = 13; +} diff --git a/proto/DuelDataChange.proto b/proto/DuelDataChange.proto new file mode 100644 index 00000000..e674d5ba --- /dev/null +++ b/proto/DuelDataChange.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DuelDataChange { + uint32 round = 8; +} diff --git a/proto/DuelHeartCgEndNotify.proto b/proto/DuelHeartCgEndNotify.proto new file mode 100644 index 00000000..954340d1 --- /dev/null +++ b/proto/DuelHeartCgEndNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DuelHeartCgEndNotify { + enum ACIAFBKGECB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20166; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/DuelHeartEnterDungeonReq.proto b/proto/DuelHeartEnterDungeonReq.proto new file mode 100644 index 00000000..8ea0e60e --- /dev/null +++ b/proto/DuelHeartEnterDungeonReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DuelHeartEnterDungeonReq { + enum DHEJCFIKBCL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23310; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 levelId = 13; +} diff --git a/proto/DuelHeartEnterDungeonRsp.proto b/proto/DuelHeartEnterDungeonRsp.proto new file mode 100644 index 00000000..bdd73608 --- /dev/null +++ b/proto/DuelHeartEnterDungeonRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DuelHeartEnterDungeonRsp { + enum JKGELIPJMOD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 22551; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; +} diff --git a/proto/DuelHeartInfo.proto b/proto/DuelHeartInfo.proto new file mode 100644 index 00000000..9f358c94 --- /dev/null +++ b/proto/DuelHeartInfo.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DuelHeartInfo { + uint32 difficulty = 3; +} diff --git a/proto/DuelHeartRestartDungeonReq.proto b/proto/DuelHeartRestartDungeonReq.proto new file mode 100644 index 00000000..1bf1f332 --- /dev/null +++ b/proto/DuelHeartRestartDungeonReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DuelHeartRestartDungeonReq { + enum MDMJNFMIGFD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21530; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/DuelHeartRestartDungeonRsp.proto b/proto/DuelHeartRestartDungeonRsp.proto new file mode 100644 index 00000000..5f249fd1 --- /dev/null +++ b/proto/DuelHeartRestartDungeonRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DuelHeartRestartDungeonRsp { + enum IKGKHMFBPBO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 22153; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 5; +} diff --git a/proto/DuelHeartSelectDifficultyReq.proto b/proto/DuelHeartSelectDifficultyReq.proto new file mode 100644 index 00000000..810fc9cf --- /dev/null +++ b/proto/DuelHeartSelectDifficultyReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DuelHeartSelectDifficultyReq { + enum PPBLCFIDCFN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23596; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 difficulty = 2; +} diff --git a/proto/DuelHeartSelectDifficultyRsp.proto b/proto/DuelHeartSelectDifficultyRsp.proto new file mode 100644 index 00000000..1c6ceba1 --- /dev/null +++ b/proto/DuelHeartSelectDifficultyRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DuelHeartSelectDifficultyRsp { + enum KPFDDJIABAD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21405; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 8; +} diff --git a/proto/DuelHeartSettleNotify.proto b/proto/DuelHeartSettleNotify.proto new file mode 100644 index 00000000..e2074d1f --- /dev/null +++ b/proto/DuelHeartSettleNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DuelHeartSettleNotify { + enum DCPKPJOKOHK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20655; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isNewRecord = 4; + bool isSucc = 5; + uint32 costTime = 1; +} diff --git a/proto/DungeonCandidateTeamAvatar.proto b/proto/DungeonCandidateTeamAvatar.proto new file mode 100644 index 00000000..ea14dd84 --- /dev/null +++ b/proto/DungeonCandidateTeamAvatar.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "AvatarInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DungeonCandidateTeamAvatar { + uint32 playerUid = 5; + AvatarInfo avatarInfo = 8; +} diff --git a/proto/DungeonCandidateTeamChangeAvatarReq.proto b/proto/DungeonCandidateTeamChangeAvatarReq.proto index ee828bdf..1ac7c28c 100644 --- a/proto/DungeonCandidateTeamChangeAvatarReq.proto +++ b/proto/DungeonCandidateTeamChangeAvatarReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DungeonCandidateTeamChangeAvatarReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 982; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum MHOEJLKIPOE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 936; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated uint64 avatar_guid_list = 7; + repeated uint64 avatarGuidList = 5; } diff --git a/proto/DungeonCandidateTeamChangeAvatarRsp.proto b/proto/DungeonCandidateTeamChangeAvatarRsp.proto index deb29431..a0dc6ae3 100644 --- a/proto/DungeonCandidateTeamChangeAvatarRsp.proto +++ b/proto/DungeonCandidateTeamChangeAvatarRsp.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DungeonCandidateTeamChangeAvatarRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 911; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum PLHPMPPNHMO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 994; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 11; + int32 retcode = 10; } diff --git a/proto/DungeonCandidateTeamCreateReq.proto b/proto/DungeonCandidateTeamCreateReq.proto new file mode 100644 index 00000000..0efe363e --- /dev/null +++ b/proto/DungeonCandidateTeamCreateReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonCandidateTeamCreateReq { + enum FOPCKCAPOLG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 945; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 dungeonId = 8; + uint32 pointId = 12; +} diff --git a/proto/DungeonCandidateTeamCreateRsp.proto b/proto/DungeonCandidateTeamCreateRsp.proto new file mode 100644 index 00000000..04990567 --- /dev/null +++ b/proto/DungeonCandidateTeamCreateRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonCandidateTeamCreateRsp { + enum LNHBJKPDCHB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 985; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 12; +} diff --git a/proto/DungeonCandidateTeamDismissNotify.proto b/proto/DungeonCandidateTeamDismissNotify.proto new file mode 100644 index 00000000..e7fd0e94 --- /dev/null +++ b/proto/DungeonCandidateTeamDismissNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "DungeonCandidateTeamPlayerDismissReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DungeonCandidateTeamDismissNotify { + enum HFEANILHKJP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 922; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 playerUid = 3; + DungeonCandidateTeamPlayerDismissReason reason = 4; +} diff --git a/proto/DungeonCandidateTeamInfoNotify.proto b/proto/DungeonCandidateTeamInfoNotify.proto new file mode 100644 index 00000000..804fed45 --- /dev/null +++ b/proto/DungeonCandidateTeamInfoNotify.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +import "DungeonCandidateTeamAvatar.proto"; +import "DungeonCandidateTeamPlayerState.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DungeonCandidateTeamInfoNotify { + enum DBHENGJMANB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 918; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 dungeonId = 9; + repeated DungeonCandidateTeamAvatar avatarList = 8; + repeated uint32 readyPlayerUid = 11; + uint32 matchType = 2; + map playerStateMap = 15; +} diff --git a/proto/DungeonCandidateTeamInviteNotify.proto b/proto/DungeonCandidateTeamInviteNotify.proto new file mode 100644 index 00000000..07bc2d84 --- /dev/null +++ b/proto/DungeonCandidateTeamInviteNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonCandidateTeamInviteNotify { + enum HODGCDLNFPG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 975; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 dungeonId = 15; + uint32 playerUid = 9; + uint32 validDeadlineTimeSec = 4; +} diff --git a/proto/DungeonCandidateTeamInviteReq.proto b/proto/DungeonCandidateTeamInviteReq.proto new file mode 100644 index 00000000..aca24d51 --- /dev/null +++ b/proto/DungeonCandidateTeamInviteReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonCandidateTeamInviteReq { + enum OOHLDBKPHDC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 951; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 playerUids = 11; +} diff --git a/proto/DungeonCandidateTeamInviteRsp.proto b/proto/DungeonCandidateTeamInviteRsp.proto new file mode 100644 index 00000000..b4dbf22c --- /dev/null +++ b/proto/DungeonCandidateTeamInviteRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonCandidateTeamInviteRsp { + enum ALIACMCCKPP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 942; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 invalidPlayerUids = 4; + int32 retcode = 13; +} diff --git a/proto/DungeonCandidateTeamKickReq.proto b/proto/DungeonCandidateTeamKickReq.proto new file mode 100644 index 00000000..38b18b64 --- /dev/null +++ b/proto/DungeonCandidateTeamKickReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonCandidateTeamKickReq { + enum ICKNJIBDCMK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 950; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 playerUid = 14; +} diff --git a/proto/DungeonCandidateTeamKickRsp.proto b/proto/DungeonCandidateTeamKickRsp.proto new file mode 100644 index 00000000..c33e5044 --- /dev/null +++ b/proto/DungeonCandidateTeamKickRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonCandidateTeamKickRsp { + enum OIINDECIBLD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 930; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 13; +} diff --git a/proto/DungeonCandidateTeamLeaveReq.proto b/proto/DungeonCandidateTeamLeaveReq.proto new file mode 100644 index 00000000..cf275087 --- /dev/null +++ b/proto/DungeonCandidateTeamLeaveReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonCandidateTeamLeaveReq { + enum NDONFCCLECL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 943; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/DungeonCandidateTeamLeaveRsp.proto b/proto/DungeonCandidateTeamLeaveRsp.proto new file mode 100644 index 00000000..efdb3980 --- /dev/null +++ b/proto/DungeonCandidateTeamLeaveRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonCandidateTeamLeaveRsp { + enum GLCANOEGILM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 935; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; +} diff --git a/proto/DungeonCandidateTeamPlayerDismissReason.proto b/proto/DungeonCandidateTeamPlayerDismissReason.proto new file mode 100644 index 00000000..281e8eae --- /dev/null +++ b/proto/DungeonCandidateTeamPlayerDismissReason.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum DungeonCandidateTeamPlayerDismissReason { + DUNGEON_CANDIDATE_TEAM_PLAYER_DISMISS_REASON_TPDR_NORMAL = 0; + DUNGEON_CANDIDATE_TEAM_PLAYER_DISMISS_REASON_TPDR_DIE = 1; + DUNGEON_CANDIDATE_TEAM_PLAYER_DISMISS_REASON_TPDR_DISCONNECT = 2; +} diff --git a/proto/DungeonCandidateTeamPlayerLeaveNotify.proto b/proto/DungeonCandidateTeamPlayerLeaveNotify.proto new file mode 100644 index 00000000..983b5c43 --- /dev/null +++ b/proto/DungeonCandidateTeamPlayerLeaveNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "DungeonCandidateTeamPlayerLeaveReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DungeonCandidateTeamPlayerLeaveNotify { + enum GBCDMANHHJE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 973; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + DungeonCandidateTeamPlayerLeaveReason reason = 2; + uint32 playerUid = 12; +} diff --git a/proto/DungeonCandidateTeamPlayerLeaveReason.proto b/proto/DungeonCandidateTeamPlayerLeaveReason.proto new file mode 100644 index 00000000..733d9473 --- /dev/null +++ b/proto/DungeonCandidateTeamPlayerLeaveReason.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +enum DungeonCandidateTeamPlayerLeaveReason { + DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_TPLR_NORMAL = 0; + DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_TPLR_DIE = 1; + DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_TPLR_BE_KICK = 2; + DUNGEON_CANDIDATE_TEAM_PLAYER_LEAVE_REASON_TPLR_DISCONNECT = 3; +} diff --git a/proto/DungeonCandidateTeamPlayerState.proto b/proto/DungeonCandidateTeamPlayerState.proto new file mode 100644 index 00000000..b05bcf41 --- /dev/null +++ b/proto/DungeonCandidateTeamPlayerState.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum DungeonCandidateTeamPlayerState { + DUNGEON_CANDIDATE_TEAM_PLAYER_STATE_IDLE = 0; + DUNGEON_CANDIDATE_TEAM_PLAYER_STATE_CHANGING_AV_ATAR = 1; + DUNGEON_CANDIDATE_TEAM_PLAYER_STATE_READY = 2; +} diff --git a/proto/DungeonCandidateTeamRefuseNotify.proto b/proto/DungeonCandidateTeamRefuseNotify.proto new file mode 100644 index 00000000..24151888 --- /dev/null +++ b/proto/DungeonCandidateTeamRefuseNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonCandidateTeamRefuseNotify { + enum PGLCDOFPPOP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 928; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 playerUid = 10; +} diff --git a/proto/DungeonCandidateTeamReplyInviteReq.proto b/proto/DungeonCandidateTeamReplyInviteReq.proto new file mode 100644 index 00000000..6ed8a1cf --- /dev/null +++ b/proto/DungeonCandidateTeamReplyInviteReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonCandidateTeamReplyInviteReq { + enum IPHFJLNEGHL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 907; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isAccept = 3; +} diff --git a/proto/DungeonCandidateTeamReplyInviteRsp.proto b/proto/DungeonCandidateTeamReplyInviteRsp.proto new file mode 100644 index 00000000..794c653e --- /dev/null +++ b/proto/DungeonCandidateTeamReplyInviteRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonCandidateTeamReplyInviteRsp { + enum MGFIHEDCGOJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 952; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isTransPoint = 2; + int32 retcode = 1; +} diff --git a/proto/DungeonCandidateTeamSetChangingAvatarReq.proto b/proto/DungeonCandidateTeamSetChangingAvatarReq.proto new file mode 100644 index 00000000..beee3f8f --- /dev/null +++ b/proto/DungeonCandidateTeamSetChangingAvatarReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonCandidateTeamSetChangingAvatarReq { + enum MCOGCNOEKLM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 937; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isChangingAvatar = 4; +} diff --git a/proto/DungeonCandidateTeamSetChangingAvatarRsp.proto b/proto/DungeonCandidateTeamSetChangingAvatarRsp.proto new file mode 100644 index 00000000..54f82463 --- /dev/null +++ b/proto/DungeonCandidateTeamSetChangingAvatarRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonCandidateTeamSetChangingAvatarRsp { + enum BOLLLGFBBCI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 984; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 10; +} diff --git a/proto/DungeonCandidateTeamSetReadyReq.proto b/proto/DungeonCandidateTeamSetReadyReq.proto new file mode 100644 index 00000000..08dd0c2c --- /dev/null +++ b/proto/DungeonCandidateTeamSetReadyReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonCandidateTeamSetReadyReq { + enum OPODDEPOOFE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 903; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isReady = 1; +} diff --git a/proto/DungeonCandidateTeamSetReadyRsp.proto b/proto/DungeonCandidateTeamSetReadyRsp.proto new file mode 100644 index 00000000..c72494ff --- /dev/null +++ b/proto/DungeonCandidateTeamSetReadyRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonCandidateTeamSetReadyRsp { + enum OFCNMNMKDIL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 953; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; +} diff --git a/proto/DungeonChallengeBeginNotify.proto b/proto/DungeonChallengeBeginNotify.proto index 9539b77d..48a78455 100644 --- a/proto/DungeonChallengeBeginNotify.proto +++ b/proto/DungeonChallengeBeginNotify.proto @@ -1,37 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DungeonChallengeBeginNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 976; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum IKGKEPLGFFC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 939; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 challenge_index = 3; - uint32 father_index = 13; - uint32 group_id = 15; - repeated uint32 uid_list = 8; - uint32 challenge_id = 7; - repeated uint32 param_list = 2; + uint32 challengeId = 3; + uint32 challengeIndex = 2; + uint32 groupId = 6; + uint32 fatherIndex = 7; + repeated uint32 uidList = 12; + repeated uint32 paramList = 14; } diff --git a/proto/DungeonChallengeFinishNotify.proto b/proto/DungeonChallengeFinishNotify.proto index 5c370857..a881e920 100644 --- a/proto/DungeonChallengeFinishNotify.proto +++ b/proto/DungeonChallengeFinishNotify.proto @@ -1,52 +1,36 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "ChallengeFinishType.proto"; -import "ChannelerSlabLoopDungeonResultInfo.proto"; -import "CustomDungeonResultInfo.proto"; +import "ChannellerSlabLoopDungeonResultInfo.proto"; import "EffigyChallengeDungeonResultInfo.proto"; import "PotionDungeonResultInfo.proto"; +import "CustomDungeonResultInfo.proto"; import "StrengthenPointData.proto"; - option java_package = "emu.grasscutter.net.proto"; message DungeonChallengeFinishNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 916; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum ENNDHCIICGB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 946; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - bool is_new_record = 9; - uint32 current_value = 5; - ChallengeFinishType finish_type = 3; - map strengthen_point_data_map = 11; - uint32 challenge_record_type = 2; - bool is_success = 8; - uint32 challenge_index = 12; - uint32 time_cost = 7; - oneof detail { - ChannelerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1545; - EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 76; - PotionDungeonResultInfo potion_dungeon_result_info = 216; - CustomDungeonResultInfo custom_dungeon_result_info = 1678; - } + uint32 challengeIndex = 8; + ChallengeFinishType finishType = 13; + bool isSuccess = 6; + uint32 challengeRecordType = 5; + bool isNewRecord = 3; + uint32 currentValue = 9; + uint32 timeCost = 11; + map strengthenPointDataMap = 7; + oneof NPHEJFPOMFG { + ChannellerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1867; + EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 942; + PotionDungeonResultInfo potion_dungeon_result_info = 709; + CustomDungeonResultInfo custom_dungeon_result_info = 41; + } } diff --git a/proto/DungeonDataNotify.proto b/proto/DungeonDataNotify.proto new file mode 100644 index 00000000..03be65c7 --- /dev/null +++ b/proto/DungeonDataNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonDataNotify { + enum NGHIOIPHHIA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 906; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + map dungeonDataMap = 6; +} diff --git a/proto/DungeonDieOptionReq.proto b/proto/DungeonDieOptionReq.proto new file mode 100644 index 00000000..c6d4a8e0 --- /dev/null +++ b/proto/DungeonDieOptionReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "PlayerDieOption.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DungeonDieOptionReq { + enum LFBCHPDCDDJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 929; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + PlayerDieOption dieOption = 3; + bool isQuitImmediately = 11; +} diff --git a/proto/DungeonDieOptionRsp.proto b/proto/DungeonDieOptionRsp.proto new file mode 100644 index 00000000..6749b17e --- /dev/null +++ b/proto/DungeonDieOptionRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "PlayerDieOption.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DungeonDieOptionRsp { + enum EKKHFALCGCJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 978; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 15; + PlayerDieOption dieOption = 4; + uint32 reviveCount = 10; +} diff --git a/proto/DungeonEnterPosInfo.proto b/proto/DungeonEnterPosInfo.proto index 567c30dc..e78ce07b 100644 --- a/proto/DungeonEnterPosInfo.proto +++ b/proto/DungeonEnterPosInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DungeonEnterPosInfo { - uint32 quest_id = 6; - uint32 point_id = 14; + uint32 questId = 15; + uint32 pointId = 7; } diff --git a/proto/DungeonEntryBlockReason.proto b/proto/DungeonEntryBlockReason.proto new file mode 100644 index 00000000..ebab6c05 --- /dev/null +++ b/proto/DungeonEntryBlockReason.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +enum DungeonEntryBlockReason { + DUNGEON_ENTRY_BLOCK_REASON_NONE = 0; + DUNGEON_ENTRY_BLOCK_REASON_LEVEL = 1; + DUNGEON_ENTRY_BLOCK_REASON_QUEST = 2; + DUNGEON_ENTRY_BLOCK_REASON_MULTIPLE = 3; +} diff --git a/proto/DungeonEntryCond.proto b/proto/DungeonEntryCond.proto new file mode 100644 index 00000000..b669dae7 --- /dev/null +++ b/proto/DungeonEntryCond.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "DungeonEntryBlockReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DungeonEntryCond { + DungeonEntryBlockReason condReason = 14; + uint32 param1 = 12; +} diff --git a/proto/DungeonEntryInfo.proto b/proto/DungeonEntryInfo.proto index 8625b030..69a65381 100644 --- a/proto/DungeonEntryInfo.proto +++ b/proto/DungeonEntryInfo.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "WeeklyBossResinDiscountInfo.proto"; + +import "WeeklyBossResinDiscountInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message DungeonEntryInfo { - uint32 end_time = 14; - uint32 max_boss_chest_num = 9; - bool is_passed = 13; - WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 6; - uint32 dungeon_id = 8; - uint32 left_times = 5; - uint32 next_refresh_time = 10; - uint32 next_boss_chest_refresh_time = 3; - uint32 start_time = 11; + uint32 maxBossChestNum = 10; + uint32 startTime = 1; + uint32 leftTimes = 6; + uint32 endTime = 14; + WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 13; + uint32 dungeonId = 3; + uint32 nextBossChestRefreshTime = 5; + bool isPassed = 2; + uint32 nextRefreshTime = 8; } diff --git a/proto/DungeonEntryInfoReq.proto b/proto/DungeonEntryInfoReq.proto index 91f6c07a..299d0752 100644 --- a/proto/DungeonEntryInfoReq.proto +++ b/proto/DungeonEntryInfoReq.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Uint32Pair.proto"; + +import "Uint32Pair.proto"; option java_package = "emu.grasscutter.net.proto"; message DungeonEntryInfoReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 979; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum EHLGNPMDHDF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 905; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 scene_id = 2; - repeated Uint32Pair scene_point_id_list = 3; - uint32 point_id = 14; + uint32 pointId = 14; + repeated Uint32Pair scenePointIdList = 12; + uint32 sceneId = 3; } diff --git a/proto/DungeonEntryInfoRsp.proto b/proto/DungeonEntryInfoRsp.proto index 0e8899d5..e8a6089c 100644 --- a/proto/DungeonEntryInfoRsp.proto +++ b/proto/DungeonEntryInfoRsp.proto @@ -1,39 +1,23 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "DungeonEntryInfo.proto"; -import "DungeonEntryPointInfo.proto"; + +import "DungeonEntryPointInfo.proto"; +import "DungeonEntryInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message DungeonEntryInfoRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 930; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum IPOKDKJPIAO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 955; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated DungeonEntryInfo dungeon_entry_list = 8; - uint32 recommend_dungeon_id = 15; - repeated DungeonEntryPointInfo dungeon_entry_point_list = 10; - int32 retcode = 14; - uint32 point_id = 12; + repeated DungeonEntryPointInfo dungeonEntryPointList = 5; + uint32 recommendDungeonId = 4; + uint32 pointId = 7; + repeated DungeonEntryInfo dungeonEntryList = 1; + int32 retcode = 3; } diff --git a/proto/DungeonEntryPointInfo.proto b/proto/DungeonEntryPointInfo.proto index 62f83b9b..a8158c08 100644 --- a/proto/DungeonEntryPointInfo.proto +++ b/proto/DungeonEntryPointInfo.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "DungeonEntryInfo.proto"; + +import "DungeonEntryInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message DungeonEntryPointInfo { - uint32 scene_id = 12; - repeated DungeonEntryInfo dungeon_entry_list = 14; - uint32 recommend_dungeon_id = 4; - uint32 point_id = 1; + uint32 sceneId = 1; + uint32 pointId = 15; + repeated DungeonEntryInfo dungeonEntryList = 5; + uint32 recommendDungeonId = 7; } diff --git a/proto/DungeonEntryToBeExploreNotify.proto b/proto/DungeonEntryToBeExploreNotify.proto new file mode 100644 index 00000000..b2ec257f --- /dev/null +++ b/proto/DungeonEntryToBeExploreNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonEntryToBeExploreNotify { + enum KNJKHGDNHID { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3446; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 sceneId = 9; + uint32 dungeonEntryScenePointId = 6; + uint32 dungeonEntryConfigId = 4; +} diff --git a/proto/DungeonFollowNotify.proto b/proto/DungeonFollowNotify.proto new file mode 100644 index 00000000..f20a96ac --- /dev/null +++ b/proto/DungeonFollowNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonFollowNotify { + enum CLEIEEBDJNI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 992; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 targetUid = 9; +} diff --git a/proto/DungeonGetStatueDropReq.proto b/proto/DungeonGetStatueDropReq.proto new file mode 100644 index 00000000..cd02cdb0 --- /dev/null +++ b/proto/DungeonGetStatueDropReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonGetStatueDropReq { + enum JCNBHFJPNCL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 988; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/DungeonGetStatueDropRsp.proto b/proto/DungeonGetStatueDropRsp.proto new file mode 100644 index 00000000..9d1d7b39 --- /dev/null +++ b/proto/DungeonGetStatueDropRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonGetStatueDropRsp { + enum MOJDOMCKKAA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 925; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; +} diff --git a/proto/DungeonInterruptChallengeReq.proto b/proto/DungeonInterruptChallengeReq.proto new file mode 100644 index 00000000..91fe9988 --- /dev/null +++ b/proto/DungeonInterruptChallengeReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonInterruptChallengeReq { + enum FPKAOOCIPDI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 927; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 groupId = 13; + uint32 challengeId = 1; + uint32 challengeIndex = 11; +} diff --git a/proto/DungeonInterruptChallengeRsp.proto b/proto/DungeonInterruptChallengeRsp.proto new file mode 100644 index 00000000..725f8289 --- /dev/null +++ b/proto/DungeonInterruptChallengeRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonInterruptChallengeRsp { + enum CLOMHHDDPLI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 963; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 groupId = 7; + uint32 challengeId = 10; + uint32 challengeIndex = 3; + int32 retcode = 13; +} diff --git a/proto/DungeonPlayerDieNotify.proto b/proto/DungeonPlayerDieNotify.proto new file mode 100644 index 00000000..e3713831 --- /dev/null +++ b/proto/DungeonPlayerDieNotify.proto @@ -0,0 +1,28 @@ +syntax = "proto3"; + + + +import "PlayerDieType.proto"; +import "StrengthenPointData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DungeonPlayerDieNotify { + enum MFAFMCMKDDB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 924; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + PlayerDieType dieType = 15; + uint32 murdererEntityId = 5; + uint32 waitTime = 3; + map strengthenPointDataMap = 12; + uint32 reviveCount = 8; + oneof HKBHDMODHCA { + uint32 monster_id = 10; + uint32 gadget_id = 7; + } + uint32 dungeonId = 6; +} diff --git a/proto/DungeonPlayerDieReq.proto b/proto/DungeonPlayerDieReq.proto new file mode 100644 index 00000000..e6766312 --- /dev/null +++ b/proto/DungeonPlayerDieReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "PlayerDieType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DungeonPlayerDieReq { + enum MAHLGPOEAMD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 913; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 dungeonId = 14; + PlayerDieType dieType = 1; +} diff --git a/proto/DungeonPlayerDieRsp.proto b/proto/DungeonPlayerDieRsp.proto new file mode 100644 index 00000000..58245cfb --- /dev/null +++ b/proto/DungeonPlayerDieRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonPlayerDieRsp { + enum CGFJGGMFKLA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 969; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; +} diff --git a/proto/DungeonRestartInviteNotify.proto b/proto/DungeonRestartInviteNotify.proto new file mode 100644 index 00000000..ae4c4640 --- /dev/null +++ b/proto/DungeonRestartInviteNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonRestartInviteNotify { + enum GAKFHACEJCA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 990; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 cd = 11; + uint32 playerUid = 1; + uint32 dungeonId = 7; + uint32 pointId = 14; +} diff --git a/proto/DungeonRestartInviteReplyNotify.proto b/proto/DungeonRestartInviteReplyNotify.proto new file mode 100644 index 00000000..99066c6b --- /dev/null +++ b/proto/DungeonRestartInviteReplyNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonRestartInviteReplyNotify { + enum NJIFOEPPIGA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 967; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isAccept = 8; + uint32 playerUid = 1; +} diff --git a/proto/DungeonRestartInviteReplyReq.proto b/proto/DungeonRestartInviteReplyReq.proto new file mode 100644 index 00000000..f12426a6 --- /dev/null +++ b/proto/DungeonRestartInviteReplyReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonRestartInviteReplyReq { + enum JDJIKAOJOIE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 954; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isAccept = 1; +} diff --git a/proto/DungeonRestartInviteReplyRsp.proto b/proto/DungeonRestartInviteReplyRsp.proto new file mode 100644 index 00000000..1118899d --- /dev/null +++ b/proto/DungeonRestartInviteReplyRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonRestartInviteReplyRsp { + enum GGNKAFEAOMG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 995; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isTransPoint = 14; + bool isAccept = 9; + int32 retcode = 5; +} diff --git a/proto/DungeonRestartReq.proto b/proto/DungeonRestartReq.proto new file mode 100644 index 00000000..8301aeba --- /dev/null +++ b/proto/DungeonRestartReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonRestartReq { + enum HGECHMICOKP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 915; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/DungeonRestartResultNotify.proto b/proto/DungeonRestartResultNotify.proto new file mode 100644 index 00000000..def87f12 --- /dev/null +++ b/proto/DungeonRestartResultNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonRestartResultNotify { + enum PMANCBLLHHM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 901; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isAddAccept = 11; +} diff --git a/proto/DungeonRestartRsp.proto b/proto/DungeonRestartRsp.proto new file mode 100644 index 00000000..4f85b162 --- /dev/null +++ b/proto/DungeonRestartRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonRestartRsp { + enum JKBHGPBACPD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 956; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 dungeonId = 6; + int32 retcode = 4; + uint32 pointId = 1; +} diff --git a/proto/DungeonReviseLevelNotify.proto b/proto/DungeonReviseLevelNotify.proto new file mode 100644 index 00000000..c21e7b77 --- /dev/null +++ b/proto/DungeonReviseLevelNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message DungeonReviseLevelNotify { + enum FOMJMOBFJHH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 991; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 reviseLevel = 11; + uint32 sceneLevel = 13; + uint32 dungeonId = 12; +} diff --git a/proto/DungeonSettleExhibitionInfo.proto b/proto/DungeonSettleExhibitionInfo.proto index c68b272c..72d22bdc 100644 --- a/proto/DungeonSettleExhibitionInfo.proto +++ b/proto/DungeonSettleExhibitionInfo.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ExhibitionDisplayInfo.proto"; -import "OnlinePlayerInfo.proto"; + +import "OnlinePlayerInfo.proto"; +import "ExhibitionDisplayInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message DungeonSettleExhibitionInfo { - OnlinePlayerInfo player_info = 14; - repeated ExhibitionDisplayInfo card_list = 13; + repeated ExhibitionDisplayInfo cardList = 2; + OnlinePlayerInfo playerInfo = 13; } diff --git a/proto/DungeonSettleNotify.proto b/proto/DungeonSettleNotify.proto index 2bd42355..4dd9633e 100644 --- a/proto/DungeonSettleNotify.proto +++ b/proto/DungeonSettleNotify.proto @@ -1,67 +1,53 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ChannelerSlabLoopDungeonResultInfo.proto"; -import "CrystalLinkDungeonSettleInfo.proto"; -import "DungeonSettleExhibitionInfo.proto"; -import "EffigyChallengeDungeonResultInfo.proto"; -import "EffigyChallengeV2SettleInfo.proto"; -import "InstableSprayDungeonSettleInfo.proto"; -import "ParamList.proto"; -import "RoguelikeDungeonSettleInfo.proto"; -import "StrengthenPointData.proto"; -import "SummerTimeV2DungeonSettleInfo.proto"; + + import "TowerLevelEndNotify.proto"; import "TrialAvatarFirstPassDungeonNotify.proto"; +import "ChannellerSlabLoopDungeonResultInfo.proto"; +import "EffigyChallengeDungeonResultInfo.proto"; +import "RoguelikeDungeonSettleInfo.proto"; +import "CrystalLinkSettleInfo.proto"; +import "SummerTimeV2DungeonSettleInfo.proto"; +import "InstableSpraySettleInfo.proto"; import "WindFieldDungeonSettleInfo.proto"; - +import "EffigyChallengeV2SettleInfo.proto"; +import "TeamChainSettleInfo.proto"; +import "DungeonSettleExhibitionInfo.proto"; +import "ParamList.proto"; +import "StrengthenPointData.proto"; option java_package = "emu.grasscutter.net.proto"; message DungeonSettleNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 957; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum LNEENDPHEAA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 914; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - map settle_show = 6; - map strengthen_point_data_map = 7; - repeated DungeonSettleExhibitionInfo exhibition_info_list = 12; - uint32 use_time = 14; - bool is_success = 10; - uint32 close_time = 15; - uint32 dungeon_id = 9; - uint32 result = 5; - repeated uint32 fail_cond_list = 11; - uint32 create_player_uid = 2; - oneof detail { - TowerLevelEndNotify tower_level_end_notify = 1089; - TrialAvatarFirstPassDungeonNotify trial_avatar_first_pass_dungeon_notify = 1117; - ChannelerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1394; - EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 254; - RoguelikeDungeonSettleInfo roguelike_dungeon_settle_info = 1888; - CrystalLinkDungeonSettleInfo crystal_link_settle_info = 1840; - SummerTimeV2DungeonSettleInfo summer_time_v2_dungeon_settle_info = 285; - InstableSprayDungeonSettleInfo instable_spray_settle_info = 1794; - WindFieldDungeonSettleInfo wind_field_dungeon_settle_info = 1522; - EffigyChallengeV2SettleInfo effigy_challenge_v2_settle_info = 1913; - } + repeated DungeonSettleExhibitionInfo exhibitionInfoList = 12; + map settleShow = 14; + map strengthenPointDataMap = 1; + uint32 result = 15; + uint32 useTime = 2; + uint32 dungeonId = 7; + repeated uint32 failCondList = 8; + uint32 createPlayerUid = 9; + bool isSuccess = 4; + uint32 closeTime = 6; + oneof IMHJDGEKFBP { + TowerLevelEndNotify tower_level_end_notify = 281; + TrialAvatarFirstPassDungeonNotify trial_avatar_first_pass_dungeon_notify = 1737; + ChannellerSlabLoopDungeonResultInfo channeller_slab_loop_dungeon_result_info = 1045; + EffigyChallengeDungeonResultInfo effigy_challenge_dungeon_result_info = 955; + RoguelikeDungeonSettleInfo roguelike_dungeon_settle_info = 799; + CrystalLinkSettleInfo crystal_link_settle_info = 628; + SummerTimeV2DungeonSettleInfo summer_time_v2dungeon_settle_info = 96; + InstableSpraySettleInfo instable_spray_settle_info = 1797; + WindFieldDungeonSettleInfo wind_field_dungeon_settle_info = 1009; + EffigyChallengeV2SettleInfo effigy_challenge_v2settle_info = 1839; + TeamChainSettleInfo team_chain_settle_info = 1320; + } } diff --git a/proto/DungeonShowReminderNotify.proto b/proto/DungeonShowReminderNotify.proto index a4666fe4..2dcf0475 100644 --- a/proto/DungeonShowReminderNotify.proto +++ b/proto/DungeonShowReminderNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DungeonShowReminderNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 999; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum COGGBMHNDOF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 916; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 reminder_id = 12; + uint32 reminderId = 5; } diff --git a/proto/DungeonSlipRevivePointActivateReq.proto b/proto/DungeonSlipRevivePointActivateReq.proto index 25f58cec..9d2e2a37 100644 --- a/proto/DungeonSlipRevivePointActivateReq.proto +++ b/proto/DungeonSlipRevivePointActivateReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DungeonSlipRevivePointActivateReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 924; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum ODDABIDBCOE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 983; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 slip_revive_point_id = 8; + uint32 slipRevivePointId = 7; } diff --git a/proto/DungeonSlipRevivePointActivateRsp.proto b/proto/DungeonSlipRevivePointActivateRsp.proto index a2d335d0..64ce6f0f 100644 --- a/proto/DungeonSlipRevivePointActivateRsp.proto +++ b/proto/DungeonSlipRevivePointActivateRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DungeonSlipRevivePointActivateRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 949; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum ADCIMBHOHKB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 979; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 15; - uint32 slip_revive_point_id = 13; + uint32 slipRevivePointId = 11; + int32 retcode = 5; } diff --git a/proto/DungeonWayPointActivateReq.proto b/proto/DungeonWayPointActivateReq.proto index bb4eb9f8..80204b38 100644 --- a/proto/DungeonWayPointActivateReq.proto +++ b/proto/DungeonWayPointActivateReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DungeonWayPointActivateReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 947; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum DDOKEPKPODC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 970; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 way_point_id = 14; + uint32 wayPointId = 11; } diff --git a/proto/DungeonWayPointActivateRsp.proto b/proto/DungeonWayPointActivateRsp.proto index 64e370b6..17e42e0d 100644 --- a/proto/DungeonWayPointActivateRsp.proto +++ b/proto/DungeonWayPointActivateRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DungeonWayPointActivateRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 978; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum KOKKJBIPNKE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 962; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 1; - uint32 way_point_id = 10; + uint32 wayPointId = 10; + int32 retcode = 3; } diff --git a/proto/DungeonWayPointNotify.proto b/proto/DungeonWayPointNotify.proto index f9bcd259..af217bee 100644 --- a/proto/DungeonWayPointNotify.proto +++ b/proto/DungeonWayPointNotify.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message DungeonWayPointNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 961; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum LJNPBGHPHHO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 980; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - bool is_add = 12; - repeated uint32 active_way_point_list = 2; + repeated uint32 activeWayPointList = 15; + bool isAdd = 3; } diff --git a/proto/DynamicLayerNodes.proto b/proto/DynamicLayerNodes.proto new file mode 100644 index 00000000..8f8a4af1 --- /dev/null +++ b/proto/DynamicLayerNodes.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "DynamicSVONode.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DynamicLayerNodes { + repeated DynamicSVONode nodes = 8; + int32 level = 12; +} diff --git a/proto/DynamicNodes.proto b/proto/DynamicNodes.proto new file mode 100644 index 00000000..a991f4ef --- /dev/null +++ b/proto/DynamicNodes.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "DynamicLayerNodes.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DynamicNodes { + repeated DynamicLayerNodes nodes = 8; +} diff --git a/proto/DynamicSVONode.proto b/proto/DynamicSVONode.proto new file mode 100644 index 00000000..46ccdf3b --- /dev/null +++ b/proto/DynamicSVONode.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message DynamicSVONode { + int32 area = 13; + int64 index = 11; + Rotation referPos = 9; +} diff --git a/proto/EBBEHKPKPFK.proto b/proto/EBBEHKPKPFK.proto new file mode 100644 index 00000000..8564b682 --- /dev/null +++ b/proto/EBBEHKPKPFK.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EBBEHKPKPFK { + enum AOIIIGEEGIA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 24683; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; + uint32 galleryId = 7; + uint32 difficulty = 1; + uint32 stageId = 10; +} diff --git a/proto/ECEOMAIKPFN.proto b/proto/ECEOMAIKPFN.proto new file mode 100644 index 00000000..c4bbcbb7 --- /dev/null +++ b/proto/ECEOMAIKPFN.proto @@ -0,0 +1,39 @@ +syntax = "proto3"; + + + +import "ResVersionConfig.proto"; +import "bytes.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ECEOMAIKPFN { + string maemgpinjha = 1; + uint32 dofeepngdbn = 2; + string kgeiloibajg = 3; + string areaType = 7; + string akkgiajbpmc = 8; + string gejagjjdlam = 9; + string odchdbmdbld = 10; + string dbdldipgdbg = 11; + string apiddjcfhmo = 12; + string ekbmdkedega = 13; + uint32 clientDataVersion = 14; + string nhdhgkjfhie = 16; + uint32 clientSilenceDataVersion = 18; + string kogchffkekb = 19; + string bmkfadjhbdf = 20; + ResVersionConfig resVersionConfig = 22; + bytes secretKey = 23; + string kghbneonpep = 24; + string clientVersionSuffix = 26; + string clientSilenceVersionSuffix = 27; + bool cbkhilbbjef = 28; + string kadhjklbgin = 29; + string ddnhelgkimo = 30; + string jdplgfnhgil = 31; + string bigcoaodoec = 32; + string abbcpppahfe = 33; + string nextResourceUrl = 34; + ResVersionConfig nextResVersionConfig = 35; + string gameBiz = 36; +} diff --git a/proto/ECLDFPKCOPE.proto b/proto/ECLDFPKCOPE.proto new file mode 100644 index 00000000..11fa2ce1 --- /dev/null +++ b/proto/ECLDFPKCOPE.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "AttackResult.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ECLDFPKCOPE { + AttackResult attackResult = 13; + uint32 peerId = 3; +} diff --git a/proto/EDCGBLJECHI.proto b/proto/EDCGBLJECHI.proto new file mode 100644 index 00000000..101ae046 --- /dev/null +++ b/proto/EDCGBLJECHI.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EDCGBLJECHI { + uint32 entityId = 12; + uint32 aemmidgkohc = 7; + Rotation pos = 2; + int32 faceAngleCompact = 3; + uint32 normalizedTimeCompact = 1; +} diff --git a/proto/EEFBMLFKDFG.proto b/proto/EEFBMLFKDFG.proto new file mode 100644 index 00000000..d38ff376 --- /dev/null +++ b/proto/EEFBMLFKDFG.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "EMFJMDELOJN.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EEFBMLFKDFG { + bool isCgViewed = 1; + uint32 levelId = 11; + repeated EMFJMDELOJN ggfnmmfjggi = 8; + bool isOpen = 12; +} diff --git a/proto/EFJNIGDJCLH.proto b/proto/EFJNIGDJCLH.proto new file mode 100644 index 00000000..53b8808f --- /dev/null +++ b/proto/EFJNIGDJCLH.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EFJNIGDJCLH { + string type = 1; + string content = 2; + uint32 iofedkimpfp = 3; +} diff --git a/proto/EIBBNBEBHGD.proto b/proto/EIBBNBEBHGD.proto new file mode 100644 index 00000000..c3cb4046 --- /dev/null +++ b/proto/EIBBNBEBHGD.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EIBBNBEBHGD { + uint32 avatarId = 13; + bool ljppmbgmjpk = 5; +} diff --git a/proto/EICAFCBBJMG.proto b/proto/EICAFCBBJMG.proto new file mode 100644 index 00000000..0d6952b8 --- /dev/null +++ b/proto/EICAFCBBJMG.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EICAFCBBJMG { + string value = 1; +} diff --git a/proto/EIEBDOJCDBH.proto b/proto/EIEBDOJCDBH.proto new file mode 100644 index 00000000..7b1e0bd9 --- /dev/null +++ b/proto/EIEBDOJCDBH.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "IDOELHBANCP.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EIEBDOJCDBH { + bool aicefchaici = 1; + repeated IDOELHBANCP kcllbppiboo = 999; +} diff --git a/proto/EKLDJGJBLNF.proto b/proto/EKLDJGJBLNF.proto new file mode 100644 index 00000000..7c88c54d --- /dev/null +++ b/proto/EKLDJGJBLNF.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EKLDJGJBLNF { + uint32 dmkljglcbij = 1; +} diff --git a/proto/ELFNDEIADMP.proto b/proto/ELFNDEIADMP.proto new file mode 100644 index 00000000..3e397566 --- /dev/null +++ b/proto/ELFNDEIADMP.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ELFNDEIADMP { + Rotation rot = 10; + Rotation pos = 14; +} diff --git a/proto/EMFJMDELOJN.proto b/proto/EMFJMDELOJN.proto new file mode 100644 index 00000000..4a25928c --- /dev/null +++ b/proto/EMFJMDELOJN.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EMFJMDELOJN { + uint32 difficulty = 7; + bool isOpen = 1; + uint32 costTime = 6; +} diff --git a/proto/ENAHEFOGJAE.proto b/proto/ENAHEFOGJAE.proto new file mode 100644 index 00000000..1d1b672c --- /dev/null +++ b/proto/ENAHEFOGJAE.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "GalleryStopReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ENAHEFOGJAE { + GalleryStopReason reason = 3; +} diff --git a/proto/ENHFICGOKEE.proto b/proto/ENHFICGOKEE.proto new file mode 100644 index 00000000..9108edf0 --- /dev/null +++ b/proto/ENHFICGOKEE.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ENHFICGOKEE { + uint32 regPlatform = 1; +} diff --git a/proto/EchoNotify.proto b/proto/EchoNotify.proto new file mode 100644 index 00000000..2d48d738 --- /dev/null +++ b/proto/EchoNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EchoNotify { + enum LOPEEDHIPKE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 88; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + string content = 4; + uint32 seqId = 3; +} diff --git a/proto/EchoShellDetailInfo.proto b/proto/EchoShellDetailInfo.proto index 1720c24f..4997a969 100644 --- a/proto/EchoShellDetailInfo.proto +++ b/proto/EchoShellDetailInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "SummerTimeDungeonInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message EchoShellDetailInfo { diff --git a/proto/EchoShellInfo.proto b/proto/EchoShellInfo.proto index 3f1de04a..f463be50 100644 --- a/proto/EchoShellInfo.proto +++ b/proto/EchoShellInfo.proto @@ -1,24 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + +import "SummerTimeDungeonInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message EchoShellInfo { - uint32 shell_id = 1; + repeated uint32 Unk3300_NEFBJPKBEHF = 10; + repeated uint32 Unk3300_OOCDFANFFDG = 5; + repeated uint32 takenRewardList = 14; + repeated SummerTimeDungeonInfo summerTimeDungeonList = 13; } diff --git a/proto/EchoShellTakeRewardReq.proto b/proto/EchoShellTakeRewardReq.proto new file mode 100644 index 00000000..473b955c --- /dev/null +++ b/proto/EchoShellTakeRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EchoShellTakeRewardReq { + enum CBIPKHHIOKP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8614; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 rewardId = 8; +} diff --git a/proto/EchoShellTakeRewardRsp.proto b/proto/EchoShellTakeRewardRsp.proto new file mode 100644 index 00000000..4910870b --- /dev/null +++ b/proto/EchoShellTakeRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EchoShellTakeRewardRsp { + enum LKHKMOJGIDI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8180; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 rewardId = 2; + int32 retcode = 1; +} diff --git a/proto/EchoShellUpdateNotify.proto b/proto/EchoShellUpdateNotify.proto new file mode 100644 index 00000000..68afb4bf --- /dev/null +++ b/proto/EchoShellUpdateNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EchoShellUpdateNotify { + enum JEGAKPHMPAM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8560; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 shellId = 12; +} diff --git a/proto/EdgeType.proto b/proto/EdgeType.proto new file mode 100644 index 00000000..af144bda --- /dev/null +++ b/proto/EdgeType.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +enum EdgeType { + EDGE_TYPE_INNER = 0; + EDGE_TYPE_TILE_BOUND = 1; + EDGE_TYPE_TILE_BOUND_UNCONNECT = 2; + EDGE_TYPE_TILE_BOUND_OVERIDE = 3; +} diff --git a/proto/EffigyActivityDetailInfo.proto b/proto/EffigyActivityDetailInfo.proto index bb12c785..a8bf9369 100644 --- a/proto/EffigyActivityDetailInfo.proto +++ b/proto/EffigyActivityDetailInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "EffigyDailyInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message EffigyActivityDetailInfo { diff --git a/proto/EffigyChallengeDungeonResultInfo.proto b/proto/EffigyChallengeDungeonResultInfo.proto index 3b2a9957..0a482107 100644 --- a/proto/EffigyChallengeDungeonResultInfo.proto +++ b/proto/EffigyChallengeDungeonResultInfo.proto @@ -1,28 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message EffigyChallengeDungeonResultInfo { - uint32 challenge_score = 12; - uint32 challenge_max_score = 8; - bool is_success = 2; - bool is_in_time_limit = 1; - uint32 challenge_id = 15; + uint32 challengeMaxScore = 6; + bool isInTimeLimit = 1; + uint32 challengeScore = 14; + bool isSuccess = 2; + uint32 challengeId = 10; } diff --git a/proto/EffigyChallengeInfo.proto b/proto/EffigyChallengeInfo.proto new file mode 100644 index 00000000..5990f3e3 --- /dev/null +++ b/proto/EffigyChallengeInfo.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EffigyChallengeInfo { + uint32 Unk3300_MBHBNIPEPNJ = 5; + uint32 Unk3300_EOGAPBOFHOP = 12; + uint32 Unk3300_BMPCKGJAGPE = 8; + uint32 Unk3300_AIEEGIBMOFH = 13; + uint32 Unk3300_MICPCKIOEJA = 6; +} diff --git a/proto/EffigyChallengeInfoNotify.proto b/proto/EffigyChallengeInfoNotify.proto new file mode 100644 index 00000000..e05dfac1 --- /dev/null +++ b/proto/EffigyChallengeInfoNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EffigyChallengeInfoNotify { + enum JMGJJCNMHAN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2164; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 challengeScore = 12; + repeated uint32 conditionIdList = 2; + uint32 difficultyId = 7; + uint32 challengeId = 8; +} diff --git a/proto/EffigyChallengeResultNotify.proto b/proto/EffigyChallengeResultNotify.proto new file mode 100644 index 00000000..ba98f8e9 --- /dev/null +++ b/proto/EffigyChallengeResultNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EffigyChallengeResultNotify { + enum PJAHGOOCLJB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2145; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 challengeId = 14; + uint32 challengeMaxScore = 1; + uint32 challengeScore = 5; + bool isSuccess = 4; +} diff --git a/proto/EffigyChallengeV2ChooseSkillReq.proto b/proto/EffigyChallengeV2ChooseSkillReq.proto new file mode 100644 index 00000000..4624896c --- /dev/null +++ b/proto/EffigyChallengeV2ChooseSkillReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EffigyChallengeV2ChooseSkillReq { + enum PNOLANBPFKF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 22489; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 levelId = 15; + uint32 challengeModeSkillNo = 12; +} diff --git a/proto/EffigyChallengeV2ChooseSkillRsp.proto b/proto/EffigyChallengeV2ChooseSkillRsp.proto new file mode 100644 index 00000000..34885749 --- /dev/null +++ b/proto/EffigyChallengeV2ChooseSkillRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EffigyChallengeV2ChooseSkillRsp { + enum NPHDEAPKFJD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21025; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 9; + uint32 levelId = 14; + uint32 challengeModeSkillNo = 13; +} diff --git a/proto/EffigyChallengeV2DetailInfo.proto b/proto/EffigyChallengeV2DetailInfo.proto index 725d2d4d..368fe74c 100644 --- a/proto/EffigyChallengeV2DetailInfo.proto +++ b/proto/EffigyChallengeV2DetailInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "EffigyChallengeV2LevelData.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message EffigyChallengeV2DetailInfo { diff --git a/proto/EffigyChallengeV2DungeonInfoNotify.proto b/proto/EffigyChallengeV2DungeonInfoNotify.proto new file mode 100644 index 00000000..ac9803d2 --- /dev/null +++ b/proto/EffigyChallengeV2DungeonInfoNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EffigyChallengeV2DungeonInfoNotify { + enum MKHAEAENIHE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20626; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 levelId = 6; + uint32 challengeModeDifficulty = 4; + uint32 skillNo = 10; +} diff --git a/proto/EffigyChallengeV2EnterDungeonReq.proto b/proto/EffigyChallengeV2EnterDungeonReq.proto new file mode 100644 index 00000000..1d1b6da0 --- /dev/null +++ b/proto/EffigyChallengeV2EnterDungeonReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EffigyChallengeV2EnterDungeonReq { + enum OHPCHJBJCCG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23798; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 levelId = 10; + uint32 challengeModeSkillNo = 12; + uint32 challengeModeDifficulty = 8; +} diff --git a/proto/EffigyChallengeV2EnterDungeonRsp.proto b/proto/EffigyChallengeV2EnterDungeonRsp.proto new file mode 100644 index 00000000..3824fd14 --- /dev/null +++ b/proto/EffigyChallengeV2EnterDungeonRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EffigyChallengeV2EnterDungeonRsp { + enum NCGEDBHPGLH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23456; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 challengeModeSkillNo = 3; + uint32 levelId = 7; + int32 retcode = 15; + uint32 challengeModeDifficulty = 5; +} diff --git a/proto/EffigyChallengeV2LevelData.proto b/proto/EffigyChallengeV2LevelData.proto index 31a5caa9..33066a65 100644 --- a/proto/EffigyChallengeV2LevelData.proto +++ b/proto/EffigyChallengeV2LevelData.proto @@ -1,29 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message EffigyChallengeV2LevelData { - uint32 Unk3300_PPOEMEILBIA = 13; - bool is_level_open = 4; - uint32 Unk3300_KJEOADDMJMI = 9; - uint32 Unk3300_JMGACODMJLG = 2; - uint32 Unk3300_IJAGOAKOABH = 7; - uint32 level_id = 12; + bool caepnfpolia = 13; + uint32 ondofpcjekh = 14; + uint32 levelId = 15; + uint32 nbnfhjjkbam = 5; + uint32 acjpagacphl = 7; + uint32 lhhbbgpaiin = 9; } diff --git a/proto/EffigyChallengeV2RestartDungeonReq.proto b/proto/EffigyChallengeV2RestartDungeonReq.proto new file mode 100644 index 00000000..26fb218f --- /dev/null +++ b/proto/EffigyChallengeV2RestartDungeonReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EffigyChallengeV2RestartDungeonReq { + enum AINDJOCOOMK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21461; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/EffigyChallengeV2RestartDungeonRsp.proto b/proto/EffigyChallengeV2RestartDungeonRsp.proto new file mode 100644 index 00000000..71a16574 --- /dev/null +++ b/proto/EffigyChallengeV2RestartDungeonRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EffigyChallengeV2RestartDungeonRsp { + enum GIDHCFHNJOI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21563; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 3; +} diff --git a/proto/EffigyChallengeV2SettleInfo.proto b/proto/EffigyChallengeV2SettleInfo.proto index 778832f3..6830b502 100644 --- a/proto/EffigyChallengeV2SettleInfo.proto +++ b/proto/EffigyChallengeV2SettleInfo.proto @@ -1,29 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message EffigyChallengeV2SettleInfo { - uint32 challenge_mode_difficulty = 13; - uint32 Unk3300_MHOIIPJKAMN = 14; - uint32 Unk3300_PHEIMLOKIJG = 11; - uint32 Unk3300_ONKPGFOLDFL = 12; - bool Unk3300_NGBKNDHJPCP = 5; - bool Unk3300_AKMPCDIKBJD = 9; + uint32 Unk3300_MHOIIPJKAMN = 14; + bool Unk3300_AKMPCDIKBJD = 5; + uint32 Unk3300_ONKPGFOLDFL = 15; + uint32 Unk3300_PHEIMLOKIJG = 10; + uint32 challengeModeDifficulty = 13; + bool Unk3300_NGBKNDHJPCP = 1; } diff --git a/proto/EffigyDailyInfo.proto b/proto/EffigyDailyInfo.proto index 5f5e851c..ebb800f5 100644 --- a/proto/EffigyDailyInfo.proto +++ b/proto/EffigyDailyInfo.proto @@ -1,30 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message EffigyDailyInfo { - bool is_first_pass_reward_taken = 7; - uint32 Unk3300_NNHICCGELHP = 2; - uint32 Unk3300_NEBCDALEFEC = 11; - uint32 challenge_max_score = 12; - uint32 begin_time = 8; - uint32 challenge_id = 6; - uint32 day_index = 9; + uint32 challengeId = 15; + bool isFirstPassRewardTaken = 2; + uint32 Unk3300_NEBCDALEFEC = 10; + uint32 dayIndex = 14; + uint32 challengeMaxScore = 6; + uint32 beginTime = 7; + uint32 Unk3300_NNHICCGELHP = 12; } diff --git a/proto/EffigyInfo.proto b/proto/EffigyInfo.proto new file mode 100644 index 00000000..a78fe8fa --- /dev/null +++ b/proto/EffigyInfo.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "EffigyDailyInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EffigyInfo { + repeated uint32 takenRewardIndexList = 7; + repeated EffigyDailyInfo dailyInfoList = 9; + uint32 curScore = 5; + uint32 lastDifficultyId = 10; +} diff --git a/proto/ElectroherculesBattleInfo.proto b/proto/ElectroherculesBattleInfo.proto new file mode 100644 index 00000000..cd13e065 --- /dev/null +++ b/proto/ElectroherculesBattleInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "KJJKCDHJMGD.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ElectroherculesBattleInfo { + repeated KJJKCDHJMGD stageInfoList = 7; + bool pdpfimhpajd = 14; +} diff --git a/proto/ElectroherculesBattleSelectDifficultyReq.proto b/proto/ElectroherculesBattleSelectDifficultyReq.proto new file mode 100644 index 00000000..c51a7007 --- /dev/null +++ b/proto/ElectroherculesBattleSelectDifficultyReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ElectroherculesBattleSelectDifficultyReq { + enum KMECNJLAMJA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21178; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; +} diff --git a/proto/ElectroherculesBattleSelectDifficultyRsp.proto b/proto/ElectroherculesBattleSelectDifficultyRsp.proto new file mode 100644 index 00000000..b3492642 --- /dev/null +++ b/proto/ElectroherculesBattleSelectDifficultyRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ElectroherculesBattleSelectDifficultyRsp { + enum CPDJJMDIKDO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23974; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint64 meclfjmmlmh = 2; +} diff --git a/proto/ElectroherculesBattleSettleNotify.proto b/proto/ElectroherculesBattleSettleNotify.proto new file mode 100644 index 00000000..8fa44782 --- /dev/null +++ b/proto/ElectroherculesBattleSettleNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ElectroherculesBattleSettleNotify { + enum KEDDPOIOGKM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 24914; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; +} diff --git a/proto/ElectroherculesStartParam.proto b/proto/ElectroherculesStartParam.proto new file mode 100644 index 00000000..f2c27c41 --- /dev/null +++ b/proto/ElectroherculesStartParam.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ElectroherculesStartParam { + uint32 difficulty = 5; +} diff --git a/proto/ElementReliquaryRequest.proto b/proto/ElementReliquaryRequest.proto index 43e4b095..f40d55ab 100644 --- a/proto/ElementReliquaryRequest.proto +++ b/proto/ElementReliquaryRequest.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ElementReliquaryRequest { - uint32 equip_type = 9; - uint32 element_type = 12; + uint32 elementType = 12; + uint32 equipType = 7; } diff --git a/proto/ElementReliquaryResponse.proto b/proto/ElementReliquaryResponse.proto index 466583a9..cceb7c99 100644 --- a/proto/ElementReliquaryResponse.proto +++ b/proto/ElementReliquaryResponse.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Unk2700_GBBDJMDIDEI.proto"; + +import "GameplayRecommendationReliquaryMainPropData.proto"; option java_package = "emu.grasscutter.net.proto"; message ElementReliquaryResponse { - uint32 element_type = 11; - repeated Unk2700_GBBDJMDIDEI Unk2700_DMDHDIHGPFA = 5; - uint32 equip_type = 15; + uint32 elementType = 4; + repeated GameplayRecommendationReliquaryMainPropData nbbpegfkpac = 3; + uint32 equipType = 7; } diff --git a/proto/EndCameraSceneLookNotify.proto b/proto/EndCameraSceneLookNotify.proto index fc0f1039..a62df6da 100644 --- a/proto/EndCameraSceneLookNotify.proto +++ b/proto/EndCameraSceneLookNotify.proto @@ -1,30 +1,16 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message EndCameraSceneLookNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 291; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum PMOFGHEIHME { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 227; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + } diff --git a/proto/EndCoinCollectPlaySingleModeReq.proto b/proto/EndCoinCollectPlaySingleModeReq.proto new file mode 100644 index 00000000..9ee235bb --- /dev/null +++ b/proto/EndCoinCollectPlaySingleModeReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EndCoinCollectPlaySingleModeReq { + enum CMDNHEBKKEO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20052; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 multistagePlayIndex = 9; +} diff --git a/proto/EndCoinCollectPlaySingleModeRsp.proto b/proto/EndCoinCollectPlaySingleModeRsp.proto new file mode 100644 index 00000000..77f3be5b --- /dev/null +++ b/proto/EndCoinCollectPlaySingleModeRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EndCoinCollectPlaySingleModeRsp { + enum JPPBIFNNJPD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20893; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; +} diff --git a/proto/EnterChessDungeonReq.proto b/proto/EnterChessDungeonReq.proto new file mode 100644 index 00000000..2c1b8e62 --- /dev/null +++ b/proto/EnterChessDungeonReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EnterChessDungeonReq { + enum DOPBHOIGALM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8079; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 mapId = 10; +} diff --git a/proto/EnterChessDungeonRsp.proto b/proto/EnterChessDungeonRsp.proto new file mode 100644 index 00000000..4ce05f37 --- /dev/null +++ b/proto/EnterChessDungeonRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EnterChessDungeonRsp { + enum GPFKLCCJALD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8741; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 mapId = 1; + int32 retcode = 4; +} diff --git a/proto/EnterCustomDungeonReq.proto b/proto/EnterCustomDungeonReq.proto new file mode 100644 index 00000000..9889890a --- /dev/null +++ b/proto/EnterCustomDungeonReq.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "EnterCustomDungeonType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EnterCustomDungeonReq { + enum IOAECBCGFOB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6238; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + EnterCustomDungeonType enterType = 2; + uint32 dungeonId = 13; + uint64 dungeonGuid = 3; +} diff --git a/proto/EnterCustomDungeonRsp.proto b/proto/EnterCustomDungeonRsp.proto new file mode 100644 index 00000000..6a558370 --- /dev/null +++ b/proto/EnterCustomDungeonRsp.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "EnterCustomDungeonType.proto"; +import "CustomDungeon.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EnterCustomDungeonRsp { + enum GDMJLOJDLBK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6245; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 9; + EnterCustomDungeonType enterType = 4; + map roomCostMap = 2; + CustomDungeon customDungeon = 7; +} diff --git a/proto/EnterCustomDungeonType.proto b/proto/EnterCustomDungeonType.proto new file mode 100644 index 00000000..09ae2f3c --- /dev/null +++ b/proto/EnterCustomDungeonType.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +enum EnterCustomDungeonType { + ENTER_CUSTOM_DUNGEON_TYPE_NONE = 0; + ENTER_CUSTOM_DUNGEON_TYPE_EDIT = 1; + ENTER_CUSTOM_DUNGEON_TYPE_PLAY = 2; + ENTER_CUSTOM_DUNGEON_TYPE_OFFICIAL = 3; +} diff --git a/proto/EnterFishingReq.proto b/proto/EnterFishingReq.proto new file mode 100644 index 00000000..dd403da3 --- /dev/null +++ b/proto/EnterFishingReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EnterFishingReq { + enum FKMDHJEKDFL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5838; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 fishPoolId = 9; +} diff --git a/proto/EnterFishingRsp.proto b/proto/EnterFishingRsp.proto new file mode 100644 index 00000000..159975b4 --- /dev/null +++ b/proto/EnterFishingRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EnterFishingRsp { + enum CECLNOHPNIC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5845; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 1; + uint32 fishPoolId = 7; +} diff --git a/proto/EnterFungusFighterPlotDungeonReq.proto b/proto/EnterFungusFighterPlotDungeonReq.proto new file mode 100644 index 00000000..e1354494 --- /dev/null +++ b/proto/EnterFungusFighterPlotDungeonReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EnterFungusFighterPlotDungeonReq { + enum EGEAFDPOHND { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23842; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 dungeonId = 11; + repeated uint32 fungusIdList = 6; +} diff --git a/proto/EnterFungusFighterPlotDungeonRsp.proto b/proto/EnterFungusFighterPlotDungeonRsp.proto new file mode 100644 index 00000000..88b7df25 --- /dev/null +++ b/proto/EnterFungusFighterPlotDungeonRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EnterFungusFighterPlotDungeonRsp { + enum BJGOKLGJCHD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23496; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 3; + repeated uint32 fungusIdList = 13; + uint32 dungeonId = 4; +} diff --git a/proto/EnterFungusFighterTrainingDungeonReq.proto b/proto/EnterFungusFighterTrainingDungeonReq.proto new file mode 100644 index 00000000..f2268642 --- /dev/null +++ b/proto/EnterFungusFighterTrainingDungeonReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EnterFungusFighterTrainingDungeonReq { + enum JKJDAMGKHCB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 22698; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 dungeonId = 10; +} diff --git a/proto/EnterFungusFighterTrainingDungeonRsp.proto b/proto/EnterFungusFighterTrainingDungeonRsp.proto new file mode 100644 index 00000000..cde5a452 --- /dev/null +++ b/proto/EnterFungusFighterTrainingDungeonRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EnterFungusFighterTrainingDungeonRsp { + enum MIFBOFOBNBC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21261; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 15; + uint32 dungeonId = 14; +} diff --git a/proto/EnterIrodoriChessDungeonReq.proto b/proto/EnterIrodoriChessDungeonReq.proto new file mode 100644 index 00000000..b6df9af8 --- /dev/null +++ b/proto/EnterIrodoriChessDungeonReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EnterIrodoriChessDungeonReq { + enum NJHNGMFLHGD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8505; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 levelId = 1; + bool isHardMap = 6; +} diff --git a/proto/EnterIrodoriChessDungeonRsp.proto b/proto/EnterIrodoriChessDungeonRsp.proto new file mode 100644 index 00000000..18969874 --- /dev/null +++ b/proto/EnterIrodoriChessDungeonRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EnterIrodoriChessDungeonRsp { + enum OEMFHLPBHEB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8598; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 levelId = 11; + int32 retcode = 4; + bool isHardMap = 3; +} diff --git a/proto/EnterMechanicusDungeonReq.proto b/proto/EnterMechanicusDungeonReq.proto new file mode 100644 index 00000000..84b72880 --- /dev/null +++ b/proto/EnterMechanicusDungeonReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EnterMechanicusDungeonReq { + enum GACCJFLFBHM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3924; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 difficultLevel = 10; +} diff --git a/proto/EnterMechanicusDungeonRsp.proto b/proto/EnterMechanicusDungeonRsp.proto new file mode 100644 index 00000000..aa5a17f3 --- /dev/null +++ b/proto/EnterMechanicusDungeonRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EnterMechanicusDungeonRsp { + enum PELGLFCIAIO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3929; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 difficultLevel = 6; + int32 retcode = 8; + uint32 dungeonId = 9; + uint32 wrongUid = 14; +} diff --git a/proto/EnterRogueDiaryDungeonReq.proto b/proto/EnterRogueDiaryDungeonReq.proto new file mode 100644 index 00000000..b5415a0b --- /dev/null +++ b/proto/EnterRogueDiaryDungeonReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "RogueDiaryAvatar.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EnterRogueDiaryDungeonReq { + enum HADGELIIHCG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8647; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated RogueDiaryAvatar chosenAvatarList = 5; + repeated uint32 chosenCardList = 2; +} diff --git a/proto/EnterRogueDiaryDungeonRsp.proto b/proto/EnterRogueDiaryDungeonRsp.proto new file mode 100644 index 00000000..b78bbed1 --- /dev/null +++ b/proto/EnterRogueDiaryDungeonRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EnterRogueDiaryDungeonRsp { + enum BNIMLNKMNKM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8395; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; +} diff --git a/proto/EnterRoguelikeDungeonNotify.proto b/proto/EnterRoguelikeDungeonNotify.proto new file mode 100644 index 00000000..28baf292 --- /dev/null +++ b/proto/EnterRoguelikeDungeonNotify.proto @@ -0,0 +1,34 @@ +syntax = "proto3"; + + + +import "RogueCellInfo.proto"; +import "RoguelikeRuneRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EnterRoguelikeDungeonNotify { + enum NNLLNKHBFEH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8098; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint64 onstageAvatarGuidList = 11; + map cellInfoMap = 14; + uint32 dungeonId = 2; + uint32 Unk3300_PKDLOJADIPA = 15; + uint32 Unk3300_KLFDKOCGAHN = 917; + uint32 Unk3300_DBDABNIINEL = 3; + float bonusResourceProp = 1; + uint32 reviseMonsterLevel = 1665; + uint32 stageId = 8; + repeated uint32 exploredCellList = 5; + repeated uint64 backstageAvatarGuidList = 7; + uint32 curLevel = 12; + bool Unk3300_GBHHLEDAGAM = 6; + repeated RoguelikeRuneRecord runeRecordList = 4; + uint32 Unk3300_IIIJDDNJEBB = 13; + bool Unk3300_PKPOKOAAOKF = 379; +} diff --git a/proto/EnterSceneDoneReq.proto b/proto/EnterSceneDoneReq.proto index 67581a86..a63c3de8 100644 --- a/proto/EnterSceneDoneReq.proto +++ b/proto/EnterSceneDoneReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message EnterSceneDoneReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 232; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum NAPCFMDHDMC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 248; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 enter_scene_token = 10; + uint32 enterSceneToken = 14; } diff --git a/proto/EnterSceneDoneRsp.proto b/proto/EnterSceneDoneRsp.proto index 22c22bb6..365277d1 100644 --- a/proto/EnterSceneDoneRsp.proto +++ b/proto/EnterSceneDoneRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message EnterSceneDoneRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 268; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum OFOIBCBAPFF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 297; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 enter_scene_token = 1; - int32 retcode = 13; + int32 retcode = 5; + uint32 enterSceneToken = 9; } diff --git a/proto/EnterScenePeerNotify.proto b/proto/EnterScenePeerNotify.proto index 94dcf592..e64949ba 100644 --- a/proto/EnterScenePeerNotify.proto +++ b/proto/EnterScenePeerNotify.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message EnterScenePeerNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 271; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum NNINOKOEOCE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 286; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 enter_scene_token = 7; - uint32 host_peer_id = 12; - uint32 peer_id = 14; - uint32 dest_scene_id = 2; + uint32 hostPeerId = 10; + uint32 destSceneId = 8; + uint32 enterSceneToken = 9; + uint32 peerId = 6; } diff --git a/proto/EnterSceneReadyReq.proto b/proto/EnterSceneReadyReq.proto index c28307d6..c67466c0 100644 --- a/proto/EnterSceneReadyReq.proto +++ b/proto/EnterSceneReadyReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message EnterSceneReadyReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 262; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum MIHBPJLNMBP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 268; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 enter_scene_token = 12; + uint32 enterSceneToken = 9; } diff --git a/proto/EnterSceneReadyRsp.proto b/proto/EnterSceneReadyRsp.proto index 610f1a6f..1eb611ad 100644 --- a/proto/EnterSceneReadyRsp.proto +++ b/proto/EnterSceneReadyRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message EnterSceneReadyRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 251; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum DBKKDMHCKCE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 233; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 enter_scene_token = 11; - int32 retcode = 8; + int32 retcode = 7; + uint32 enterSceneToken = 9; } diff --git a/proto/EnterSceneWeatherAreaNotify.proto b/proto/EnterSceneWeatherAreaNotify.proto new file mode 100644 index 00000000..029decdd --- /dev/null +++ b/proto/EnterSceneWeatherAreaNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EnterSceneWeatherAreaNotify { + enum BOOCKPHFONC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 236; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 weatherGadgetId = 11; +} diff --git a/proto/EnterTransPointRegionNotify.proto b/proto/EnterTransPointRegionNotify.proto index 523db811..4ada6ac4 100644 --- a/proto/EnterTransPointRegionNotify.proto +++ b/proto/EnterTransPointRegionNotify.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message EnterTransPointRegionNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 242; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum BLHMCAMBHEN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 269; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 point_id = 1; - uint32 scene_id = 15; + uint32 pointId = 1; + uint32 sceneId = 3; } diff --git a/proto/EnterTrialAvatarActivityDungeonReq.proto b/proto/EnterTrialAvatarActivityDungeonReq.proto new file mode 100644 index 00000000..da2f1e26 --- /dev/null +++ b/proto/EnterTrialAvatarActivityDungeonReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EnterTrialAvatarActivityDungeonReq { + enum PMPDAILAONN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2167; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 activityId = 3; + uint32 enterPointId = 13; + uint32 trialAvatarIndexId = 4; +} diff --git a/proto/EnterTrialAvatarActivityDungeonRsp.proto b/proto/EnterTrialAvatarActivityDungeonRsp.proto new file mode 100644 index 00000000..63e4b8dd --- /dev/null +++ b/proto/EnterTrialAvatarActivityDungeonRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EnterTrialAvatarActivityDungeonRsp { + enum MMNFECNBJIG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2046; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 trialAvatarIndexId = 8; + uint32 activityId = 2; + int32 retcode = 11; +} diff --git a/proto/EnterType.proto b/proto/EnterType.proto index 8a26f12a..624bbbe4 100644 --- a/proto/EnterType.proto +++ b/proto/EnterType.proto @@ -1,35 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum EnterType { - ENTER_TYPE_NONE = 0; - ENTER_TYPE_SELF = 1; - ENTER_TYPE_GOTO = 2; - ENTER_TYPE_JUMP = 3; - ENTER_TYPE_OTHER = 4; - ENTER_TYPE_BACK = 5; - ENTER_TYPE_DUNGEON = 6; - ENTER_TYPE_DUNGEON_REPLAY = 7; - ENTER_TYPE_GOTO_BY_PORTAL = 8; - ENTER_TYPE_SELF_HOME = 9; - ENTER_TYPE_OTHER_HOME = 10; - ENTER_TYPE_GOTO_RECREATE = 11; + ENTER_TYPE_NONE = 0; + ENTER_TYPE_SELF = 1; + ENTER_TYPE_GOTO = 2; + ENTER_TYPE_JUMP = 3; + ENTER_TYPE_OTHER = 4; + ENTER_TYPE_BACK = 5; + ENTER_TYPE_DUNGEON = 6; + ENTER_TYPE_DUNGEON_REPLAY = 7; + ENTER_TYPE_GOTO_BY_PORTAL = 8; + ENTER_TYPE_SELF_HOME = 9; + ENTER_TYPE_OTHER_HOME = 10; + ENTER_TYPE_GOTO_RECREATE = 11; } diff --git a/proto/EnterWorldAreaReq.proto b/proto/EnterWorldAreaReq.proto index f3a55615..3b2f27bf 100644 --- a/proto/EnterWorldAreaReq.proto +++ b/proto/EnterWorldAreaReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message EnterWorldAreaReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 246; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum GNDHGLBEFEL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 242; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 area_type = 8; - uint32 area_id = 10; + uint32 areaId = 1; + uint32 areaType = 11; } diff --git a/proto/EnterWorldAreaRsp.proto b/proto/EnterWorldAreaRsp.proto index d05b9a3c..f657a82c 100644 --- a/proto/EnterWorldAreaRsp.proto +++ b/proto/EnterWorldAreaRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message EnterWorldAreaRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 275; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum POGEKCFJEDN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 250; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 area_type = 15; - int32 retcode = 11; - uint32 area_id = 1; + uint32 areaType = 3; + int32 retcode = 12; + uint32 areaId = 6; } diff --git a/proto/EntityAbilityInvokeEntry.proto b/proto/EntityAbilityInvokeEntry.proto index 7b98870b..88a58d63 100644 --- a/proto/EntityAbilityInvokeEntry.proto +++ b/proto/EntityAbilityInvokeEntry.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AbilityInvokeEntry.proto"; + +import "AbilityInvokeEntry.proto"; option java_package = "emu.grasscutter.net.proto"; message EntityAbilityInvokeEntry { - repeated AbilityInvokeEntry invokes = 14; - uint32 entity_id = 7; + repeated AbilityInvokeEntry invokes = 4; + uint32 entityId = 9; } diff --git a/proto/EntityAiKillSelfNotify.proto b/proto/EntityAiKillSelfNotify.proto new file mode 100644 index 00000000..bb51991a --- /dev/null +++ b/proto/EntityAiKillSelfNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EntityAiKillSelfNotify { + enum KFPDMIAOGED { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 301; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 entityId = 15; +} diff --git a/proto/EntityAiSyncNotify.proto b/proto/EntityAiSyncNotify.proto index 95e9436b..6861ab4e 100644 --- a/proto/EntityAiSyncNotify.proto +++ b/proto/EntityAiSyncNotify.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AiSyncInfo.proto"; + +import "AiSyncInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message EntityAiSyncNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 304; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum ELGOOLKKFPB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 354; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated AiSyncInfo info_list = 14; - repeated uint32 local_avatar_alerted_monster_list = 13; + repeated uint32 localAvatarAlertedMonsterList = 8; + repeated AiSyncInfo infoList = 10; } diff --git a/proto/EntityAuthorityChangeNotify.proto b/proto/EntityAuthorityChangeNotify.proto new file mode 100644 index 00000000..8501a7ea --- /dev/null +++ b/proto/EntityAuthorityChangeNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "AuthorityChange.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EntityAuthorityChangeNotify { + enum FILIKBJBANB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 375; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated AuthorityChange authorityChangeList = 2; +} diff --git a/proto/EntityAuthorityInfo.proto b/proto/EntityAuthorityInfo.proto index 64ceecb2..efd0274f 100644 --- a/proto/EntityAuthorityInfo.proto +++ b/proto/EntityAuthorityInfo.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "AbilitySyncStateInfo.proto"; -import "AnimatorParameterValueInfoPair.proto"; -import "EntityClientExtraInfo.proto"; import "EntityRendererChangedInfo.proto"; import "SceneEntityAiInfo.proto"; -import "Vector.proto"; - +import "Rotation.proto"; +import "EntityClientExtraInfo.proto"; +import "AnimatorParameterValueInfoPair.proto"; option java_package = "emu.grasscutter.net.proto"; message EntityAuthorityInfo { - AbilitySyncStateInfo ability_info = 1; - EntityRendererChangedInfo renderer_changed_info = 2; - SceneEntityAiInfo ai_info = 3; - Vector born_pos = 4; - repeated AnimatorParameterValueInfoPair pose_para_list = 5; - EntityClientExtraInfo client_extra_info = 6; + AbilitySyncStateInfo abilityInfo = 1; + EntityRendererChangedInfo rendererChangedInfo = 2; + SceneEntityAiInfo aiInfo = 3; + Rotation bornPos = 4; + repeated AnimatorParameterValueInfoPair poseParaList = 5; + EntityClientExtraInfo clientExtraInfo = 6; } diff --git a/proto/EntityClientData.proto b/proto/EntityClientData.proto index 58ae8173..c9a99d80 100644 --- a/proto/EntityClientData.proto +++ b/proto/EntityClientData.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message EntityClientData { - uint32 wind_change_scene_time = 1; - float windmill_sync_angle = 2; - int32 wind_change_target_level = 3; + uint32 windChangeSceneTime = 1; + float windmillSyncAngle = 2; + int32 windChangeTargetLevel = 3; } diff --git a/proto/EntityClientExtraInfo.proto b/proto/EntityClientExtraInfo.proto index 7bd6025f..3693f2e6 100644 --- a/proto/EntityClientExtraInfo.proto +++ b/proto/EntityClientExtraInfo.proto @@ -1,26 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message EntityClientExtraInfo { - Vector skill_anchor_position = 1; + Rotation skillAnchorPosition = 1; } diff --git a/proto/EntityConfigHashEntry.proto b/proto/EntityConfigHashEntry.proto new file mode 100644 index 00000000..360f3bfb --- /dev/null +++ b/proto/EntityConfigHashEntry.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EntityConfigHashEntry { + uint32 entityId = 3; + uint32 jobId = 12; + int32 hashValue = 6; +} diff --git a/proto/EntityConfigHashNotify.proto b/proto/EntityConfigHashNotify.proto new file mode 100644 index 00000000..ea96225a --- /dev/null +++ b/proto/EntityConfigHashNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "EntityConfigHashEntry.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EntityConfigHashNotify { + enum DCBKEDEMKOE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3265; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated EntityConfigHashEntry avatarEntryList = 12; + repeated EntityConfigHashEntry abilityEntryList = 7; + repeated EntityConfigHashEntry combatEntryList = 1; +} diff --git a/proto/EntityEnvironmentInfo.proto b/proto/EntityEnvironmentInfo.proto index 3275e779..1d4cb2a6 100644 --- a/proto/EntityEnvironmentInfo.proto +++ b/proto/EntityEnvironmentInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message EntityEnvironmentInfo { - uint32 json_climate_type = 1; - uint32 climate_area_id = 2; + uint32 jsonClimateType = 1; + uint32 climateAreaId = 2; } diff --git a/proto/EntityFightPropChangeReasonNotify.proto b/proto/EntityFightPropChangeReasonNotify.proto index e94232c3..e7ed0800 100644 --- a/proto/EntityFightPropChangeReasonNotify.proto +++ b/proto/EntityFightPropChangeReasonNotify.proto @@ -1,42 +1,26 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ChangeEnergyReason.proto"; -import "ChangeHpReason.proto"; -import "PropChangeReason.proto"; + +import "PropChangeReason.proto"; +import "ChangeHpReason.proto"; +import "ChangeEnergyReason.proto"; option java_package = "emu.grasscutter.net.proto"; message EntityFightPropChangeReasonNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1261; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum LMACOGPGNDH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1280; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 prop_type = 5; - repeated uint32 param_list = 7; - uint32 entity_id = 8; - PropChangeReason reason = 2; - ChangeHpReason change_hp_reason = 9; - ChangeEnergyReason change_energy_reason = 12; - float prop_delta = 10; + float propDelta = 4; + PropChangeReason reason = 13; + uint32 entityId = 12; + repeated uint32 paramList = 1; + ChangeHpReason changeHpReason = 6; + ChangeEnergyReason changeEnergyReason = 3; + uint32 propType = 14; } diff --git a/proto/EntityFightPropNotify.proto b/proto/EntityFightPropNotify.proto new file mode 100644 index 00000000..210efd4f --- /dev/null +++ b/proto/EntityFightPropNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EntityFightPropNotify { + enum OCJILNPKBEB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1287; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 entityId = 7; + map fightPropMap = 15; +} diff --git a/proto/EntityFightPropUpdateNotify.proto b/proto/EntityFightPropUpdateNotify.proto index bc1e29bf..a3ab1cf7 100644 --- a/proto/EntityFightPropUpdateNotify.proto +++ b/proto/EntityFightPropUpdateNotify.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message EntityFightPropUpdateNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1219; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum AHIJFEHBGKE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1298; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 entity_id = 15; - map fight_prop_map = 7; + map fightPropMap = 11; + uint32 entityId = 7; } diff --git a/proto/EntityForceSyncReq.proto b/proto/EntityForceSyncReq.proto new file mode 100644 index 00000000..5414eda1 --- /dev/null +++ b/proto/EntityForceSyncReq.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "MotionInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EntityForceSyncReq { + enum FDCKKALCCGO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 230; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + MotionInfo motionInfo = 13; + uint32 sceneTime = 11; + uint32 entityId = 8; + uint32 roomId = 9; +} diff --git a/proto/EntityForceSyncRsp.proto b/proto/EntityForceSyncRsp.proto new file mode 100644 index 00000000..8d578b15 --- /dev/null +++ b/proto/EntityForceSyncRsp.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "MotionInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EntityForceSyncRsp { + enum OEJPBNDBAHE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 243; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + MotionInfo failMotion = 1; + int32 retcode = 3; + uint32 entityId = 6; + uint32 sceneTime = 2; +} diff --git a/proto/EntityJumpNotify.proto b/proto/EntityJumpNotify.proto new file mode 100644 index 00000000..66818ecf --- /dev/null +++ b/proto/EntityJumpNotify.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +import "Type.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EntityJumpNotify { + enum GFBPAOPKOEK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 292; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + Rotation rot = 8; + Rotation pos = 5; + uint32 entityId = 11; + Type jumpType = 3; +} diff --git a/proto/EntityMoveFailInfo.proto b/proto/EntityMoveFailInfo.proto new file mode 100644 index 00000000..2966a7b4 --- /dev/null +++ b/proto/EntityMoveFailInfo.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "MotionInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EntityMoveFailInfo { + MotionInfo failMotion = 2; + uint32 sceneTime = 7; + int32 retcode = 3; + uint32 entityId = 6; + uint32 reliableSeq = 4; +} diff --git a/proto/EntityMoveInfo.proto b/proto/EntityMoveInfo.proto index 0dbe6c78..ee0d7340 100644 --- a/proto/EntityMoveInfo.proto +++ b/proto/EntityMoveInfo.proto @@ -1,30 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "MotionInfo.proto"; + +import "MotionInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message EntityMoveInfo { - uint32 entity_id = 1; - MotionInfo motion_info = 2; - uint32 scene_time = 3; - uint32 reliable_seq = 4; - bool is_reliable = 5; + uint32 entityId = 1; + MotionInfo motionInfo = 2; + uint32 sceneTime = 3; + uint32 reliableSeq = 4; + bool isReliable = 5; } diff --git a/proto/EntityMoveRoomNotify.proto b/proto/EntityMoveRoomNotify.proto new file mode 100644 index 00000000..54b86c5b --- /dev/null +++ b/proto/EntityMoveRoomNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EntityMoveRoomNotify { + enum DNGKHLFAPNJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3186; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 entityId = 2; + uint32 destRoomId = 5; +} diff --git a/proto/EntityPropNotify.proto b/proto/EntityPropNotify.proto new file mode 100644 index 00000000..a2937344 --- /dev/null +++ b/proto/EntityPropNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "PropValue.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EntityPropNotify { + enum HGECCJNCHOG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1205; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + map propMap = 6; + uint32 entityId = 9; +} diff --git a/proto/EntityRendererChangedInfo.proto b/proto/EntityRendererChangedInfo.proto index efd6db94..f86cea5c 100644 --- a/proto/EntityRendererChangedInfo.proto +++ b/proto/EntityRendererChangedInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message EntityRendererChangedInfo { - map changed_renderers = 1; - uint32 visibility_count = 2; - bool is_cached = 3; + map changedRenderers = 1; + uint32 visibilityCount = 2; + bool isCached = 3; } diff --git a/proto/EntityTagChangeNotify.proto b/proto/EntityTagChangeNotify.proto new file mode 100644 index 00000000..6347a5b1 --- /dev/null +++ b/proto/EntityTagChangeNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EntityTagChangeNotify { + enum GOEKNJLNFKG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3442; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + string tag = 14; + uint32 entityId = 11; + bool isAdd = 1; +} diff --git a/proto/Equip.proto b/proto/Equip.proto index 6fc3993c..3420c157 100644 --- a/proto/Equip.proto +++ b/proto/Equip.proto @@ -1,31 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "Reliquary.proto"; import "Weapon.proto"; - option java_package = "emu.grasscutter.net.proto"; message Equip { - bool is_locked = 3; - oneof detail { - Reliquary reliquary = 1; - Weapon weapon = 2; - } + oneof FOIGJKHHNPG { + Reliquary reliquary = 1; + Weapon weapon = 2; + } + bool isLocked = 3; } diff --git a/proto/EquipParam.proto b/proto/EquipParam.proto index ccc507b7..7061f7cb 100644 --- a/proto/EquipParam.proto +++ b/proto/EquipParam.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message EquipParam { - uint32 item_id = 1; - uint32 item_num = 2; - uint32 item_level = 3; - uint32 promote_level = 4; + uint32 itemId = 1; + uint32 itemNum = 2; + uint32 itemLevel = 3; + uint32 promoteLevel = 4; } diff --git a/proto/EquipParamList.proto b/proto/EquipParamList.proto index 8a0e4014..7542ffd7 100644 --- a/proto/EquipParamList.proto +++ b/proto/EquipParamList.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "EquipParam.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message EquipParamList { diff --git a/proto/EquipRoguelikeRuneReq.proto b/proto/EquipRoguelikeRuneReq.proto index c9f7d324..0262015e 100644 --- a/proto/EquipRoguelikeRuneReq.proto +++ b/proto/EquipRoguelikeRuneReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message EquipRoguelikeRuneReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 8357; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum MKMHOALPDNO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8377; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated uint32 rune_list = 2; + repeated uint32 runeList = 15; } diff --git a/proto/EquipRoguelikeRuneRsp.proto b/proto/EquipRoguelikeRuneRsp.proto index 44dda17a..8a0ea192 100644 --- a/proto/EquipRoguelikeRuneRsp.proto +++ b/proto/EquipRoguelikeRuneRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message EquipRoguelikeRuneRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 8815; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum ANEJCBMBPAE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8054; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 rune_list = 6; - int32 retcode = 5; + repeated uint32 runeList = 13; + int32 retcode = 7; } diff --git a/proto/EventTriggerType.proto b/proto/EventTriggerType.proto new file mode 100644 index 00000000..9f18d4f6 --- /dev/null +++ b/proto/EventTriggerType.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +enum EventTriggerType { + EVENT_TRIGGER_TYPE_NONE = 0; + EVENT_TRIGGER_TYPE_ENTER_FORCE = 1; +} diff --git a/proto/EvtAiSyncCombatThreatInfoNotify.proto b/proto/EvtAiSyncCombatThreatInfoNotify.proto index f32ef653..4546581b 100644 --- a/proto/EvtAiSyncCombatThreatInfoNotify.proto +++ b/proto/EvtAiSyncCombatThreatInfoNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AiThreatInfo.proto"; + +import "AiThreatInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message EvtAiSyncCombatThreatInfoNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 320; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum HKDDKJGBFCD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 356; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - map combat_threat_info_map = 11; + map combatThreatInfoMap = 8; } diff --git a/proto/EvtAiSyncSkillCdNotify.proto b/proto/EvtAiSyncSkillCdNotify.proto index 690ccac0..2846a75b 100644 --- a/proto/EvtAiSyncSkillCdNotify.proto +++ b/proto/EvtAiSyncSkillCdNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AiSkillCdInfo.proto"; + +import "AiSkillCdInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message EvtAiSyncSkillCdNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 395; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum NOBFEMIJJNE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 343; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - map ai_cd_map = 14; + map aiCdMap = 11; } diff --git a/proto/EvtAnimatorParameterInfo.proto b/proto/EvtAnimatorParameterInfo.proto index 0e3dbe0f..913f44c3 100644 --- a/proto/EvtAnimatorParameterInfo.proto +++ b/proto/EvtAnimatorParameterInfo.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AnimatorParameterValueInfo.proto"; + +import "AnimatorParameterValueInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message EvtAnimatorParameterInfo { - int32 name_id = 10; - AnimatorParameterValueInfo value = 7; - uint32 entity_id = 14; - bool is_server_cache = 9; + uint32 entityId = 14; + int32 nameId = 2; + AnimatorParameterValueInfo value = 12; + bool isServerCache = 9; } diff --git a/proto/EvtAnimatorParameterNotify.proto b/proto/EvtAnimatorParameterNotify.proto new file mode 100644 index 00000000..2051e768 --- /dev/null +++ b/proto/EvtAnimatorParameterNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "EvtAnimatorParameterInfo.proto"; +import "ForwardType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EvtAnimatorParameterNotify { + enum AHLNEJMIKCK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 355; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + EvtAnimatorParameterInfo animatorParamInfo = 10; + ForwardType forwardType = 4; +} diff --git a/proto/EvtAnimatorStateChangedInfo.proto b/proto/EvtAnimatorStateChangedInfo.proto new file mode 100644 index 00000000..bf699c66 --- /dev/null +++ b/proto/EvtAnimatorStateChangedInfo.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EvtAnimatorStateChangedInfo { + uint32 normalizedTimeCompact = 9; + float fadeDuration = 8; + uint32 entityId = 11; + bool Unk3300_KLMEKMGFGPD = 13; + bool Unk3300_MEOPKEDJCIN = 12; + int32 faceAngleCompact = 3; + uint32 toStateHash = 4; + uint32 layer = 5; + Rotation pos = 7; +} diff --git a/proto/EvtAnimatorStateChangedNotify.proto b/proto/EvtAnimatorStateChangedNotify.proto new file mode 100644 index 00000000..78220b86 --- /dev/null +++ b/proto/EvtAnimatorStateChangedNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "ForwardType.proto"; +import "EvtAnimatorStateChangedInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EvtAnimatorStateChangedNotify { + enum NEOAHLKEDBE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 324; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + ForwardType forwardType = 6; + EvtAnimatorStateChangedInfo evtAnimatorStateChangedInfo = 8; +} diff --git a/proto/EvtAvatarEnterFocusNotify.proto b/proto/EvtAvatarEnterFocusNotify.proto new file mode 100644 index 00000000..27a6742d --- /dev/null +++ b/proto/EvtAvatarEnterFocusNotify.proto @@ -0,0 +1,32 @@ +syntax = "proto3"; + + + +import "ForwardType.proto"; +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EvtAvatarEnterFocusNotify { + enum OBPPMEJCAGB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 325; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + ForwardType forwardType = 14; + bool Unk3300_NALGJBLGNJI = 5; + bool Unk3300_GGHCEGJEHND = 13; + bool Unk3300_NPBLDGPCDOC = 6; + bool Unk3300_IJHHDFDIJMA = 10; + bool Unk3300_KMAFBMKJDAK = 4; + bool Unk3300_FHHDDNENEDD = 12; + bool Unk3300_LNLOOKDHJGF = 11; + bool Unk3300_CDAJJHIPIKH = 9; + bool Unk3300_NLNIBJAFADG = 15; + Rotation focusForward = 8; + uint32 entityId = 2; + bool Unk3300_OOOPPHEJKDI = 3; +} diff --git a/proto/EvtAvatarExitFocusNotify.proto b/proto/EvtAvatarExitFocusNotify.proto new file mode 100644 index 00000000..727e3cf5 --- /dev/null +++ b/proto/EvtAvatarExitFocusNotify.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +import "ForwardType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EvtAvatarExitFocusNotify { + enum ALNCPNJCAIF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 358; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + Rotation finishForward = 7; + uint32 entityId = 13; + ForwardType forwardType = 14; +} diff --git a/proto/EvtAvatarLockChairReq.proto b/proto/EvtAvatarLockChairReq.proto index 98d35e61..124fea05 100644 --- a/proto/EvtAvatarLockChairReq.proto +++ b/proto/EvtAvatarLockChairReq.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message EvtAvatarLockChairReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 308; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum FINEJFAMDOG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 337; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - Vector position = 2; - uint64 chair_id = 5; + uint64 chairId = 3; + Rotation position = 14; } diff --git a/proto/EvtAvatarLockChairRsp.proto b/proto/EvtAvatarLockChairRsp.proto index e39eba49..e6a76bbb 100644 --- a/proto/EvtAvatarLockChairRsp.proto +++ b/proto/EvtAvatarLockChairRsp.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message EvtAvatarLockChairRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 309; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum GAPNEKBLNKF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 384; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 8; - uint64 chair_id = 14; - uint32 entity_id = 9; - Vector position = 15; + Rotation position = 3; + uint64 chairId = 15; + int32 retcode = 12; + uint32 entityId = 4; } diff --git a/proto/EvtAvatarSitDownNotify.proto b/proto/EvtAvatarSitDownNotify.proto index 79dcccfa..2e39ba93 100644 --- a/proto/EvtAvatarSitDownNotify.proto +++ b/proto/EvtAvatarSitDownNotify.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message EvtAvatarSitDownNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 322; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum EHJKHGFNIEL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 353; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint64 chair_id = 15; - Vector position = 14; - uint32 entity_id = 4; + Rotation position = 2; + uint32 entityId = 4; + uint64 chairId = 11; } diff --git a/proto/EvtAvatarStandUpNotify.proto b/proto/EvtAvatarStandUpNotify.proto index 3f7e85e1..da07158d 100644 --- a/proto/EvtAvatarStandUpNotify.proto +++ b/proto/EvtAvatarStandUpNotify.proto @@ -1,36 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message EvtAvatarStandUpNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 382; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum FHBJMPCKONG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 336; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - int32 direction = 13; - uint64 chair_id = 3; - uint32 entity_id = 5; - int32 perform_id = 11; + uint64 chairId = 11; + int32 performId = 14; + int32 direction = 5; + uint32 entityId = 4; } diff --git a/proto/EvtAvatarUpdateFocusNotify.proto b/proto/EvtAvatarUpdateFocusNotify.proto new file mode 100644 index 00000000..9222ce43 --- /dev/null +++ b/proto/EvtAvatarUpdateFocusNotify.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "ForwardType.proto"; +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EvtAvatarUpdateFocusNotify { + enum MBMKKADEAPP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 318; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 entityId = 5; + ForwardType forwardType = 15; + Rotation focusForward = 3; +} diff --git a/proto/EvtBeingHealedNotify.proto b/proto/EvtBeingHealedNotify.proto new file mode 100644 index 00000000..c83efc7d --- /dev/null +++ b/proto/EvtBeingHealedNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EvtBeingHealedNotify { + enum AHFCMEGDDAA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 391; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 sourceId = 13; + float realHealAmount = 12; + float healAmount = 11; + uint32 targetId = 8; +} diff --git a/proto/EvtBeingHitInfo.proto b/proto/EvtBeingHitInfo.proto index c9e22882..135c267b 100644 --- a/proto/EvtBeingHitInfo.proto +++ b/proto/EvtBeingHitInfo.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AttackResult.proto"; + +import "AttackResult.proto"; option java_package = "emu.grasscutter.net.proto"; message EvtBeingHitInfo { - uint32 frame_num = 11; - uint32 peer_id = 2; - AttackResult attack_result = 6; + AttackResult attackResult = 5; + uint32 peerId = 7; + uint32 frameNum = 10; } diff --git a/proto/EvtBeingHitNotify.proto b/proto/EvtBeingHitNotify.proto new file mode 100644 index 00000000..468abccd --- /dev/null +++ b/proto/EvtBeingHitNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "ForwardType.proto"; +import "EvtBeingHitInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EvtBeingHitNotify { + enum OBLDJNMPBNB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 305; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + ForwardType forwardType = 4; + EvtBeingHitInfo beingHitInfo = 15; +} diff --git a/proto/EvtBeingHitsCombineNotify.proto b/proto/EvtBeingHitsCombineNotify.proto new file mode 100644 index 00000000..38e254be --- /dev/null +++ b/proto/EvtBeingHitsCombineNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "ForwardType.proto"; +import "EvtBeingHitInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EvtBeingHitsCombineNotify { + enum DOELOHEBHGL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 335; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + ForwardType forwardType = 3; + repeated EvtBeingHitInfo evtBeingHitInfoList = 4; +} diff --git a/proto/EvtBulletDeactiveNotify.proto b/proto/EvtBulletDeactiveNotify.proto new file mode 100644 index 00000000..42b886c4 --- /dev/null +++ b/proto/EvtBulletDeactiveNotify.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +import "ForwardType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EvtBulletDeactiveNotify { + enum KLDKJAMLKPC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 316; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 entityId = 4; + Rotation disappearPos = 5; + ForwardType forwardType = 12; +} diff --git a/proto/EvtBulletHitNotify.proto b/proto/EvtBulletHitNotify.proto new file mode 100644 index 00000000..19a526f7 --- /dev/null +++ b/proto/EvtBulletHitNotify.proto @@ -0,0 +1,29 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +import "ForwardType.proto"; +import "HitColliderType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EvtBulletHitNotify { + enum PABCPHNPKDA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 378; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + Rotation hitNormal = 4; + uint32 hitEntityId = 14; + int32 hitBoxIndex = 15; + ForwardType forwardType = 6; + uint32 entityId = 10; + uint32 forwardPeer = 13; + uint32 singleBulletId = 12; + HitColliderType hitColliderType = 8; + Rotation hitPoint = 1; +} diff --git a/proto/EvtBulletMoveNotify.proto b/proto/EvtBulletMoveNotify.proto new file mode 100644 index 00000000..d2d7660e --- /dev/null +++ b/proto/EvtBulletMoveNotify.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "ForwardType.proto"; +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EvtBulletMoveNotify { + enum PJJNHKNDFFO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 388; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + ForwardType forwardType = 11; + Rotation curPos = 13; + uint32 entityId = 1; +} diff --git a/proto/EvtCombatSteerMotionInfo.proto b/proto/EvtCombatSteerMotionInfo.proto index c918b3f0..5ed1ce5d 100644 --- a/proto/EvtCombatSteerMotionInfo.proto +++ b/proto/EvtCombatSteerMotionInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message EvtCombatSteerMotionInfo { diff --git a/proto/EvtCostStaminaNotify.proto b/proto/EvtCostStaminaNotify.proto new file mode 100644 index 00000000..cf2107af --- /dev/null +++ b/proto/EvtCostStaminaNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EvtCostStaminaNotify { + enum FFCGOJBIAEJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 362; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + float costStamina = 8; + uint32 skillId = 14; +} diff --git a/proto/EvtCreateGadgetNotify.proto b/proto/EvtCreateGadgetNotify.proto index 275398a0..be053af2 100644 --- a/proto/EvtCreateGadgetNotify.proto +++ b/proto/EvtCreateGadgetNotify.proto @@ -1,54 +1,38 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ForwardType.proto"; -import "Vector.proto"; + +import "Rotation.proto"; +import "ForwardType.proto"; option java_package = "emu.grasscutter.net.proto"; message EvtCreateGadgetNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 400; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum NNDMEEHFHPG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 320; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated uint32 target_entity_id_list = 1652; - Vector init_pos = 9; - bool Unk3300_DLBIJFOONBA = 15; - uint32 owner_entity_id = 2; - ForwardType forward_type = 3; - repeated uint32 target_lock_point_index_list = 414; - uint32 prop_owner_entity_id = 6; - uint32 target_lock_point_index = 4; - bool is_async_load = 1433; - uint32 camp_id = 10; - bool Unk3300_EJNBIGLGMII = 8; - Vector init_euler_angles = 12; - bool is_peer_id_from_player = 609; - uint32 room_id = 5; - uint32 config_id = 14; - uint32 camp_type = 13; - uint64 guid = 7; - uint32 entity_id = 1; - uint32 target_entity_id = 11; + uint32 targetLockPointIndex = 6; + bool Unk3300_OJHDJGAFDNN = 137; + uint32 ownerEntityId = 3; + Rotation initEulerAngles = 11; + uint32 propOwnerEntityId = 1; + uint32 roomId = 15; + ForwardType forwardType = 7; + uint32 campId = 14; + uint32 configId = 13; + uint32 targetEntityId = 10; + uint64 guid = 5; + bool Unk3300_DLBIJFOONBA = 2; + Rotation initPos = 9; + uint32 entityId = 4; + bool isPeerIdFromPlayer = 771; + repeated uint32 targetLockPointIndexList = 1252; + bool Unk3300_EJNBIGLGMII = 8; + uint32 campType = 12; + repeated uint32 targetEntityIdList = 1591; } diff --git a/proto/EvtDestroyGadgetNotify.proto b/proto/EvtDestroyGadgetNotify.proto index dbe8eee3..50d1f50a 100644 --- a/proto/EvtDestroyGadgetNotify.proto +++ b/proto/EvtDestroyGadgetNotify.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ForwardType.proto"; + +import "ForwardType.proto"; option java_package = "emu.grasscutter.net.proto"; message EvtDestroyGadgetNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 343; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum CFFIONNKMNJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 374; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 entity_id = 8; - ForwardType forward_type = 10; + ForwardType forwardType = 11; + uint32 entityId = 3; } diff --git a/proto/EvtDestroyServerGadgetNotify.proto b/proto/EvtDestroyServerGadgetNotify.proto new file mode 100644 index 00000000..984a73f1 --- /dev/null +++ b/proto/EvtDestroyServerGadgetNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EvtDestroyServerGadgetNotify { + enum ANMBLLKNHOD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 367; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 entityId = 14; +} diff --git a/proto/EvtDoSkillSuccNotify.proto b/proto/EvtDoSkillSuccNotify.proto index f99085a4..80b8eb69 100644 --- a/proto/EvtDoSkillSuccNotify.proto +++ b/proto/EvtDoSkillSuccNotify.proto @@ -1,39 +1,23 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ForwardType.proto"; -import "Vector.proto"; + +import "ForwardType.proto"; +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message EvtDoSkillSuccNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 319; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum AFPNPDBLIDO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 398; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 caster_id = 15; - ForwardType forward_type = 9; - uint32 skill_id = 14; - Vector forward = 13; + uint32 skillId = 13; + ForwardType forwardType = 5; + uint32 casterId = 2; + Rotation forward = 14; } diff --git a/proto/EvtEntityRenderersChangedNotify.proto b/proto/EvtEntityRenderersChangedNotify.proto index 03984204..69ad0721 100644 --- a/proto/EvtEntityRenderersChangedNotify.proto +++ b/proto/EvtEntityRenderersChangedNotify.proto @@ -1,39 +1,23 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "EntityRendererChangedInfo.proto"; -import "ForwardType.proto"; + +import "ForwardType.proto"; +import "EntityRendererChangedInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message EvtEntityRenderersChangedNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 375; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum EBMLMFNDDIK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 350; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - ForwardType forward_type = 5; - uint32 entity_id = 1; - bool is_server_cache = 3; - EntityRendererChangedInfo renderer_changed_info = 15; + ForwardType forwardType = 10; + uint32 entityId = 4; + bool isServerCache = 8; + EntityRendererChangedInfo rendererChangedInfo = 13; } diff --git a/proto/EvtEntityStartDieEndNotify.proto b/proto/EvtEntityStartDieEndNotify.proto new file mode 100644 index 00000000..598c013b --- /dev/null +++ b/proto/EvtEntityStartDieEndNotify.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "ForwardType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EvtEntityStartDieEndNotify { + enum APOIPPEMOKA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 313; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 entityId = 11; + bool immediately = 9; + ForwardType forwardType = 15; + uint32 dieStateFlag = 8; +} diff --git a/proto/EvtFaceToDirInfo.proto b/proto/EvtFaceToDirInfo.proto new file mode 100644 index 00000000..6a6e8a96 --- /dev/null +++ b/proto/EvtFaceToDirInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EvtFaceToDirInfo { + Rotation faceDir = 2; + uint32 entityId = 5; +} diff --git a/proto/EvtFaceToDirNotify.proto b/proto/EvtFaceToDirNotify.proto new file mode 100644 index 00000000..391dfe0c --- /dev/null +++ b/proto/EvtFaceToDirNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "ForwardType.proto"; +import "EvtFaceToDirInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EvtFaceToDirNotify { + enum CCMHJJMINHO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 370; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + ForwardType forwardType = 14; + EvtFaceToDirInfo evtFaceToDirInfo = 2; +} diff --git a/proto/EvtFaceToEntityNotify.proto b/proto/EvtFaceToEntityNotify.proto new file mode 100644 index 00000000..f94ee122 --- /dev/null +++ b/proto/EvtFaceToEntityNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "ForwardType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EvtFaceToEntityNotify { + enum BCNDFKFNGLK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 380; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 entityId = 8; + uint32 faceEntityId = 4; + ForwardType forwardType = 10; +} diff --git a/proto/EvtLocalGadgetOwnerLeaveSceneNotify.proto b/proto/EvtLocalGadgetOwnerLeaveSceneNotify.proto new file mode 100644 index 00000000..dc3b8d4e --- /dev/null +++ b/proto/EvtLocalGadgetOwnerLeaveSceneNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EvtLocalGadgetOwnerLeaveSceneNotify { + enum PHEOIIBBDMF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 360; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 entityId = 11; +} diff --git a/proto/EvtMotionInfoDuringSteerAttack.proto b/proto/EvtMotionInfoDuringSteerAttack.proto index 59a9025f..3fda6b54 100644 --- a/proto/EvtMotionInfoDuringSteerAttack.proto +++ b/proto/EvtMotionInfoDuringSteerAttack.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message EvtMotionInfoDuringSteerAttack { diff --git a/proto/EvtRushMoveInfo.proto b/proto/EvtRushMoveInfo.proto new file mode 100644 index 00000000..b5c0ee74 --- /dev/null +++ b/proto/EvtRushMoveInfo.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EvtRushMoveInfo { + Rotation velocity = 13; + uint32 entityId = 5; + Rotation Unk3300_FGAPBJIPJFG = 6; + float timeRange = 10; + int32 faceAngleCompact = 9; + Rotation pos = 14; + Rotation Unk3300_NEBMDDGPBON = 8; + int32 stateNameHash = 7; +} diff --git a/proto/EvtRushMoveNotify.proto b/proto/EvtRushMoveNotify.proto new file mode 100644 index 00000000..33cae77e --- /dev/null +++ b/proto/EvtRushMoveNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "EvtRushMoveInfo.proto"; +import "ForwardType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EvtRushMoveNotify { + enum BMLMEMGLNHK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 329; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + EvtRushMoveInfo evtRushMoveInfo = 13; + ForwardType forwardType = 1; +} diff --git a/proto/EvtSetAttackTargetInfo.proto b/proto/EvtSetAttackTargetInfo.proto new file mode 100644 index 00000000..d74b3e7e --- /dev/null +++ b/proto/EvtSetAttackTargetInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message EvtSetAttackTargetInfo { + uint32 entityId = 14; + uint32 attackTargetId = 8; + uint32 selectPointIndex = 4; +} diff --git a/proto/EvtSetAttackTargetNotify.proto b/proto/EvtSetAttackTargetNotify.proto new file mode 100644 index 00000000..e8c38fc1 --- /dev/null +++ b/proto/EvtSetAttackTargetNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "EvtSetAttackTargetInfo.proto"; +import "ForwardType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message EvtSetAttackTargetNotify { + enum MCPMLMLNKLN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 314; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + EvtSetAttackTargetInfo evtSetAttackTargetInfo = 1; + ForwardType forwardType = 15; +} diff --git a/proto/ExclusiveRuleNotify.proto b/proto/ExclusiveRuleNotify.proto new file mode 100644 index 00000000..25fe4990 --- /dev/null +++ b/proto/ExclusiveRuleNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ExclusiveRuleNotify { + enum GDCHJMMCHEC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 159; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 compoundId = 6; +} diff --git a/proto/ExecuteGadgetLuaReq.proto b/proto/ExecuteGadgetLuaReq.proto new file mode 100644 index 00000000..dba41539 --- /dev/null +++ b/proto/ExecuteGadgetLuaReq.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ExecuteGadgetLuaReq { + enum PPNJBKMHPHF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 210; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + int32 param2 = 15; + int32 param3 = 8; + uint32 sourceEntityId = 6; + int32 param1 = 14; +} diff --git a/proto/ExecuteGadgetLuaRsp.proto b/proto/ExecuteGadgetLuaRsp.proto new file mode 100644 index 00000000..569561e2 --- /dev/null +++ b/proto/ExecuteGadgetLuaRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ExecuteGadgetLuaRsp { + enum NFAENIKEMPJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 209; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 13; +} diff --git a/proto/ExecuteGroupTriggerReq.proto b/proto/ExecuteGroupTriggerReq.proto new file mode 100644 index 00000000..e48290e4 --- /dev/null +++ b/proto/ExecuteGroupTriggerReq.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ExecuteGroupTriggerReq { + enum JHBIBOPILPJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 290; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + int32 param3 = 2; + int32 param1 = 7; + uint32 sourceEntityId = 8; + int32 param2 = 4; + uint32 targetEntityId = 3; + string sourceName = 5; +} diff --git a/proto/ExecuteGroupTriggerRsp.proto b/proto/ExecuteGroupTriggerRsp.proto new file mode 100644 index 00000000..f79cb0f5 --- /dev/null +++ b/proto/ExecuteGroupTriggerRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ExecuteGroupTriggerRsp { + enum AAKHNNKGEJJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 254; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 13; +} diff --git a/proto/ExhibitionDisplayInfo.proto b/proto/ExhibitionDisplayInfo.proto index 9d9962bc..2af7ad9b 100644 --- a/proto/ExhibitionDisplayInfo.proto +++ b/proto/ExhibitionDisplayInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ExhibitionDisplayInfo { - uint32 id = 1; - uint32 param = 2; - uint32 detail_param = 3; + uint32 id = 1; + uint32 param = 2; + uint32 detailParam = 3; } diff --git a/proto/ExitCustomDungeonTryReq.proto b/proto/ExitCustomDungeonTryReq.proto new file mode 100644 index 00000000..78425f62 --- /dev/null +++ b/proto/ExitCustomDungeonTryReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ExitCustomDungeonTryReq { + enum OJDADJCAEBK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6207; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/ExitCustomDungeonTryRsp.proto b/proto/ExitCustomDungeonTryRsp.proto new file mode 100644 index 00000000..f553fa38 --- /dev/null +++ b/proto/ExitCustomDungeonTryRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ExitCustomDungeonTryRsp { + enum MCADCECCMJL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6215; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 7; +} diff --git a/proto/ExitFishingReq.proto b/proto/ExitFishingReq.proto new file mode 100644 index 00000000..be077df5 --- /dev/null +++ b/proto/ExitFishingReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ExitFishingReq { + enum JAKIIHGDDKH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5842; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/ExitFishingRsp.proto b/proto/ExitFishingRsp.proto new file mode 100644 index 00000000..eb8be55d --- /dev/null +++ b/proto/ExitFishingRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ExitFishingRsp { + enum FLBAKFJOMHB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5807; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 12; +} diff --git a/proto/ExitSceneWeatherAreaNotify.proto b/proto/ExitSceneWeatherAreaNotify.proto new file mode 100644 index 00000000..a40e53d3 --- /dev/null +++ b/proto/ExitSceneWeatherAreaNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ExitSceneWeatherAreaNotify { + enum FKPDOFNMKHD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 294; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 weatherGadgetId = 15; +} diff --git a/proto/ExitTransPointRegionNotify.proto b/proto/ExitTransPointRegionNotify.proto index 9c8dc61f..941d822f 100644 --- a/proto/ExitTransPointRegionNotify.proto +++ b/proto/ExitTransPointRegionNotify.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ExitTransPointRegionNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 290; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum AHMONCNKABI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 206; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 point_id = 4; - uint32 scene_id = 1; + uint32 pointId = 2; + uint32 sceneId = 8; } diff --git a/proto/ExpeditionActivityDetailInfo.proto b/proto/ExpeditionActivityDetailInfo.proto index 79dad7f8..60167b9b 100644 --- a/proto/ExpeditionActivityDetailInfo.proto +++ b/proto/ExpeditionActivityDetailInfo.proto @@ -20,6 +20,7 @@ syntax = "proto3"; import "ExpeditionChallengeInfo.proto"; import "ExpeditionPathInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message ExpeditionActivityDetailInfo { diff --git a/proto/ExpeditionAssistInfo.proto b/proto/ExpeditionAssistInfo.proto new file mode 100644 index 00000000..2b80b103 --- /dev/null +++ b/proto/ExpeditionAssistInfo.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ExpeditionAssistInfo { + uint32 assistTime = 4; + uint32 avatarId = 11; + string targetNickName = 9; + uint32 costumeId = 15; + string onlineId = 13; +} diff --git a/proto/ExpeditionChallengeEnterRegionNotify.proto b/proto/ExpeditionChallengeEnterRegionNotify.proto new file mode 100644 index 00000000..0bd4f770 --- /dev/null +++ b/proto/ExpeditionChallengeEnterRegionNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ExpeditionChallengeEnterRegionNotify { + enum KCKONFGJEJF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2092; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 id = 7; + bool isPuzzleFinished = 11; +} diff --git a/proto/ExpeditionChallengeFinishedNotify.proto b/proto/ExpeditionChallengeFinishedNotify.proto new file mode 100644 index 00000000..0ef8c30b --- /dev/null +++ b/proto/ExpeditionChallengeFinishedNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ExpeditionChallengeFinishedNotify { + enum BAJDKJFEJAB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2094; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 id = 8; +} diff --git a/proto/ExpeditionChallengeInfo.proto b/proto/ExpeditionChallengeInfo.proto index 7765a5e8..2714eb9c 100644 --- a/proto/ExpeditionChallengeInfo.proto +++ b/proto/ExpeditionChallengeInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ExpeditionChallengeInfo { - uint32 id = 5; - bool is_finished = 2; - uint32 open_time = 12; + uint32 openTime = 11; + uint32 id = 13; + bool isFinished = 15; } diff --git a/proto/ExpeditionInfo.proto b/proto/ExpeditionInfo.proto new file mode 100644 index 00000000..4079cb50 --- /dev/null +++ b/proto/ExpeditionInfo.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "ExpeditionChallengeInfo.proto"; +import "ExpeditionPathInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ExpeditionInfo { + repeated ExpeditionChallengeInfo exceededItemTypeList = 2; + bool leftMonsters = 12; + uint32 Unk3300_MNPBCNEDKAJ = 3; + uint32 contentCloseTime = 9; + uint32 Unk3300_GJLCAJOFCKL = 4; + repeated ExpeditionPathInfo pathInfoList = 13; +} diff --git a/proto/ExpeditionPathInfo.proto b/proto/ExpeditionPathInfo.proto index f0cc3949..9437b82e 100644 --- a/proto/ExpeditionPathInfo.proto +++ b/proto/ExpeditionPathInfo.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ExpeditionState.proto"; + +import "ExpeditionState.proto"; option java_package = "emu.grasscutter.net.proto"; message ExpeditionPathInfo { - uint32 start_time = 10; - float bonus_probability = 12; - repeated uint32 avatar_id_list = 8; - uint32 path_id = 11; - uint32 Unk3300_AIEJKADFLKG = 6; - uint32 Unk3300_LKAHOEBNBBI = 14; - uint32 Unk3300_AFGPGIIGAKA = 7; - uint32 Unk3300_LFIFDGAGFDC = 5; - ExpeditionState state = 13; - uint32 challenge_id = 9; + uint32 startTime = 15; + uint32 Unk3300_LFIFDGAGFDC = 7; + uint32 pathId = 11; + repeated uint32 avatarIdList = 2; + uint32 challengeId = 3; + ExpeditionState state = 9; + uint32 Unk3300_AIEJKADFLKG = 10; + uint32 Unk3300_LKAHOEBNBBI = 1; + uint32 Unk3300_AFGPGIIGAKA = 14; + float bonusProbability = 8; } diff --git a/proto/ExpeditionRecallReq.proto b/proto/ExpeditionRecallReq.proto new file mode 100644 index 00000000..f54fa0e6 --- /dev/null +++ b/proto/ExpeditionRecallReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ExpeditionRecallReq { + enum PGCHKPOPGFP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2011; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 pathId = 7; +} diff --git a/proto/ExpeditionRecallRsp.proto b/proto/ExpeditionRecallRsp.proto new file mode 100644 index 00000000..fcd3efea --- /dev/null +++ b/proto/ExpeditionRecallRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ExpeditionRecallRsp { + enum NOCOAJDGING { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2156; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 pathId = 3; + int32 retcode = 8; +} diff --git a/proto/ExpeditionStartReq.proto b/proto/ExpeditionStartReq.proto new file mode 100644 index 00000000..2369fde0 --- /dev/null +++ b/proto/ExpeditionStartReq.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ExpeditionStartReq { + enum CJLHEKIMJCC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2020; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 Unk3300_AIEJKADFLKG = 4; + uint32 pathId = 10; + repeated uint32 avatarIdList = 8; + uint32 Unk3300_AFGPGIIGAKA = 7; +} diff --git a/proto/ExpeditionStartRsp.proto b/proto/ExpeditionStartRsp.proto new file mode 100644 index 00000000..833aace4 --- /dev/null +++ b/proto/ExpeditionStartRsp.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ExpeditionStartRsp { + enum HJCFHHNKFEF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2157; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 13; + uint32 Unk3300_AFGPGIIGAKA = 7; + uint32 Unk3300_AIEJKADFLKG = 9; + uint32 pathId = 4; + repeated uint32 avatarIdList = 12; +} diff --git a/proto/ExpeditionState.proto b/proto/ExpeditionState.proto index ac1f5b03..c46328e6 100644 --- a/proto/ExpeditionState.proto +++ b/proto/ExpeditionState.proto @@ -1,28 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum ExpeditionState { - EXPEDITION_STATE_NONE = 0; - EXPEDITION_STATE_STARTED = 1; - EXPEDITION_STATE_FINISHED = 2; - EXPEDITION_STATE_REWARDED = 3; - EXPEDITION_STATE_LOCKED = 4; + EXPEDITION_STATE_NONE = 0; + EXPEDITION_STATE_STARTED = 1; + EXPEDITION_STATE_FINISHED = 2; + EXPEDITION_STATE_REWARDED = 3; + EXPEDITION_STATE_LOCKED = 4; } diff --git a/proto/ExpeditionTakeRewardReq.proto b/proto/ExpeditionTakeRewardReq.proto new file mode 100644 index 00000000..09ba8024 --- /dev/null +++ b/proto/ExpeditionTakeRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ExpeditionTakeRewardReq { + enum CNFKJKDIPPC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2163; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 pathId = 2; +} diff --git a/proto/ExpeditionTakeRewardRsp.proto b/proto/ExpeditionTakeRewardRsp.proto new file mode 100644 index 00000000..2df3f22d --- /dev/null +++ b/proto/ExpeditionTakeRewardRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ExpeditionTakeRewardRsp { + enum ACMHBHOMOBI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2065; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 pathId = 14; + uint32 rewardLevel = 7; + int32 retcode = 8; + bool isBonus = 13; +} diff --git a/proto/FADIHKCGEDF.proto b/proto/FADIHKCGEDF.proto new file mode 100644 index 00000000..41f0714b --- /dev/null +++ b/proto/FADIHKCGEDF.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FADIHKCGEDF { + int64 value = 1; +} diff --git a/proto/FBCAAKCBPMH.proto b/proto/FBCAAKCBPMH.proto new file mode 100644 index 00000000..cf8041e3 --- /dev/null +++ b/proto/FBCAAKCBPMH.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FBCAAKCBPMH { + uint32 targetEntityId = 7; +} diff --git a/proto/FBKJENFAAKN.proto b/proto/FBKJENFAAKN.proto new file mode 100644 index 00000000..c40e7539 --- /dev/null +++ b/proto/FBKJENFAAKN.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "EIBBNBEBHGD.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FBKJENFAAKN { + repeated uint32 ehbfihcdoli = 12; + repeated EIBBNBEBHGD avatarInfoList = 6; +} diff --git a/proto/FDBLEGJAEKC.proto b/proto/FDBLEGJAEKC.proto new file mode 100644 index 00000000..bc0d4b6d --- /dev/null +++ b/proto/FDBLEGJAEKC.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FDBLEGJAEKC { + oneof IMMPKEFCBCL { + uint32 int_arg = 11; + float float_arg = 2; + string str_arg = 8; + } +} diff --git a/proto/FEKJJACPMJI.proto b/proto/FEKJJACPMJI.proto new file mode 100644 index 00000000..fcf65c74 --- /dev/null +++ b/proto/FEKJJACPMJI.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FEKJJACPMJI { + float mgljfjenkkl = 14; + float hldifipdbfb = 7; +} diff --git a/proto/FFJPPIJOJLI.proto b/proto/FFJPPIJOJLI.proto new file mode 100644 index 00000000..91a3a18f --- /dev/null +++ b/proto/FFJPPIJOJLI.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FFJPPIJOJLI { + uint32 furnitureId = 1; + Rotation spawnPos = 2; + Rotation spawnRot = 3; +} diff --git a/proto/FGJKDICFADH.proto b/proto/FGJKDICFADH.proto new file mode 100644 index 00000000..3bb6de56 --- /dev/null +++ b/proto/FGJKDICFADH.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "CBNIFFCNOEC.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FGJKDICFADH { + uint32 uid = 1; + repeated uint64 milgfplpdhp = 2; + repeated uint64 dljdncgnbgk = 3; + repeated CBNIFFCNOEC leilkaldnem = 4; +} diff --git a/proto/FGPNDDNEBJO.proto b/proto/FGPNDDNEBJO.proto new file mode 100644 index 00000000..d79df571 --- /dev/null +++ b/proto/FGPNDDNEBJO.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FGPNDDNEBJO { + Rotation pos = 8; + Rotation mjehpphliia = 1; + uint32 djmnfklkcaf = 2; + Rotation rot = 12; +} diff --git a/proto/FJMGEBIAMDB.proto b/proto/FJMGEBIAMDB.proto new file mode 100644 index 00000000..4d843615 --- /dev/null +++ b/proto/FJMGEBIAMDB.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "IDOELHBANCP.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FJMGEBIAMDB { + repeated IDOELHBANCP kcllbppiboo = 999; +} diff --git a/proto/FKJCFGLHNPM.proto b/proto/FKJCFGLHNPM.proto new file mode 100644 index 00000000..0128751b --- /dev/null +++ b/proto/FKJCFGLHNPM.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "DMMAGIEOPDG.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FKJCFGLHNPM { + repeated DMMAGIEOPDG stageInfoList = 9; +} diff --git a/proto/FallInfo.proto b/proto/FallInfo.proto new file mode 100644 index 00000000..478527d3 --- /dev/null +++ b/proto/FallInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "FallPlayerInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FallInfo { + uint32 endTime = 6; + map scenePlayerFallInfoMap = 9; +} diff --git a/proto/FallPlayerBrief.proto b/proto/FallPlayerBrief.proto new file mode 100644 index 00000000..8619d8e5 --- /dev/null +++ b/proto/FallPlayerBrief.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FallPlayerBrief { + uint32 uid = 12; + bool isGround = 8; + uint32 score = 13; +} diff --git a/proto/FallPlayerInfo.proto b/proto/FallPlayerInfo.proto new file mode 100644 index 00000000..f9ae514a --- /dev/null +++ b/proto/FallPlayerInfo.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FallPlayerInfo { + uint32 timeCost = 10; + uint32 uid = 4; + map ballCatchCountMap = 8; + uint32 curScore = 11; + bool isGround = 15; +} diff --git a/proto/FallSettleInfo.proto b/proto/FallSettleInfo.proto new file mode 100644 index 00000000..b282c2ca --- /dev/null +++ b/proto/FallSettleInfo.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +import "OnlinePlayerInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FallSettleInfo { + OnlinePlayerInfo playerInfo = 7; + uint32 remainTime = 14; + uint32 uid = 3; + uint32 catchCount = 10; + map flowerRingCatchCountMap = 4; + uint32 finalScore = 9; +} diff --git a/proto/FeatureBlockInfo.proto b/proto/FeatureBlockInfo.proto index 82415c9a..ae7c9b4f 100644 --- a/proto/FeatureBlockInfo.proto +++ b/proto/FeatureBlockInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FeatureBlockInfo { - uint32 feature_type = 1; - uint32 end_time = 2; + uint32 featureType = 1; + uint32 endTime = 2; } diff --git a/proto/FetterData.proto b/proto/FetterData.proto index f73e7b35..91bf9d0a 100644 --- a/proto/FetterData.proto +++ b/proto/FetterData.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FetterData { - uint32 fetter_id = 1; - uint32 fetter_state = 2; - repeated uint32 cond_index_list = 3; + uint32 fetterId = 1; + uint32 fetterState = 2; + repeated uint32 condIndexList = 3; } diff --git a/proto/FightPropPair.proto b/proto/FightPropPair.proto index 22456a2b..6d4a9735 100644 --- a/proto/FightPropPair.proto +++ b/proto/FightPropPair.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FightPropPair { - uint32 prop_type = 1; - float prop_value = 2; + uint32 propType = 1; + float propValue = 2; } diff --git a/proto/FilterType.proto b/proto/FilterType.proto new file mode 100644 index 00000000..8097c8c3 --- /dev/null +++ b/proto/FilterType.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum FilterType { + FILTER_TYPE_ALL = 0; + FILTER_TYPE_AIR = 1; + FILTER_TYPE_WATER = 2; +} diff --git a/proto/FindHilichurlAcceptQuestNotify.proto b/proto/FindHilichurlAcceptQuestNotify.proto index 5fc2659f..79f0eb73 100644 --- a/proto/FindHilichurlAcceptQuestNotify.proto +++ b/proto/FindHilichurlAcceptQuestNotify.proto @@ -1,30 +1,16 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FindHilichurlAcceptQuestNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 8893; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum POCGDCLDDMI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8522; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + } diff --git a/proto/FindHilichurlDayContentInfo.proto b/proto/FindHilichurlDayContentInfo.proto index 13260559..f1a406d3 100644 --- a/proto/FindHilichurlDayContentInfo.proto +++ b/proto/FindHilichurlDayContentInfo.proto @@ -1,24 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FindHilichurlDayContentInfo { - uint32 start_time = 13; + uint32 startTime = 5; } diff --git a/proto/FindHilichurlDetailInfo.proto b/proto/FindHilichurlDetailInfo.proto index b3677d8c..975c7426 100644 --- a/proto/FindHilichurlDetailInfo.proto +++ b/proto/FindHilichurlDetailInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "FindHilichurlDayContentInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message FindHilichurlDetailInfo { diff --git a/proto/FindHilichurlFinishSecondQuestNotify.proto b/proto/FindHilichurlFinishSecondQuestNotify.proto index 63ab5965..0f5b1681 100644 --- a/proto/FindHilichurlFinishSecondQuestNotify.proto +++ b/proto/FindHilichurlFinishSecondQuestNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FindHilichurlFinishSecondQuestNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 8644; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum INNBCDKAJKJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8774; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 day_index = 4; + uint32 dayIndex = 9; } diff --git a/proto/FindHilichurlInfo.proto b/proto/FindHilichurlInfo.proto new file mode 100644 index 00000000..21e22022 --- /dev/null +++ b/proto/FindHilichurlInfo.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "FindHilichurlDayContentInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FindHilichurlInfo { + uint32 dayIndex = 1; + bool isEndQuestAccept = 14; + uint32 contentCloseTime = 8; + bool leftMonsters = 15; + repeated FindHilichurlDayContentInfo dayContentInfoList = 2; + uint32 minOpenPlayerLevel = 4; + uint32 playerDayIndex = 10; +} diff --git a/proto/FinishDeliveryNotify.proto b/proto/FinishDeliveryNotify.proto new file mode 100644 index 00000000..50afa4ae --- /dev/null +++ b/proto/FinishDeliveryNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FinishDeliveryNotify { + enum GCNLHHAIBJA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2044; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 dayIndex = 2; + uint32 finishedQuestIndex = 4; + uint32 scheduleId = 8; +} diff --git a/proto/FinishLanternProjectionReq.proto b/proto/FinishLanternProjectionReq.proto new file mode 100644 index 00000000..9e54a4a2 --- /dev/null +++ b/proto/FinishLanternProjectionReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FinishLanternProjectionReq { + enum MPFJNIPOFOF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8236; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 finishTime = 15; + uint32 levelId = 10; +} diff --git a/proto/FinishLanternProjectionRsp.proto b/proto/FinishLanternProjectionRsp.proto new file mode 100644 index 00000000..7756b77a --- /dev/null +++ b/proto/FinishLanternProjectionRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FinishLanternProjectionRsp { + enum DMBLJFCAIBD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8132; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 15; +} diff --git a/proto/FinishMainCoopReq.proto b/proto/FinishMainCoopReq.proto new file mode 100644 index 00000000..0ab90705 --- /dev/null +++ b/proto/FinishMainCoopReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FinishMainCoopReq { + enum GCDJKLLAJKL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1969; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 id = 11; + uint32 endingSavePointId = 5; +} diff --git a/proto/FinishMainCoopRsp.proto b/proto/FinishMainCoopRsp.proto new file mode 100644 index 00000000..b1b79775 --- /dev/null +++ b/proto/FinishMainCoopRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FinishMainCoopRsp { + enum BIANAGKJMMK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1993; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 id = 12; + uint32 endingSavePointId = 4; + int32 retcode = 14; +} diff --git a/proto/FinishReason.proto b/proto/FinishReason.proto new file mode 100644 index 00000000..6c2a02fe --- /dev/null +++ b/proto/FinishReason.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +enum FinishReason { + FINISH_REASON_DEFAULT = 0; + FINISH_REASON_CLEAR = 1; + FINISH_REASON_DISTANCE = 2; + FINISH_REASON_FINISH = 3; +} diff --git a/proto/FinishedParentQuestNotify.proto b/proto/FinishedParentQuestNotify.proto index 6333b56c..373d8f07 100644 --- a/proto/FinishedParentQuestNotify.proto +++ b/proto/FinishedParentQuestNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ParentQuest.proto"; + +import "ParentQuest.proto"; option java_package = "emu.grasscutter.net.proto"; message FinishedParentQuestNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 419; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MPBKAANIEOK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 498; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated ParentQuest parent_quest_list = 13; + repeated ParentQuest parentQuestList = 3; } diff --git a/proto/FinishedParentQuestUpdateNotify.proto b/proto/FinishedParentQuestUpdateNotify.proto index 66176f1f..5b5a0cc2 100644 --- a/proto/FinishedParentQuestUpdateNotify.proto +++ b/proto/FinishedParentQuestUpdateNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ParentQuest.proto"; + +import "ParentQuest.proto"; option java_package = "emu.grasscutter.net.proto"; message FinishedParentQuestUpdateNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 500; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum JPBJMNPBPPB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 420; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated ParentQuest parent_quest_list = 3; + repeated ParentQuest parentQuestList = 15; } diff --git a/proto/FinishedTalkIdListNotify.proto b/proto/FinishedTalkIdListNotify.proto new file mode 100644 index 00000000..11457736 --- /dev/null +++ b/proto/FinishedTalkIdListNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FinishedTalkIdListNotify { + enum LOPEKGOKHKB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 562; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 finishedTalkIdList = 10; +} diff --git a/proto/FireWorkData.proto b/proto/FireWorkData.proto index 11d7c550..0c2c9187 100644 --- a/proto/FireWorkData.proto +++ b/proto/FireWorkData.proto @@ -4,6 +4,7 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; import "FireWorkInstance.proto"; +option java_package = "emu.grasscutter.net.proto"; message FireWorkData { uint32 id = 1; diff --git a/proto/FireWorkInstance.proto b/proto/FireWorkInstance.proto index b801bcee..bb8b0de2 100644 --- a/proto/FireWorkInstance.proto +++ b/proto/FireWorkInstance.proto @@ -4,6 +4,7 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; import "FireWorkType.proto"; +option java_package = "emu.grasscutter.net.proto"; message FireWorkInstance { FireWorkType type = 1; diff --git a/proto/FireWorkNotify.proto b/proto/FireWorkNotify.proto index 67503e80..1da9d730 100644 --- a/proto/FireWorkNotify.proto +++ b/proto/FireWorkNotify.proto @@ -7,7 +7,8 @@ import "FireWorkData.proto"; // CmdId: 6079 // EnetChannelId: 0 -// EnetIsReliable: true +// EnetIsReliable: trueoption java_package = "emu.grasscutter.net.proto"; + message FireWorkNotify { repeated FireWorkData fireWorkData = 1; } diff --git a/proto/FireWorkReq.proto b/proto/FireWorkReq.proto index 9f645394..70069c80 100644 --- a/proto/FireWorkReq.proto +++ b/proto/FireWorkReq.proto @@ -8,7 +8,8 @@ import "FireWorkData.proto"; // CmdId: 6068 // EnetChannelId: 0 // EnetIsReliable: true -// IsAllowClient: true +// IsAllowClient: trueoption java_package = "emu.grasscutter.net.proto"; + message FireWorkReq { FireWorkData fireWorkData = 7; } diff --git a/proto/FireworkSetData.proto b/proto/FireworkSetData.proto index 6da0c798..f00fd5ef 100644 --- a/proto/FireworkSetData.proto +++ b/proto/FireworkSetData.proto @@ -4,6 +4,7 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; import "FireWorkInstance.proto"; +option java_package = "emu.grasscutter.net.proto"; message FireworkSetData { uint32 id = 1; diff --git a/proto/FireworkSetNotify.proto b/proto/FireworkSetNotify.proto index 80868783..11e32139 100644 --- a/proto/FireworkSetNotify.proto +++ b/proto/FireworkSetNotify.proto @@ -7,7 +7,8 @@ import "FireworkSetData.proto"; // CmdId: 5934 // EnetChannelId: 0 -// EnetIsReliable: true +// EnetIsReliable: trueoption java_package = "emu.grasscutter.net.proto"; + message FireworkSetNotify { uint32 code = 1; repeated FireworkSetData data = 9; diff --git a/proto/FireworkSetReq.proto b/proto/FireworkSetReq.proto index 7216b353..6d96e08f 100644 --- a/proto/FireworkSetReq.proto +++ b/proto/FireworkSetReq.proto @@ -8,7 +8,8 @@ import "FireworkSetData.proto"; // CmdId: 6099 // EnetChannelId: 0 // EnetIsReliable: true -// IsAllowClient: true +// IsAllowClient: trueoption java_package = "emu.grasscutter.net.proto"; + message FireworkSetReq { FireworkSetData data = 2; } diff --git a/proto/FireworkSetRsp.proto b/proto/FireworkSetRsp.proto index 229ba490..ef24c523 100644 --- a/proto/FireworkSetRsp.proto +++ b/proto/FireworkSetRsp.proto @@ -5,7 +5,8 @@ option java_package = "emu.grasscutter.net.proto"; // CmdId: 5969 // EnetChannelId: 0 -// EnetIsReliable: true +// EnetIsReliable: trueoption java_package = "emu.grasscutter.net.proto"; + message NBFJOJPCCEK_Rsp { int32 retcode = 7; } diff --git a/proto/FireworksLaunchDataNotify.proto b/proto/FireworksLaunchDataNotify.proto new file mode 100644 index 00000000..500b8dd1 --- /dev/null +++ b/proto/FireworksLaunchDataNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "FireworksLaunchSchemeData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FireworksLaunchDataNotify { + enum LBBDGOELNDE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5979; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 lastUseSchemeId = 6; + repeated FireworksLaunchSchemeData schemeDataList = 2; +} diff --git a/proto/FireworksLaunchParam.proto b/proto/FireworksLaunchParam.proto new file mode 100644 index 00000000..c9d40470 --- /dev/null +++ b/proto/FireworksLaunchParam.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "FireworksLaunchParamType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FireworksLaunchParam { + FireworksLaunchParamType type = 5; + int32 value = 14; +} diff --git a/proto/FireworksLaunchParamType.proto b/proto/FireworksLaunchParamType.proto new file mode 100644 index 00000000..90490545 --- /dev/null +++ b/proto/FireworksLaunchParamType.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +enum FireworksLaunchParamType { + FIREWORKS_LAUNCH_PARAM_TYPE_NONE = 0; + FIREWORKS_LAUNCH_PARAM_TYPE_REPEAT = 1; + FIREWORKS_LAUNCH_PARAM_TYPE_INTERVAL = 2; + FIREWORKS_LAUNCH_PARAM_TYPE_DELAY = 3; + FIREWORKS_LAUNCH_PARAM_TYPE_ROUND_INTERVAL = 4; + FIREWORKS_LAUNCH_PARAM_TYPE_MAX = 5; +} diff --git a/proto/FireworksLaunchSchemeData.proto b/proto/FireworksLaunchSchemeData.proto new file mode 100644 index 00000000..fd5baa2c --- /dev/null +++ b/proto/FireworksLaunchSchemeData.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "FireworksLaunchParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FireworksLaunchSchemeData { + uint32 schemeId = 2; + repeated FireworksLaunchParam launchParamList = 13; + repeated uint32 fireworksIdList = 1; +} diff --git a/proto/FireworksReformData.proto b/proto/FireworksReformData.proto new file mode 100644 index 00000000..bc102cde --- /dev/null +++ b/proto/FireworksReformData.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "FireworksReformParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FireworksReformData { + repeated FireworksReformParam reformParamList = 2; + uint32 id = 7; +} diff --git a/proto/FireworksReformDataNotify.proto b/proto/FireworksReformDataNotify.proto new file mode 100644 index 00000000..60b8521a --- /dev/null +++ b/proto/FireworksReformDataNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "FireworksReformData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FireworksReformDataNotify { + enum PLDJGEPPBIC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6001; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated FireworksReformData fireworksReformDataList = 7; +} diff --git a/proto/FireworksReformParam.proto b/proto/FireworksReformParam.proto new file mode 100644 index 00000000..13d83deb --- /dev/null +++ b/proto/FireworksReformParam.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "FireworksReformParamType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FireworksReformParam { + int32 value = 8; + FireworksReformParamType type = 11; +} diff --git a/proto/FireworksReformParamType.proto b/proto/FireworksReformParamType.proto new file mode 100644 index 00000000..c8f60e4f --- /dev/null +++ b/proto/FireworksReformParamType.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +enum FireworksReformParamType { + FIREWORKS_REFORM_PARAM_TYPE_NONE = 0; + FIREWORKS_REFORM_PARAM_TYPE_COLOR = 1; + FIREWORKS_REFORM_PARAM_TYPE_HEIGHT = 2; + FIREWORKS_REFORM_PARAM_TYPE_SIZE = 3; + FIREWORKS_REFORM_PARAM_TYPE_DENSITY = 4; + FIREWORKS_REFORM_PARAM_TYPE_ROTATION = 5; +} diff --git a/proto/FirstStageInfo.proto b/proto/FirstStageInfo.proto new file mode 100644 index 00000000..d8d53a15 --- /dev/null +++ b/proto/FirstStageInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FirstStageInfo { + uint32 score = 13; + uint32 Unk3300_HIKADHBLPEB = 8; + uint32 Unk3300_IPAJLKOBDKC = 3; + uint32 Unk3300_NILGNHOPGLD = 1; +} diff --git a/proto/FishAttractNotify.proto b/proto/FishAttractNotify.proto new file mode 100644 index 00000000..57cd2dc5 --- /dev/null +++ b/proto/FishAttractNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FishAttractNotify { + enum NMCHBPBNIKA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5815; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + Rotation pos = 3; + repeated uint32 fishIdList = 5; + uint32 uid = 10; +} diff --git a/proto/FishBaitGoneNotify.proto b/proto/FishBaitGoneNotify.proto new file mode 100644 index 00000000..1ce55800 --- /dev/null +++ b/proto/FishBaitGoneNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FishBaitGoneNotify { + enum BKKEEMKPBIB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5803; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 uid = 8; +} diff --git a/proto/FishBattleBeginReq.proto b/proto/FishBattleBeginReq.proto new file mode 100644 index 00000000..bfde6f9d --- /dev/null +++ b/proto/FishBattleBeginReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FishBattleBeginReq { + enum IPALOBNGPCP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5802; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/FishBattleBeginRsp.proto b/proto/FishBattleBeginRsp.proto new file mode 100644 index 00000000..15c4833e --- /dev/null +++ b/proto/FishBattleBeginRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FishBattleBeginRsp { + enum NMPKOMDADLO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5840; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 6; +} diff --git a/proto/FishBattleEndReq.proto b/proto/FishBattleEndReq.proto new file mode 100644 index 00000000..93eeaed2 --- /dev/null +++ b/proto/FishBattleEndReq.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "FishBattleResult.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FishBattleEndReq { + enum JCIOFMDHFDP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5837; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + FishBattleResult battleResult = 11; + uint32 maxBonusTime = 10; + bool isAlwaysBonus = 5; +} diff --git a/proto/FishBattleEndRsp.proto b/proto/FishBattleEndRsp.proto new file mode 100644 index 00000000..8bb03b43 --- /dev/null +++ b/proto/FishBattleEndRsp.proto @@ -0,0 +1,26 @@ +syntax = "proto3"; + + + +import "FishBattleResult.proto"; +import "FishNoRewardReason.proto"; +import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FishBattleEndRsp { + enum NFCGJNBLAOP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5814; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated ItemParam rewardItemList = 3; + repeated ItemParam Unk3300_MDCKKPGNKGL = 12; + FishBattleResult battleResult = 10; + FishNoRewardReason noRewardReason = 5; + bool isGotReward = 8; + int32 retcode = 2; + repeated ItemParam Unk3300_ABBBGOBDJEC = 15; +} diff --git a/proto/FishBattleResult.proto b/proto/FishBattleResult.proto new file mode 100644 index 00000000..b155be22 --- /dev/null +++ b/proto/FishBattleResult.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +enum FishBattleResult { + FISH_BATTLE_RESULT_NONE = 0; + FISH_BATTLE_RESULT_SUCC = 1; + FISH_BATTLE_RESULT_FAIL = 2; + FISH_BATTLE_RESULT_TIMEOUT = 3; + FISH_BATTLE_RESULT_CANCEL = 4; + FISH_BATTLE_RESULT_EXIT = 5; +} \ No newline at end of file diff --git a/proto/FishBiteReq.proto b/proto/FishBiteReq.proto new file mode 100644 index 00000000..4d71ff1f --- /dev/null +++ b/proto/FishBiteReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FishBiteReq { + enum AJPGOFFIDNE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5816; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/FishBiteRsp.proto b/proto/FishBiteRsp.proto new file mode 100644 index 00000000..c3fb46b8 --- /dev/null +++ b/proto/FishBiteRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FishBiteRsp { + enum HJHLODICPOC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5825; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; +} diff --git a/proto/FishCastRodReq.proto b/proto/FishCastRodReq.proto new file mode 100644 index 00000000..c51f9cb5 --- /dev/null +++ b/proto/FishCastRodReq.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FishCastRodReq { + enum IKCMBMPOMAI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5819; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 rodEntityId = 2; + Rotation pos = 1; + uint32 Unk3300_ICALEIBJCDA = 15; + uint32 Unk3300_PJFHEDDFOBM = 8; +} diff --git a/proto/FishCastRodRsp.proto b/proto/FishCastRodRsp.proto new file mode 100644 index 00000000..25fbe3bf --- /dev/null +++ b/proto/FishCastRodRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FishCastRodRsp { + enum GIFIMANBHOB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5843; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 8; +} diff --git a/proto/FishChosenNotify.proto b/proto/FishChosenNotify.proto new file mode 100644 index 00000000..e3d855f1 --- /dev/null +++ b/proto/FishChosenNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FishChosenNotify { + enum AFKIPPKMOJA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5831; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 fishId = 14; +} diff --git a/proto/FishEscapeNotify.proto b/proto/FishEscapeNotify.proto new file mode 100644 index 00000000..c46f0020 --- /dev/null +++ b/proto/FishEscapeNotify.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +import "FishEscapeReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FishEscapeNotify { + enum BAKJLJJGKJM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5835; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + Rotation pos = 9; + uint32 uid = 15; + repeated uint32 fishIdList = 5; + FishEscapeReason reason = 7; +} diff --git a/proto/FishEscapeReason.proto b/proto/FishEscapeReason.proto new file mode 100644 index 00000000..a58082f5 --- /dev/null +++ b/proto/FishEscapeReason.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum FishEscapeReason { + FISH_ESCAPE_REASON_NONE = 0; + FISH_ESCAPE_REASON_SHOCKED = 1; + FISH_ESCAPE_REASON_UNHOOK = 2; +} diff --git a/proto/FishInfo.proto b/proto/FishInfo.proto new file mode 100644 index 00000000..8b4bbbba --- /dev/null +++ b/proto/FishInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FishInfo { + uint32 pjkdcbfhaoo = 4; + uint32 defebhbifge = 6; +} diff --git a/proto/FishNoRewardReason.proto b/proto/FishNoRewardReason.proto new file mode 100644 index 00000000..4c00afe3 --- /dev/null +++ b/proto/FishNoRewardReason.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +enum FishNoRewardReason { + FISH_NO_REWARD_REASON_NONE = 0; + FISH_NO_REWARD_REASON_ACTIVITY_LIMIT = 1; + FISH_NO_REWARD_REASON_BAG_LIMIT = 2; + FISH_NO_REWARD_REASON_POOL_LIMIT = 3; +} diff --git a/proto/FishPoolDataNotify.proto b/proto/FishPoolDataNotify.proto new file mode 100644 index 00000000..6e33ff1d --- /dev/null +++ b/proto/FishPoolDataNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FishPoolDataNotify { + enum AABCBDJMGOH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5806; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 todayFishNum = 10; + uint32 entityId = 5; +} diff --git a/proto/FishPoolInfo.proto b/proto/FishPoolInfo.proto index 98729555..11c45f8c 100644 --- a/proto/FishPoolInfo.proto +++ b/proto/FishPoolInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FishPoolInfo { - uint32 pool_id = 1; - repeated uint32 fish_area_list = 2; - uint32 today_fish_num = 3; + uint32 poolId = 1; + repeated uint32 fishAreaList = 2; + uint32 todayFishNum = 3; } diff --git a/proto/FishingGallerySettleInfo.proto b/proto/FishingGallerySettleInfo.proto new file mode 100644 index 00000000..68a765cb --- /dev/null +++ b/proto/FishingGallerySettleInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "FishingScore.proto"; +import "FishInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FishingGallerySettleInfo { + repeated FishingScore fishingScoreList = 4; + map fishMap = 9; +} diff --git a/proto/FishingGallerySettleNotify.proto b/proto/FishingGallerySettleNotify.proto new file mode 100644 index 00000000..3a7be712 --- /dev/null +++ b/proto/FishingGallerySettleNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "FishingGallerySettleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FishingGallerySettleNotify { + enum OBGLILAIIAG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8356; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + FishingGallerySettleInfo settleInfo = 3; + uint32 galleryId = 7; + uint32 levelId = 6; +} diff --git a/proto/FishingScore.proto b/proto/FishingScore.proto new file mode 100644 index 00000000..9815a36e --- /dev/null +++ b/proto/FishingScore.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FishingScore { + bool isNewRecord = 13; + uint32 bcjgjjefnci = 10; +} diff --git a/proto/FishtankFishInfo.proto b/proto/FishtankFishInfo.proto index 7143a73d..391bc57e 100644 --- a/proto/FishtankFishInfo.proto +++ b/proto/FishtankFishInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FishtankFishInfo { - float fish_distance_from_water = 1; - float fish_scale = 2; - float initial_rotation_y = 3; + float fishDistanceFromWater = 1; + float fishScale = 2; + float initialRotationY = 3; } diff --git a/proto/FleurFairActivityDetailInfo.proto b/proto/FleurFairActivityDetailInfo.proto index 1fa445d6..c40ffa2d 100644 --- a/proto/FleurFairActivityDetailInfo.proto +++ b/proto/FleurFairActivityDetailInfo.proto @@ -21,6 +21,7 @@ import "FleurFairChapterInfo.proto"; import "FleurFairDungeonSectionInfo.proto"; import "FleurFairMinigameInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message FleurFairActivityDetailInfo { diff --git a/proto/FleurFairBalloonInfo.proto b/proto/FleurFairBalloonInfo.proto index 696cf3c4..4cf4c9af 100644 --- a/proto/FleurFairBalloonInfo.proto +++ b/proto/FleurFairBalloonInfo.proto @@ -1,24 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FleurFairBalloonInfo { - uint32 best_score = 4; + uint32 bestScore = 7; } diff --git a/proto/FleurFairBalloonSettleInfo.proto b/proto/FleurFairBalloonSettleInfo.proto new file mode 100644 index 00000000..5f6654ed --- /dev/null +++ b/proto/FleurFairBalloonSettleInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "BalloonSettleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FleurFairBalloonSettleInfo { + BalloonSettleInfo settleInfo = 13; + bool isNewRecord = 8; +} diff --git a/proto/FleurFairBalloonSettleNotify.proto b/proto/FleurFairBalloonSettleNotify.proto new file mode 100644 index 00000000..a0141c19 --- /dev/null +++ b/proto/FleurFairBalloonSettleNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "FleurFairBalloonSettleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FleurFairBalloonSettleNotify { + enum MIOADOGMIFA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2183; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 minigameId = 10; + map settleInfoMap = 5; +} diff --git a/proto/FleurFairBossSettleInfo.proto b/proto/FleurFairBossSettleInfo.proto new file mode 100644 index 00000000..164755ee --- /dev/null +++ b/proto/FleurFairBossSettleInfo.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "FleurFairPlayerStatInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FleurFairBossSettleInfo { + repeated FleurFairPlayerStatInfo statInfoList = 3; + uint32 rewardTokenNum = 4; + uint32 energy = 8; + uint32 costTime = 2; + bool isSuccess = 6; +} diff --git a/proto/FleurFairBuffEnergyNotify.proto b/proto/FleurFairBuffEnergyNotify.proto new file mode 100644 index 00000000..7c9a19e1 --- /dev/null +++ b/proto/FleurFairBuffEnergyNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FleurFairBuffEnergyNotify { + enum DFPMDLBKENG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5353; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 energy = 1; +} diff --git a/proto/FleurFairChapterInfo.proto b/proto/FleurFairChapterInfo.proto index 018be6f9..b6aeba69 100644 --- a/proto/FleurFairChapterInfo.proto +++ b/proto/FleurFairChapterInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FleurFairChapterInfo { - uint32 chapter_id = 12; - uint32 open_time = 7; + uint32 openTime = 10; + uint32 chapterId = 14; } diff --git a/proto/FleurFairDungeonSectionInfo.proto b/proto/FleurFairDungeonSectionInfo.proto index 11069bd2..2eeab012 100644 --- a/proto/FleurFairDungeonSectionInfo.proto +++ b/proto/FleurFairDungeonSectionInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FleurFairDungeonSectionInfo { - bool is_open = 6; - uint32 section_id = 14; - uint32 open_time = 15; + uint32 openTime = 11; + uint32 sectionId = 2; + bool isOpen = 5; } diff --git a/proto/FleurFairFallInfo.proto b/proto/FleurFairFallInfo.proto index 12aaaacf..b9b4f01c 100644 --- a/proto/FleurFairFallInfo.proto +++ b/proto/FleurFairFallInfo.proto @@ -1,24 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FleurFairFallInfo { - uint32 best_score = 11; + uint32 bestScore = 9; } diff --git a/proto/FleurFairFallSettleInfo.proto b/proto/FleurFairFallSettleInfo.proto new file mode 100644 index 00000000..0916c5ba --- /dev/null +++ b/proto/FleurFairFallSettleInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "FallSettleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FleurFairFallSettleInfo { + FallSettleInfo settleInfo = 11; + bool isNewRecord = 14; +} diff --git a/proto/FleurFairFallSettleNotify.proto b/proto/FleurFairFallSettleNotify.proto new file mode 100644 index 00000000..fb613a38 --- /dev/null +++ b/proto/FleurFairFallSettleNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "FleurFairFallSettleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FleurFairFallSettleNotify { + enum FPJHACIOBMD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2150; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + map settleInfoMap = 5; + uint32 minigameId = 12; +} diff --git a/proto/FleurFairFinishGalleryStageNotify.proto b/proto/FleurFairFinishGalleryStageNotify.proto new file mode 100644 index 00000000..ca950507 --- /dev/null +++ b/proto/FleurFairFinishGalleryStageNotify.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FleurFairFinishGalleryStageNotify { + enum ELBNLHPKFDO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5394; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + +} diff --git a/proto/FleurFairGallerySettleInfo.proto b/proto/FleurFairGallerySettleInfo.proto new file mode 100644 index 00000000..aebc4043 --- /dev/null +++ b/proto/FleurFairGallerySettleInfo.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FleurFairGallerySettleInfo { + bool isSuccess = 5; + uint32 energy = 7; + map energyStatMap = 9; + uint32 galleryStageCount = 14; + uint32 galleryStageIndex = 15; +} diff --git a/proto/FleurFairInfo.proto b/proto/FleurFairInfo.proto new file mode 100644 index 00000000..9d1a21b5 --- /dev/null +++ b/proto/FleurFairInfo.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "uint32.proto"; +import "FleurFairChapterInfo.proto"; +import "FleurFairDungeonSectionInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FleurFairInfo { + uint32 gpjbakimcgp = 10; + map previewStageIndex = 6; + bool leftMonsters = 7; + repeated FleurFairChapterInfo chapterInfoList = 5; + bool hpepmphkgml = 9; + uint32 contentCloseTime = 15; + uint32 ppjmalghkch = 1; + map pnpcagimleg = 11; +} diff --git a/proto/FleurFairMinigameInfo.proto b/proto/FleurFairMinigameInfo.proto index 3bc0f9a9..5cd0d6d0 100644 --- a/proto/FleurFairMinigameInfo.proto +++ b/proto/FleurFairMinigameInfo.proto @@ -21,6 +21,7 @@ import "FleurFairBalloonInfo.proto"; import "FleurFairFallInfo.proto"; import "FleurFairMusicGameInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message FleurFairMinigameInfo { diff --git a/proto/FleurFairMusicGameInfo.proto b/proto/FleurFairMusicGameInfo.proto index aa5439c9..52abb79f 100644 --- a/proto/FleurFairMusicGameInfo.proto +++ b/proto/FleurFairMusicGameInfo.proto @@ -1,26 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "FleurFairMusicRecord.proto"; + +import "FleurFairMusicRecord.proto"; option java_package = "emu.grasscutter.net.proto"; message FleurFairMusicGameInfo { - map music_record_map = 6; + map fbmomkmdima = 9; } diff --git a/proto/FleurFairMusicGameSettleReq.proto b/proto/FleurFairMusicGameSettleReq.proto index aaf0ef61..a538c8ca 100644 --- a/proto/FleurFairMusicGameSettleReq.proto +++ b/proto/FleurFairMusicGameSettleReq.proto @@ -1,36 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FleurFairMusicGameSettleReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2111; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum CCDNCHGCFON { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2072; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 score = 1; - uint32 correct_hit = 10; - uint32 combo = 3; - uint32 music_basic_id = 14; + uint32 combo = 3; + uint32 musicBasicId = 9; + uint32 score = 7; + uint32 correctHit = 6; } diff --git a/proto/FleurFairMusicGameSettleRsp.proto b/proto/FleurFairMusicGameSettleRsp.proto index 22e3d672..307eb071 100644 --- a/proto/FleurFairMusicGameSettleRsp.proto +++ b/proto/FleurFairMusicGameSettleRsp.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FleurFairMusicGameSettleRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2156; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum LNFEHJBPLMB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2200; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - bool is_new_record = 15; - bool is_unlock_next_level = 7; - uint32 music_basic_id = 4; - int32 retcode = 9; + uint32 musicBasicId = 4; + bool isNewRecord = 5; + bool isUnlockNextLevel = 7; + int32 retcode = 3; } diff --git a/proto/FleurFairMusicGameStartReq.proto b/proto/FleurFairMusicGameStartReq.proto index c1386ab2..9de5d5f0 100644 --- a/proto/FleurFairMusicGameStartReq.proto +++ b/proto/FleurFairMusicGameStartReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FleurFairMusicGameStartReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2070; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum PFDBOCEADKK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2105; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 music_basic_id = 5; + uint32 musicBasicId = 8; } diff --git a/proto/FleurFairMusicGameStartRsp.proto b/proto/FleurFairMusicGameStartRsp.proto index 7adf7912..c8bfad81 100644 --- a/proto/FleurFairMusicGameStartRsp.proto +++ b/proto/FleurFairMusicGameStartRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FleurFairMusicGameStartRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2146; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum IOOGHFABFBP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2088; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 music_basic_id = 11; - int32 retcode = 5; + int32 retcode = 3; + uint32 musicBasicId = 5; } diff --git a/proto/FleurFairMusicRecord.proto b/proto/FleurFairMusicRecord.proto index 2426a6c2..e156c76b 100644 --- a/proto/FleurFairMusicRecord.proto +++ b/proto/FleurFairMusicRecord.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FleurFairMusicRecord { - uint32 max_score = 11; - bool is_unlock = 10; - uint32 max_combo = 6; + uint32 maxCombo = 1; + bool isUnlock = 7; + uint32 maxScore = 8; } diff --git a/proto/FleurFairPlayerStatInfo.proto b/proto/FleurFairPlayerStatInfo.proto new file mode 100644 index 00000000..d7a8504b --- /dev/null +++ b/proto/FleurFairPlayerStatInfo.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "ProfilePicture.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FleurFairPlayerStatInfo { + int32 param = 4; + ProfilePicture profilePicture = 14; + string onlineId = 3; + string nickName = 5; + uint32 statId = 2; + uint32 headImage = 8; + uint32 uid = 13; +} diff --git a/proto/FleurFairReplayMiniGameReq.proto b/proto/FleurFairReplayMiniGameReq.proto new file mode 100644 index 00000000..f18f95ea --- /dev/null +++ b/proto/FleurFairReplayMiniGameReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FleurFairReplayMiniGameReq { + enum HEPOHMMJCBN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2004; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 minigameId = 11; +} diff --git a/proto/FleurFairReplayMiniGameRsp.proto b/proto/FleurFairReplayMiniGameRsp.proto new file mode 100644 index 00000000..a101fe7c --- /dev/null +++ b/proto/FleurFairReplayMiniGameRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FleurFairReplayMiniGameRsp { + enum HOHDNAPCOJF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2040; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 minigameId = 9; + int32 retcode = 14; +} diff --git a/proto/FleurFairStageSettleNotify.proto b/proto/FleurFairStageSettleNotify.proto new file mode 100644 index 00000000..cce351ca --- /dev/null +++ b/proto/FleurFairStageSettleNotify.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +import "GallerySettleInfo.proto"; +import "BossSettleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FleurFairStageSettleNotify { + enum IBGGENNBBPK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5336; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 stageType = 9; + oneof HOPDBCIDNDF { + GallerySettleInfo gallery_settle_info = 10; + BossSettleInfo boss_settle_info = 8; + } +} diff --git a/proto/FlightActivityDetailInfo.proto b/proto/FlightActivityDetailInfo.proto index b3e512df..5900d16e 100644 --- a/proto/FlightActivityDetailInfo.proto +++ b/proto/FlightActivityDetailInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "FlightDailyRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message FlightActivityDetailInfo { diff --git a/proto/FlightActivityRestartReq.proto b/proto/FlightActivityRestartReq.proto new file mode 100644 index 00000000..d93c6440 --- /dev/null +++ b/proto/FlightActivityRestartReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FlightActivityRestartReq { + enum EAAJOJIFNON { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2017; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 groupId = 15; + uint32 scheduleId = 14; +} diff --git a/proto/FlightActivityRestartRsp.proto b/proto/FlightActivityRestartRsp.proto new file mode 100644 index 00000000..4af9cb9d --- /dev/null +++ b/proto/FlightActivityRestartRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FlightActivityRestartRsp { + enum DLOFJFLBFPA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2071; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 scheduleId = 6; + int32 retcode = 13; + uint32 groupId = 12; +} diff --git a/proto/FlightActivitySettleNotify.proto b/proto/FlightActivitySettleNotify.proto new file mode 100644 index 00000000..15ec51a9 --- /dev/null +++ b/proto/FlightActivitySettleNotify.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FlightActivitySettleNotify { + enum GHLJGNNHDHM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2169; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 Unk3300_PLFMJPNPPLI = 9; + bool isSuccess = 13; + uint32 Unk3300_MEEKFJJIOKE = 2; + bool isNewRecord = 15; + uint32 totalNum = 3; + uint32 groupId = 10; + uint32 score = 12; + uint32 leftTime = 5; +} diff --git a/proto/FlightDailyRecord.proto b/proto/FlightDailyRecord.proto index 3710ec0b..e090d1af 100644 --- a/proto/FlightDailyRecord.proto +++ b/proto/FlightDailyRecord.proto @@ -1,28 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FlightDailyRecord { - uint32 best_score = 15; - uint32 group_id = 13; - bool is_touched = 5; - uint32 start_time = 6; - repeated uint32 watcher_id_list = 7; + uint32 groupId = 14; + uint32 startTime = 15; + repeated uint32 watcherIdList = 6; + bool isTouched = 8; + uint32 bestScore = 3; } diff --git a/proto/FlightInfo.proto b/proto/FlightInfo.proto new file mode 100644 index 00000000..77118ab7 --- /dev/null +++ b/proto/FlightInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "FlightDailyRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FlightInfo { + repeated FlightDailyRecord dailyRecordList = 5; + uint32 minOpenPlayerLevel = 2; + uint32 previewRewardId = 7; +} diff --git a/proto/FlowerInfo.proto b/proto/FlowerInfo.proto new file mode 100644 index 00000000..23012d62 --- /dev/null +++ b/proto/FlowerInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FlowerInfo { + uint32 curScore = 7; + uint32 targetScore = 6; + uint32 endTime = 8; +} diff --git a/proto/FlowerStartParam.proto b/proto/FlowerStartParam.proto new file mode 100644 index 00000000..64c9c5f7 --- /dev/null +++ b/proto/FlowerStartParam.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FlowerStartParam { + uint32 targetScore = 8; +} diff --git a/proto/FocusAvatarReq.proto b/proto/FocusAvatarReq.proto new file mode 100644 index 00000000..4d7e535b --- /dev/null +++ b/proto/FocusAvatarReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FocusAvatarReq { + enum BHCOIMJLIFJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1608; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isFocus = 15; + uint64 avatarGuid = 10; +} diff --git a/proto/FocusAvatarRsp.proto b/proto/FocusAvatarRsp.proto new file mode 100644 index 00000000..444a56d8 --- /dev/null +++ b/proto/FocusAvatarRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FocusAvatarRsp { + enum BIJICDDEIAN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1779; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isFocus = 11; + int32 retcode = 1; + uint64 avatarGuid = 15; +} diff --git a/proto/FollowType.proto b/proto/FollowType.proto new file mode 100644 index 00000000..a6bdf7d0 --- /dev/null +++ b/proto/FollowType.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum FollowType { + FOLLOW_TYPE_INIT_FOLLOW_POS = 0; + FOLLOW_TYPE_SET_FOLLOW_POS = 1; + FOLLOW_TYPE_SET_ABS_FOLLOW_POS = 2; +} diff --git a/proto/ForceAddPlayerFriendReq.proto b/proto/ForceAddPlayerFriendReq.proto new file mode 100644 index 00000000..3536cf0b --- /dev/null +++ b/proto/ForceAddPlayerFriendReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ForceAddPlayerFriendReq { + enum GEDCMHGGPCN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4090; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 targetUid = 7; +} diff --git a/proto/ForceAddPlayerFriendRsp.proto b/proto/ForceAddPlayerFriendRsp.proto new file mode 100644 index 00000000..5c8ce269 --- /dev/null +++ b/proto/ForceAddPlayerFriendRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "FriendBrief.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ForceAddPlayerFriendRsp { + enum NFIMNEOOLPH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4054; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + FriendBrief targetFriendBrief = 12; + uint32 targetUid = 14; + int32 retcode = 11; +} diff --git a/proto/ForceDragAvatarNotify.proto b/proto/ForceDragAvatarNotify.proto new file mode 100644 index 00000000..a377fd75 --- /dev/null +++ b/proto/ForceDragAvatarNotify.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +import "MotionInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ForceDragAvatarNotify { + enum FPGMGAGADJM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3071; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint64 Unk3300_AFLCLLFDPBD = 14; + uint32 entityId = 8; + MotionInfo motionInfo = 11; + uint64 Unk3300_IMFNNPGHKJJ = 1; + bool isFirstValid = 5; + uint32 sceneTime = 4; +} diff --git a/proto/ForceDragBackTransferNotify.proto b/proto/ForceDragBackTransferNotify.proto new file mode 100644 index 00000000..5f636178 --- /dev/null +++ b/proto/ForceDragBackTransferNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ForceDragBackTransferNotify { + enum FIBALKEINNG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3032; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/ForceUdpate.proto b/proto/ForceUdpate.proto new file mode 100644 index 00000000..2cee10bb --- /dev/null +++ b/proto/ForceUdpate.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ForceUdpate { + string dpinghecdgc = 1; +} diff --git a/proto/ForceUpdateInfo.proto b/proto/ForceUpdateInfo.proto index 2e3e530f..d17c3d72 100644 --- a/proto/ForceUpdateInfo.proto +++ b/proto/ForceUpdateInfo.proto @@ -17,6 +17,7 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message ForceUpdateInfo { diff --git a/proto/ForgeDataNotify.proto b/proto/ForgeDataNotify.proto index 25f3a458..97eb1392 100644 --- a/proto/ForgeDataNotify.proto +++ b/proto/ForgeDataNotify.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ForgeQueueData.proto"; + +import "ForgeQueueData.proto"; option java_package = "emu.grasscutter.net.proto"; message ForgeDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 674; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum KBOJBKODBBF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 604; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 forge_id_list = 13; - map forge_queue_map = 8; - uint32 max_queue_num = 11; + uint32 maxQueueNum = 8; + map forgeQueueMap = 14; + repeated uint32 forgeIdList = 4; } diff --git a/proto/ForgeFormulaDataNotify.proto b/proto/ForgeFormulaDataNotify.proto index 8156d0ca..97884646 100644 --- a/proto/ForgeFormulaDataNotify.proto +++ b/proto/ForgeFormulaDataNotify.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ForgeFormulaDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 626; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MAAICENINJL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 661; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - bool is_locked = 4; - uint32 forge_id = 3; + bool isLocked = 1; + uint32 forgeId = 12; } diff --git a/proto/ForgeGetQueueDataReq.proto b/proto/ForgeGetQueueDataReq.proto index 7e8e7a6c..a570d388 100644 --- a/proto/ForgeGetQueueDataReq.proto +++ b/proto/ForgeGetQueueDataReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ForgeGetQueueDataReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 664; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum AFHOHDGOFFF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 635; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/ForgeGetQueueDataRsp.proto b/proto/ForgeGetQueueDataRsp.proto index 8e86ca1e..a601d662 100644 --- a/proto/ForgeGetQueueDataRsp.proto +++ b/proto/ForgeGetQueueDataRsp.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ForgeQueueData.proto"; + +import "ForgeQueueData.proto"; option java_package = "emu.grasscutter.net.proto"; message ForgeGetQueueDataRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 667; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum EGLMICCFADE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 607; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 max_queue_num = 4; - map forge_queue_map = 9; - int32 retcode = 15; + int32 retcode = 12; + uint32 maxQueueNum = 7; + map forgeQueueMap = 4; } diff --git a/proto/ForgeQueueData.proto b/proto/ForgeQueueData.proto index d58dd0b3..2d3ff85b 100644 --- a/proto/ForgeQueueData.proto +++ b/proto/ForgeQueueData.proto @@ -1,30 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ForgeQueueData { - uint32 next_finish_timestamp = 1; - uint32 forge_id = 5; - uint32 finish_count = 7; - uint32 queue_id = 4; - uint32 total_finish_timestamp = 15; - uint32 avatar_id = 12; - uint32 unfinish_count = 3; + uint32 forgeId = 6; + uint32 finishCount = 1; + uint32 queueId = 9; + uint32 unfinishCount = 8; + uint32 totalFinishTimestamp = 11; + uint32 avatarId = 12; + uint32 nextFinishTimestamp = 2; } diff --git a/proto/ForgeQueueDataNotify.proto b/proto/ForgeQueueDataNotify.proto index b81b4885..6a6ac177 100644 --- a/proto/ForgeQueueDataNotify.proto +++ b/proto/ForgeQueueDataNotify.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ForgeQueueData.proto"; + +import "ForgeQueueData.proto"; option java_package = "emu.grasscutter.net.proto"; message ForgeQueueDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 695; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum EBMKPJICDKP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 643; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - map forge_queue_map = 1; - repeated uint32 removed_forge_queue_list = 15; + repeated uint32 removedForgeQueueList = 10; + map forgeQueueMap = 14; } diff --git a/proto/ForgeQueueManipulateReq.proto b/proto/ForgeQueueManipulateReq.proto index 988f4aee..a4656c45 100644 --- a/proto/ForgeQueueManipulateReq.proto +++ b/proto/ForgeQueueManipulateReq.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ForgeQueueManipulateType.proto"; + +import "ForgeQueueManipulateType.proto"; option java_package = "emu.grasscutter.net.proto"; message ForgeQueueManipulateReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 622; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum BKBECDMOFNM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 653; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 forge_queue_id = 3; - ForgeQueueManipulateType manipulate_type = 4; + uint32 forgeQueueId = 5; + ForgeQueueManipulateType manipulateType = 2; } diff --git a/proto/ForgeQueueManipulateRsp.proto b/proto/ForgeQueueManipulateRsp.proto index f93483d2..5e36a4e4 100644 --- a/proto/ForgeQueueManipulateRsp.proto +++ b/proto/ForgeQueueManipulateRsp.proto @@ -1,39 +1,23 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "ForgeQueueManipulateType.proto"; import "ItemParam.proto"; - option java_package = "emu.grasscutter.net.proto"; message ForgeQueueManipulateRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 682; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum AOJCPKNGIFA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 636; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated ItemParam extra_output_item_list = 3; - ForgeQueueManipulateType manipulate_type = 12; - repeated ItemParam return_item_list = 4; - repeated ItemParam output_item_list = 14; - int32 retcode = 11; + repeated ItemParam returnItemList = 3; + ForgeQueueManipulateType manipulateType = 7; + repeated ItemParam extraOutputItemList = 13; + repeated ItemParam outputItemList = 12; + int32 retcode = 5; } diff --git a/proto/ForgeQueueManipulateType.proto b/proto/ForgeQueueManipulateType.proto index 045d2a8c..1bfb8321 100644 --- a/proto/ForgeQueueManipulateType.proto +++ b/proto/ForgeQueueManipulateType.proto @@ -1,25 +1,8 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum ForgeQueueManipulateType { - FORGE_QUEUE_MANIPULATE_TYPE_RECEIVE_OUTPUT = 0; - FORGE_QUEUE_MANIPULATE_TYPE_STOP_FORGE = 1; + FORGE_QUEUE_MANIPULATE_TYPE_RECEIVE_OUTPUT = 0; + FORGE_QUEUE_MANIPULATE_TYPE_STOP_FORGE = 1; } diff --git a/proto/ForgeStartReq.proto b/proto/ForgeStartReq.proto index e6064231..15a09dd0 100644 --- a/proto/ForgeStartReq.proto +++ b/proto/ForgeStartReq.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ForgeStartReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 615; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum FPIEKIGCPND { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 652; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 forge_id = 8; - uint32 avatar_id = 1; - uint32 forge_count = 10; + uint32 avatarId = 10; + uint32 forgeCount = 6; + uint32 forgeId = 3; } diff --git a/proto/ForgeStartRsp.proto b/proto/ForgeStartRsp.proto index 2131fea1..09b4b073 100644 --- a/proto/ForgeStartRsp.proto +++ b/proto/ForgeStartRsp.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ForgeStartRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 621; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum PABBAJPLAIC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 603; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 2; + int32 retcode = 10; } diff --git a/proto/ForwardType.proto b/proto/ForwardType.proto index e5166502..ee45f69e 100644 --- a/proto/ForwardType.proto +++ b/proto/ForwardType.proto @@ -1,32 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum ForwardType { - FORWARD_TYPE_LOCAL = 0; - FORWARD_TYPE_TO_ALL = 1; - FORWARD_TYPE_TO_ALL_EXCEPT_CUR = 2; - FORWARD_TYPE_TO_HOST = 3; - FORWARD_TYPE_TO_ALL_GUEST = 4; - FORWARD_TYPE_TO_PEER = 5; - FORWARD_TYPE_TO_PEERS = 6; - FORWARD_TYPE_ONLY_SERVER = 7; - FORWARD_TYPE_TO_ALL_EXIST_EXCEPT_CUR = 8; + FORWARD_TYPE_LOCAL = 0; + FORWARD_TYPE_TO_ALL = 1; + FORWARD_TYPE_TO_ALL_EXCEPT_CUR = 2; + FORWARD_TYPE_TO_HOST = 3; + FORWARD_TYPE_TO_ALL_GUEST = 4; + FORWARD_TYPE_TO_PEER = 5; + FORWARD_TYPE_TO_PEERS = 6; + FORWARD_TYPE_ONLY_SERVER = 7; + FORWARD_TYPE_TO_ALL_EXIST_EXCEPT_CUR = 8; } diff --git a/proto/FoundationInfo.proto b/proto/FoundationInfo.proto index bb089560..aa75cedc 100644 --- a/proto/FoundationInfo.proto +++ b/proto/FoundationInfo.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "FoundationStatus.proto"; + +import "FoundationStatus.proto"; option java_package = "emu.grasscutter.net.proto"; message FoundationInfo { - FoundationStatus status = 1; - repeated uint32 uid_list = 2; - uint32 current_building_id = 3; - uint32 locked_by_uid = 4; + FoundationStatus status = 1; + repeated uint32 uidList = 2; + uint32 currentBuildingId = 3; + uint32 lockedByUid = 4; } diff --git a/proto/FoundationNotify.proto b/proto/FoundationNotify.proto new file mode 100644 index 00000000..790d1433 --- /dev/null +++ b/proto/FoundationNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "FoundationInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FoundationNotify { + enum FONPOGNLPGE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 839; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 gadgetEntityId = 5; + FoundationInfo info = 2; +} diff --git a/proto/FoundationOpType.proto b/proto/FoundationOpType.proto new file mode 100644 index 00000000..bf7208a5 --- /dev/null +++ b/proto/FoundationOpType.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +enum FoundationOpType { + FOUNDATION_OP_TYPE_NONE = 0; + FOUNDATION_OP_TYPE_BUILD = 1; + FOUNDATION_OP_TYPE_DEMOLITION = 2; + FOUNDATION_OP_TYPE_REBUILD = 3; + FOUNDATION_OP_TYPE_ROTATE = 4; + FOUNDATION_OP_TYPE_LOCK = 5; + FOUNDATION_OP_TYPE_UNLOCK = 6; +} diff --git a/proto/FoundationReq.proto b/proto/FoundationReq.proto new file mode 100644 index 00000000..9d52d831 --- /dev/null +++ b/proto/FoundationReq.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "FoundationOpType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FoundationReq { + enum OPCDIPANKEJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 869; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 pointConfigId = 2; + FoundationOpType opType = 10; + uint32 buildingId = 13; + uint32 gadgetEntityId = 4; +} diff --git a/proto/FoundationRsp.proto b/proto/FoundationRsp.proto new file mode 100644 index 00000000..721a5029 --- /dev/null +++ b/proto/FoundationRsp.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "FoundationOpType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FoundationRsp { + enum KFLDKIJLBGN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 806; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 pointConfigId = 14; + int32 retcode = 1; + uint32 gadgetEntityId = 10; + FoundationOpType opType = 15; + uint32 buildingId = 8; +} diff --git a/proto/FoundationStatus.proto b/proto/FoundationStatus.proto index aa18ab75..7a7d0b8f 100644 --- a/proto/FoundationStatus.proto +++ b/proto/FoundationStatus.proto @@ -1,27 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum FoundationStatus { - FOUNDATION_STATUS_NONE = 0; - FOUNDATION_STATUS_INIT = 1; - FOUNDATION_STATUS_BUILDING = 2; - FOUNDATION_STATUS_BUILT = 3; + FOUNDATION_STATUS_NONE = 0; + FOUNDATION_STATUS_INIT = 1; + FOUNDATION_STATUS_BUILDING = 2; + FOUNDATION_STATUS_BUILT = 3; } diff --git a/proto/FriendBrief.proto b/proto/FriendBrief.proto index 918e221c..c88dcb13 100644 --- a/proto/FriendBrief.proto +++ b/proto/FriendBrief.proto @@ -1,51 +1,35 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "FriendEnterHomeOption.proto"; -import "FriendOnlineState.proto"; -import "PlatformType.proto"; -import "ProfilePicture.proto"; -import "SocialShowAvatarInfo.proto"; + +import "FriendOnlineState.proto"; +import "FriendEnterHomeOption.proto"; +import "ProfilePicture.proto"; +import "PlatformType.proto"; +import "SocialShowAvatarInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message FriendBrief { - uint32 uid = 1; - string nickname = 2; - uint32 level = 3; - uint32 avatar_id = 4; - uint32 world_level = 5; - string signature = 6; - FriendOnlineState online_state = 7; - uint32 param = 8; - bool is_mp_mode_available = 10; - string online_id = 11; - uint32 last_active_time = 12; - uint32 name_card_id = 13; - uint32 mp_player_num = 14; - bool is_chat_no_disturb = 15; - uint32 chat_sequence = 16; - string remark_name = 17; - repeated SocialShowAvatarInfo show_avatar_info_list = 22; - FriendEnterHomeOption friend_enter_home_option = 23; - ProfilePicture profile_picture = 24; - bool is_game_source = 25; - bool is_psn_source = 26; - PlatformType platform_type = 27; + uint32 uid = 1; + string nickname = 2; + uint32 level = 3; + uint32 avatarId = 4; + uint32 worldLevel = 5; + string signature = 6; + FriendOnlineState onlineState = 7; + uint32 param = 8; + bool isMpModeAvailable = 10; + string onlineId = 11; + uint32 lastActiveTime = 12; + uint32 nameCardId = 13; + uint32 mpPlayerNum = 14; + bool isChatNoDisturb = 15; + uint32 chatSequence = 16; + string remarkName = 17; + repeated SocialShowAvatarInfo showAvatarInfoList = 22; + FriendEnterHomeOption friendEnterHomeOption = 23; + ProfilePicture profilePicture = 24; + bool isGameSource = 25; + bool isPsnSource = 26; + PlatformType platformType = 27; } diff --git a/proto/FriendEnterHomeOption.proto b/proto/FriendEnterHomeOption.proto index 4fb83dc8..429aa153 100644 --- a/proto/FriendEnterHomeOption.proto +++ b/proto/FriendEnterHomeOption.proto @@ -1,26 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum FriendEnterHomeOption { - FRIEND_ENTER_HOME_OPTION_NEED_CONFIRM = 0; - FRIEND_ENTER_HOME_OPTION_REFUSE = 1; - FRIEND_ENTER_HOME_OPTION_DIRECT = 2; + FRIEND_ENTER_HOME_OPTION_NEED_CONFIRM = 0; + FRIEND_ENTER_HOME_OPTION_REFUSE = 1; + FRIEND_ENTER_HOME_OPTION_DIRECT = 2; } diff --git a/proto/FriendInfoChangeNotify.proto b/proto/FriendInfoChangeNotify.proto new file mode 100644 index 00000000..373c8889 --- /dev/null +++ b/proto/FriendInfoChangeNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FriendInfoChangeNotify { + enum FAOBCGEFJBE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4026; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + string onlineId = 2; + uint32 uid = 9; +} diff --git a/proto/FriendOnlineState.proto b/proto/FriendOnlineState.proto index 1047b706..68537544 100644 --- a/proto/FriendOnlineState.proto +++ b/proto/FriendOnlineState.proto @@ -1,25 +1,8 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum FriendOnlineState { - FRIEND_ONLINE_STATE_DISCONNECT = 0; - FRIEND_ONLINE_STATE_ONLINE = 1; + FRIEND_ONLINE_STATE_DISCONNECT = 0; + FRIEND_ONLINE_STATE_ONLINE = 1; } diff --git a/proto/FungusCaptureSettleNotify.proto b/proto/FungusCaptureSettleNotify.proto new file mode 100644 index 00000000..29c412a2 --- /dev/null +++ b/proto/FungusCaptureSettleNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FungusCaptureSettleNotify { + enum MIBABDMJBJL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5585; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isSuccess = 4; +} diff --git a/proto/FungusCultivateReq.proto b/proto/FungusCultivateReq.proto new file mode 100644 index 00000000..48f63df4 --- /dev/null +++ b/proto/FungusCultivateReq.proto @@ -0,0 +1,25 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FungusCultivateReq { + enum NIMDMBGIEOP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 22123; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 cultivateId = 15; + uint32 time = 12; + uint32 Unk3300_MBPLICBFAGL = 5; + uint32 Unk3300_PGJKEICFKLL = 3; + uint32 Unk3300_DJEGJDACDEF = 7; + uint32 Unk3300_AEGCNHLOPEP = 8; + uint32 Unk3300_IMEGFNOLDCE = 13; + uint32 Unk3300_IOANLJBMBAI = 2; +} diff --git a/proto/FungusCultivateRsp.proto b/proto/FungusCultivateRsp.proto new file mode 100644 index 00000000..189d210b --- /dev/null +++ b/proto/FungusCultivateRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FungusCultivateRsp { + enum FLGGLCPECFO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23930; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 cultivateId = 13; + int32 retcode = 12; + bool isNewRecord = 2; +} diff --git a/proto/FungusDetail.proto b/proto/FungusDetail.proto index b918ba6f..d184092e 100644 --- a/proto/FungusDetail.proto +++ b/proto/FungusDetail.proto @@ -1,28 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FungusDetail { - uint32 name_id = 8; - uint32 Unk3300_EHNBDJPANKL = 2; - uint32 fungus_id = 3; - bool is_cultivate = 7; - uint32 Unk3300_GCLBPDJDEDN = 13; + bool isCultivate = 12; + uint32 Unk3300_GCLBPDJDEDN = 14; + uint32 Unk3300_EHNBDJPANKL = 3; + uint32 fungusId = 6; + uint32 nameId = 4; } diff --git a/proto/FungusFighterCaptureInfo.proto b/proto/FungusFighterCaptureInfo.proto new file mode 100644 index 00000000..b9eb5cab --- /dev/null +++ b/proto/FungusFighterCaptureInfo.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FungusFighterCaptureInfo { + bool isHideProgress = 3; +} diff --git a/proto/FungusFighterClearTrainingRuntimeDataReq.proto b/proto/FungusFighterClearTrainingRuntimeDataReq.proto new file mode 100644 index 00000000..be18791e --- /dev/null +++ b/proto/FungusFighterClearTrainingRuntimeDataReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FungusFighterClearTrainingRuntimeDataReq { + enum JHCNJHLONKJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23642; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 dungeonId = 3; +} diff --git a/proto/FungusFighterClearTrainingRuntimeDataRsp.proto b/proto/FungusFighterClearTrainingRuntimeDataRsp.proto new file mode 100644 index 00000000..3473f22b --- /dev/null +++ b/proto/FungusFighterClearTrainingRuntimeDataRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FungusFighterClearTrainingRuntimeDataRsp { + enum JEFCAPDINIK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 22321; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; +} diff --git a/proto/FungusFighterDetailInfo.proto b/proto/FungusFighterDetailInfo.proto index e4edbfbf..879d3de7 100644 --- a/proto/FungusFighterDetailInfo.proto +++ b/proto/FungusFighterDetailInfo.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "FungusDetail.proto"; +import "FungusTrainingProgressDetail.proto"; import "FungusPlotStageDetail.proto"; import "FungusTrainingDungeonDetail.proto"; -import "FungusTrainingProgressDetail.proto"; - option java_package = "emu.grasscutter.net.proto"; message FungusFighterDetailInfo { - repeated FungusDetail fungus_detail_list = 6; - repeated uint32 Unk3300_GIHAKKAJHDH = 1; - repeated uint32 Unk3300_KGKFJJHFHAB = 8; - repeated FungusTrainingProgressDetail training_dungeon_progress_detail_list = 3; - repeated uint32 Unk3300_HPDOJOBPFMJ = 9; - repeated FungusPlotStageDetail plot_stage_detail_list = 11; - repeated FungusTrainingDungeonDetail training_dungeon_detail_list = 2; + repeated FungusDetail fungusDetailList = 3; + repeated uint32 Unk3300_GIHAKKAJHDH = 9; + repeated FungusTrainingProgressDetail trainingDungeonProgressDetailList = 4; + repeated uint32 Unk3300_HPDOJOBPFMJ = 2; + repeated uint32 Unk3300_KGKFJJHFHAB = 13; + repeated FungusPlotStageDetail plotStageDetailList = 6; + repeated FungusTrainingDungeonDetail trainingDungeonDetailList = 12; } diff --git a/proto/FungusFighterInfo.proto b/proto/FungusFighterInfo.proto new file mode 100644 index 00000000..fafa985f --- /dev/null +++ b/proto/FungusFighterInfo.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "FungusDetail.proto"; +import "FungusTrainingProgressDetail.proto"; +import "FungusPlotStageDetail.proto"; +import "FungusTrainingDungeonDetail.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FungusFighterInfo { + repeated FungusDetail fungusDetailList = 3; + repeated uint32 Unk3300_GIHAKKAJHDH = 9; + repeated FungusTrainingProgressDetail trainingDungeonProgressDetailList = 4; + repeated uint32 Unk3300_HPDOJOBPFMJ = 2; + repeated uint32 Unk3300_KGKFJJHFHAB = 13; + repeated FungusPlotStageDetail plotStageDetailList = 6; + repeated FungusTrainingDungeonDetail trainingDungeonDetailList = 12; +} diff --git a/proto/FungusFighterMonsterDetail.proto b/proto/FungusFighterMonsterDetail.proto index a2fbc9fc..8de17bd0 100644 --- a/proto/FungusFighterMonsterDetail.proto +++ b/proto/FungusFighterMonsterDetail.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FungusFighterMonsterDetail { - float cur_hp_percentage = 9; - bool is_alive = 10; - uint32 fungus_id = 13; + float curHpPercentage = 9; + uint32 fungusId = 10; + bool isAlive = 12; } diff --git a/proto/FungusFighterPlotInfoNotify.proto b/proto/FungusFighterPlotInfoNotify.proto new file mode 100644 index 00000000..1a742385 --- /dev/null +++ b/proto/FungusFighterPlotInfoNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FungusFighterPlotInfoNotify { + enum MDJGOPHLFOJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 24391; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 fungusIdList = 1; + uint32 dungeonId = 12; +} diff --git a/proto/FungusFighterRestartTraningDungeonReq.proto b/proto/FungusFighterRestartTraningDungeonReq.proto new file mode 100644 index 00000000..aafd84e7 --- /dev/null +++ b/proto/FungusFighterRestartTraningDungeonReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FungusFighterRestartTraningDungeonReq { + enum INLJMEDOALP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20900; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/FungusFighterRestartTraningDungeonRsp.proto b/proto/FungusFighterRestartTraningDungeonRsp.proto new file mode 100644 index 00000000..85c9b88f --- /dev/null +++ b/proto/FungusFighterRestartTraningDungeonRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FungusFighterRestartTraningDungeonRsp { + enum NAPBFJHJONH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 24603; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 10; +} diff --git a/proto/FungusFighterRuntimeDataNotify.proto b/proto/FungusFighterRuntimeDataNotify.proto new file mode 100644 index 00000000..7f942e1d --- /dev/null +++ b/proto/FungusFighterRuntimeDataNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "FungusTrainingProgressDetail.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FungusFighterRuntimeDataNotify { + enum OGHEKMNGNAM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 22858; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + FungusTrainingProgressDetail progressDetail = 14; +} diff --git a/proto/FungusFighterTrainingGallerySettleNotify.proto b/proto/FungusFighterTrainingGallerySettleNotify.proto new file mode 100644 index 00000000..8f8a34e0 --- /dev/null +++ b/proto/FungusFighterTrainingGallerySettleNotify.proto @@ -0,0 +1,25 @@ +syntax = "proto3"; + + + +import "GalleryStopReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FungusFighterTrainingGallerySettleNotify { + enum PCMLJAAPJMF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23677; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 finalScore = 6; + uint32 Unk3300_KKFBMHLOLFC = 14; + GalleryStopReason reason = 3; + uint32 Unk3300_BHOMHPHLOHL = 11; + uint32 Unk3300_POCDEGBHJEA = 12; + uint32 totalUsedTime = 9; + bool isFinalSettle = 7; + bool isNewRecord = 5; +} diff --git a/proto/FungusFighterTrainingInfo.proto b/proto/FungusFighterTrainingInfo.proto new file mode 100644 index 00000000..58175b14 --- /dev/null +++ b/proto/FungusFighterTrainingInfo.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FungusFighterTrainingInfo { + uint32 Unk3300_GMLIPFDMDOG = 5; + uint32 buffId = 15; + uint32 Unk3300_IOEELCAMDCK = 4; + uint32 maxMonsterCount = 1; + uint32 Unk3300_EKAMCPNGCGH = 10; + uint32 Unk3300_EDHANEGNMJM = 3; + uint32 Unk3300_HGPGNCMNDJN = 6; +} diff --git a/proto/FungusFighterTrainingInfoNotify.proto b/proto/FungusFighterTrainingInfoNotify.proto new file mode 100644 index 00000000..928b6972 --- /dev/null +++ b/proto/FungusFighterTrainingInfoNotify.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FungusFighterTrainingInfoNotify { + enum JBHPHCENNEO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5545; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 Unk3300_EDHANEGNMJM = 15; + uint32 Unk3300_IOEELCAMDCK = 14; + uint32 Unk3300_EKAMCPNGCGH = 1; + uint32 Unk3300_GMLIPFDMDOG = 7; + uint32 maxMonsterCount = 3; + uint32 buffId = 6; + uint32 Unk3300_HGPGNCMNDJN = 13; +} diff --git a/proto/FungusFighterTrainingSelectFungusReq.proto b/proto/FungusFighterTrainingSelectFungusReq.proto new file mode 100644 index 00000000..e7ddc18f --- /dev/null +++ b/proto/FungusFighterTrainingSelectFungusReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FungusFighterTrainingSelectFungusReq { + enum EIKEOMNDPJM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21917; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 backupFungusIdList = 5; + repeated uint32 fightFungusIdList = 2; +} diff --git a/proto/FungusFighterTrainingSelectFungusRsp.proto b/proto/FungusFighterTrainingSelectFungusRsp.proto new file mode 100644 index 00000000..deb6494c --- /dev/null +++ b/proto/FungusFighterTrainingSelectFungusRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FungusFighterTrainingSelectFungusRsp { + enum FNLLKEMCFDD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20972; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 15; +} diff --git a/proto/FungusFighterUseBackupFungusReq.proto b/proto/FungusFighterUseBackupFungusReq.proto new file mode 100644 index 00000000..4e051c75 --- /dev/null +++ b/proto/FungusFighterUseBackupFungusReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FungusFighterUseBackupFungusReq { + enum MBJBDMEMKOF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 22618; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 backupFungusIdList = 13; +} diff --git a/proto/FungusFighterUseBackupFungusRsp.proto b/proto/FungusFighterUseBackupFungusRsp.proto new file mode 100644 index 00000000..e295bfb0 --- /dev/null +++ b/proto/FungusFighterUseBackupFungusRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FungusFighterUseBackupFungusRsp { + enum FJMCGFHJHEO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23332; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; +} diff --git a/proto/FungusPlotStageDetail.proto b/proto/FungusPlotStageDetail.proto index fc19e0bf..d21abb03 100644 --- a/proto/FungusPlotStageDetail.proto +++ b/proto/FungusPlotStageDetail.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FungusPlotStageDetail { - bool is_open = 13; - uint32 stage_id = 10; + uint32 stageId = 3; + bool isOpen = 15; } diff --git a/proto/FungusRenameReq.proto b/proto/FungusRenameReq.proto new file mode 100644 index 00000000..c2312c47 --- /dev/null +++ b/proto/FungusRenameReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FungusRenameReq { + enum DMLOEJOIBHO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21219; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 nameId = 2; + uint32 fungusId = 5; +} diff --git a/proto/FungusRenameRsp.proto b/proto/FungusRenameRsp.proto new file mode 100644 index 00000000..338396aa --- /dev/null +++ b/proto/FungusRenameRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message FungusRenameRsp { + enum NJFOKBFCGEJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23858; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 12; + uint32 fungusId = 3; + uint32 nameId = 7; +} diff --git a/proto/FungusTrainingDungeonDetail.proto b/proto/FungusTrainingDungeonDetail.proto index b499a5bb..265da908 100644 --- a/proto/FungusTrainingDungeonDetail.proto +++ b/proto/FungusTrainingDungeonDetail.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FungusTrainingDungeonDetail { - uint32 best_score = 8; - uint32 dungeon_id = 6; - bool is_open = 13; + bool isOpen = 8; + uint32 bestScore = 7; + uint32 dungeonId = 6; } diff --git a/proto/FungusTrainingMonsterPreviewDetail.proto b/proto/FungusTrainingMonsterPreviewDetail.proto index 197adef7..1eb938b0 100644 --- a/proto/FungusTrainingMonsterPreviewDetail.proto +++ b/proto/FungusTrainingMonsterPreviewDetail.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FungusTrainingMonsterPreviewDetail { - uint32 monster_id = 12; - uint32 level = 8; - repeated uint32 affix_list = 9; + uint32 monsterId = 3; + uint32 level = 5; + repeated uint32 affixList = 11; } diff --git a/proto/FungusTrainingPoolPreviewDetail.proto b/proto/FungusTrainingPoolPreviewDetail.proto index 9f2b1f0b..11a2cc3b 100644 --- a/proto/FungusTrainingPoolPreviewDetail.proto +++ b/proto/FungusTrainingPoolPreviewDetail.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "FungusTrainingMonsterPreviewDetail.proto"; + +import "FungusTrainingMonsterPreviewDetail.proto"; option java_package = "emu.grasscutter.net.proto"; message FungusTrainingPoolPreviewDetail { - repeated FungusTrainingMonsterPreviewDetail monster_preview_detail_list = 10; - uint32 pool_id = 8; + uint32 poolId = 10; + repeated FungusTrainingMonsterPreviewDetail monsterPreviewDetailList = 5; } diff --git a/proto/FungusTrainingProgressDetail.proto b/proto/FungusTrainingProgressDetail.proto index 4c4eb1b8..1e7cd111 100644 --- a/proto/FungusTrainingProgressDetail.proto +++ b/proto/FungusTrainingProgressDetail.proto @@ -1,33 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "FungusFighterMonsterDetail.proto"; -import "FungusTrainingPoolPreviewDetail.proto"; + +import "FungusTrainingPoolPreviewDetail.proto"; +import "FungusFighterMonsterDetail.proto"; option java_package = "emu.grasscutter.net.proto"; message FungusTrainingProgressDetail { - repeated uint32 Unk3300_EEOIMDJOHCM = 10; - uint32 total_used_time = 3; - repeated FungusFighterMonsterDetail monster_detail_list = 14; - uint32 dungeon_id = 1; - repeated FungusTrainingPoolPreviewDetail monster_pool_preview_list = 5; - uint32 cur_round = 9; - repeated uint32 Unk3300_NLHEFGBEOAC = 4; + repeated uint32 Unk3300_EEOIMDJOHCM = 15; + uint32 curRound = 1; + repeated uint32 Unk3300_NLHEFGBEOAC = 8; + repeated FungusTrainingPoolPreviewDetail monsterPoolPreviewList = 9; + uint32 totalUsedTime = 4; + repeated FungusFighterMonsterDetail monsterDetailList = 2; + uint32 dungeonId = 13; } diff --git a/proto/FunitureMakeMakeInfoChangeNotify.proto b/proto/FunitureMakeMakeInfoChangeNotify.proto new file mode 100644 index 00000000..4f480dbb --- /dev/null +++ b/proto/FunitureMakeMakeInfoChangeNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "FurnitureMakeInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message FunitureMakeMakeInfoChangeNotify { + enum DNJNMEOICMI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4592; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + FurnitureMakeInfo ijdbngdlgdb = 8; +} diff --git a/proto/Furniture.proto b/proto/Furniture.proto index e645a434..dcbde36e 100644 --- a/proto/Furniture.proto +++ b/proto/Furniture.proto @@ -1,24 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message Furniture { - uint32 count = 1; + uint32 count = 1; } diff --git a/proto/FurnitureCurModuleArrangeCountNotify.proto b/proto/FurnitureCurModuleArrangeCountNotify.proto index 67c6a765..b1716ea6 100644 --- a/proto/FurnitureCurModuleArrangeCountNotify.proto +++ b/proto/FurnitureCurModuleArrangeCountNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Uint32Pair.proto"; + +import "Uint32Pair.proto"; option java_package = "emu.grasscutter.net.proto"; message FurnitureCurModuleArrangeCountNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4538; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HGICNMNBGLO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4851; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated Uint32Pair furniture_arrange_count_list = 3; + repeated Uint32Pair furnitureArrangeCountList = 13; } diff --git a/proto/FurnitureMakeBeHelpedData.proto b/proto/FurnitureMakeBeHelpedData.proto index a7b62671..3dc1222b 100644 --- a/proto/FurnitureMakeBeHelpedData.proto +++ b/proto/FurnitureMakeBeHelpedData.proto @@ -1,30 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ProfilePicture.proto"; + +import "ProfilePicture.proto"; option java_package = "emu.grasscutter.net.proto"; message FurnitureMakeBeHelpedData { - string player_name = 11; - uint32 icon = 7; - ProfilePicture profile_picture = 2; - fixed32 time = 12; - uint32 uid = 8; + uint32 uid = 7; + ProfilePicture profilePicture = 10; + uint32 icon = 13; + uint32 time = 4; + string playerName = 6; } diff --git a/proto/FurnitureMakeBeHelpedNotify.proto b/proto/FurnitureMakeBeHelpedNotify.proto index 013f2d63..fcce31c3 100644 --- a/proto/FurnitureMakeBeHelpedNotify.proto +++ b/proto/FurnitureMakeBeHelpedNotify.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "FurnitureMakeBeHelpedData.proto"; -import "FurnitureMakeSlot.proto"; + +import "FurnitureMakeSlot.proto"; +import "FurnitureMakeBeHelpedData.proto"; option java_package = "emu.grasscutter.net.proto"; message FurnitureMakeBeHelpedNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4766; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum EJBNALJACLJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4522; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - FurnitureMakeBeHelpedData furniture_make_helped_data = 12; - FurnitureMakeSlot furniture_make_slot = 3; + FurnitureMakeSlot furnitureMakeSlot = 2; + FurnitureMakeBeHelpedData furnitureMakeHelpedData = 12; } diff --git a/proto/FurnitureMakeCancelReq.proto b/proto/FurnitureMakeCancelReq.proto index 4e8a59d9..e9f9af6e 100644 --- a/proto/FurnitureMakeCancelReq.proto +++ b/proto/FurnitureMakeCancelReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FurnitureMakeCancelReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4726; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum NMENAMEMOJA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4577; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 make_id = 14; - uint32 index = 4; + uint32 makeId = 5; + uint32 index = 12; } diff --git a/proto/FurnitureMakeCancelRsp.proto b/proto/FurnitureMakeCancelRsp.proto index a301ca26..5c1d0cb5 100644 --- a/proto/FurnitureMakeCancelRsp.proto +++ b/proto/FurnitureMakeCancelRsp.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "FurnitureMakeSlot.proto"; + +import "FurnitureMakeSlot.proto"; option java_package = "emu.grasscutter.net.proto"; message FurnitureMakeCancelRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4676; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum PAEMPLDCDHP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4561; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 8; - uint32 make_id = 6; - FurnitureMakeSlot furniture_make_slot = 4; + int32 retcode = 4; + FurnitureMakeSlot furnitureMakeSlot = 14; + uint32 makeId = 10; } diff --git a/proto/FurnitureMakeData.proto b/proto/FurnitureMakeData.proto index 63ed084c..e3c1fcc0 100644 --- a/proto/FurnitureMakeData.proto +++ b/proto/FurnitureMakeData.proto @@ -1,29 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FurnitureMakeData { - fixed32 begin_time = 1; - uint32 avatar_id = 5; - uint32 make_id = 10; - uint32 index = 6; - uint32 dur_time = 8; - fixed32 accelerate_time = 7; + uint32 durTime = 5; + uint32 makeId = 6; + uint32 beginTime = 13; + uint32 accelerateTime = 9; + uint32 index = 10; + uint32 avatarId = 1; } diff --git a/proto/FurnitureMakeFinishNotify.proto b/proto/FurnitureMakeFinishNotify.proto index c36b2e07..b1799b4a 100644 --- a/proto/FurnitureMakeFinishNotify.proto +++ b/proto/FurnitureMakeFinishNotify.proto @@ -1,30 +1,16 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FurnitureMakeFinishNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4850; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MIOIGBJOKEO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4789; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + } diff --git a/proto/FurnitureMakeHelpData.proto b/proto/FurnitureMakeHelpData.proto index 4911bf0e..a85f87c3 100644 --- a/proto/FurnitureMakeHelpData.proto +++ b/proto/FurnitureMakeHelpData.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FurnitureMakeHelpData { - uint32 times = 12; - uint32 uid = 2; + uint32 times = 2; + uint32 uid = 6; } diff --git a/proto/FurnitureMakeHelpReq.proto b/proto/FurnitureMakeHelpReq.proto index dd66407a..03be2372 100644 --- a/proto/FurnitureMakeHelpReq.proto +++ b/proto/FurnitureMakeHelpReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FurnitureMakeHelpReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4478; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum MCJFGBALEMN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4739; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/FurnitureMakeHelpRsp.proto b/proto/FurnitureMakeHelpRsp.proto index 7bd5f997..15f095a8 100644 --- a/proto/FurnitureMakeHelpRsp.proto +++ b/proto/FurnitureMakeHelpRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "FurnitureMakeHelpData.proto"; + +import "FurnitureMakeHelpData.proto"; option java_package = "emu.grasscutter.net.proto"; message FurnitureMakeHelpRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4507; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum IIBCBIPNGEA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4533; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated FurnitureMakeHelpData help_data_list = 4; - int32 retcode = 3; + int32 retcode = 7; + repeated FurnitureMakeHelpData helpDataList = 4; } diff --git a/proto/FurnitureMakeInfo.proto b/proto/FurnitureMakeInfo.proto index 9a23f0ef..efd9ddbd 100644 --- a/proto/FurnitureMakeInfo.proto +++ b/proto/FurnitureMakeInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FurnitureMakeInfo { - uint32 make_count = 15; - uint32 furniture_id = 9; + uint32 makeCount = 9; + uint32 furnitureId = 7; } diff --git a/proto/FurnitureMakeInfoChangeNotify.proto b/proto/FurnitureMakeInfoChangeNotify.proto index 9ecf9a7c..31a22a51 100644 --- a/proto/FurnitureMakeInfoChangeNotify.proto +++ b/proto/FurnitureMakeInfoChangeNotify.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "FurnitureMakeInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message FurnitureMakeInfoChangeNotify { diff --git a/proto/FurnitureMakeMakeInfo.proto b/proto/FurnitureMakeMakeInfo.proto index 5c864445..1125536f 100644 --- a/proto/FurnitureMakeMakeInfo.proto +++ b/proto/FurnitureMakeMakeInfo.proto @@ -17,6 +17,7 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message FurnitureMakeMakeInfo { diff --git a/proto/FurnitureMakeReq.proto b/proto/FurnitureMakeReq.proto index 9ed9d34d..234e1d8b 100644 --- a/proto/FurnitureMakeReq.proto +++ b/proto/FurnitureMakeReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FurnitureMakeReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4802; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum EFOKMLKACBP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4894; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/FurnitureMakeRsp.proto b/proto/FurnitureMakeRsp.proto index a64a1ee7..64f7ac16 100644 --- a/proto/FurnitureMakeRsp.proto +++ b/proto/FurnitureMakeRsp.proto @@ -1,41 +1,25 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "FurnitureMakeBeHelpedData.proto"; + + +import "FurnitureMakeSlot.proto"; import "FurnitureMakeHelpData.proto"; import "FurnitureMakeInfo.proto"; -import "FurnitureMakeSlot.proto"; - +import "FurnitureMakeBeHelpedData.proto"; option java_package = "emu.grasscutter.net.proto"; message FurnitureMakeRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4504; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum EIPCPPBDLLA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4802; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - FurnitureMakeSlot furniture_make_slot = 13; - repeated FurnitureMakeHelpData help_data_list = 4; - int32 retcode = 11; - repeated FurnitureMakeBeHelpedData helped_data_list = 6; - repeated FurnitureMakeInfo make_info_list = 7; + int32 retcode = 5; + FurnitureMakeSlot furnitureMakeSlot = 3; + repeated FurnitureMakeHelpData helpDataList = 7; + repeated FurnitureMakeInfo makeInfoList = 8; + repeated FurnitureMakeBeHelpedData helpedDataList = 14; } diff --git a/proto/FurnitureMakeSlot.proto b/proto/FurnitureMakeSlot.proto index bf7df59c..373d1f13 100644 --- a/proto/FurnitureMakeSlot.proto +++ b/proto/FurnitureMakeSlot.proto @@ -1,26 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "FurnitureMakeData.proto"; + +import "FurnitureMakeData.proto"; option java_package = "emu.grasscutter.net.proto"; message FurnitureMakeSlot { - repeated FurnitureMakeData furniture_make_data_list = 1; + repeated FurnitureMakeData furnitureMakeDataList = 4; } diff --git a/proto/FurnitureMakeStartReq.proto b/proto/FurnitureMakeStartReq.proto index 968589f1..353b5834 100644 --- a/proto/FurnitureMakeStartReq.proto +++ b/proto/FurnitureMakeStartReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message FurnitureMakeStartReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4581; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum MEJIFGHCCJP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4740; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 make_id = 15; - uint32 avatar_id = 13; + uint32 makeId = 15; + uint32 avatarId = 13; } diff --git a/proto/FurnitureMakeStartRsp.proto b/proto/FurnitureMakeStartRsp.proto index 065b5c2d..b9073406 100644 --- a/proto/FurnitureMakeStartRsp.proto +++ b/proto/FurnitureMakeStartRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "FurnitureMakeSlot.proto"; + +import "FurnitureMakeSlot.proto"; option java_package = "emu.grasscutter.net.proto"; message FurnitureMakeStartRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4877; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum FBLHKPMBEOI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4756; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - FurnitureMakeSlot furniture_make_slot = 14; - int32 retcode = 8; + FurnitureMakeSlot furnitureMakeSlot = 11; + int32 retcode = 15; } diff --git a/proto/GAELKEHFLHD.proto b/proto/GAELKEHFLHD.proto new file mode 100644 index 00000000..fffbbf38 --- /dev/null +++ b/proto/GAELKEHFLHD.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GAELKEHFLHD { + uint32 ocnblncnkge = 13; + uint32 entityId = 1; + uint32 gfiihkfomol = 15; + Rotation eknhofiihcl = 14; +} diff --git a/proto/GBOKNAPLKFB.proto b/proto/GBOKNAPLKFB.proto new file mode 100644 index 00000000..c1b46516 --- /dev/null +++ b/proto/GBOKNAPLKFB.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GBOKNAPLKFB { + bool value = 1; +} diff --git a/proto/GCGActionType.proto b/proto/GCGActionType.proto new file mode 100644 index 00000000..ebee2083 --- /dev/null +++ b/proto/GCGActionType.proto @@ -0,0 +1,32 @@ +syntax = "proto3"; + + + +enum GCGActionType { + GCG_ACTION_TYPE_NONE = 0; + GCG_ACTION_TYPE_SPECIAL_PHASE = 1; + GCG_ACTION_TYPE_NEXT_PHASE = 2; + GCG_ACTION_TYPE_DRAW = 3; + GCG_ACTION_TYPE_REDRAW = 4; + GCG_ACTION_TYPE_SELECT_ONSTAGE = 5; + GCG_ACTION_TYPE_ROLL = 6; + GCG_ACTION_TYPE_REROLL = 7; + GCG_ACTION_TYPE_ATTACK = 8; + GCG_ACTION_TYPE_PLAY_CARD = 9; + GCG_ACTION_TYPE_PASS = 10; + GCG_ACTION_TYPE_REBOOT = 11; + GCG_ACTION_TYPE_GAME_OVER = 12; + GCG_ACTION_TYPE_TRIGGER = 13; + GCG_ACTION_TYPE_PHASE_EXIT = 14; + GCG_ACTION_TYPE_CUSTOM = 15; + GCG_ACTION_TYPE_NOTIFY_COST = 16; + GCG_ACTION_TYPE_AFTER_OPERATION = 17; + GCG_ACTION_TYPE_USE_SKILL = 18; + GCG_ACTION_TYPE_NOTIFY_SKILL_PREVIEW = 19; + GCG_ACTION_TYPE_PREVIEW_ATTACK = 20; + GCG_ACTION_TYPE_PREVIEW_AFTER_ATTACK = 21; + GCG_ACTION_TYPE_SEND_MESSAGE = 22; + GCG_ACTION_TYPE_WAITING_CHARACTER = 23; + GCG_ACTION_TYPE_TRIGGER_SKILL = 24; + GCG_ACTION_TYPE_BEFORE_NEXT_OPERATION = 25; +} diff --git a/proto/GCGApplyInviteBattleNotify.proto b/proto/GCGApplyInviteBattleNotify.proto new file mode 100644 index 00000000..b9333a4d --- /dev/null +++ b/proto/GCGApplyInviteBattleNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGApplyInviteBattleNotify { + enum ALFOCFCKOIK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7300; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isAgree = 7; +} diff --git a/proto/GCGApplyInviteBattleReq.proto b/proto/GCGApplyInviteBattleReq.proto new file mode 100644 index 00000000..9a12c283 --- /dev/null +++ b/proto/GCGApplyInviteBattleReq.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGApplyInviteBattleReq { + enum BMEFPIBIJLP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7465; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 ljemjfinpph = 13; + int32 retcode = 15; + uint32 confirmEndTime = 7; + uint32 uid = 4; + uint32 punishEndTime = 5; +} diff --git a/proto/GCGApplyInviteBattleRsp.proto b/proto/GCGApplyInviteBattleRsp.proto new file mode 100644 index 00000000..77d7426c --- /dev/null +++ b/proto/GCGApplyInviteBattleRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGApplyInviteBattleRsp { + enum BBKBNGLJNAL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7482; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 ljemjfinpph = 8; + uint32 confirmEndTime = 9; +} diff --git a/proto/GCGAskDuelReq.proto b/proto/GCGAskDuelReq.proto new file mode 100644 index 00000000..4d5170d1 --- /dev/null +++ b/proto/GCGAskDuelReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGAskDuelReq { + enum CIIBFDEIFGD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7646; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GCGAskDuelRsp.proto b/proto/GCGAskDuelRsp.proto new file mode 100644 index 00000000..dfdcc544 --- /dev/null +++ b/proto/GCGAskDuelRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "Duel.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGAskDuelRsp { + enum BJKEODEOFEE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7928; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + Duel duel = 5; + int32 retcode = 7; +} diff --git a/proto/GCGAttackCostInfo.proto b/proto/GCGAttackCostInfo.proto new file mode 100644 index 00000000..c6275f7b --- /dev/null +++ b/proto/GCGAttackCostInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "Uint32Pair.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGAttackCostInfo { + repeated Uint32Pair costMap = 6; + uint32 skillId = 13; +} diff --git a/proto/GCGBackToDuelReq.proto b/proto/GCGBackToDuelReq.proto new file mode 100644 index 00000000..4edc29b8 --- /dev/null +++ b/proto/GCGBackToDuelReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGBackToDuelReq { + enum MMAKOJOIMMB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7038; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isBack = 13; +} diff --git a/proto/GCGBackToDuelRsp.proto b/proto/GCGBackToDuelRsp.proto new file mode 100644 index 00000000..dbd47798 --- /dev/null +++ b/proto/GCGBackToDuelRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGBackToDuelRsp { + enum BBAJGFENCAD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7304; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 1; +} diff --git a/proto/GCGBasicDataNotify.proto b/proto/GCGBasicDataNotify.proto new file mode 100644 index 00000000..36b2b3cb --- /dev/null +++ b/proto/GCGBasicDataNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "GCGTavernNpcInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGBasicDataNotify { + enum MFOGKBFIDLO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7511; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + GCGTavernNpcInfo option = 13; +} diff --git a/proto/GCGBossChallengeData.proto b/proto/GCGBossChallengeData.proto new file mode 100644 index 00000000..76da52da --- /dev/null +++ b/proto/GCGBossChallengeData.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGBossChallengeData { + repeated uint32 lidokiohkmh = 1; + uint32 id = 5; +} diff --git a/proto/GCGBossChallengeUpdateNotify.proto b/proto/GCGBossChallengeUpdateNotify.proto new file mode 100644 index 00000000..17156e80 --- /dev/null +++ b/proto/GCGBossChallengeUpdateNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "GCGBossChallengeData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGBossChallengeUpdateNotify { + enum OGCPGBNLNOM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7119; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + GCGBossChallengeData jmpbgnfplkb = 9; +} diff --git a/proto/GCGCard.proto b/proto/GCGCard.proto new file mode 100644 index 00000000..9bc80872 --- /dev/null +++ b/proto/GCGCard.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "GCGToken.proto"; +import "GCGSkillLimitsInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGCard { + repeated uint32 skillIdList = 11; + repeated GCGToken tokenList = 3; + uint32 controllerId = 2; + repeated uint32 tagList = 9; + uint32 retcode = 1; + uint32 guid = 8; + uint32 id = 14; + bool isShow = 13; + repeated GCGSkillLimitsInfo skillLimitsList = 12; +} diff --git a/proto/GCGCardSkillLimitsInfo.proto b/proto/GCGCardSkillLimitsInfo.proto new file mode 100644 index 00000000..f199c536 --- /dev/null +++ b/proto/GCGCardSkillLimitsInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "GCGSkillLimitsInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGCardSkillLimitsInfo { + repeated GCGSkillLimitsInfo skillLimitsList = 13; +} diff --git a/proto/GCGChallengeUpdateNotify.proto b/proto/GCGChallengeUpdateNotify.proto new file mode 100644 index 00000000..e242ad3c --- /dev/null +++ b/proto/GCGChallengeUpdateNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "GCGDuelChallenge.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGChallengeUpdateNotify { + enum PHDBJKPOOMO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7731; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + GCGDuelChallenge challenge = 4; + uint32 serverSeq = 9; +} diff --git a/proto/GCGChangeOnstageInfo.proto b/proto/GCGChangeOnstageInfo.proto new file mode 100644 index 00000000..6879b617 --- /dev/null +++ b/proto/GCGChangeOnstageInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "GCGSkillPreviewInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGChangeOnstageInfo { + uint32 cardGuid = 4; + GCGSkillPreviewInfo changeOnstagePreviewInfo = 8; + bool isQuick = 5; +} diff --git a/proto/GCGClientPerformType.proto b/proto/GCGClientPerformType.proto new file mode 100644 index 00000000..83e76ba6 --- /dev/null +++ b/proto/GCGClientPerformType.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +enum GCGClientPerformType { + GCG_CLIENT_PERFORM_TYPE_INVALID = 0; + GCG_CLIENT_PERFORM_TYPE_CARD_EXCHANGE = 1; + GCG_CLIENT_PERFORM_TYPE_FIRST_HAND = 2; + GCG_CLIENT_PERFORM_TYPE_REROLL = 3; +} diff --git a/proto/GCGClientSettleReq.proto b/proto/GCGClientSettleReq.proto new file mode 100644 index 00000000..70621627 --- /dev/null +++ b/proto/GCGClientSettleReq.proto @@ -0,0 +1,27 @@ +syntax = "proto3"; + + + +import "GCGEndReason.proto"; +import "GCGGameBusinessType.proto"; +import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGClientSettleReq { + enum NAEPLBPDGDG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7773; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 forbidFinishChallengeList = 14; + GCGEndReason reason = 12; + bool isWin = 4; + repeated ItemParam rewardItemList = 9; + repeated uint32 adobcdcfbpn = 11; + uint32 winControllerId = 2; + uint32 gameId = 7; + GCGGameBusinessType businessType = 3; +} diff --git a/proto/GCGClientSettleRsp.proto b/proto/GCGClientSettleRsp.proto new file mode 100644 index 00000000..0b02d3ba --- /dev/null +++ b/proto/GCGClientSettleRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGClientSettleRsp { + enum FPGBMFBIEEF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7894; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool njfkmlcpbbh = 2; +} diff --git a/proto/GCGControllerShowInfo.proto b/proto/GCGControllerShowInfo.proto new file mode 100644 index 00000000..6d36659e --- /dev/null +++ b/proto/GCGControllerShowInfo.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "ProfilePicture.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGControllerShowInfo { + string onlineId = 5; + uint32 controllerId = 6; + string nickName = 1; + ProfilePicture profilePicture = 4; + string psnId = 10; +} diff --git a/proto/GCGCostReviseInfo.proto b/proto/GCGCostReviseInfo.proto new file mode 100644 index 00000000..b6b34f11 --- /dev/null +++ b/proto/GCGCostReviseInfo.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "GCGSelectOnStageCostInfo.proto"; +import "GCGAttackCostInfo.proto"; +import "GCGPlayCardCostInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGCostReviseInfo { + bool isCanAttack = 2; + repeated GCGSelectOnStageCostInfo selectOnStageCostList = 5; + repeated GCGAttackCostInfo attackCostList = 8; + repeated uint32 canUseHandCardIdList = 7; + repeated GCGPlayCardCostInfo playCardCostList = 15; +} diff --git a/proto/GCGDSBanCardNotify.proto b/proto/GCGDSBanCardNotify.proto new file mode 100644 index 00000000..97c0e10a --- /dev/null +++ b/proto/GCGDSBanCardNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSBanCardNotify { + enum AJDEPLPALCB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7289; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 rewardIndex = 2; + uint32 cardId = 14; +} diff --git a/proto/GCGDSCardBackUnlockNotify.proto b/proto/GCGDSCardBackUnlockNotify.proto new file mode 100644 index 00000000..f1cf4aa3 --- /dev/null +++ b/proto/GCGDSCardBackUnlockNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSCardBackUnlockNotify { + enum JAKDACJEGNP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7884; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + string egefalocknh = 2; + bool isSuccess = 8; + string cardBackId = 4; +} diff --git a/proto/GCGDSCardData.proto b/proto/GCGDSCardData.proto new file mode 100644 index 00000000..36ad08a1 --- /dev/null +++ b/proto/GCGDSCardData.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSCardData { + uint32 cardId = 7; + repeated uint32 cnmaiaajihc = 15; + uint32 retcode = 2; + uint32 num = 4; + uint32 proficiency = 12; + repeated uint32 mdmigcefmmd = 10; +} diff --git a/proto/GCGDSCardFaceUnlockNotify.proto b/proto/GCGDSCardFaceUnlockNotify.proto new file mode 100644 index 00000000..3718a3ef --- /dev/null +++ b/proto/GCGDSCardFaceUnlockNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSCardFaceUnlockNotify { + enum EEDHFJJLEOA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7493; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 faceType = 9; +} diff --git a/proto/GCGDSCardFaceUpdateNotify.proto b/proto/GCGDSCardFaceUpdateNotify.proto new file mode 100644 index 00000000..2fef7c5f --- /dev/null +++ b/proto/GCGDSCardFaceUpdateNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSCardFaceUpdateNotify { + enum KJBMLLHFAPH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7895; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 proficiency = 4; + uint32 cardId = 7; +} diff --git a/proto/GCGDSCardNumChangeNotify.proto b/proto/GCGDSCardNumChangeNotify.proto new file mode 100644 index 00000000..844c2bd0 --- /dev/null +++ b/proto/GCGDSCardNumChangeNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSCardNumChangeNotify { + enum JAIHIOOIECC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7075; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 ccdlgbcdpbp = 8; +} diff --git a/proto/GCGDSCardProficiencyNotify.proto b/proto/GCGDSCardProficiencyNotify.proto new file mode 100644 index 00000000..df6c4a33 --- /dev/null +++ b/proto/GCGDSCardProficiencyNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSCardProficiencyNotify { + enum GKKOJFEKJII { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7399; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 rewardIndex = 14; + int32 retcode = 10; +} diff --git a/proto/GCGDSChangeCardBackReq.proto b/proto/GCGDSChangeCardBackReq.proto new file mode 100644 index 00000000..79211bba --- /dev/null +++ b/proto/GCGDSChangeCardBackReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSChangeCardBackReq { + enum OGFFMKDEDLF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7178; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 cardId = 12; + uint32 retcode = 9; +} diff --git a/proto/GCGDSChangeCardBackRsp.proto b/proto/GCGDSChangeCardBackRsp.proto new file mode 100644 index 00000000..9000694f --- /dev/null +++ b/proto/GCGDSChangeCardBackRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSChangeCardBackRsp { + enum CMAKFMMIJKK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7641; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 deckId = 13; + int32 retcode = 3; + uint32 cardId = 6; +} diff --git a/proto/GCGDSChangeCardFaceReq.proto b/proto/GCGDSChangeCardFaceReq.proto new file mode 100644 index 00000000..efde10da --- /dev/null +++ b/proto/GCGDSChangeCardFaceReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSChangeCardFaceReq { + enum KLACDDBMIDG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7126; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 retcode = 8; + uint32 cardId = 6; +} diff --git a/proto/GCGDSChangeCardFaceRsp.proto b/proto/GCGDSChangeCardFaceRsp.proto new file mode 100644 index 00000000..34c98142 --- /dev/null +++ b/proto/GCGDSChangeCardFaceRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSChangeCardFaceRsp { + enum ILMHAKGOCAK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7605; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 cardId = 6; + uint32 num = 3; +} diff --git a/proto/GCGDSChangeCurDeckReq.proto b/proto/GCGDSChangeCurDeckReq.proto new file mode 100644 index 00000000..f01f7af0 --- /dev/null +++ b/proto/GCGDSChangeCurDeckReq.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSChangeCurDeckReq { + enum ICKJBGMKFAN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7478; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + string createTime = 11; + uint32 rewardIndex = 14; + repeated uint32 cardList = 13; + repeated uint32 iegclabmkdb = 12; +} diff --git a/proto/GCGDSChangeCurDeckRsp.proto b/proto/GCGDSChangeCurDeckRsp.proto new file mode 100644 index 00000000..b2513fd3 --- /dev/null +++ b/proto/GCGDSChangeCurDeckRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSChangeCurDeckRsp { + enum KMBJACGLCPJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7791; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 createTime = 8; + uint32 rewardIndex = 1; + bool pofiiedegjn = 11; + int32 retcode = 3; +} diff --git a/proto/GCGDSChangeDeckNameReq.proto b/proto/GCGDSChangeDeckNameReq.proto new file mode 100644 index 00000000..90c0692d --- /dev/null +++ b/proto/GCGDSChangeDeckNameReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSChangeDeckNameReq { + enum OGLNJLNHADG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7691; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 rewardIndex = 15; + uint32 ccdlgbcdpbp = 2; +} diff --git a/proto/GCGDSChangeDeckNameRsp.proto b/proto/GCGDSChangeDeckNameRsp.proto new file mode 100644 index 00000000..6454081e --- /dev/null +++ b/proto/GCGDSChangeDeckNameRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSChangeDeckNameRsp { + enum IHFJEPEMDGL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7818; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 ccdlgbcdpbp = 12; + uint32 rewardIndex = 1; + int32 retcode = 6; +} diff --git a/proto/GCGDSChangeFieldReq.proto b/proto/GCGDSChangeFieldReq.proto new file mode 100644 index 00000000..917fed91 --- /dev/null +++ b/proto/GCGDSChangeFieldReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSChangeFieldReq { + enum DOPEECEBIKM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7628; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 rewardIndex = 1; + uint32 faceType = 9; +} diff --git a/proto/GCGDSChangeFieldRsp.proto b/proto/GCGDSChangeFieldRsp.proto new file mode 100644 index 00000000..2e216972 --- /dev/null +++ b/proto/GCGDSChangeFieldRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSChangeFieldRsp { + enum OFPOBKOCGBC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7569; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 faceType = 6; + uint32 rewardIndex = 3; + int32 retcode = 4; +} diff --git a/proto/GCGDSCurDeckChangeNotify.proto b/proto/GCGDSCurDeckChangeNotify.proto new file mode 100644 index 00000000..945d63f5 --- /dev/null +++ b/proto/GCGDSCurDeckChangeNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSCurDeckChangeNotify { + enum HCIELDHJKAO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7372; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 rewardIndex = 11; +} diff --git a/proto/GCGDSDataNotify.proto b/proto/GCGDSDataNotify.proto new file mode 100644 index 00000000..908d56d0 --- /dev/null +++ b/proto/GCGDSDataNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "CmdId.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSDataNotify { + enum GHNDNNPCIJP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7534; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + CmdId mjjacnclhpf = 1; +} diff --git a/proto/GCGDSDeckData.proto b/proto/GCGDSDeckData.proto new file mode 100644 index 00000000..56044fb3 --- /dev/null +++ b/proto/GCGDSDeckData.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSDeckData { + repeated uint32 iegclabmkdb = 14; + bool pofiiedegjn = 4; + uint32 createTime = 9; + string idk = 3; + uint32 faceType = 2; + uint32 ccdlgbcdpbp = 6; + repeated uint32 cardList = 12; + uint32 id = 15; +} diff --git a/proto/GCGDSDeckSaveReq.proto b/proto/GCGDSDeckSaveReq.proto new file mode 100644 index 00000000..b257d24a --- /dev/null +++ b/proto/GCGDSDeckSaveReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSDeckSaveReq { + enum IOLDDAGKLEA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7769; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isValid = 7; + string createTime = 1; + uint32 rewardIndex = 5; +} diff --git a/proto/GCGDSDeckSaveRsp.proto b/proto/GCGDSDeckSaveRsp.proto new file mode 100644 index 00000000..58ef9910 --- /dev/null +++ b/proto/GCGDSDeckSaveRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSDeckSaveRsp { + enum INBIKEHAJAL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7459; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + string createTime = 9; + bool isValid = 2; + uint32 rewardIndex = 14; + int32 retcode = 15; +} diff --git a/proto/GCGDSDeckUnlockNotify.proto b/proto/GCGDSDeckUnlockNotify.proto new file mode 100644 index 00000000..56ba7ec9 --- /dev/null +++ b/proto/GCGDSDeckUnlockNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSDeckUnlockNotify { + enum HNEACGFFDBO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7002; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 rewardIndex = 11; +} diff --git a/proto/GCGDSDeckUpdateNotify.proto b/proto/GCGDSDeckUpdateNotify.proto new file mode 100644 index 00000000..97b42a4b --- /dev/null +++ b/proto/GCGDSDeckUpdateNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSDeckUpdateNotify { + enum FCEEKKCPDBD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7096; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 rewardIndex = 12; +} diff --git a/proto/GCGDSDeleteDeckReq.proto b/proto/GCGDSDeleteDeckReq.proto new file mode 100644 index 00000000..72b24f94 --- /dev/null +++ b/proto/GCGDSDeleteDeckReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSDeleteDeckReq { + enum BAHGDHIPKGL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7565; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 9; + uint32 rewardIndex = 12; +} diff --git a/proto/GCGDSDeleteDeckRsp.proto b/proto/GCGDSDeleteDeckRsp.proto new file mode 100644 index 00000000..b0a45637 --- /dev/null +++ b/proto/GCGDSDeleteDeckRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSDeleteDeckRsp { + enum DNLIPHOHIFO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7023; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 rewardIndex = 7; +} diff --git a/proto/GCGDSFieldUnlockNotify.proto b/proto/GCGDSFieldUnlockNotify.proto new file mode 100644 index 00000000..e634063a --- /dev/null +++ b/proto/GCGDSFieldUnlockNotify.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; + + + +import "GCGDSCardData.proto"; +import "GCGDSDeckData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSFieldUnlockNotify { + enum EGDHDJOMKPG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7558; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 mpojoaeafpn = 5; + repeated GCGDSCardData cardList = 7; + uint32 fkppeakjlmb = 2; + repeated uint32 noclfjjcgeo = 13; + repeated GCGDSDeckData ocigcagdgml = 11; + repeated uint32 bcmbnjhmble = 8; +} diff --git a/proto/GCGDSTakeCardProficiencyRewardReq.proto b/proto/GCGDSTakeCardProficiencyRewardReq.proto new file mode 100644 index 00000000..d54d74c8 --- /dev/null +++ b/proto/GCGDSTakeCardProficiencyRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSTakeCardProficiencyRewardReq { + enum MGAEFBLCDDL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7267; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool pofiiedegjn = 4; + uint32 rewardIndex = 3; +} diff --git a/proto/GCGDSTakeCardProficiencyRewardRsp.proto b/proto/GCGDSTakeCardProficiencyRewardRsp.proto new file mode 100644 index 00000000..f2c49cbe --- /dev/null +++ b/proto/GCGDSTakeCardProficiencyRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDSTakeCardProficiencyRewardRsp { + enum LNHHPEEHCIF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7763; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 retcode = 12; + uint32 cardId = 1; +} diff --git a/proto/GCGDamageDetail.proto b/proto/GCGDamageDetail.proto new file mode 100644 index 00000000..d77d2e2e --- /dev/null +++ b/proto/GCGDamageDetail.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDamageDetail { + uint32 skillId = 9; + uint32 cardGuid = 10; +} diff --git a/proto/GCGDebugReplayNotify.proto b/proto/GCGDebugReplayNotify.proto new file mode 100644 index 00000000..9a324432 --- /dev/null +++ b/proto/GCGDebugReplayNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDebugReplayNotify { + enum MHKMBENLMDA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7443; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + string jsonStr = 3; +} diff --git a/proto/GCGDiceSideType.proto b/proto/GCGDiceSideType.proto new file mode 100644 index 00000000..573b2bdc --- /dev/null +++ b/proto/GCGDiceSideType.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +enum GCGDiceSideType { + GCG_DICE_SIDE_TYPE_INVALID = 0; + GCG_DICE_SIDE_TYPE_CRYO = 1; + GCG_DICE_SIDE_TYPE_HYDRO = 2; + GCG_DICE_SIDE_TYPE_PYRO = 3; + GCG_DICE_SIDE_TYPE_ELECTRO = 4; + GCG_DICE_SIDE_TYPE_GEO = 5; + GCG_DICE_SIDE_TYPE_DENDRO = 6; + GCG_DICE_SIDE_TYPE_ANEMO = 7; + GCG_DICE_SIDE_TYPE_PAIMON = 8; +} diff --git a/proto/GCGDuel.proto b/proto/GCGDuel.proto new file mode 100644 index 00000000..e2fea63d --- /dev/null +++ b/proto/GCGDuel.proto @@ -0,0 +1,38 @@ +syntax = "proto3"; + + + +import "GCGCostReviseInfo.proto"; +import "GCGGameBusinessType.proto"; +import "GCGPhase.proto"; +import "GCGCard.proto"; +import "GCGMessagePack.proto"; +import "GCGControllerShowInfo.proto"; +import "Unk3300_ADHENCIFKNI.proto"; +import "GCGPVEIntention.proto"; +import "GCGPlayerField.proto"; +import "GCGDuelChallenge.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGDuel { + repeated GCGCard cardList = 1; + uint32 Unk3300_JHDDNKFPINA = 5; + repeated uint32 forbidFinishChallengeList = 1985; + repeated GCGCard historyCardList = 1326; + repeated GCGMessagePack historyMsgPackList = 1636; + uint32 Unk3300_BIANMOPDEHO = 14; + repeated GCGControllerShowInfo showInfoList = 10; + repeated Unk3300_ADHENCIFKNI Unk3300_CDCMBOKBLAK = 1950; + repeated GCGPVEIntention intentionList = 15; + GCGCostReviseInfo costRevise = 6; + uint32 controllerId = 2; + repeated GCGPlayerField fieldList = 3; + GCGGameBusinessType businessType = 7; + GCGPhase phase = 8; + repeated GCGDuelChallenge challengeList = 37; + repeated uint32 cardIdList = 12; + uint32 serverSeq = 11; + uint32 round = 4; + uint32 gameId = 9; + uint32 Unk3300_JBBMBKGOONO = 13; +} diff --git a/proto/GCGDuelChallenge.proto b/proto/GCGDuelChallenge.proto new file mode 100644 index 00000000..8a45c9f6 --- /dev/null +++ b/proto/GCGDuelChallenge.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGDuelChallenge { + uint32 totalProgress = 9; + uint32 challengeId = 10; + uint32 curProgress = 1; +} diff --git a/proto/GCGEndReason.proto b/proto/GCGEndReason.proto new file mode 100644 index 00000000..3357c766 --- /dev/null +++ b/proto/GCGEndReason.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +enum GCGEndReason { + GCG_END_REASON_DEFAULT = 0; + GCG_END_REASON_DIE = 1; + GCG_END_REASON_SURRENDER = 2; + GCG_END_REASON_DISCONNECTED = 3; + GCG_END_REASON_ROUND_LIMIT = 4; + GCG_END_REASON_GM = 5; + GCG_END_REASON_NO_PLAYER = 6; + GCG_END_REASON_GIVE_UP = 7; + GCG_END_REASON_INIT_TIMEOUT = 8; + GCG_END_REASON_EFFECT = 9; + GCG_END_REASON_Unk3300_INAPHKAKKHF = 10; +} \ No newline at end of file diff --git a/proto/GCGGameBriefData.proto b/proto/GCGGameBriefData.proto new file mode 100644 index 00000000..a3340ab6 --- /dev/null +++ b/proto/GCGGameBriefData.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "GCGGameBusinessType.proto"; +import "GCGPlayerBriefData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGGameBriefData { + uint32 Unk3300_FJJDMIBIBJN = 11; + repeated GCGPlayerBriefData playerBriefList = 5; + GCGGameBusinessType businessType = 10; + uint32 gameId = 1; + uint32 Unk3300_NCLDOGNCHGF = 6; + uint32 platformType = 13; +} diff --git a/proto/GCGGameBriefDataNotify.proto b/proto/GCGGameBriefDataNotify.proto new file mode 100644 index 00000000..d1b19631 --- /dev/null +++ b/proto/GCGGameBriefDataNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "GCGGameBriefData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGGameBriefDataNotify { + enum BKKLKPMDKMP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7654; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + GCGGameBriefData gcgBriefData = 4; + bool isNewGame = 12; +} diff --git a/proto/GCGGameBusinessType.proto b/proto/GCGGameBusinessType.proto new file mode 100644 index 00000000..2bf7ccd3 --- /dev/null +++ b/proto/GCGGameBusinessType.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +enum GCGGameBusinessType { + GCG_GAME_BUSINESS_TYPE_NONE = 0; + GCG_GAME_BUSINESS_TYPE_GM = 1; + GCG_GAME_BUSINESS_TYPE_MATCH = 2; + GCG_GAME_BUSINESS_TYPE_PVP = 3; + GCG_GAME_BUSINESS_TYPE_TAVERN_CHALLENGE = 4; + GCG_GAME_BUSINESS_TYPE_CONST_CHALLENGE = 5; + GCG_GAME_BUSINESS_TYPE_WORLD_CHALLENGE = 6; + GCG_GAME_BUSINESS_TYPE_BOSS_CHALLENGE = 7; + GCG_GAME_BUSINESS_TYPE_WEEK_CHALLENGE = 8; + GCG_GAME_BUSINESS_TYPE_BREAK_CHALLENGE = 9; + GCG_GAME_BUSINESS_TYPE_QUEST = 10; + GCG_GAME_BUSINESS_TYPE_GUIDE_GROUP = 11; + KOGBPIPKHNF = 12; +} diff --git a/proto/GCGGameCreateFailReasonNotify.proto b/proto/GCGGameCreateFailReasonNotify.proto new file mode 100644 index 00000000..29c89e78 --- /dev/null +++ b/proto/GCGGameCreateFailReasonNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "GCGGameCreateReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGGameCreateFailReasonNotify { + enum NGJHBGBPDDB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7551; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + GCGGameCreateReason reason = 2; +} diff --git a/proto/GCGGameCreateReason.proto b/proto/GCGGameCreateReason.proto new file mode 100644 index 00000000..eaf56674 --- /dev/null +++ b/proto/GCGGameCreateReason.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +enum GCGGameCreateReason { + GCG_GAME_CREATE_REASON_NONE = 0; + GCG_GAME_CREATE_REASON_GAME_MAX = 1; + GCG_GAME_CREATE_REASON_CLIENT_VERSION_NOT_LATEST = 2; + GCG_GAME_CREATE_REASON_RESOURCE_NOT_COMPLETE = 3; + GCG_GAME_CREATE_REASON_TIMEOUT = 4; + GCG_GAME_CREATE_REASON_Unk3300_EMCDFGGFFAH = 5; +} diff --git a/proto/GCGGameMaxNotify.proto b/proto/GCGGameMaxNotify.proto new file mode 100644 index 00000000..3293eee7 --- /dev/null +++ b/proto/GCGGameMaxNotify.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGGameMaxNotify { + enum CKMILFFEBON { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7537; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + +} diff --git a/proto/GCGGrowthLevelNotify.proto b/proto/GCGGrowthLevelNotify.proto new file mode 100644 index 00000000..58ebd1b2 --- /dev/null +++ b/proto/GCGGrowthLevelNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "GCGTCTavernChallengeData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGGrowthLevelNotify { + enum POPILOEOCIK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7722; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated GCGTCTavernChallengeData eekdbogblnc = 5; +} diff --git a/proto/GCGGrowthLevelRewardNotify.proto b/proto/GCGGrowthLevelRewardNotify.proto new file mode 100644 index 00000000..4d36872d --- /dev/null +++ b/proto/GCGGrowthLevelRewardNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "GCGTCTavernChallengeData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGGrowthLevelRewardNotify { + enum BOGLAPKFCMG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7570; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + GCGTCTavernChallengeData oaemlknkeio = 10; +} diff --git a/proto/GCGGrowthLevelTakeRewardReq.proto b/proto/GCGGrowthLevelTakeRewardReq.proto new file mode 100644 index 00000000..240e83bb --- /dev/null +++ b/proto/GCGGrowthLevelTakeRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGGrowthLevelTakeRewardReq { + enum MDHCDLJDDCI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7327; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 exp = 15; + uint32 level = 5; +} diff --git a/proto/GCGGrowthLevelTakeRewardRsp.proto b/proto/GCGGrowthLevelTakeRewardRsp.proto new file mode 100644 index 00000000..da49c7d8 --- /dev/null +++ b/proto/GCGGrowthLevelTakeRewardRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGGrowthLevelTakeRewardRsp { + enum EGBNAKCLKLL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7338; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 cfajcibjpln = 1; +} diff --git a/proto/GCGHeartBeatNotify.proto b/proto/GCGHeartBeatNotify.proto new file mode 100644 index 00000000..995786dc --- /dev/null +++ b/proto/GCGHeartBeatNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGHeartBeatNotify { + enum IMDPCLGHIIH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7499; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 serverSeq = 3; +} diff --git a/proto/GCGInitFinishReq.proto b/proto/GCGInitFinishReq.proto new file mode 100644 index 00000000..a9c45aaf --- /dev/null +++ b/proto/GCGInitFinishReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGInitFinishReq { + enum LPGOFBNMEKN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7751; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GCGInitFinishRsp.proto b/proto/GCGInitFinishRsp.proto new file mode 100644 index 00000000..81157f67 --- /dev/null +++ b/proto/GCGInitFinishRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGInitFinishRsp { + enum JDKIDNJEKCD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7186; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 3; +} diff --git a/proto/GCGIntentionChangeType.proto b/proto/GCGIntentionChangeType.proto new file mode 100644 index 00000000..1f6523ec --- /dev/null +++ b/proto/GCGIntentionChangeType.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +enum GCGIntentionChangeType { + GCG_INTENTION_CHANGE_TYPE_NONE = 0; + GCG_INTENTION_CHANGE_TYPE_RM = 1; +} diff --git a/proto/GCGInviteBattleNotify.proto b/proto/GCGInviteBattleNotify.proto new file mode 100644 index 00000000..280a5120 --- /dev/null +++ b/proto/GCGInviteBattleNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGInviteBattleNotify { + enum ILEBINGDNDO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7254; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 uid = 11; + uint32 ljemjfinpph = 12; +} diff --git a/proto/GCGInviteGuestBattleReq.proto b/proto/GCGInviteGuestBattleReq.proto new file mode 100644 index 00000000..4092e78b --- /dev/null +++ b/proto/GCGInviteGuestBattleReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGInviteGuestBattleReq { + enum BBHGHAMIGPI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7040; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 level = 8; +} diff --git a/proto/GCGInviteGuestBattleRsp.proto b/proto/GCGInviteGuestBattleRsp.proto new file mode 100644 index 00000000..b71a40d1 --- /dev/null +++ b/proto/GCGInviteGuestBattleRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGInviteGuestBattleRsp { + enum EFADHMKIAIP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7671; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 13; + uint32 level = 6; +} diff --git a/proto/GCGLevelChallengeDeleteNotify.proto b/proto/GCGLevelChallengeDeleteNotify.proto new file mode 100644 index 00000000..97ef86a5 --- /dev/null +++ b/proto/GCGLevelChallengeDeleteNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGLevelChallengeDeleteNotify { + enum BDOLPLLDNIN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7737; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 fdpppbpejae = 14; +} diff --git a/proto/GCGLevelChallengeFinishNotify.proto b/proto/GCGLevelChallengeFinishNotify.proto new file mode 100644 index 00000000..4c55683f --- /dev/null +++ b/proto/GCGLevelChallengeFinishNotify.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +import "uint32.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGLevelChallengeFinishNotify { + enum JFHPNEMLEIG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7127; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 unlockWorldChallengeList = 9; + uint32 levelId = 10; + repeated uint32 finishedChallengeIdList = 15; + repeated uint32 exceededItemList = 13; + int32 retcode = 11; + uint32 configId = 8; +} diff --git a/proto/GCGLevelChallengeNotify.proto b/proto/GCGLevelChallengeNotify.proto new file mode 100644 index 00000000..f25ee88e --- /dev/null +++ b/proto/GCGLevelChallengeNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "uint32.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGLevelChallengeNotify { + enum CNMDOPLFCKF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7187; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 levelId = 7; + uint32 unlockWorldChallengeList = 11; + uint32 configId = 13; +} diff --git a/proto/GCGLevelData.proto b/proto/GCGLevelData.proto new file mode 100644 index 00000000..25580bb5 --- /dev/null +++ b/proto/GCGLevelData.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGLevelData { + uint32 levelId = 13; + repeated uint32 adobcdcfbpn = 4; +} diff --git a/proto/GCGLevelType.proto b/proto/GCGLevelType.proto new file mode 100644 index 00000000..0ea560dd --- /dev/null +++ b/proto/GCGLevelType.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGLevelType { + uint32 levelId = 3; + uint32 scenePointId = 2; + uint32 id = 6; +} diff --git a/proto/GCGLimitsInfo.proto b/proto/GCGLimitsInfo.proto new file mode 100644 index 00000000..4e2b04a3 --- /dev/null +++ b/proto/GCGLimitsInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGLimitsInfo { + uint32 Unk3300_MNCNOLHHGPA = 15; + uint32 Unk3300_PHKPKFBDGJF = 3; +} diff --git a/proto/GCGMatchInfo.proto b/proto/GCGMatchInfo.proto new file mode 100644 index 00000000..92e9f578 --- /dev/null +++ b/proto/GCGMatchInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "MatchPlayerInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGMatchInfo { + repeated MatchPlayerInfo playerList = 5; +} diff --git a/proto/GCGMessage.proto b/proto/GCGMessage.proto new file mode 100644 index 00000000..71c30d80 --- /dev/null +++ b/proto/GCGMessage.proto @@ -0,0 +1,78 @@ +syntax = "proto3"; + + + +import "TokenChange.proto"; +import "PhaseChange.proto"; +import "AddCards.proto"; +import "RemoveCards.proto"; +import "SelectOnStage.proto"; +import "DiceRoll.proto"; +import "DiceReroll.proto"; +import "Pass.proto"; +import "CharDie.proto"; +import "SkillResult.proto"; +import "CostDice.proto"; +import "AddDice.proto"; +import "MoveCard.proto"; +import "UseSkill.proto"; +import "NewCard.proto"; +import "UpdateController.proto"; +import "ModifyAdd.proto"; +import "ModifyRemove.proto"; +import "UseSkillEnd.proto"; +import "DuelDataChange.proto"; +import "ClientPerform.proto"; +import "GameOver.proto"; +import "OpTimer.proto"; +import "WaitingListChange.proto"; +import "CardUpdate.proto"; +import "SelectOnStageByEffect.proto"; +import "CostRevise.proto"; +import "PhaseContinue.proto"; +import "PveIntentionInfo.proto"; +import "PveIntentionChange.proto"; +import "SkillLimitsChange.proto"; +import "NoDamageSkillResult.proto"; +import "ReactionBegin.proto"; +import "ReactionEnd.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGMessage { + oneof MECNCCNDGIO { + TokenChange token_change = 10; + PhaseChange phase_change = 15; + AddCards add_cards = 11; + RemoveCards remove_cards = 7; + SelectOnStage select_on_stage = 9; + DiceRoll dice_roll = 3; + DiceReroll dice_reroll = 12; + Pass pass = 5; + CharDie char_die = 6; + SkillResult skill_result = 1; + CostDice cost_dice = 4; + AddDice add_dice = 13; + MoveCard move_card = 14; + UseSkill use_skill = 2; + NewCard new_card = 1658; + UpdateController update_controller = 204; + ModifyAdd modify_add = 1001; + ModifyRemove modify_remove = 1447; + UseSkillEnd use_skill_end = 1779; + DuelDataChange duel_data_change = 1102; + ClientPerform client_perform = 1225; + GameOver game_over = 640; + OpTimer op_timer = 778; + WaitingListChange waiting_list_change = 517; + CardUpdate card_update = 1284; + SelectOnStageByEffect select_on_stage_by_effect = 542; + CostRevise cost_revise = 662; + PhaseContinue phase_continue = 344; + PveIntentionInfo pve_intention_info = 975; + PveIntentionChange pve_intention_change = 719; + SkillLimitsChange skill_limits_change = 597; + NoDamageSkillResult no_damage_skill_result = 1483; + ReactionBegin reaction_begin = 170; + ReactionEnd reaction_end = 58; + } +} diff --git a/proto/GCGMessagePack.proto b/proto/GCGMessagePack.proto new file mode 100644 index 00000000..c03027b0 --- /dev/null +++ b/proto/GCGMessagePack.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "GCGActionType.proto"; +import "GCGMessage.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGMessagePack { + uint32 controllerId = 12; + uint32 ijojhencdld = 1; + repeated GCGMessage msgList = 3; + GCGActionType actionType = 8; +} diff --git a/proto/GCGMessagePackNotify.proto b/proto/GCGMessagePackNotify.proto new file mode 100644 index 00000000..9c34a4f0 --- /dev/null +++ b/proto/GCGMessagePackNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "GCGMessagePack.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGMessagePackNotify { + enum DNMFDNBGPOC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7329; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated GCGMessagePack msgPackList = 13; + uint32 serverSeq = 6; +} diff --git a/proto/GCGMsgAddCards.proto b/proto/GCGMsgAddCards.proto new file mode 100644 index 00000000..cd1d18a9 --- /dev/null +++ b/proto/GCGMsgAddCards.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +import "GCGReason.proto"; +import "GCGZoneType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgAddCards { + uint32 controllerId = 11; + GCGReason reason = 1; + uint32 pos = 6; + GCGZoneType zone = 9; + repeated uint32 cardGuidList = 5; +} diff --git a/proto/GCGMsgAddDice.proto b/proto/GCGMsgAddDice.proto new file mode 100644 index 00000000..cc7008de --- /dev/null +++ b/proto/GCGMsgAddDice.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +import "GCGReason.proto"; +import "GCGDiceSideType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgAddDice { + map Unk3300_PCMPCCLFEIM = 15; + map Unk3300_KFKOGOKPIFN = 5; + uint32 controllerId = 3; + GCGReason reason = 9; + int32 changeCount = 10; +} diff --git a/proto/GCGMsgCharDie.proto b/proto/GCGMsgCharDie.proto new file mode 100644 index 00000000..68d70a67 --- /dev/null +++ b/proto/GCGMsgCharDie.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgCharDie { + uint32 cardGuid = 10; + uint32 controllerId = 9; +} diff --git a/proto/GCGMsgClientPerform.proto b/proto/GCGMsgClientPerform.proto new file mode 100644 index 00000000..e2ec9eea --- /dev/null +++ b/proto/GCGMsgClientPerform.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "GCGClientPerformType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgClientPerform { + GCGClientPerformType performType = 2; + repeated uint32 paramList = 5; +} diff --git a/proto/GCGMsgCostDice.proto b/proto/GCGMsgCostDice.proto new file mode 100644 index 00000000..a8ba0ba9 --- /dev/null +++ b/proto/GCGMsgCostDice.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "GCGReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgCostDice { + GCGReason reason = 7; + uint32 controllerId = 9; + repeated uint32 selectDiceIndexList = 8; +} diff --git a/proto/GCGMsgCostRevise.proto b/proto/GCGMsgCostRevise.proto new file mode 100644 index 00000000..e8fa9a4f --- /dev/null +++ b/proto/GCGMsgCostRevise.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "GCGCostReviseInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgCostRevise { + uint32 controllerId = 15; + GCGCostReviseInfo costRevise = 10; +} diff --git a/proto/GCGMsgGameOver.proto b/proto/GCGMsgGameOver.proto new file mode 100644 index 00000000..babcc023 --- /dev/null +++ b/proto/GCGMsgGameOver.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "GCGEndReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgGameOver { + GCGEndReason endReason = 4; + uint32 winControllerId = 10; +} diff --git a/proto/GCGMsgModifyAdd.proto b/proto/GCGMsgModifyAdd.proto new file mode 100644 index 00000000..167be867 --- /dev/null +++ b/proto/GCGMsgModifyAdd.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "GCGReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgModifyAdd { + uint32 pos = 11; + uint32 ownerCardGuid = 10; + uint32 controllerId = 7; + GCGReason reason = 14; + repeated uint32 cardGuidList = 4; +} diff --git a/proto/GCGMsgModifyRemove.proto b/proto/GCGMsgModifyRemove.proto new file mode 100644 index 00000000..15a0b232 --- /dev/null +++ b/proto/GCGMsgModifyRemove.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "GCGReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgModifyRemove { + uint32 controllerId = 7; + repeated uint32 cardGuidList = 3; + GCGReason reason = 1; + uint32 ownerCardGuid = 2; +} diff --git a/proto/GCGMsgNewCard.proto b/proto/GCGMsgNewCard.proto new file mode 100644 index 00000000..fde38782 --- /dev/null +++ b/proto/GCGMsgNewCard.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "GCGCard.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgNewCard { + GCGCard card = 5; +} diff --git a/proto/GCGMsgNoDamageSkillResult.proto b/proto/GCGMsgNoDamageSkillResult.proto new file mode 100644 index 00000000..ba3e8967 --- /dev/null +++ b/proto/GCGMsgNoDamageSkillResult.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "GCGDamageDetail.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgNoDamageSkillResult { + uint32 Unk3300_NNJAOEHNPPD = 3; + uint32 Unk3300_NIGDCIGLAKE = 1; + uint32 Unk3300_LPGLOCDDPCL = 13; + repeated GCGDamageDetail detailList = 9; + uint32 Unk3300_EPNDCIAJOJP = 5; + uint32 skillId = 15; + uint32 targetCardGuid = 4; +} diff --git a/proto/GCGMsgPVEIntention.proto b/proto/GCGMsgPVEIntention.proto new file mode 100644 index 00000000..83ce8c79 --- /dev/null +++ b/proto/GCGMsgPVEIntention.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgPVEIntention { + repeated uint32 skillIdList = 3; + uint32 cardGuid = 9; +} diff --git a/proto/GCGMsgPVEIntentionChange.proto b/proto/GCGMsgPVEIntentionChange.proto new file mode 100644 index 00000000..8d385bc1 --- /dev/null +++ b/proto/GCGMsgPVEIntentionChange.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "GCGIntentionChangeType.proto"; +import "GCGMsgPVEIntention.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgPVEIntentionChange { + GCGIntentionChangeType changeType = 6; + repeated GCGMsgPVEIntention changeIntentionList = 2; +} diff --git a/proto/GCGMsgPVEIntentionInfo.proto b/proto/GCGMsgPVEIntentionInfo.proto new file mode 100644 index 00000000..42687c05 --- /dev/null +++ b/proto/GCGMsgPVEIntentionInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "GCGMsgPVEIntention.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgPVEIntentionInfo { + map intentionMap = 15; +} diff --git a/proto/GCGMsgPass.proto b/proto/GCGMsgPass.proto new file mode 100644 index 00000000..a7310298 --- /dev/null +++ b/proto/GCGMsgPass.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgPass { + uint32 controllerId = 12; +} diff --git a/proto/GCGMsgPhaseChange.proto b/proto/GCGMsgPhaseChange.proto new file mode 100644 index 00000000..47fa7a14 --- /dev/null +++ b/proto/GCGMsgPhaseChange.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "GCGPhaseType.proto"; +import "Uint32Pair.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgPhaseChange { + repeated Uint32Pair allowControllerMap = 7; + GCGPhaseType afterPhase = 13; + GCGPhaseType beforePhase = 8; +} diff --git a/proto/GCGMsgPhaseContinue.proto b/proto/GCGMsgPhaseContinue.proto new file mode 100644 index 00000000..d6f24c75 --- /dev/null +++ b/proto/GCGMsgPhaseContinue.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgPhaseContinue { +} diff --git a/proto/GCGMsgReactionBegin.proto b/proto/GCGMsgReactionBegin.proto new file mode 100644 index 00000000..22a9aade --- /dev/null +++ b/proto/GCGMsgReactionBegin.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgReactionBegin { + uint32 skillId = 8; + uint32 cardGuid = 3; +} diff --git a/proto/GCGMsgRemoveCards.proto b/proto/GCGMsgRemoveCards.proto new file mode 100644 index 00000000..2fadafcf --- /dev/null +++ b/proto/GCGMsgRemoveCards.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "GCGZoneType.proto"; +import "GCGReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgRemoveCards { + repeated uint32 cardGuidList = 14; + GCGZoneType zone = 9; + uint32 controllerId = 4; + GCGReason reason = 6; +} diff --git a/proto/GCGMsgSelectOnStage.proto b/proto/GCGMsgSelectOnStage.proto new file mode 100644 index 00000000..44d60e8e --- /dev/null +++ b/proto/GCGMsgSelectOnStage.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "GCGReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgSelectOnStage { + GCGReason reason = 13; + uint32 cardGuid = 5; + uint32 controllerId = 2; +} diff --git a/proto/GCGMsgSelectOnStageByEffect.proto b/proto/GCGMsgSelectOnStageByEffect.proto new file mode 100644 index 00000000..77e90c37 --- /dev/null +++ b/proto/GCGMsgSelectOnStageByEffect.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgSelectOnStageByEffect { + uint32 skillId = 4; + uint32 cardGuid = 2; + uint32 controllerId = 13; +} diff --git a/proto/GCGMsgSkillLimitsChange.proto b/proto/GCGMsgSkillLimitsChange.proto new file mode 100644 index 00000000..6332b189 --- /dev/null +++ b/proto/GCGMsgSkillLimitsChange.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "GCGCardSkillLimitsInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgSkillLimitsChange { + map cardLimitsChangeMap = 13; +} diff --git a/proto/GCGMsgSkillResult.proto b/proto/GCGMsgSkillResult.proto new file mode 100644 index 00000000..d3b6113a --- /dev/null +++ b/proto/GCGMsgSkillResult.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "GCGDamageDetail.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgSkillResult { + uint32 Unk3300_NNJAOEHNPPD = 15; + uint32 Unk3300_EPNDCIAJOJP = 2; + uint32 ahkoidfnbgc = 3; + uint32 targetCardGuid = 7; + uint32 Unk3300_NIGDCIGLAKE = 1; + uint32 Unk3300_PDBAGJINFPF = 13; + uint32 npllnhifdoo = 6; + repeated GCGDamageDetail detailList = 12; + uint32 damage = 11; + uint32 skillId = 4; + uint32 Unk3300_LPGLOCDDPCL = 14; +} diff --git a/proto/GCGMsgUpdateController.proto b/proto/GCGMsgUpdateController.proto new file mode 100644 index 00000000..a397f318 --- /dev/null +++ b/proto/GCGMsgUpdateController.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "Uint32Pair.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgUpdateController { + repeated Uint32Pair allowControllerMap = 3; +} diff --git a/proto/GCGMsgUseSkillEnd.proto b/proto/GCGMsgUseSkillEnd.proto new file mode 100644 index 00000000..6410afb0 --- /dev/null +++ b/proto/GCGMsgUseSkillEnd.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgUseSkillEnd { + uint32 skillId = 5; + uint32 cardGuid = 13; +} diff --git a/proto/GCGMsgWaitingListChange.proto b/proto/GCGMsgWaitingListChange.proto new file mode 100644 index 00000000..3b89afe3 --- /dev/null +++ b/proto/GCGMsgWaitingListChange.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGMsgWaitingListChange { + uint32 controllerId = 4; + uint32 curIndex = 3; +} diff --git a/proto/GCGOperation.proto b/proto/GCGOperation.proto new file mode 100644 index 00000000..39391e13 --- /dev/null +++ b/proto/GCGOperation.proto @@ -0,0 +1,26 @@ +syntax = "proto3"; + + + +import "OpRedraw.proto"; +import "OpSelectOnStage.proto"; +import "OpReroll.proto"; +import "OpAttack.proto"; +import "OpPass.proto"; +import "OpPlayCard.proto"; +import "OpReboot.proto"; +import "OpSurrender.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGOperation { + oneof NOOMFIBHINB { + OpRedraw op_redraw = 12; + OpSelectOnStage op_select_on_stage = 4; + OpReroll op_reroll = 13; + OpAttack op_attack = 9; + OpPass op_pass = 10; + OpPlayCard op_play_card = 8; + OpReboot op_reboot = 6; + OpSurrender op_surrender = 15; + } +} diff --git a/proto/GCGOperationPass.proto b/proto/GCGOperationPass.proto new file mode 100644 index 00000000..e8249b73 --- /dev/null +++ b/proto/GCGOperationPass.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGOperationPass { +} diff --git a/proto/GCGOperationRedraw.proto b/proto/GCGOperationRedraw.proto new file mode 100644 index 00000000..ed6f4dbe --- /dev/null +++ b/proto/GCGOperationRedraw.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGOperationRedraw { + repeated uint32 cardList = 12; +} diff --git a/proto/GCGOperationReq.proto b/proto/GCGOperationReq.proto new file mode 100644 index 00000000..ff394ecd --- /dev/null +++ b/proto/GCGOperationReq.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "GCGOperation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGOperationReq { + enum GMDGEMKCKPF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7487; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 redirectUid = 3; + uint32 opSeq = 6; + GCGOperation op = 11; +} diff --git a/proto/GCGOperationRsp.proto b/proto/GCGOperationRsp.proto new file mode 100644 index 00000000..3b545101 --- /dev/null +++ b/proto/GCGOperationRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGOperationRsp { + enum ILJPBGCIOBB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7651; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 opSeq = 7; + int32 retcode = 3; +} diff --git a/proto/GCGPVEIntention.proto b/proto/GCGPVEIntention.proto new file mode 100644 index 00000000..e4c23701 --- /dev/null +++ b/proto/GCGPVEIntention.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGPVEIntention { + uint32 cardGuid = 11; + repeated uint32 skillIdList = 3; +} diff --git a/proto/GCGPhase.proto b/proto/GCGPhase.proto new file mode 100644 index 00000000..c411be4d --- /dev/null +++ b/proto/GCGPhase.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "GCGPhaseType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGPhase { + GCGPhaseType phaseType = 5; + map allowControllerMap = 14; +} diff --git a/proto/GCGPhaseType.proto b/proto/GCGPhaseType.proto new file mode 100644 index 00000000..516c7473 --- /dev/null +++ b/proto/GCGPhaseType.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +enum GCGPhaseType { + GCG_PHASE_TYPE_INVALID = 0; + GCG_PHASE_TYPE_START = 1; + GCG_PHASE_TYPE_DRAW = 2; + GCG_PHASE_TYPE_ON_STAGE = 3; + GCG_PHASE_TYPE_DICE = 4; + GCG_PHASE_TYPE_MAIN = 5; + GCG_PHASE_TYPE_END = 6; + GCG_PHASE_TYPE_DIE = 7; + GCG_PHASE_TYPE_FIN = 8; + GCG_PHASE_TYPE_PRE_MAIN = 9; + GCG_PHASE_TYPE_REROLL = 10; +} diff --git a/proto/GCGPlayCardCostInfo.proto b/proto/GCGPlayCardCostInfo.proto new file mode 100644 index 00000000..dab1cc62 --- /dev/null +++ b/proto/GCGPlayCardCostInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "Uint32Pair.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGPlayCardCostInfo { + uint32 cardId = 3; + repeated Uint32Pair costMap = 10; +} diff --git a/proto/GCGPlayerBriefData.proto b/proto/GCGPlayerBriefData.proto new file mode 100644 index 00000000..d957ee87 --- /dev/null +++ b/proto/GCGPlayerBriefData.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +import "ProfilePicture.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGPlayerBriefData { + string psnId = 7; + map cardFaceMap = 4; + ProfilePicture profilePicture = 14; + uint32 uid = 3; + string nickName = 2; + string onlineId = 10; + uint32 controllerId = 11; + repeated uint32 cardIdList = 13; +} diff --git a/proto/GCGPlayerField.proto b/proto/GCGPlayerField.proto new file mode 100644 index 00000000..23b15cbc --- /dev/null +++ b/proto/GCGPlayerField.proto @@ -0,0 +1,29 @@ +syntax = "proto3"; + + + +import "GCGZone.proto"; +import "GCGDiceSideType.proto"; +import "GCGPVEIntention.proto"; +import "GCGWaitingCharacter.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGPlayerField { + GCGZone Unk3300_EIHOMDLENMK = 4; + uint32 Unk3300_FDFPHNDOJML = 12; + repeated GCGDiceSideType diceSideList = 7; + uint32 Unk3300_GGHKFFADEAL = 181; + repeated GCGPVEIntention intentionList = 1273; + uint32 Unk3300_GLNIFLOKBPM = 14; + uint32 Unk3300_PBECINKKHND = 1; + uint32 Unk3300_IKJMGAHCFPM = 6; + uint32 controllerId = 3; + map modifyZoneMap = 11; + GCGZone Unk3300_IPLMHKCNDLE = 10; + uint32 deckCardNum = 15; + GCGZone Unk3300_EFNAEFBECHD = 5; + GCGZone Unk3300_INDJNJJJNKL = 8; + GCGZone Unk3300_AOPJIOHMPOF = 9; + repeated GCGWaitingCharacter waitingList = 2; + bool isPassed = 13; +} diff --git a/proto/GCGPlayerGCGState.proto b/proto/GCGPlayerGCGState.proto new file mode 100644 index 00000000..359957fd --- /dev/null +++ b/proto/GCGPlayerGCGState.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGPlayerGCGState { + bool plmancmlpmo = 14; + uint32 uid = 15; + bool pdjilolocgj = 11; +} diff --git a/proto/GCGReason.proto b/proto/GCGReason.proto new file mode 100644 index 00000000..498b5325 --- /dev/null +++ b/proto/GCGReason.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +enum GCGReason { + GCG_REASON_DEFAULT = 0; + GCG_REASON_EFFECT = 1; + GCG_REASON_COST = 2; + GCG_REASON_GM = 3; + GCG_REASON_ATTACK = 4; + GCG_REASON_REBOOT = 5; + GCG_REASON_PLAY_CARD = 6; + GCG_REASON_QUICKLY_ONSTAGE = 7; + GCG_REASON_REMOVE_AFTER_DIE = 8; + GCG_REASON_INIT = 9; + GCG_REASON_EFFECT_DAMAGE = 10; + GCG_REASON_EFFECT_HEAL = 11; + GCG_REASON_EFFECT_REVIVE = 12; +} diff --git a/proto/GCGResourceStateNotify.proto b/proto/GCGResourceStateNotify.proto new file mode 100644 index 00000000..1e7e197b --- /dev/null +++ b/proto/GCGResourceStateNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "GCGPlayerGCGState.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGResourceStateNotify { + enum NGMOOLEDMPJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7280; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; + repeated GCGPlayerGCGState lolbinbndgc = 5; +} diff --git a/proto/GCGSelectOnStageCostInfo.proto b/proto/GCGSelectOnStageCostInfo.proto new file mode 100644 index 00000000..92119552 --- /dev/null +++ b/proto/GCGSelectOnStageCostInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "Uint32Pair.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGSelectOnStageCostInfo { + uint32 cardGuid = 14; + repeated Uint32Pair costMap = 10; +} diff --git a/proto/GCGSettleNotify.proto b/proto/GCGSettleNotify.proto new file mode 100644 index 00000000..0b069603 --- /dev/null +++ b/proto/GCGSettleNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGSettleNotify { + enum PAMHONEHELB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7623; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GCGSettleOptionReq.proto b/proto/GCGSettleOptionReq.proto new file mode 100644 index 00000000..b4f7ee6a --- /dev/null +++ b/proto/GCGSettleOptionReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGSettleOptionReq { + enum PBAIAFJCCPL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7849; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GCGSettleOptionRsp.proto b/proto/GCGSettleOptionRsp.proto new file mode 100644 index 00000000..ac4e038f --- /dev/null +++ b/proto/GCGSettleOptionRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGSettleOptionRsp { + enum MPINNEEFPFP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7490; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; + uint32 closeTime = 7; +} diff --git a/proto/GCGSkillHpChangeType.proto b/proto/GCGSkillHpChangeType.proto new file mode 100644 index 00000000..43e5c2db --- /dev/null +++ b/proto/GCGSkillHpChangeType.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum GCGSkillHpChangeType { + GCG_SKILL_HP_CHANGE_TYPE_NONE = 0; + GCG_SKILL_HP_CHANGE_TYPE_DAMAGE = 1; + GCG_SKILL_HP_CHANGE_TYPE_HEAL = 2; +} diff --git a/proto/GCGSkillLimitsInfo.proto b/proto/GCGSkillLimitsInfo.proto new file mode 100644 index 00000000..88189503 --- /dev/null +++ b/proto/GCGSkillLimitsInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "GCGLimitsInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGSkillLimitsInfo { + repeated GCGLimitsInfo limitsList = 8; + uint32 skillId = 9; +} diff --git a/proto/GCGSkillPreviewAskReq.proto b/proto/GCGSkillPreviewAskReq.proto new file mode 100644 index 00000000..604450fe --- /dev/null +++ b/proto/GCGSkillPreviewAskReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGSkillPreviewAskReq { + enum INKPEIEHJOF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7943; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GCGSkillPreviewAskRsp.proto b/proto/GCGSkillPreviewAskRsp.proto new file mode 100644 index 00000000..576064bc --- /dev/null +++ b/proto/GCGSkillPreviewAskRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGSkillPreviewAskRsp { + enum PAJIGLCOKBN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7069; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 7; +} diff --git a/proto/GCGSkillPreviewCardInfo.proto b/proto/GCGSkillPreviewCardInfo.proto new file mode 100644 index 00000000..23c7b1e4 --- /dev/null +++ b/proto/GCGSkillPreviewCardInfo.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +import "GCGZoneType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGSkillPreviewCardInfo { + GCGZoneType zoneType = 13; + uint32 controllerId = 1; + uint32 ownerCardGuid = 7; + uint32 cardGuid = 12; + uint32 retcode = 10; + uint32 cardId = 5; +} diff --git a/proto/GCGSkillPreviewElementReactionInfo.proto b/proto/GCGSkillPreviewElementReactionInfo.proto new file mode 100644 index 00000000..ea4e3577 --- /dev/null +++ b/proto/GCGSkillPreviewElementReactionInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "GCGSkillPreviewReactionInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGSkillPreviewElementReactionInfo { + repeated uint32 Unk3300_BELBNDNDGAO = 12; + repeated uint32 Unk3300_JOBNBDJHAPJ = 2; + repeated GCGSkillPreviewReactionInfo reactionList = 9; +} diff --git a/proto/GCGSkillPreviewExtraInfo.proto b/proto/GCGSkillPreviewExtraInfo.proto new file mode 100644 index 00000000..c98342d6 --- /dev/null +++ b/proto/GCGSkillPreviewExtraInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "GCGSkillPreviewCardInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGSkillPreviewExtraInfo { + repeated GCGSkillPreviewCardInfo Unk3300_KIFFJGFDNKA = 6; + repeated GCGSkillPreviewCardInfo Unk3300_GMEMMDJKCGN = 11; +} diff --git a/proto/GCGSkillPreviewHpInfo.proto b/proto/GCGSkillPreviewHpInfo.proto new file mode 100644 index 00000000..f8715020 --- /dev/null +++ b/proto/GCGSkillPreviewHpInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "GCGSkillHpChangeType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGSkillPreviewHpInfo { + uint32 hpChangeValue = 1; + GCGSkillHpChangeType changeType = 9; +} diff --git a/proto/GCGSkillPreviewInfo.proto b/proto/GCGSkillPreviewInfo.proto new file mode 100644 index 00000000..ee8c80d6 --- /dev/null +++ b/proto/GCGSkillPreviewInfo.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "GCGSkillPreviewExtraInfo.proto"; +import "GCGSkillPreviewTokenChangeInfo.proto"; +import "GCGSkillPreviewOnstageChangeInfo.proto"; +import "GCGSkillPreviewHpInfo.proto"; +import "GCGSkillPreviewElementReactionInfo.proto"; +import "GCGSkillPreviewCardInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGSkillPreviewInfo { + map cardTokenChangeMap = 12; + repeated GCGSkillPreviewOnstageChangeInfo changeOnstageCharacterList = 14; + GCGSkillPreviewExtraInfo extraInfo = 6; + map hpInfoMap = 1; + map reactionInfoMap = 9; + repeated GCGSkillPreviewCardInfo Unk3300_AGNONGELFGC = 11; + uint32 skillId = 2; + repeated GCGSkillPreviewCardInfo Unk3300_DAJFJEDNLKK = 15; +} diff --git a/proto/GCGSkillPreviewNotify.proto b/proto/GCGSkillPreviewNotify.proto new file mode 100644 index 00000000..eb5dc318 --- /dev/null +++ b/proto/GCGSkillPreviewNotify.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; + + + +import "GCGChangeOnstageInfo.proto"; +import "GCGSkillPreviewInfo.proto"; +import "GCGSkillPreviewPlayCardInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGSkillPreviewNotify { + enum EBIPPGMBKOL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7368; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated GCGChangeOnstageInfo changeOnstagePreviewList = 2; + uint32 controllerId = 3; + repeated GCGSkillPreviewInfo skillPreviewList = 6; + repeated GCGSkillPreviewPlayCardInfo playCardList = 9; + uint32 onstageCardGuid = 10; +} diff --git a/proto/GCGSkillPreviewOnstageChangeInfo.proto b/proto/GCGSkillPreviewOnstageChangeInfo.proto new file mode 100644 index 00000000..7f4d83dc --- /dev/null +++ b/proto/GCGSkillPreviewOnstageChangeInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGSkillPreviewOnstageChangeInfo { + uint32 Unk3300_EHHDPPFDIFB = 5; + uint32 Unk3300_BALADGFAPKL = 3; +} diff --git a/proto/GCGSkillPreviewPlayCardInfo.proto b/proto/GCGSkillPreviewPlayCardInfo.proto new file mode 100644 index 00000000..129e0264 --- /dev/null +++ b/proto/GCGSkillPreviewPlayCardInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "GCGSkillPreviewInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGSkillPreviewPlayCardInfo { + GCGSkillPreviewInfo playCardInfo = 15; + uint32 targetCardGuid = 9; + uint32 handCardGuid = 2; +} diff --git a/proto/GCGSkillPreviewReactionInfo.proto b/proto/GCGSkillPreviewReactionInfo.proto new file mode 100644 index 00000000..86385e95 --- /dev/null +++ b/proto/GCGSkillPreviewReactionInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGSkillPreviewReactionInfo { + uint32 Unk3300_AENPLEDPMJH = 9; + uint32 Unk3300_PDEHPHJFAKD = 10; +} diff --git a/proto/GCGSkillPreviewTokenChangeInfo.proto b/proto/GCGSkillPreviewTokenChangeInfo.proto new file mode 100644 index 00000000..c85446bc --- /dev/null +++ b/proto/GCGSkillPreviewTokenChangeInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "GCGSkillPreviewTokenInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGSkillPreviewTokenChangeInfo { + repeated GCGSkillPreviewTokenInfo tokenChangeList = 1; +} diff --git a/proto/GCGSkillPreviewTokenInfo.proto b/proto/GCGSkillPreviewTokenInfo.proto new file mode 100644 index 00000000..a27e6d1b --- /dev/null +++ b/proto/GCGSkillPreviewTokenInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGSkillPreviewTokenInfo { + uint32 Unk3300_MMIKPPJMHAD = 7; + uint32 Unk3300_IKICJMEFEON = 6; + uint32 tokenType = 8; +} diff --git a/proto/GCGStartChallengeByCheckRewardReq.proto b/proto/GCGStartChallengeByCheckRewardReq.proto new file mode 100644 index 00000000..17fbb027 --- /dev/null +++ b/proto/GCGStartChallengeByCheckRewardReq.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "uint32.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGStartChallengeByCheckRewardReq { + enum OBMPGGOELEB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7351; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 configId = 11; + uint32 unlockWorldChallengeList = 6; + uint32 levelId = 5; + int32 retcode = 14; +} diff --git a/proto/GCGStartChallengeByCheckRewardRsp.proto b/proto/GCGStartChallengeByCheckRewardRsp.proto new file mode 100644 index 00000000..d4019289 --- /dev/null +++ b/proto/GCGStartChallengeByCheckRewardRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "uint32.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGStartChallengeByCheckRewardRsp { + enum BPPOMFBCIKL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7890; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool bphdgokdnnk = 7; + uint32 nextRefreshTime = 9; + repeated uint32 exceededItemTypeList = 8; +} diff --git a/proto/GCGStartChallengeReq.proto b/proto/GCGStartChallengeReq.proto new file mode 100644 index 00000000..cb40df00 --- /dev/null +++ b/proto/GCGStartChallengeReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGStartChallengeReq { + enum EKNAAOCIFJJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7017; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 cfajcibjpln = 8; + uint32 exp = 11; + uint32 level = 1; +} diff --git a/proto/GCGStartChallengeRsp.proto b/proto/GCGStartChallengeRsp.proto new file mode 100644 index 00000000..90921c65 --- /dev/null +++ b/proto/GCGStartChallengeRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "GCGLevelType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGStartChallengeRsp { + enum EEEIHMNDOCL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7851; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated GCGLevelType megbpmengog = 15; + repeated GCGLevelType nojngpppded = 5; + GCGLevelType levelType = 12; +} diff --git a/proto/GCGTCInviteReq.proto b/proto/GCGTCInviteReq.proto new file mode 100644 index 00000000..691297c7 --- /dev/null +++ b/proto/GCGTCInviteReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGTCInviteReq { + enum IHPPDDIPNOD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7734; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 cardList = 3; +} diff --git a/proto/GCGTCInviteRsp.proto b/proto/GCGTCInviteRsp.proto new file mode 100644 index 00000000..95a84563 --- /dev/null +++ b/proto/GCGTCInviteRsp.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGTCInviteRsp { + enum BJPECKHGPIC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7206; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool ibiikedgnhn = 3; + uint32 elementType = 9; + uint32 pointId = 15; + bool retcode = 2; + uint32 caaaccpgkff = 5; + uint32 levelId = 7; + uint32 avatarId = 13; +} diff --git a/proto/GCGTCTavernChallengeData.proto b/proto/GCGTCTavernChallengeData.proto index 731f8dd0..8f948a02 100644 --- a/proto/GCGTCTavernChallengeData.proto +++ b/proto/GCGTCTavernChallengeData.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GCGTCTavernChallengeData { - repeated uint32 unlock_level_id_list = 13; - uint32 character_id = 4; + repeated uint32 lidokiohkmh = 13; + uint32 caaaccpgkff = 1; } diff --git a/proto/GCGTCTavernChallengeDataNotify.proto b/proto/GCGTCTavernChallengeDataNotify.proto index f5353a59..cbdfbdda 100644 --- a/proto/GCGTCTavernChallengeDataNotify.proto +++ b/proto/GCGTCTavernChallengeDataNotify.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "GCGTCTavernChallengeData.proto"; + option java_package = "emu.grasscutter.net.proto"; message GCGTCTavernChallengeDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 7356; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum JHBAGBEDCLP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7579; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated GCGTCTavernChallengeData tavern_challenge_list = 5; + uint32 levelId = 2; + uint32 caaaccpgkff = 3; } diff --git a/proto/GCGTCTavernChallengeUpdateNotify.proto b/proto/GCGTCTavernChallengeUpdateNotify.proto new file mode 100644 index 00000000..97fe12ff --- /dev/null +++ b/proto/GCGTCTavernChallengeUpdateNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGTCTavernChallengeUpdateNotify { + enum MINOBCLFFCG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7188; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 caaaccpgkff = 13; + int32 retcode = 4; +} diff --git a/proto/GCGTCTavernInfoNotify.proto b/proto/GCGTCTavernInfoNotify.proto new file mode 100644 index 00000000..a545e912 --- /dev/null +++ b/proto/GCGTCTavernInfoNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGTCTavernInfoNotify { + enum JNIEFIACMPI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7198; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 11; + uint32 cardId = 14; + uint32 rewardIndex = 12; +} diff --git a/proto/GCGTavernNpcInfo.proto b/proto/GCGTavernNpcInfo.proto new file mode 100644 index 00000000..5c93d3f9 --- /dev/null +++ b/proto/GCGTavernNpcInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +enum GCGTavernNpcInfo { + GCG_SETTLE_OPTION_OPT_NONE = 0; + GCG_SETTLE_OPTION_OPT_EXIT = 1; + GCG_SETTLE_OPTION_OPT_CONTINUE = 2; + GCG_SETTLE_OPTION_OPT_RESTART = 3; +} diff --git a/proto/GCGTavernNpcInfoNotify.proto b/proto/GCGTavernNpcInfoNotify.proto new file mode 100644 index 00000000..c3427e76 --- /dev/null +++ b/proto/GCGTavernNpcInfoNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "GCGTavernNpcInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGTavernNpcInfoNotify { + enum GDGKDAPJIME { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7222; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + GCGTavernNpcInfo option = 6; + int32 retcode = 2; +} diff --git a/proto/GCGToken.proto b/proto/GCGToken.proto new file mode 100644 index 00000000..c95ddae3 --- /dev/null +++ b/proto/GCGToken.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGToken { + uint32 key = 9; + uint32 value = 5; +} diff --git a/proto/GCGWaitingCharacter.proto b/proto/GCGWaitingCharacter.proto new file mode 100644 index 00000000..f7364ad3 --- /dev/null +++ b/proto/GCGWaitingCharacter.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGWaitingCharacter { + uint32 condCount = 9; + uint32 cardId = 2; +} diff --git a/proto/GCGWeekChallengeInfoNotify.proto b/proto/GCGWeekChallengeInfoNotify.proto new file mode 100644 index 00000000..3af4467c --- /dev/null +++ b/proto/GCGWeekChallengeInfoNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "uint32.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGWeekChallengeInfoNotify { + enum KLADMGMNMPN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7857; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 configId = 15; + uint32 unlockWorldChallengeList = 11; + uint32 levelId = 10; +} diff --git a/proto/GCGWorldChallengeUnlockNotify.proto b/proto/GCGWorldChallengeUnlockNotify.proto new file mode 100644 index 00000000..c3e0945c --- /dev/null +++ b/proto/GCGWorldChallengeUnlockNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "GCGLevelData.proto"; +import "GCGBossChallengeData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GCGWorldChallengeUnlockNotify { + enum HDFPCKFMMLI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7016; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated GCGLevelData levelList = 13; + repeated uint32 dglpakpipci = 1; + repeated GCGBossChallengeData effafbokpha = 11; +} diff --git a/proto/GCGWorldPlayerGCGStateReq.proto b/proto/GCGWorldPlayerGCGStateReq.proto new file mode 100644 index 00000000..0cebeeb5 --- /dev/null +++ b/proto/GCGWorldPlayerGCGStateReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGWorldPlayerGCGStateReq { + enum NCBEIOCBEMI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7358; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 punishEndTime = 6; + int32 retcode = 10; +} diff --git a/proto/GCGWorldPlayerGCGStateRsp.proto b/proto/GCGWorldPlayerGCGStateRsp.proto new file mode 100644 index 00000000..4381135c --- /dev/null +++ b/proto/GCGWorldPlayerGCGStateRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGWorldPlayerGCGStateRsp { + enum FEBOBCEMECA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 7941; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; + bool isAgree = 10; +} diff --git a/proto/GCGZone.proto b/proto/GCGZone.proto new file mode 100644 index 00000000..d06a32b8 --- /dev/null +++ b/proto/GCGZone.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GCGZone { + repeated uint32 cardList = 14; +} diff --git a/proto/GCGZoneType.proto b/proto/GCGZoneType.proto new file mode 100644 index 00000000..775a618a --- /dev/null +++ b/proto/GCGZoneType.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +enum GCGZoneType { + GCG_ZONE_TYPE_INVALID = 0; + GCG_ZONE_TYPE_DECK = 1; + GCG_ZONE_TYPE_HAND = 2; + GCG_ZONE_TYPE_CHARACTER = 3; + GCG_ZONE_TYPE_MODIFY = 4; + GCG_ZONE_TYPE_SUMMON = 5; + GCG_ZONE_TYPE_ASSIST = 7; + GCG_ZONE_TYPE_ONSTAGE = 8; + GCG_ZONE_TYPE_RULE = 9; +} diff --git a/proto/GFCKMNHGFEP.proto b/proto/GFCKMNHGFEP.proto new file mode 100644 index 00000000..d7c48707 --- /dev/null +++ b/proto/GFCKMNHGFEP.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GFCKMNHGFEP { + repeated uint32 playerUidList = 4; + uint32 matchId = 11; + uint32 mapId = 15; + bool mdpgfcplekf = 8; +} diff --git a/proto/GFOIPJIJFPP.proto b/proto/GFOIPJIJFPP.proto new file mode 100644 index 00000000..f1104e66 --- /dev/null +++ b/proto/GFOIPJIJFPP.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GFOIPJIJFPP { + Rotation initPos = 6; + Rotation forward = 9; +} diff --git a/proto/GGLAOFMEGGK.proto b/proto/GGLAOFMEGGK.proto new file mode 100644 index 00000000..1098c896 --- /dev/null +++ b/proto/GGLAOFMEGGK.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +enum GGLAOFMEGGK { + GGLAOFMEGGK_NONE = 0; + speed = 1; + NLKFKAOKKGB = 2; + AOMJCNMNCDB = 3; +} diff --git a/proto/GHHGMFFFGNL.proto b/proto/GHHGMFFFGNL.proto new file mode 100644 index 00000000..e0221994 --- /dev/null +++ b/proto/GHHGMFFFGNL.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GHHGMFFFGNL { + enum KFDMEIHCMLP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21217; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 galleryId = 6; + bool hkhgjjepeio = 1; + uint32 stageId = 5; + uint32 finishTime = 15; + bool isNewRecord = 11; + uint32 difficulty = 9; + bool isSucc = 7; +} diff --git a/proto/GJBKGONOBJD.proto b/proto/GJBKGONOBJD.proto new file mode 100644 index 00000000..2f4c1b40 --- /dev/null +++ b/proto/GJBKGONOBJD.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GJBKGONOBJD { + uint32 playNum = 1; + uint32 likeNum = 2; + uint32 storeNum = 3; + uint32 winNum = 4; +} diff --git a/proto/GJPHKJFFMOM.proto b/proto/GJPHKJFFMOM.proto new file mode 100644 index 00000000..dfa8e9d8 --- /dev/null +++ b/proto/GJPHKJFFMOM.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +enum GJPHKJFFMOM { + PHBJNMNOPOI = 0; + EFGPKKDHDHP = 1; +} diff --git a/proto/GLELFDKHCNK.proto b/proto/GLELFDKHCNK.proto new file mode 100644 index 00000000..801851c6 --- /dev/null +++ b/proto/GLELFDKHCNK.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GLELFDKHCNK { + uint32 minFinishTime = 2; + uint32 levelId = 12; + bool isFinish = 13; +} diff --git a/proto/GMFNAIJFBFD.proto b/proto/GMFNAIJFBFD.proto new file mode 100644 index 00000000..4f35ffe5 --- /dev/null +++ b/proto/GMFNAIJFBFD.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GMFNAIJFBFD { + uint32 applyEntityId = 6; +} diff --git a/proto/GMIEDKDENPO.proto b/proto/GMIEDKDENPO.proto new file mode 100644 index 00000000..730966fe --- /dev/null +++ b/proto/GMIEDKDENPO.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GMIEDKDENPO { +} diff --git a/proto/GMJDGJIDDCI.proto b/proto/GMJDGJIDDCI.proto new file mode 100644 index 00000000..bc1f8c25 --- /dev/null +++ b/proto/GMJDGJIDDCI.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GMJDGJIDDCI { + string lehnbmgfalp = 1; +} diff --git a/proto/GMObstacleInfo.proto b/proto/GMObstacleInfo.proto new file mode 100644 index 00000000..1cc89463 --- /dev/null +++ b/proto/GMObstacleInfo.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "ShapeType.proto"; +import "Rotation.proto"; +import "RotationSpeed.proto"; +import "Vector3Int.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GMObstacleInfo { + int64 timestamp = 13; + ShapeType shape = 3; + Rotation center = 9; + int32 obstacleId = 15; + RotationSpeed rotation = 4; + Vector3Int extents = 5; +} diff --git a/proto/GMShowNavMeshReq.proto b/proto/GMShowNavMeshReq.proto new file mode 100644 index 00000000..f2923565 --- /dev/null +++ b/proto/GMShowNavMeshReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GMShowNavMeshReq { + enum LOEAPFJINIE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2390; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + Rotation center = 6; + Rotation extent = 13; +} diff --git a/proto/GMShowNavMeshRsp.proto b/proto/GMShowNavMeshRsp.proto new file mode 100644 index 00000000..6ff29211 --- /dev/null +++ b/proto/GMShowNavMeshRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "PBNavMeshTile.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GMShowNavMeshRsp { + enum JLMKGAADEMI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2354; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated PBNavMeshTile tiles = 9; + int32 retcode = 4; +} diff --git a/proto/GMShowObstacleReq.proto b/proto/GMShowObstacleReq.proto new file mode 100644 index 00000000..2298a8d5 --- /dev/null +++ b/proto/GMShowObstacleReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GMShowObstacleReq { + enum MLIFNLABNMJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2315; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GMShowObstacleRsp.proto b/proto/GMShowObstacleRsp.proto new file mode 100644 index 00000000..4e7e7627 --- /dev/null +++ b/proto/GMShowObstacleRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "GMObstacleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GMShowObstacleRsp { + enum GABNEDGIPNN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2356; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 12; + repeated GMObstacleInfo obstacles = 7; +} diff --git a/proto/GOMAOCCEFNM.proto b/proto/GOMAOCCEFNM.proto new file mode 100644 index 00000000..d1fe1fe3 --- /dev/null +++ b/proto/GOMAOCCEFNM.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GOMAOCCEFNM { + string dpinghecdgc = 1; +} diff --git a/proto/GachaActivityCreateRobotReq.proto b/proto/GachaActivityCreateRobotReq.proto new file mode 100644 index 00000000..9d8b214e --- /dev/null +++ b/proto/GachaActivityCreateRobotReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GachaActivityCreateRobotReq { + enum JHBDOFNKMMA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8503; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GachaActivityCreateRobotRsp.proto b/proto/GachaActivityCreateRobotRsp.proto new file mode 100644 index 00000000..34599697 --- /dev/null +++ b/proto/GachaActivityCreateRobotRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GachaActivityCreateRobotRsp { + enum LFIPCANMILP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8997; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; + uint32 robotId = 15; +} diff --git a/proto/GachaActivityDetailInfo.proto b/proto/GachaActivityDetailInfo.proto index 889c0fd7..a3c5b96b 100644 --- a/proto/GachaActivityDetailInfo.proto +++ b/proto/GachaActivityDetailInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "GachaStageData.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message GachaActivityDetailInfo { diff --git a/proto/GachaActivityNextStageReq.proto b/proto/GachaActivityNextStageReq.proto new file mode 100644 index 00000000..f29b14ab --- /dev/null +++ b/proto/GachaActivityNextStageReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GachaActivityNextStageReq { + enum EBHDPIEBEFF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8201; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GachaActivityNextStageRsp.proto b/proto/GachaActivityNextStageRsp.proto new file mode 100644 index 00000000..c68177f5 --- /dev/null +++ b/proto/GachaActivityNextStageRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GachaActivityNextStageRsp { + enum NDJKAKCKAHA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8592; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 stageId = 4; + int32 retcode = 12; +} diff --git a/proto/GachaActivityPercentNotify.proto b/proto/GachaActivityPercentNotify.proto new file mode 100644 index 00000000..2c72dc78 --- /dev/null +++ b/proto/GachaActivityPercentNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GachaActivityPercentNotify { + enum PGKNAMLFLAL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8200; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + map targetNumMap = 5; + uint32 Unk3300_GHHIGKFDONE = 13; + uint32 Unk3300_IOLPAJKDEEA = 14; + uint32 Unk3300_EOPJBPHFDEE = 15; +} diff --git a/proto/GachaActivityResetReq.proto b/proto/GachaActivityResetReq.proto new file mode 100644 index 00000000..c1ce0d9b --- /dev/null +++ b/proto/GachaActivityResetReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GachaActivityResetReq { + enum FHHAMMKAGJA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8367; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 stageId = 4; +} diff --git a/proto/GachaActivityResetRsp.proto b/proto/GachaActivityResetRsp.proto new file mode 100644 index 00000000..e2d0b01b --- /dev/null +++ b/proto/GachaActivityResetRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GachaActivityResetRsp { + enum ODFODDCPHEE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8263; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 13; + uint32 stageId = 12; +} diff --git a/proto/GachaActivityTakeRewardReq.proto b/proto/GachaActivityTakeRewardReq.proto new file mode 100644 index 00000000..c3bb7317 --- /dev/null +++ b/proto/GachaActivityTakeRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GachaActivityTakeRewardReq { + enum GDHHKBFLGPH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8947; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + map robotNumMap = 1; +} diff --git a/proto/GachaActivityTakeRewardRsp.proto b/proto/GachaActivityTakeRewardRsp.proto new file mode 100644 index 00000000..96418522 --- /dev/null +++ b/proto/GachaActivityTakeRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GachaActivityTakeRewardRsp { + enum PPKEPNJBPCF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8228; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; + map robotNumMap = 2; +} diff --git a/proto/GachaActivityUpdateElemNotify.proto b/proto/GachaActivityUpdateElemNotify.proto new file mode 100644 index 00000000..a7bf1038 --- /dev/null +++ b/proto/GachaActivityUpdateElemNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GachaActivityUpdateElemNotify { + enum OAPKFFPLCKG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8850; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 elemType = 9; +} diff --git a/proto/GachaInfo.proto b/proto/GachaInfo.proto index 308bffd3..ba6322e2 100644 --- a/proto/GachaInfo.proto +++ b/proto/GachaInfo.proto @@ -1,51 +1,35 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "GachaUpInfo.proto"; + +import "GachaUpInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message GachaInfo { - uint32 left_gacha_times = 5; - uint32 gacha_type = 7; - uint32 wish_progress = 954; - string gacha_prob_url_oversea = 1532; - string gacha_record_url = 15; - string gacha_prob_url = 1; - uint32 begin_time = 14; - uint32 schedule_id = 8; - repeated uint32 display_up5_item_list = 476; - uint32 gacha_times_limit = 10; - string gacha_preview_prefab_path = 4; - string title_textmap = 114; - uint32 cur_schedule_daily_gacha_times = 245; - uint32 end_time = 2; - repeated uint32 display_up4_item_list = 540; - uint32 ten_cost_item_num = 13; - uint32 wish_max_progress = 1275; - uint32 ten_cost_item_id = 9; - uint32 gacha_sort_id = 6; - bool is_new_wish = 967; - uint32 cost_item_num = 12; - uint32 wish_item_id = 1580; - string gacha_record_url_oversea = 1259; - repeated GachaUpInfo gacha_up_info_list = 1585; - uint32 cost_item_id = 3; - string gacha_prefab_path = 11; + string gachaPrefabPath = 9; + uint32 scheduleId = 2; + repeated uint32 displayUp5ItemList = 1851; + uint32 gachaSortId = 6; + repeated uint32 displayUp4ItemList = 279; + bool isNewWish = 869; + uint32 gachaTimesLimit = 11; + uint32 costItemNum = 14; + string gachaRecordUrl = 7; + string titleTextmap = 1228; + repeated GachaUpInfo gachaUpInfoList = 1836; + string gachaPreviewPrefabPath = 8; + uint32 curScheduleDailyGachaTimes = 48; + uint32 gachaType = 1; + uint32 tenCostItemId = 4; + uint32 leftGachaTimes = 12; + string gachaProbUrl = 5; + string gachaProbUrlOversea = 765; + uint32 wishItemId = 309; + uint32 tenCostItemNum = 10; + uint32 wishMaxProgress = 1669; + uint32 costItemId = 13; + uint32 beginTime = 15; + string gachaRecordUrlOversea = 1004; + uint32 wishProgress = 246; + uint32 endTime = 3; } diff --git a/proto/GachaItem.proto b/proto/GachaItem.proto index 7e6735d3..ad8d6056 100644 --- a/proto/GachaItem.proto +++ b/proto/GachaItem.proto @@ -1,31 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "GachaTransferItem.proto"; -import "ItemParam.proto"; + +import "ItemParam.proto"; +import "GachaTransferItem.proto"; option java_package = "emu.grasscutter.net.proto"; message GachaItem { - bool is_flash_card = 8; - repeated GachaTransferItem transfer_items = 6; - bool is_gacha_item_new = 13; - ItemParam gacha_item = 5; - repeated ItemParam token_item_list = 10; + repeated GachaTransferItem transferItems = 10; + bool isGachaItemNew = 9; + repeated ItemParam tokenItemList = 12; + ItemParam gachaItem = 4; + bool isFlashCard = 11; } diff --git a/proto/GachaOpenWishNotify.proto b/proto/GachaOpenWishNotify.proto new file mode 100644 index 00000000..8978433b --- /dev/null +++ b/proto/GachaOpenWishNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GachaOpenWishNotify { + enum BGJEKJAGNPO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1580; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 gachaType = 1; + uint32 gachaScheduleId = 13; +} diff --git a/proto/GachaSimpleInfoNotify.proto b/proto/GachaSimpleInfoNotify.proto new file mode 100644 index 00000000..668e02c1 --- /dev/null +++ b/proto/GachaSimpleInfoNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GachaSimpleInfoNotify { + enum KAKAMCLOGPG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1570; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isNew = 8; +} diff --git a/proto/GachaStageData.proto b/proto/GachaStageData.proto index 4084e775..06e1dd87 100644 --- a/proto/GachaStageData.proto +++ b/proto/GachaStageData.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GachaStageData { - uint32 stage_id = 6; - bool is_open = 14; - map target_num_map = 1; + map targetNumMap = 11; + uint32 stageId = 15; + bool isOpen = 4; } diff --git a/proto/GachaTransferItem.proto b/proto/GachaTransferItem.proto index c9db9df3..b011af27 100644 --- a/proto/GachaTransferItem.proto +++ b/proto/GachaTransferItem.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ItemParam.proto"; + +import "ItemParam.proto"; option java_package = "emu.grasscutter.net.proto"; message GachaTransferItem { - ItemParam item = 1; - bool is_transfer_item_new = 11; + ItemParam item = 5; + bool isTransferItemNew = 3; } diff --git a/proto/GachaUpInfo.proto b/proto/GachaUpInfo.proto index 395f6fcb..ad033300 100644 --- a/proto/GachaUpInfo.proto +++ b/proto/GachaUpInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GachaUpInfo { - uint32 item_parent_type = 15; - repeated uint32 item_id_list = 6; + repeated uint32 itemIdList = 11; + uint32 itemParentType = 15; } diff --git a/proto/GachaWishReq.proto b/proto/GachaWishReq.proto index 11994c72..f8e3eb13 100644 --- a/proto/GachaWishReq.proto +++ b/proto/GachaWishReq.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GachaWishReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1600; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum IGAICKAILHD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1520; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 gacha_type = 3; - uint32 gacha_schedule_id = 12; - uint32 item_id = 9; + uint32 gachaType = 6; + uint32 gachaScheduleId = 10; + uint32 itemId = 9; } diff --git a/proto/GachaWishRsp.proto b/proto/GachaWishRsp.proto index 9110c6c2..de4830b2 100644 --- a/proto/GachaWishRsp.proto +++ b/proto/GachaWishRsp.proto @@ -1,37 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GachaWishRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1543; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum COIIDDMDPIL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1574; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 wish_progress = 6; - uint32 wish_item_id = 15; - uint32 gacha_schedule_id = 11; - int32 retcode = 13; - uint32 wish_max_progress = 10; - uint32 gacha_type = 8; + uint32 wishProgress = 3; + uint32 wishMaxProgress = 7; + uint32 gachaType = 6; + uint32 gachaScheduleId = 11; + int32 retcode = 9; + uint32 wishItemId = 5; } diff --git a/proto/Gadget.proto b/proto/Gadget.proto new file mode 100644 index 00000000..25befc90 --- /dev/null +++ b/proto/Gadget.proto @@ -0,0 +1,75 @@ +syntax = "proto3"; + + + +import "GadgetBornType.proto"; +import "TrifleItem.proto"; +import "GatherGadget.proto"; +import "Worktop.proto"; +import "ClientGadget.proto"; +import "Weather.proto"; +import "AbilityGadget.proto"; +import "StatueGadget.proto"; +import "BossChest.proto"; +import "BlossomChest.proto"; +import "MpPlayReward.proto"; +import "GeneralReward.proto"; +import "OfferingInfo.proto"; +import "FoundationInfo.proto"; +import "VehicleInfo.proto"; +import "ShellInfo.proto"; +import "ScreenInfo.proto"; +import "FishPoolInfo.proto"; +import "CustomGadgetTreeInfo.proto"; +import "RoguelikeGadgetInfo.proto"; +import "NightCrowGadgetInfo.proto"; +import "DeshretObeliskGadgetInfo.proto"; +import "CoinCollectOperatorInfo.proto"; +import "PlatformInfo.proto"; +import "GadgetPlayInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message Gadget { + uint32 gadgetId = 1; + uint32 groupId = 2; + uint32 configId = 3; + uint32 ownerEntityId = 4; + GadgetBornType bornType = 5; + uint32 gadgetState = 6; + uint32 gadgetType = 7; + bool isShowCutscene = 8; + uint32 authorityPeerId = 9; + bool isEnableInteract = 10; + uint32 interactId = 11; + oneof ANBMFHJHBJM { + TrifleItem trifle_item = 12; + GatherGadget gather_gadget = 13; + Worktop worktop = 14; + ClientGadget client_gadget = 15; + Weather weather = 17; + AbilityGadget ability_gadget = 18; + StatueGadget statue_gadget = 19; + BossChest boss_chest = 20; + BlossomChest blossom_chest = 41; + MpPlayReward mp_play_reward = 42; + GeneralReward general_reward = 43; + OfferingInfo offering_info = 44; + FoundationInfo foundation_info = 45; + VehicleInfo vehicle_info = 46; + ShellInfo shell_info = 47; + ScreenInfo screen_info = 48; + FishPoolInfo fish_pool_info = 59; + CustomGadgetTreeInfo custom_gadget_tree_info = 60; + RoguelikeGadgetInfo roguelike_gadget_info = 61; + NightCrowGadgetInfo night_crow_gadget_info = 62; + DeshretObeliskGadgetInfo deshret_obelisk_gadget_info = 63; + CoinCollectOperatorInfo coin_collect_operator_info = 64; + } + uint32 markFlag = 21; + uint32 propOwnerEntityId = 22; + PlatformInfo platform = 23; + repeated uint32 interactUidList = 24; + uint32 draftId = 25; + uint32 gadgetTalkState = 26; + GadgetPlayInfo playInfo = 100; +} diff --git a/proto/GadgetAutoPickDropInfoNotify.proto b/proto/GadgetAutoPickDropInfoNotify.proto index b8b1ad3c..1aeae712 100644 --- a/proto/GadgetAutoPickDropInfoNotify.proto +++ b/proto/GadgetAutoPickDropInfoNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Item.proto"; + +import "TrifleItem.proto"; option java_package = "emu.grasscutter.net.proto"; message GadgetAutoPickDropInfoNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 899; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HJFBOFFDKBP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 816; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated Item item_list = 15; + repeated TrifleItem itemList = 15; } diff --git a/proto/GadgetBornType.proto b/proto/GadgetBornType.proto index ca0ef8e0..eb1fecac 100644 --- a/proto/GadgetBornType.proto +++ b/proto/GadgetBornType.proto @@ -1,30 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum GadgetBornType { - GADGET_BORN_TYPE_NONE = 0; - GADGET_BORN_TYPE_IN_AIR = 1; - GADGET_BORN_TYPE_PLAYER = 2; - GADGET_BORN_TYPE_MONSTER_HIT = 3; - GADGET_BORN_TYPE_MONSTER_DIE = 4; - GADGET_BORN_TYPE_GADGET = 5; - GADGET_BORN_TYPE_GROUND = 6; + GADGET_BORN_TYPE_NONE = 0; + GADGET_BORN_TYPE_IN_AIR = 1; + GADGET_BORN_TYPE_PLAYER = 2; + GADGET_BORN_TYPE_MONSTER_HIT = 3; + GADGET_BORN_TYPE_MONSTER_DIE = 4; + GADGET_BORN_TYPE_GADGET = 5; + GADGET_BORN_TYPE_GROUND = 6; } diff --git a/proto/GadgetChainLevelChangeNotify.proto b/proto/GadgetChainLevelChangeNotify.proto new file mode 100644 index 00000000..cd1fd431 --- /dev/null +++ b/proto/GadgetChainLevelChangeNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GadgetChainLevelChangeNotify { + enum LBPNMBGDFKK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 892; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + map gadgetChainLevelMap = 14; +} diff --git a/proto/GadgetChainLevelUpdateNotify.proto b/proto/GadgetChainLevelUpdateNotify.proto new file mode 100644 index 00000000..8afa6e39 --- /dev/null +++ b/proto/GadgetChainLevelUpdateNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GadgetChainLevelUpdateNotify { + enum FBKFEJFKCDF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 900; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + map gadgetChainLevelMap = 4; +} diff --git a/proto/GadgetChangeLevelTagReq.proto b/proto/GadgetChangeLevelTagReq.proto new file mode 100644 index 00000000..5f158b52 --- /dev/null +++ b/proto/GadgetChangeLevelTagReq.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "CustomGadgetTreeInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GadgetChangeLevelTagReq { + enum FMKMNMGIDFA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 850; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 gadgetEntityId = 5; + uint32 levelTagId = 13; + CustomGadgetTreeInfo combinationInfo = 10; +} diff --git a/proto/GadgetChangeLevelTagRsp.proto b/proto/GadgetChangeLevelTagRsp.proto new file mode 100644 index 00000000..a162b36b --- /dev/null +++ b/proto/GadgetChangeLevelTagRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GadgetChangeLevelTagRsp { + enum PKLAJJEKDAN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 830; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 11; +} diff --git a/proto/GadgetCrucibleInfo.proto b/proto/GadgetCrucibleInfo.proto index 1880c6fb..2abce512 100644 --- a/proto/GadgetCrucibleInfo.proto +++ b/proto/GadgetCrucibleInfo.proto @@ -17,6 +17,7 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message GadgetCrucibleInfo { diff --git a/proto/GadgetCustomTreeInfoNotify.proto b/proto/GadgetCustomTreeInfoNotify.proto new file mode 100644 index 00000000..0a9cc341 --- /dev/null +++ b/proto/GadgetCustomTreeInfoNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "CustomGadgetTreeInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GadgetCustomTreeInfoNotify { + enum HGFHMFANDIM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 842; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 gadgetEntityId = 2; + CustomGadgetTreeInfo customGadgetTreeInfo = 9; +} diff --git a/proto/GadgetGeneralRewardInfo.proto b/proto/GadgetGeneralRewardInfo.proto index 8713f661..142275dd 100644 --- a/proto/GadgetGeneralRewardInfo.proto +++ b/proto/GadgetGeneralRewardInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message GadgetGeneralRewardInfo { diff --git a/proto/GadgetGeneralRewardInfoNotify.proto b/proto/GadgetGeneralRewardInfoNotify.proto new file mode 100644 index 00000000..82d75a44 --- /dev/null +++ b/proto/GadgetGeneralRewardInfoNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "GeneralReward.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GadgetGeneralRewardInfoNotify { + enum GFBABMFFJOP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 878; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 entityId = 5; + GeneralReward generalRewardInfo = 15; +} diff --git a/proto/GadgetInteractReq.proto b/proto/GadgetInteractReq.proto index b6b8aeaf..c15a2008 100644 --- a/proto/GadgetInteractReq.proto +++ b/proto/GadgetInteractReq.proto @@ -1,41 +1,25 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "InterOpType.proto"; import "ResinCostType.proto"; - option java_package = "emu.grasscutter.net.proto"; message GadgetInteractReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 879; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum HNAHFIOGDFG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 805; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 gadget_id = 1; - ResinCostType resin_cost_type = 13; - uint32 gadget_entity_id = 8; - InterOpType op_type = 2; - uint32 ui_interact_id = 11; - bool is_use_condense_resin = 6; + InterOpType opType = 1; + bool isUseCondenseResin = 14; + uint32 gadgetEntityId = 8; + uint32 gadgetId = 15; + ResinCostType resinCostType = 7; + uint32 uiInteractId = 6; } diff --git a/proto/GadgetInteractRsp.proto b/proto/GadgetInteractRsp.proto index cb2437bd..4cd91c85 100644 --- a/proto/GadgetInteractRsp.proto +++ b/proto/GadgetInteractRsp.proto @@ -1,39 +1,23 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "InterOpType.proto"; -import "InteractType.proto"; + +import "InteractType.proto"; +import "InterOpType.proto"; option java_package = "emu.grasscutter.net.proto"; message GadgetInteractRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 830; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum EJEKBAMFKHL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 855; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - InteractType interact_type = 2; - uint32 gadget_id = 11; - int32 retcode = 7; - uint32 gadget_entity_id = 1; - InterOpType op_type = 8; + InteractType interactType = 3; + int32 retcode = 12; + uint32 gadgetId = 10; + uint32 gadgetEntityId = 2; + InterOpType opType = 6; } diff --git a/proto/GadgetPlayDataNotify.proto b/proto/GadgetPlayDataNotify.proto new file mode 100644 index 00000000..c5dca7cf --- /dev/null +++ b/proto/GadgetPlayDataNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GadgetPlayDataNotify { + enum KALPBHAOHMP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 824; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 playType = 2; + uint32 progress = 15; + uint32 entityId = 5; +} diff --git a/proto/GadgetPlayInfo.proto b/proto/GadgetPlayInfo.proto index f29f6089..0ae01f62 100644 --- a/proto/GadgetPlayInfo.proto +++ b/proto/GadgetPlayInfo.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "GadgetCrucibleInfo.proto"; + +import "CrucibleInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message GadgetPlayInfo { - uint32 play_type = 1; - uint32 duration = 2; - repeated uint32 progress_stage_list = 3; - uint32 start_cd = 4; - uint32 start_time = 5; - uint32 progress = 6; - oneof play_info { - GadgetCrucibleInfo crucible_info = 21; - } + uint32 playType = 1; + uint32 duration = 2; + repeated uint32 progressStageList = 3; + uint32 startCd = 4; + uint32 startTime = 5; + uint32 progress = 6; + oneof IAFCHJBAJFA { + CrucibleInfo crucible_info = 21; + } } diff --git a/proto/GadgetPlayStartNotify.proto b/proto/GadgetPlayStartNotify.proto new file mode 100644 index 00000000..2c48dc72 --- /dev/null +++ b/proto/GadgetPlayStartNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GadgetPlayStartNotify { + enum MNLJBGOMGMF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 862; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 playType = 6; + uint32 entityId = 13; + uint32 startTime = 9; +} diff --git a/proto/GadgetPlayStopNotify.proto b/proto/GadgetPlayStopNotify.proto new file mode 100644 index 00000000..1bc60537 --- /dev/null +++ b/proto/GadgetPlayStopNotify.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +import "GadgetPlayUidInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GadgetPlayStopNotify { + enum PHFFIPOAMBI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 814; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated GadgetPlayUidInfo uidInfoList = 13; + uint32 costTime = 12; + uint32 score = 14; + bool isWin = 7; + uint32 entityId = 1; + uint32 playType = 11; +} diff --git a/proto/GadgetPlayUidInfo.proto b/proto/GadgetPlayUidInfo.proto new file mode 100644 index 00000000..1dd8e662 --- /dev/null +++ b/proto/GadgetPlayUidInfo.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "ProfilePicture.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GadgetPlayUidInfo { + uint32 score = 7; + string onlineId = 1; + uint32 battleWatcherId = 3; + ProfilePicture profilePicture = 6; + uint32 uid = 14; + uint32 icon = 9; + string nickname = 15; +} diff --git a/proto/GadgetPlayUidOpNotify.proto b/proto/GadgetPlayUidOpNotify.proto new file mode 100644 index 00000000..2dcc14a1 --- /dev/null +++ b/proto/GadgetPlayUidOpNotify.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GadgetPlayUidOpNotify { + enum NJDCGNODNGN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 829; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 uidList = 12; + uint32 playType = 14; + uint32 op = 9; + string paramStr = 2; + repeated uint32 paramList = 11; + uint32 entityId = 7; +} diff --git a/proto/GadgetStateNotify.proto b/proto/GadgetStateNotify.proto index 3899aa23..cb74e93e 100644 --- a/proto/GadgetStateNotify.proto +++ b/proto/GadgetStateNotify.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GadgetStateNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 856; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum AKFEDCCGIJI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 887; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 gadget_entity_id = 7; - uint32 gadget_state = 5; - bool is_enable_interact = 6; + uint32 gadgetState = 9; + uint32 gadgetEntityId = 7; + bool isEnableInteract = 15; } diff --git a/proto/GadgetTalkChangeNotify.proto b/proto/GadgetTalkChangeNotify.proto new file mode 100644 index 00000000..0463b841 --- /dev/null +++ b/proto/GadgetTalkChangeNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GadgetTalkChangeNotify { + enum LACKJDOGKLE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 846; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 gadgetEntityId = 10; + uint32 curGadgetTalkState = 2; +} diff --git a/proto/GalleryBalloonScoreNotify.proto b/proto/GalleryBalloonScoreNotify.proto new file mode 100644 index 00000000..5268537f --- /dev/null +++ b/proto/GalleryBalloonScoreNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GalleryBalloonScoreNotify { + enum IJOJGCMHGNA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5587; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + map uidScoreMap = 12; + uint32 galleryId = 2; +} diff --git a/proto/GalleryBalloonShootNotify.proto b/proto/GalleryBalloonShootNotify.proto new file mode 100644 index 00000000..7e3ec359 --- /dev/null +++ b/proto/GalleryBalloonShootNotify.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GalleryBalloonShootNotify { + enum OPNLKOBJGJO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5555; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 galleryId = 8; + uint32 triggerEntityId = 2; + int32 addScore = 5; + uint32 curScore = 14; + uint32 combo = 7; + uint64 comboDisableTime = 6; +} diff --git a/proto/GalleryBounceConjuringHitNotify.proto b/proto/GalleryBounceConjuringHitNotify.proto new file mode 100644 index 00000000..5f4a0930 --- /dev/null +++ b/proto/GalleryBounceConjuringHitNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GalleryBounceConjuringHitNotify { + enum OJKFGINDIOP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5569; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isPerfect = 15; + uint32 galleryId = 7; + uint32 addScore = 14; +} diff --git a/proto/GalleryBrokenFloorFallNotify.proto b/proto/GalleryBrokenFloorFallNotify.proto new file mode 100644 index 00000000..c4b906e7 --- /dev/null +++ b/proto/GalleryBrokenFloorFallNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GalleryBrokenFloorFallNotify { + enum MMGILCDMLNP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5529; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 fallCount = 2; + uint32 galleryId = 6; +} diff --git a/proto/GalleryBulletHitNotify.proto b/proto/GalleryBulletHitNotify.proto new file mode 100644 index 00000000..8d4917cb --- /dev/null +++ b/proto/GalleryBulletHitNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GalleryBulletHitNotify { + enum ANHMHFFHGDJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5524; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 hitCount = 11; + uint32 galleryId = 10; +} diff --git a/proto/GalleryCrystalLinkBuffInfoNotify.proto b/proto/GalleryCrystalLinkBuffInfoNotify.proto new file mode 100644 index 00000000..0a6c21ff --- /dev/null +++ b/proto/GalleryCrystalLinkBuffInfoNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GalleryCrystalLinkBuffInfoNotify { + enum BEFMHIDKCPC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5546; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isBuffValid = 11; + uint32 galleryId = 6; + uint32 buffId = 2; +} diff --git a/proto/GalleryCrystalLinkKillMonsterNotify.proto b/proto/GalleryCrystalLinkKillMonsterNotify.proto new file mode 100644 index 00000000..d88786d9 --- /dev/null +++ b/proto/GalleryCrystalLinkKillMonsterNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GalleryCrystalLinkKillMonsterNotify { + enum LKNNEJEJHFA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5539; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 galleryId = 10; + uint32 score = 9; +} diff --git a/proto/GalleryFallCatchNotify.proto b/proto/GalleryFallCatchNotify.proto new file mode 100644 index 00000000..671b7356 --- /dev/null +++ b/proto/GalleryFallCatchNotify.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GalleryFallCatchNotify { + enum IICOFEJMDIG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5520; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 timeCost = 1; + uint32 addScore = 4; + uint32 galleryId = 2; + uint32 curScore = 5; + bool isGround = 3; + map ballCatchCountMap = 15; +} diff --git a/proto/GalleryFallScoreNotify.proto b/proto/GalleryFallScoreNotify.proto new file mode 100644 index 00000000..b668537d --- /dev/null +++ b/proto/GalleryFallScoreNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "FallPlayerBrief.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GalleryFallScoreNotify { + enum INIGFMPGCGH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5574; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 galleryId = 8; + map uidBriefMap = 4; +} diff --git a/proto/GalleryFlowerCatchNotify.proto b/proto/GalleryFlowerCatchNotify.proto new file mode 100644 index 00000000..87ba7c44 --- /dev/null +++ b/proto/GalleryFlowerCatchNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GalleryFlowerCatchNotify { + enum MONKPABEHLA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5562; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 addScore = 1; + uint32 curScore = 8; + uint32 galleryId = 13; +} diff --git a/proto/GalleryFlowerStartParam.proto b/proto/GalleryFlowerStartParam.proto new file mode 100644 index 00000000..55415e84 --- /dev/null +++ b/proto/GalleryFlowerStartParam.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GalleryFlowerStartParam { + uint32 targetScore = 8; +} diff --git a/proto/GalleryIslandPartyDownHillInfoNotify.proto b/proto/GalleryIslandPartyDownHillInfoNotify.proto new file mode 100644 index 00000000..9b06b2cb --- /dev/null +++ b/proto/GalleryIslandPartyDownHillInfoNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GalleryIslandPartyDownHillInfoNotify { + enum EBDLNPCEHLD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5592; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 galleryId = 7; + uint32 totalKillMonsterCount = 15; + uint32 coin = 12; +} diff --git a/proto/GalleryPreStartNotify.proto b/proto/GalleryPreStartNotify.proto new file mode 100644 index 00000000..522082f2 --- /dev/null +++ b/proto/GalleryPreStartNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GalleryPreStartNotify { + enum NCOOMMNLEFI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5514; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 preStartEndTime = 6; + uint32 galleryId = 7; +} diff --git a/proto/GallerySettleInfo.proto b/proto/GallerySettleInfo.proto new file mode 100644 index 00000000..ceb0272a --- /dev/null +++ b/proto/GallerySettleInfo.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GallerySettleInfo { + bool isSuccess = 5; + uint32 energy = 7; + map energyStatMap = 9; + uint32 galleryStageCount = 14; + uint32 galleryStageIndex = 15; +} diff --git a/proto/GalleryStageType.proto b/proto/GalleryStageType.proto new file mode 100644 index 00000000..7ad27d2b --- /dev/null +++ b/proto/GalleryStageType.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum GalleryStageType { + GALLERY_STAGE_TYPE_NONE = 0; + GALLERY_STAGE_TYPE_PRESTART = 1; + GALLERY_STAGE_TYPE_START = 2; +} diff --git a/proto/GalleryStartNotify.proto b/proto/GalleryStartNotify.proto new file mode 100644 index 00000000..cd0a9162 --- /dev/null +++ b/proto/GalleryStartNotify.proto @@ -0,0 +1,27 @@ +syntax = "proto3"; + + + +import "FlowerStartParam.proto"; +import "ElectroherculesStartParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GalleryStartNotify { + enum ACINIBNBKCJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5505; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 startTime = 3; + uint32 ownerUid = 14; + uint32 playerCount = 4; + uint32 galleryId = 12; + uint32 endTime = 1; + oneof EAODOIBIHEN { + FlowerStartParam flower_start_param = 10; + ElectroherculesStartParam electrohercules_start_param = 7; + } +} diff --git a/proto/GalleryStartSource.proto b/proto/GalleryStartSource.proto new file mode 100644 index 00000000..f191b642 --- /dev/null +++ b/proto/GalleryStartSource.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum GalleryStartSource { + GALLERY_START_SOURCE_BY_NONE = 0; + GALLERY_START_SOURCE_BY_MATCH = 1; + GALLERY_START_SOURCE_BY_DRAFT = 2; +} diff --git a/proto/GalleryStopNotify.proto b/proto/GalleryStopNotify.proto new file mode 100644 index 00000000..9e200d03 --- /dev/null +++ b/proto/GalleryStopNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GalleryStopNotify { + enum BAOOPHPHBOC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5598; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 galleryId = 3; +} diff --git a/proto/GalleryStopReason.proto b/proto/GalleryStopReason.proto index 81a83fec..033bef46 100644 --- a/proto/GalleryStopReason.proto +++ b/proto/GalleryStopReason.proto @@ -1,36 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum GalleryStopReason { - GALLERY_STOP_REASON_NONE = 0; - GALLERY_STOP_REASON_TIMEUP = 1; - GALLERY_STOP_REASON_CLIENT_INTERRUPT = 2; - GALLERY_STOP_REASON_LUA_INTERRUPT_SUCCESS = 3; - GALLERY_STOP_REASON_LUA_INTERRUPT_FAIL = 4; - GALLERY_STOP_REASON_OWNER_LEAVE_SCENE = 5; - GALLERY_STOP_REASON_PLAY_INIT_FAILED = 6; - GALLERY_STOP_REASON_OTHER_PLAYER_ENTER = 7; - GALLERY_STOP_REASON_AVATAR_DIE = 8; - GALLERY_STOP_REASON_FINISHED = 9; - GALLERY_STOP_REASON_FUNGUS_ALL_DIE = 10; - GALLERY_STOP_REASON_LIFE_COUNT_ZERO = 11; - GALLERY_STOP_REASON_Unk3300_DFPLGCGIIDM = 12; + GALLERY_STOP_REASON_NONE = 0; + GALLERY_STOP_REASON_TIMEUP = 1; + GALLERY_STOP_REASON_CLIENT_INTERRUPT = 2; + GALLERY_STOP_REASON_LUA_INTERRUPT_SUCCESS = 3; + GALLERY_STOP_REASON_LUA_INTERRUPT_FAIL = 4; + GALLERY_STOP_REASON_OWNER_LEAVE_SCENE = 5; + GALLERY_STOP_REASON_PLAY_INIT_FAILED = 6; + GALLERY_STOP_REASON_OTHER_PLAYER_ENTER = 7; + GALLERY_STOP_REASON_AVATAR_DIE = 8; + GALLERY_STOP_REASON_FINISHED = 9; + GALLERY_STOP_REASON_FUNGUS_ALL_DIE = 10; + GALLERY_STOP_REASON_LIFE_COUNT_ZERO = 11; + GALLERY_STOP_REASON_Unk3300_DFPLGCGIIDM = 12; } diff --git a/proto/GallerySumoKillMonsterNotify.proto b/proto/GallerySumoKillMonsterNotify.proto new file mode 100644 index 00000000..e7e6d620 --- /dev/null +++ b/proto/GallerySumoKillMonsterNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GallerySumoKillMonsterNotify { + enum DKINCNHNCIE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5506; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 score = 2; + uint32 killNormalMonsterNum = 13; + uint32 killEliteMonsterNum = 4; + uint32 galleryId = 10; +} diff --git a/proto/GalleryWillStartCountdownNotify.proto b/proto/GalleryWillStartCountdownNotify.proto new file mode 100644 index 00000000..17edec72 --- /dev/null +++ b/proto/GalleryWillStartCountdownNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "GalleryStartSource.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GalleryWillStartCountdownNotify { + enum GEFOBHGIOAL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5575; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 galleryId = 8; + bool isEnd = 1; + GalleryStartSource startSource = 13; + uint32 endTime = 9; +} diff --git a/proto/GameOver.proto b/proto/GameOver.proto new file mode 100644 index 00000000..bf6b302e --- /dev/null +++ b/proto/GameOver.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "GCGEndReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GameOver { + GCGEndReason endReason = 4; + uint32 winControllerId = 10; +} diff --git a/proto/GameplayRecommendationElementReliquaryRequest.proto b/proto/GameplayRecommendationElementReliquaryRequest.proto index ff3bd2d3..9265d8a1 100644 --- a/proto/GameplayRecommendationElementReliquaryRequest.proto +++ b/proto/GameplayRecommendationElementReliquaryRequest.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GameplayRecommendationElementReliquaryRequest { - uint32 element_type = 2; - uint32 equip_type = 3; + uint32 elementType = 12; + uint32 equipType = 7; } diff --git a/proto/GameplayRecommendationElementReliquaryResponse.proto b/proto/GameplayRecommendationElementReliquaryResponse.proto index db8e7e5f..085a576c 100644 --- a/proto/GameplayRecommendationElementReliquaryResponse.proto +++ b/proto/GameplayRecommendationElementReliquaryResponse.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "GameplayRecommendationReliquaryMainPropData.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message GameplayRecommendationElementReliquaryResponse { diff --git a/proto/GameplayRecommendationReliquaryMainPropData.proto b/proto/GameplayRecommendationReliquaryMainPropData.proto index 25d60f20..8c9f98cc 100644 --- a/proto/GameplayRecommendationReliquaryMainPropData.proto +++ b/proto/GameplayRecommendationReliquaryMainPropData.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GameplayRecommendationReliquaryMainPropData { - uint32 permillage = 5; - uint32 main_prop_id = 10; + uint32 mainPropId = 6; + uint32 khfnbgnaclh = 9; } diff --git a/proto/GameplayRecommendationReliquaryRequest.proto b/proto/GameplayRecommendationReliquaryRequest.proto index a2e945fb..078b72f7 100644 --- a/proto/GameplayRecommendationReliquaryRequest.proto +++ b/proto/GameplayRecommendationReliquaryRequest.proto @@ -1,24 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GameplayRecommendationReliquaryRequest { - uint32 equip_type = 9; + uint32 equipType = 7; } diff --git a/proto/GameplayRecommendationReliquaryResponse.proto b/proto/GameplayRecommendationReliquaryResponse.proto index 2c710d2a..de3e1e8c 100644 --- a/proto/GameplayRecommendationReliquaryResponse.proto +++ b/proto/GameplayRecommendationReliquaryResponse.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "GameplayRecommendationReliquaryMainPropData.proto"; + +import "GameplayRecommendationReliquaryMainPropData.proto"; option java_package = "emu.grasscutter.net.proto"; message GameplayRecommendationReliquaryResponse { - uint32 equip_type = 11; - repeated GameplayRecommendationReliquaryMainPropData main_prop_data_list = 2; + repeated GameplayRecommendationReliquaryMainPropData nbbpegfkpac = 12; + uint32 equipType = 15; } diff --git a/proto/GameplayRecommendationSkillRequest.proto b/proto/GameplayRecommendationSkillRequest.proto new file mode 100644 index 00000000..8fcfdcf9 --- /dev/null +++ b/proto/GameplayRecommendationSkillRequest.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GameplayRecommendationSkillRequest { + uint32 skillDepotId = 9; +} diff --git a/proto/GatherGadget.proto b/proto/GatherGadget.proto new file mode 100644 index 00000000..981b5741 --- /dev/null +++ b/proto/GatherGadget.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GatherGadget { + uint32 itemId = 1; + bool baplahgkmbl = 2; +} diff --git a/proto/GatherGadgetInfo.proto b/proto/GatherGadgetInfo.proto index 21664515..891fdb48 100644 --- a/proto/GatherGadgetInfo.proto +++ b/proto/GatherGadgetInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GatherGadgetInfo { - uint32 item_id = 1; - bool is_forbid_guest = 2; + uint32 itemId = 1; + bool baplahgkmbl = 2; } diff --git a/proto/GcgFestivalInfo.proto b/proto/GcgFestivalInfo.proto new file mode 100644 index 00000000..9d151016 --- /dev/null +++ b/proto/GcgFestivalInfo.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GcgFestivalInfo { + bool fkefhlbdlcn = 5; +} diff --git a/proto/GearActivityDetailInfo.proto b/proto/GearActivityDetailInfo.proto index d2fc0759..77229ab0 100644 --- a/proto/GearActivityDetailInfo.proto +++ b/proto/GearActivityDetailInfo.proto @@ -20,6 +20,7 @@ syntax = "proto3"; import "GearLevelData.proto"; import "JigsawPictureData.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message GearActivityDetailInfo { diff --git a/proto/GearActivityFinishPlayGearReq.proto b/proto/GearActivityFinishPlayGearReq.proto new file mode 100644 index 00000000..5fa473f6 --- /dev/null +++ b/proto/GearActivityFinishPlayGearReq.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "GearColumnInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GearActivityFinishPlayGearReq { + enum BCPHOIMHGPN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20920; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isSuccess = 15; + repeated GearColumnInfo gearColumnInfoList = 9; + bool useClue = 13; + uint32 levelId = 2; +} diff --git a/proto/GearActivityFinishPlayGearRsp.proto b/proto/GearActivityFinishPlayGearRsp.proto new file mode 100644 index 00000000..4a567be0 --- /dev/null +++ b/proto/GearActivityFinishPlayGearRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GearActivityFinishPlayGearRsp { + enum JCOMKKMJBKP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 24722; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isSuccess = 15; + int32 retcode = 9; + uint32 levelId = 7; +} diff --git a/proto/GearActivityFinishPlayPictureReq.proto b/proto/GearActivityFinishPlayPictureReq.proto new file mode 100644 index 00000000..8b91fcfe --- /dev/null +++ b/proto/GearActivityFinishPlayPictureReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GearActivityFinishPlayPictureReq { + enum EFOHCLKANMK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 24600; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isSuccess = 3; +} diff --git a/proto/GearActivityFinishPlayPictureRsp.proto b/proto/GearActivityFinishPlayPictureRsp.proto new file mode 100644 index 00000000..c4b28642 --- /dev/null +++ b/proto/GearActivityFinishPlayPictureRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GearActivityFinishPlayPictureRsp { + enum CLAENFFGOJG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21610; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 8; + bool isSuccess = 7; +} diff --git a/proto/GearActivityStartPlayGearReq.proto b/proto/GearActivityStartPlayGearReq.proto new file mode 100644 index 00000000..91957d16 --- /dev/null +++ b/proto/GearActivityStartPlayGearReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GearActivityStartPlayGearReq { + enum APCGKMAKOBM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21124; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 levelId = 11; +} diff --git a/proto/GearActivityStartPlayGearRsp.proto b/proto/GearActivityStartPlayGearRsp.proto new file mode 100644 index 00000000..470450b0 --- /dev/null +++ b/proto/GearActivityStartPlayGearRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GearActivityStartPlayGearRsp { + enum KEBFKIKLODG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21492; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 levelId = 1; + int32 retcode = 5; +} diff --git a/proto/GearActivityStartPlayPictureReq.proto b/proto/GearActivityStartPlayPictureReq.proto new file mode 100644 index 00000000..e0376abe --- /dev/null +++ b/proto/GearActivityStartPlayPictureReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GearActivityStartPlayPictureReq { + enum CFMGHGKBEMF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 22919; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GearActivityStartPlayPictureRsp.proto b/proto/GearActivityStartPlayPictureRsp.proto new file mode 100644 index 00000000..c32c772a --- /dev/null +++ b/proto/GearActivityStartPlayPictureRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GearActivityStartPlayPictureRsp { + enum KPKOMBPAIEN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23454; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; +} diff --git a/proto/GearColumnInfo.proto b/proto/GearColumnInfo.proto new file mode 100644 index 00000000..33a0aedd --- /dev/null +++ b/proto/GearColumnInfo.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GearColumnInfo { + bool Unk3300_HGIKKDOBANK = 9; + uint32 gearId = 6; + bool Unk3300_KEEGLHMBAKM = 8; + uint32 Unk3300_GHIBPOIAIGF = 11; + uint32 Unk3300_EDLLMBGNDEH = 15; +} diff --git a/proto/GearInfo.proto b/proto/GearInfo.proto new file mode 100644 index 00000000..c38a7105 --- /dev/null +++ b/proto/GearInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "JigsawPictureData.proto"; +import "GearLevelData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GearInfo { + repeated GearLevelData gearLevelDataList = 9; + JigsawPictureData jigsawPictureData = 13; +} diff --git a/proto/GearLevelData.proto b/proto/GearLevelData.proto index 054348dc..fb6ba9ac 100644 --- a/proto/GearLevelData.proto +++ b/proto/GearLevelData.proto @@ -1,29 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GearLevelData { - uint32 Unk3300_DFGHKDBENED = 4; - bool is_finished = 3; - bool is_open = 5; - uint32 open_time = 11; - uint32 level_id = 10; - uint32 Unk3300_FIKPLGJIBGP = 15; + uint32 Unk3300_DFGHKDBENED = 1; + uint32 openTime = 4; + uint32 levelId = 7; + uint32 Unk3300_FIKPLGJIBGP = 12; + bool isFinished = 13; + bool isOpen = 9; } diff --git a/proto/GeneralMatchInfo.proto b/proto/GeneralMatchInfo.proto new file mode 100644 index 00000000..f257a6a1 --- /dev/null +++ b/proto/GeneralMatchInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "MatchPlayerInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GeneralMatchInfo { + uint32 matchParam = 6; + uint32 matchId = 8; + repeated MatchPlayerInfo playerList = 13; +} diff --git a/proto/GeneralReward.proto b/proto/GeneralReward.proto new file mode 100644 index 00000000..0ce34103 --- /dev/null +++ b/proto/GeneralReward.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GeneralReward { + uint32 resin = 1; + uint32 deadTime = 2; + repeated uint32 remainUidList = 3; + repeated uint32 qualifyUidList = 4; + ItemParam itemParam = 5; +} diff --git a/proto/GetActivityInfoReq.proto b/proto/GetActivityInfoReq.proto index 1a2fb4c6..4218bdbb 100644 --- a/proto/GetActivityInfoReq.proto +++ b/proto/GetActivityInfoReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetActivityInfoReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2011; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum GEGMHGCIBDO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2098; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated uint32 activity_id_list = 1; + repeated uint32 activityIdList = 15; } diff --git a/proto/GetActivityInfoRsp.proto b/proto/GetActivityInfoRsp.proto index 5f99beef..cef9978d 100644 --- a/proto/GetActivityInfoRsp.proto +++ b/proto/GetActivityInfoRsp.proto @@ -1,38 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "ActivityInfo.proto"; import "Uint32Pair.proto"; - option java_package = "emu.grasscutter.net.proto"; message GetActivityInfoRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2043; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum CNCGABMJCIE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2073; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated Uint32Pair disable_transfer_point_interaction_list = 10; - int32 retcode = 6; - repeated ActivityInfo activity_info_list = 2; - repeated uint32 activated_sale_id_list = 1; + repeated ActivityInfo activityInfoList = 13; + repeated Uint32Pair disableTransferPointInteractionList = 3; + repeated uint32 activatedSaleIdList = 7; + int32 retcode = 14; } diff --git a/proto/GetActivityScheduleReq.proto b/proto/GetActivityScheduleReq.proto new file mode 100644 index 00000000..82c9dbac --- /dev/null +++ b/proto/GetActivityScheduleReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetActivityScheduleReq { + enum GHODIMNEENJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2041; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GetActivityScheduleRsp.proto b/proto/GetActivityScheduleRsp.proto new file mode 100644 index 00000000..e7bf20cc --- /dev/null +++ b/proto/GetActivityScheduleRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "ActivityScheduleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetActivityScheduleRsp { + enum FGGPOHENGIA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2015; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 remainFlySeaLampNum = 10; + int32 retcode = 9; + repeated ActivityScheduleInfo activityScheduleList = 12; +} diff --git a/proto/GetActivityShopSheetInfoReq.proto b/proto/GetActivityShopSheetInfoReq.proto index 6e694282..2d989c64 100644 --- a/proto/GetActivityShopSheetInfoReq.proto +++ b/proto/GetActivityShopSheetInfoReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetActivityShopSheetInfoReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 761; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum BAGDMNOKKGJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 780; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 shop_type = 10; + uint32 shopType = 14; } diff --git a/proto/GetActivityShopSheetInfoRsp.proto b/proto/GetActivityShopSheetInfoRsp.proto index b911ca4a..40910ace 100644 --- a/proto/GetActivityShopSheetInfoRsp.proto +++ b/proto/GetActivityShopSheetInfoRsp.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ActivityShopSheetInfo.proto"; + +import "ActivityShopSheetInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message GetActivityShopSheetInfoRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 747; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum DAPGPAJCIME { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 770; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 shop_type = 15; - int32 retcode = 7; - repeated ActivityShopSheetInfo sheet_info_list = 4; + uint32 shopType = 7; + repeated ActivityShopSheetInfo sheetInfoList = 10; + int32 retcode = 5; } diff --git a/proto/GetAllActivatedBargainDataReq.proto b/proto/GetAllActivatedBargainDataReq.proto new file mode 100644 index 00000000..de6e974c --- /dev/null +++ b/proto/GetAllActivatedBargainDataReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetAllActivatedBargainDataReq { + enum FKGGHIFLPIO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 422; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GetAllActivatedBargainDataRsp.proto b/proto/GetAllActivatedBargainDataRsp.proto new file mode 100644 index 00000000..6e9ad13f --- /dev/null +++ b/proto/GetAllActivatedBargainDataRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "BargainSnapshot.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetAllActivatedBargainDataRsp { + enum GJJKHMFGJCH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 445; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated BargainSnapshot snapshotList = 2; + int32 retcode = 14; +} diff --git a/proto/GetAllH5ActivityInfoReq.proto b/proto/GetAllH5ActivityInfoReq.proto index c13f106c..7299874f 100644 --- a/proto/GetAllH5ActivityInfoReq.proto +++ b/proto/GetAllH5ActivityInfoReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetAllH5ActivityInfoReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 5691; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum EGIIIDKGDHG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5695; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/GetAllH5ActivityInfoRsp.proto b/proto/GetAllH5ActivityInfoRsp.proto index 21fa24f8..6cc2b10f 100644 --- a/proto/GetAllH5ActivityInfoRsp.proto +++ b/proto/GetAllH5ActivityInfoRsp.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "H5ActivityInfo.proto"; + +import "H5ActivityInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message GetAllH5ActivityInfoRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 5692; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum LEAPJMGKOBH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5688; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 client_red_dot_timestamp = 3; - repeated H5ActivityInfo h5_activity_info_list = 5; - int32 retcode = 14; + uint32 clientRedDotTimestamp = 5; + repeated H5ActivityInfo h5ActivityInfoList = 6; + int32 retcode = 14; } diff --git a/proto/GetAllMailNotify.proto b/proto/GetAllMailNotify.proto new file mode 100644 index 00000000..57b1bdaa --- /dev/null +++ b/proto/GetAllMailNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetAllMailNotify { + enum LDGGOIEFPDE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1416; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isCollected = 11; +} diff --git a/proto/GetAllMailReq.proto b/proto/GetAllMailReq.proto index 7aab2690..3fa77c86 100644 --- a/proto/GetAllMailReq.proto +++ b/proto/GetAllMailReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetAllMailReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1427; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum LHAPJAHPMOI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1424; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - bool is_collected = 4; + bool isCollected = 8; } diff --git a/proto/GetAllMailResultNotify.proto b/proto/GetAllMailResultNotify.proto new file mode 100644 index 00000000..571f6166 --- /dev/null +++ b/proto/GetAllMailResultNotify.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +import "MailData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetAllMailResultNotify { + enum IGKIIEJOOAC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1413; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isCollected = 12; + repeated MailData mailList = 1; + uint32 totalPageCount = 7; + int32 retcode = 8; + uint32 pageIndex = 6; + string transaction = 15; +} diff --git a/proto/GetAllMailRsp.proto b/proto/GetAllMailRsp.proto index 3bd4a17e..59cc298a 100644 --- a/proto/GetAllMailRsp.proto +++ b/proto/GetAllMailRsp.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "MailData.proto"; + +import "MailData.proto"; option java_package = "emu.grasscutter.net.proto"; message GetAllMailRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1439; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum FNCKKDMEJGP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1429; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated MailData mail_list = 15; - bool is_collected = 12; - int32 retcode = 1; - bool is_truncated = 8; + bool isCollected = 5; + int32 retcode = 9; + repeated MailData mailList = 7; + bool isTruncated = 8; } diff --git a/proto/GetAllSceneGalleryInfoReq.proto b/proto/GetAllSceneGalleryInfoReq.proto new file mode 100644 index 00000000..65b90084 --- /dev/null +++ b/proto/GetAllSceneGalleryInfoReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetAllSceneGalleryInfoReq { + enum OJJPPLLDBJF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5580; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GetAllSceneGalleryInfoRsp.proto b/proto/GetAllSceneGalleryInfoRsp.proto new file mode 100644 index 00000000..8ed4cfea --- /dev/null +++ b/proto/GetAllSceneGalleryInfoRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "SceneGalleryInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetAllSceneGalleryInfoRsp { + enum HDBJFCPMCIK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5570; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; + repeated SceneGalleryInfo galleryInfoList = 8; +} diff --git a/proto/GetAllUnlockNameCardReq.proto b/proto/GetAllUnlockNameCardReq.proto index 6711d2c2..4436f51f 100644 --- a/proto/GetAllUnlockNameCardReq.proto +++ b/proto/GetAllUnlockNameCardReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetAllUnlockNameCardReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4017; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum CAFKNKDCPBJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4018; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/GetAllUnlockNameCardRsp.proto b/proto/GetAllUnlockNameCardRsp.proto index ff90939e..4a8911c0 100644 --- a/proto/GetAllUnlockNameCardRsp.proto +++ b/proto/GetAllUnlockNameCardRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetAllUnlockNameCardRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4005; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum IAAKEJCGPIB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4075; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated uint32 name_card_list = 11; - int32 retcode = 14; + int32 retcode = 15; + repeated uint32 nameCardList = 12; } diff --git a/proto/GetAreaExplorePointReq.proto b/proto/GetAreaExplorePointReq.proto new file mode 100644 index 00000000..f329ad21 --- /dev/null +++ b/proto/GetAreaExplorePointReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetAreaExplorePointReq { + enum DJPJAAALGPH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 207; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 areaIdList = 5; +} diff --git a/proto/GetAreaExplorePointRsp.proto b/proto/GetAreaExplorePointRsp.proto new file mode 100644 index 00000000..ffb51426 --- /dev/null +++ b/proto/GetAreaExplorePointRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetAreaExplorePointRsp { + enum HCFOOJCJAPE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 252; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 areaIdList = 13; + int32 retcode = 14; + repeated uint32 explorePointList = 3; +} diff --git a/proto/GetAuthSalesmanInfoReq.proto b/proto/GetAuthSalesmanInfoReq.proto new file mode 100644 index 00000000..458e29e1 --- /dev/null +++ b/proto/GetAuthSalesmanInfoReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetAuthSalesmanInfoReq { + enum LBFMBJMBPNJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2108; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 scheduleId = 8; +} diff --git a/proto/GetAuthSalesmanInfoRsp.proto b/proto/GetAuthSalesmanInfoRsp.proto new file mode 100644 index 00000000..dbf3094a --- /dev/null +++ b/proto/GetAuthSalesmanInfoRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetAuthSalesmanInfoRsp { + enum HJLJNOPNEKB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2113; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 scheduleId = 14; + int32 retcode = 6; + uint32 dayRewardId = 13; +} diff --git a/proto/GetAuthkeyReq.proto b/proto/GetAuthkeyReq.proto index 9e48e371..08cfcf9a 100644 --- a/proto/GetAuthkeyReq.proto +++ b/proto/GetAuthkeyReq.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetAuthkeyReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1447; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum DIGIIBPFOBE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1470; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 sign_type = 6; - string auth_appid = 13; - uint32 authkey_ver = 15; + uint32 authkeyVer = 6; + string authAppid = 14; + uint32 signType = 8; } diff --git a/proto/GetAuthkeyRsp.proto b/proto/GetAuthkeyRsp.proto index 678d8139..9e17d440 100644 --- a/proto/GetAuthkeyRsp.proto +++ b/proto/GetAuthkeyRsp.proto @@ -1,37 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetAuthkeyRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1478; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum ELAIHNIANND { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1462; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 8; - string authkey = 6; - uint32 authkey_ver = 13; - uint32 sign_type = 3; - string auth_appid = 7; - string game_biz = 1; + string gameBiz = 1; + uint32 signType = 3; + string authAppid = 11; + uint32 authkeyVer = 7; + int32 retcode = 14; + string authkey = 9; } diff --git a/proto/GetBargainDataReq.proto b/proto/GetBargainDataReq.proto new file mode 100644 index 00000000..6ce2483a --- /dev/null +++ b/proto/GetBargainDataReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetBargainDataReq { + enum LHJBPNJPDMP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 428; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 bargainId = 14; +} diff --git a/proto/GetBargainDataRsp.proto b/proto/GetBargainDataRsp.proto new file mode 100644 index 00000000..512ad9bd --- /dev/null +++ b/proto/GetBargainDataRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "BargainSnapshot.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetBargainDataRsp { + enum PDPLCGAFFNN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 473; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; + BargainSnapshot snapshot = 13; + uint32 bargainId = 8; +} diff --git a/proto/GetBattlePassProductReq.proto b/proto/GetBattlePassProductReq.proto new file mode 100644 index 00000000..09e15ca3 --- /dev/null +++ b/proto/GetBattlePassProductReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetBattlePassProductReq { + enum ECJFJLLDNOO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2616; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 battlePassProductPlayType = 15; +} diff --git a/proto/GetBattlePassProductRsp.proto b/proto/GetBattlePassProductRsp.proto new file mode 100644 index 00000000..371948fc --- /dev/null +++ b/proto/GetBattlePassProductRsp.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetBattlePassProductRsp { + enum KJAINMPEKII { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2625; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + string priceTier = 15; + int32 retcode = 4; + uint32 battlePassProductPlayType = 9; + uint32 curScheduleId = 6; + string productId = 7; +} diff --git a/proto/GetBlossomBriefInfoListReq.proto b/proto/GetBlossomBriefInfoListReq.proto index 776aaa5f..ad060f0a 100644 --- a/proto/GetBlossomBriefInfoListReq.proto +++ b/proto/GetBlossomBriefInfoListReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetBlossomBriefInfoListReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2779; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum MPNGAFBDILB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2705; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated uint32 city_id_list = 7; + repeated uint32 cityIdList = 5; } diff --git a/proto/GetBlossomBriefInfoListRsp.proto b/proto/GetBlossomBriefInfoListRsp.proto index 2a8255fe..178d2caf 100644 --- a/proto/GetBlossomBriefInfoListRsp.proto +++ b/proto/GetBlossomBriefInfoListRsp.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "BlossomBriefInfo.proto"; + +import "BlossomBriefInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message GetBlossomBriefInfoListRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2730; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum JPEBEPLLNNO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2755; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - int32 retcode = 14; - repeated BlossomBriefInfo brief_info_list = 1; + int32 retcode = 2; + repeated BlossomBriefInfo briefInfoList = 4; } diff --git a/proto/GetBonusActivityRewardReq.proto b/proto/GetBonusActivityRewardReq.proto new file mode 100644 index 00000000..d50564be --- /dev/null +++ b/proto/GetBonusActivityRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetBonusActivityRewardReq { + enum JJGLIEKLEKE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2513; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 bonusActivityId = 2; +} diff --git a/proto/GetBonusActivityRewardRsp.proto b/proto/GetBonusActivityRewardRsp.proto new file mode 100644 index 00000000..7482154a --- /dev/null +++ b/proto/GetBonusActivityRewardRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "BonusActivityInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetBonusActivityRewardRsp { + enum JPCCPFNIFIH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2569; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + BonusActivityInfo bonusActivityInfoList = 9; + int32 retcode = 15; +} diff --git a/proto/GetChatEmojiCollectionReq.proto b/proto/GetChatEmojiCollectionReq.proto index 0dfd76a5..3d797381 100644 --- a/proto/GetChatEmojiCollectionReq.proto +++ b/proto/GetChatEmojiCollectionReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetChatEmojiCollectionReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4088; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum HFDAJGLHEHL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4011; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/GetChatEmojiCollectionRsp.proto b/proto/GetChatEmojiCollectionRsp.proto index d010170b..1ab7ef8f 100644 --- a/proto/GetChatEmojiCollectionRsp.proto +++ b/proto/GetChatEmojiCollectionRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ChatEmojiCollectionData.proto"; + +import "ChatEmojiCollectionData.proto"; option java_package = "emu.grasscutter.net.proto"; message GetChatEmojiCollectionRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4066; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum CAAOHECMDJO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4091; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - ChatEmojiCollectionData chat_emoji_collection_data = 15; - int32 retcode = 5; + int32 retcode = 4; + ChatEmojiCollectionData chatEmojiCollectionData = 12; } diff --git a/proto/GetCityHuntingOfferReq.proto b/proto/GetCityHuntingOfferReq.proto new file mode 100644 index 00000000..aed47ab9 --- /dev/null +++ b/proto/GetCityHuntingOfferReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetCityHuntingOfferReq { + enum LPMFLCGJDEO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4346; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 cityId = 13; +} diff --git a/proto/GetCityHuntingOfferRsp.proto b/proto/GetCityHuntingOfferRsp.proto new file mode 100644 index 00000000..3409bb46 --- /dev/null +++ b/proto/GetCityHuntingOfferRsp.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; + + + +import "HuntingPair.proto"; +import "HuntingOfferData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetCityHuntingOfferRsp { + enum LCAHNPHEMMD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4341; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 10; + uint32 nextRefreshTime = 8; + uint32 curWeekFinishedCount = 14; + HuntingPair ongoingHuntingPair = 7; + repeated HuntingOfferData huntingOfferList = 11; + uint32 cityId = 9; +} diff --git a/proto/GetCityReputationInfoReq.proto b/proto/GetCityReputationInfoReq.proto new file mode 100644 index 00000000..e9bbabe6 --- /dev/null +++ b/proto/GetCityReputationInfoReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetCityReputationInfoReq { + enum AGOKGBPFOPO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2805; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 cityId = 5; +} diff --git a/proto/GetCityReputationInfoRsp.proto b/proto/GetCityReputationInfoRsp.proto new file mode 100644 index 00000000..cebe0013 --- /dev/null +++ b/proto/GetCityReputationInfoRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "CityReputationInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetCityReputationInfoRsp { + enum LBFKEEBJEBA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2855; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 10; + uint32 cityId = 6; + CityReputationInfo cityReputationInfo = 5; +} diff --git a/proto/GetCityReputationMapInfoReq.proto b/proto/GetCityReputationMapInfoReq.proto new file mode 100644 index 00000000..287c5db3 --- /dev/null +++ b/proto/GetCityReputationMapInfoReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetCityReputationMapInfoReq { + enum LFBJDHAPKBK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2829; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GetCityReputationMapInfoRsp.proto b/proto/GetCityReputationMapInfoRsp.proto new file mode 100644 index 00000000..1fab92eb --- /dev/null +++ b/proto/GetCityReputationMapInfoRsp.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetCityReputationMapInfoRsp { + enum EKAODNDOHAN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2878; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool Unk3300_NCMHMODIIKM = 13; + int32 retcode = 4; + repeated uint32 unlockHuntingCityList = 12; + bool Unk3300_GJFNOPNMFNG = 7; + repeated uint32 rewardCityList = 1; +} diff --git a/proto/GetCompoundDataReq.proto b/proto/GetCompoundDataReq.proto index abc88219..989a85d6 100644 --- a/proto/GetCompoundDataReq.proto +++ b/proto/GetCompoundDataReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetCompoundDataReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 167; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum PHCKEGHBIGA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 107; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/GetCompoundDataRsp.proto b/proto/GetCompoundDataRsp.proto index 9b11a91b..3c4b4e2e 100644 --- a/proto/GetCompoundDataRsp.proto +++ b/proto/GetCompoundDataRsp.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "CompoundQueueData.proto"; + +import "CompoundQueueData.proto"; option java_package = "emu.grasscutter.net.proto"; message GetCompoundDataRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 115; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum KJFBGCHPMEC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 152; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated CompoundQueueData compound_queue_data_list = 4; - repeated uint32 unlock_compound_list = 10; - int32 retcode = 15; + int32 retcode = 2; + repeated CompoundQueueData compoundQueueDataList = 6; + repeated uint32 unlockCompoundList = 14; } diff --git a/proto/GetCustomDungeonReq.proto b/proto/GetCustomDungeonReq.proto new file mode 100644 index 00000000..822479ca --- /dev/null +++ b/proto/GetCustomDungeonReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetCustomDungeonReq { + enum PGAJJPGGKCE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6249; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GetCustomDungeonRsp.proto b/proto/GetCustomDungeonRsp.proto new file mode 100644 index 00000000..d121eaed --- /dev/null +++ b/proto/GetCustomDungeonRsp.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "CustomDungeonBanInfo.proto"; +import "CustomDungeonBrief.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetCustomDungeonRsp { + enum ILKHCPIKFHF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6234; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + CustomDungeonBanInfo banInfo = 14; + int32 retcode = 8; + repeated CustomDungeonBrief briefList = 12; +} diff --git a/proto/GetDailyDungeonEntryInfoReq.proto b/proto/GetDailyDungeonEntryInfoReq.proto index d06aac8c..376248da 100644 --- a/proto/GetDailyDungeonEntryInfoReq.proto +++ b/proto/GetDailyDungeonEntryInfoReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetDailyDungeonEntryInfoReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 950; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum FONDNNAPILH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 981; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 scene_id = 8; + uint32 sceneId = 4; } diff --git a/proto/GetDailyDungeonEntryInfoRsp.proto b/proto/GetDailyDungeonEntryInfoRsp.proto index 1751321b..c9ad08d1 100644 --- a/proto/GetDailyDungeonEntryInfoRsp.proto +++ b/proto/GetDailyDungeonEntryInfoRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "DailyDungeonEntryInfo.proto"; + +import "DailyDungeonEntryInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message GetDailyDungeonEntryInfoRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 953; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum KIAADEFNINL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 964; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated DailyDungeonEntryInfo daily_dungeon_info_list = 1; - int32 retcode = 9; + int32 retcode = 3; + repeated DailyDungeonEntryInfo dailyDungeonInfoList = 8; } diff --git a/proto/GetDungeonEntryExploreConditionReq.proto b/proto/GetDungeonEntryExploreConditionReq.proto new file mode 100644 index 00000000..c634fa0f --- /dev/null +++ b/proto/GetDungeonEntryExploreConditionReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetDungeonEntryExploreConditionReq { + enum LBLAGHMHFBM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3123; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 dungeonEntryScenePointId = 11; + uint32 sceneId = 13; + uint32 dungeonEntryConfigId = 5; +} diff --git a/proto/GetDungeonEntryExploreConditionRsp.proto b/proto/GetDungeonEntryExploreConditionRsp.proto new file mode 100644 index 00000000..47fbb5bd --- /dev/null +++ b/proto/GetDungeonEntryExploreConditionRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "DungeonEntryCond.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetDungeonEntryExploreConditionRsp { + enum IMDFOPHPHPL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3355; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; + DungeonEntryCond dungeonEntryCond = 7; +} diff --git a/proto/GetExpeditionAssistInfoListReq.proto b/proto/GetExpeditionAssistInfoListReq.proto new file mode 100644 index 00000000..aed271b9 --- /dev/null +++ b/proto/GetExpeditionAssistInfoListReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetExpeditionAssistInfoListReq { + enum HIOKKPCGGCH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2147; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GetExpeditionAssistInfoListRsp.proto b/proto/GetExpeditionAssistInfoListRsp.proto new file mode 100644 index 00000000..791302b1 --- /dev/null +++ b/proto/GetExpeditionAssistInfoListRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "ExpeditionAssistInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetExpeditionAssistInfoListRsp { + enum NMNOPOJDEHM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2028; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 1; + repeated ExpeditionAssistInfo assistInfoList = 2; +} diff --git a/proto/GetFriendShowAvatarInfoReq.proto b/proto/GetFriendShowAvatarInfoReq.proto index 01e9cf3a..36ba7f00 100644 --- a/proto/GetFriendShowAvatarInfoReq.proto +++ b/proto/GetFriendShowAvatarInfoReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetFriendShowAvatarInfoReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4049; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum NBBEJDKKALC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4079; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 uid = 1; + uint32 uid = 2; } diff --git a/proto/GetFriendShowAvatarInfoRsp.proto b/proto/GetFriendShowAvatarInfoRsp.proto index cae77673..a84ff76d 100644 --- a/proto/GetFriendShowAvatarInfoRsp.proto +++ b/proto/GetFriendShowAvatarInfoRsp.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ShowAvatarInfo.proto"; + +import "ShowAvatarInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message GetFriendShowAvatarInfoRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4091; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum DBNKIEDKCKB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4027; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated ShowAvatarInfo show_avatar_info_list = 5; - uint32 uid = 9; - int32 retcode = 1; + repeated ShowAvatarInfo showAvatarInfoList = 3; + int32 retcode = 12; + uint32 uid = 13; } diff --git a/proto/GetFriendShowNameCardInfoReq.proto b/proto/GetFriendShowNameCardInfoReq.proto index cf7fba10..fcdacdd1 100644 --- a/proto/GetFriendShowNameCardInfoReq.proto +++ b/proto/GetFriendShowNameCardInfoReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetFriendShowNameCardInfoReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4098; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum DCKIDCHAHMI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4015; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 uid = 5; + uint32 uid = 1; } diff --git a/proto/GetFriendShowNameCardInfoRsp.proto b/proto/GetFriendShowNameCardInfoRsp.proto index a946b7cb..0f4d26b8 100644 --- a/proto/GetFriendShowNameCardInfoRsp.proto +++ b/proto/GetFriendShowNameCardInfoRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetFriendShowNameCardInfoRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4020; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HJHGMJPPPMN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4056; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 show_name_card_id_list = 5; - uint32 uid = 9; - int32 retcode = 3; + int32 retcode = 3; + uint32 uid = 2; + repeated uint32 showNameCardIdList = 15; } diff --git a/proto/GetFurnitureCurModuleArrangeCountReq.proto b/proto/GetFurnitureCurModuleArrangeCountReq.proto index ce885e21..e35d5e29 100644 --- a/proto/GetFurnitureCurModuleArrangeCountReq.proto +++ b/proto/GetFurnitureCurModuleArrangeCountReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetFurnitureCurModuleArrangeCountReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4730; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum DHDEAFKCMAP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4722; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/GetGachaInfoReq.proto b/proto/GetGachaInfoReq.proto index 8159821b..b73aaf08 100644 --- a/proto/GetGachaInfoReq.proto +++ b/proto/GetGachaInfoReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetGachaInfoReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1579; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum LGENFIGDNPP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1505; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/GetGachaInfoRsp.proto b/proto/GetGachaInfoRsp.proto index 8d2230e7..72753615 100644 --- a/proto/GetGachaInfoRsp.proto +++ b/proto/GetGachaInfoRsp.proto @@ -1,39 +1,23 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "GachaInfo.proto"; + +import "GachaInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message GetGachaInfoRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1530; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum DDLAEDKIDPC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1555; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 14; - uint32 daily_gacha_times = 6; - repeated GachaInfo gacha_info_list = 10; - bool Unk3300_OHFMHIHJHPJ = 4; - uint32 gacha_random = 9; - bool Unk3300_HBILIAEIHNK = 3; + int32 retcode = 14; + bool Unk3300_OHFMHIHJHPJ = 11; + uint32 dailyGachaTimes = 1; + uint32 gachaRandom = 6; + bool Unk3300_HBILIAEIHNK = 13; + repeated GachaInfo gachaInfoList = 3; } diff --git a/proto/GetGameplayRecommendationReq.proto b/proto/GetGameplayRecommendationReq.proto new file mode 100644 index 00000000..dbe642a2 --- /dev/null +++ b/proto/GetGameplayRecommendationReq.proto @@ -0,0 +1,26 @@ +syntax = "proto3"; + + + +import "SkillResponse.proto"; +import "ReliquaryResponse.proto"; +import "ElementReliquaryResponse.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetGameplayRecommendationReq { + enum EDAHHJLCAIF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 196; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 avatarId = 1; + int32 retcode = 12; + oneof HJLJKEIANDB { + SkillResponse skill_response = 223; + ReliquaryResponse reliquary_response = 1964; + ElementReliquaryResponse element_reliquary_response = 1912; + } +} diff --git a/proto/GetGameplayRecommendationRsp.proto b/proto/GetGameplayRecommendationRsp.proto new file mode 100644 index 00000000..6aac4184 --- /dev/null +++ b/proto/GetGameplayRecommendationRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetGameplayRecommendationRsp { + enum ILBNNCBEICH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 144; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 givingId = 10; +} diff --git a/proto/GetHomeExchangeWoodInfoReq.proto b/proto/GetHomeExchangeWoodInfoReq.proto new file mode 100644 index 00000000..bae5dd71 --- /dev/null +++ b/proto/GetHomeExchangeWoodInfoReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetHomeExchangeWoodInfoReq { + enum DOHACOMPLLC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4775; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GetHomeExchangeWoodInfoRsp.proto b/proto/GetHomeExchangeWoodInfoRsp.proto new file mode 100644 index 00000000..41f0f48f --- /dev/null +++ b/proto/GetHomeExchangeWoodInfoRsp.proto @@ -0,0 +1,25 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetHomeExchangeWoodInfoRsp { + enum GGMEHEFODIO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4757; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + message HomeExchangeWoodInfo { + uint32 exchangeLimit = 8; + uint32 woodId = 2; + uint32 nextRefreshTime = 3; + uint32 exchangedCount = 9; + } + + repeated HomeExchangeWoodInfo woodInfoList = 11; + int32 retcode = 2; +} diff --git a/proto/GetHomeLevelUpRewardReq.proto b/proto/GetHomeLevelUpRewardReq.proto new file mode 100644 index 00000000..6bb09e62 --- /dev/null +++ b/proto/GetHomeLevelUpRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetHomeLevelUpRewardReq { + enum DPLHJJDEKBD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4588; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 level = 13; +} diff --git a/proto/GetHomeLevelUpRewardRsp.proto b/proto/GetHomeLevelUpRewardRsp.proto new file mode 100644 index 00000000..99ae6caf --- /dev/null +++ b/proto/GetHomeLevelUpRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetHomeLevelUpRewardRsp { + enum NCJHHGNGMBO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4668; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 level = 5; + int32 retcode = 6; +} diff --git a/proto/GetHuntingOfferRewardReq.proto b/proto/GetHuntingOfferRewardReq.proto new file mode 100644 index 00000000..66e23223 --- /dev/null +++ b/proto/GetHuntingOfferRewardReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "HuntingPair.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetHuntingOfferRewardReq { + enum DECGDEFDNBG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4319; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + HuntingPair huntingPair = 14; + uint32 cityId = 13; +} diff --git a/proto/GetHuntingOfferRewardRsp.proto b/proto/GetHuntingOfferRewardRsp.proto new file mode 100644 index 00000000..e8e51881 --- /dev/null +++ b/proto/GetHuntingOfferRewardRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "HuntingPair.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetHuntingOfferRewardRsp { + enum EJOIAIPLPII { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4343; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + HuntingPair huntingPair = 5; + uint32 cityId = 6; + int32 retcode = 2; +} diff --git a/proto/GetInvestigationMonsterReq.proto b/proto/GetInvestigationMonsterReq.proto index e5c663e8..de4cf2a8 100644 --- a/proto/GetInvestigationMonsterReq.proto +++ b/proto/GetInvestigationMonsterReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetInvestigationMonsterReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1930; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum ONHIGDGHJBP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1915; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - bool is_for_mark = 8; - repeated uint32 city_id_list = 11; + repeated uint32 cityIdList = 1; + bool isForMark = 4; } diff --git a/proto/GetInvestigationMonsterRsp.proto b/proto/GetInvestigationMonsterRsp.proto index 0ad839e3..fb7dcf7b 100644 --- a/proto/GetInvestigationMonsterRsp.proto +++ b/proto/GetInvestigationMonsterRsp.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "InvestigationMonster.proto"; + +import "InvestigationMonster.proto"; option java_package = "emu.grasscutter.net.proto"; message GetInvestigationMonsterRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1901; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum ONMJIJLGELG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1927; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - int32 retcode = 13; - bool is_for_mark = 11; - repeated InvestigationMonster monster_list = 14; + int32 retcode = 6; + repeated InvestigationMonster Unk3300_EEBEOCMAIKN = 2; + bool isForMark = 11; } diff --git a/proto/GetMailItemReq.proto b/proto/GetMailItemReq.proto index a2aa6927..f5970332 100644 --- a/proto/GetMailItemReq.proto +++ b/proto/GetMailItemReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetMailItemReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1419; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum MCKPHKABHAC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1498; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated uint32 mail_id_list = 1; + repeated uint32 mailIdList = 4; } diff --git a/proto/GetMailItemRsp.proto b/proto/GetMailItemRsp.proto index 28e0ae18..fd559e64 100644 --- a/proto/GetMailItemRsp.proto +++ b/proto/GetMailItemRsp.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "EquipParam.proto"; + +import "EquipParam.proto"; option java_package = "emu.grasscutter.net.proto"; message GetMailItemRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1500; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum KFIFNFHEFBO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1420; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated EquipParam item_list = 6; - repeated uint32 mail_id_list = 3; - int32 retcode = 7; + repeated EquipParam itemList = 9; + repeated uint32 mailIdList = 6; + int32 retcode = 12; } diff --git a/proto/GetMapAreaReq.proto b/proto/GetMapAreaReq.proto new file mode 100644 index 00000000..b90fcf4a --- /dev/null +++ b/proto/GetMapAreaReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetMapAreaReq { + enum CGOAMEKHADP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3148; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GetMapAreaRsp.proto b/proto/GetMapAreaRsp.proto new file mode 100644 index 00000000..2b1bd05a --- /dev/null +++ b/proto/GetMapAreaRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "MapAreaInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetMapAreaRsp { + enum JOGNHEGALAH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3213; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated MapAreaInfo mapAreaInfoList = 3; + int32 retcode = 2; +} diff --git a/proto/GetMapMarkTipsReq.proto b/proto/GetMapMarkTipsReq.proto new file mode 100644 index 00000000..5ac5c886 --- /dev/null +++ b/proto/GetMapMarkTipsReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetMapMarkTipsReq { + enum DFNAONIPNCP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3202; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GetMapMarkTipsRsp.proto b/proto/GetMapMarkTipsRsp.proto new file mode 100644 index 00000000..4ad60c32 --- /dev/null +++ b/proto/GetMapMarkTipsRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "MapMarkTipsInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetMapMarkTipsRsp { + enum GNFEPHCPNCC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3089; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 12; + repeated MapMarkTipsInfo markTipsList = 14; +} diff --git a/proto/GetMechanicusInfoReq.proto b/proto/GetMechanicusInfoReq.proto new file mode 100644 index 00000000..1d6470b9 --- /dev/null +++ b/proto/GetMechanicusInfoReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetMechanicusInfoReq { + enum PAMBMEGFJEH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3905; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GetMechanicusInfoRsp.proto b/proto/GetMechanicusInfoRsp.proto new file mode 100644 index 00000000..cbd9449b --- /dev/null +++ b/proto/GetMechanicusInfoRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "MechanicusInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetMechanicusInfoRsp { + enum CFKHICOHFPO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3955; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + MechanicusInfo mechanicusInfo = 1; + int32 retcode = 12; +} diff --git a/proto/GetNextResourceInfoReq.proto b/proto/GetNextResourceInfoReq.proto new file mode 100644 index 00000000..dfcaa65d --- /dev/null +++ b/proto/GetNextResourceInfoReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetNextResourceInfoReq { + enum PKMCFDENNIE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 134; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GetNextResourceInfoRsp.proto b/proto/GetNextResourceInfoRsp.proto new file mode 100644 index 00000000..dc504277 --- /dev/null +++ b/proto/GetNextResourceInfoRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "ResVersionConfig.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetNextResourceInfoRsp { + enum CFMLDJCOIGD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 189; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + ResVersionConfig nextResVersionConfig = 5; + int32 retcode = 9; + string nextResourceUrl = 1; +} diff --git a/proto/GetOnlinePlayerInfoReq.proto b/proto/GetOnlinePlayerInfoReq.proto index da63de1c..b7a2acd2 100644 --- a/proto/GetOnlinePlayerInfoReq.proto +++ b/proto/GetOnlinePlayerInfoReq.proto @@ -1,38 +1,23 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetOnlinePlayerInfoReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 90; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum CDCEEHJMAGC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - bool is_online_id = 8; - oneof player_id { - uint32 target_uid = 1; - string online_id = 7; - string psn_id = 4; - } + bool isOnlineId = 3; + oneof PBOENAFIDML { + uint32 target_uid = 4; + string online_id = 10; + string psn_id = 12; + } } diff --git a/proto/GetOnlinePlayerInfoRsp.proto b/proto/GetOnlinePlayerInfoRsp.proto index 4d8ccbbb..cb1c1480 100644 --- a/proto/GetOnlinePlayerInfoRsp.proto +++ b/proto/GetOnlinePlayerInfoRsp.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "OnlinePlayerInfo.proto"; + +import "OnlinePlayerInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message GetOnlinePlayerInfoRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 76; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum JEPFMMKBBBE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 39; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 target_uid = 9; - uint32 param = 3; - OnlinePlayerInfo target_player_info = 6; - int32 retcode = 7; + int32 retcode = 14; + OnlinePlayerInfo targetPlayerInfo = 11; + uint32 targetUid = 3; + uint32 param = 10; } diff --git a/proto/GetOnlinePlayerListReq.proto b/proto/GetOnlinePlayerListReq.proto index f040a12b..584443c7 100644 --- a/proto/GetOnlinePlayerListReq.proto +++ b/proto/GetOnlinePlayerListReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetOnlinePlayerListReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 47; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum IIENHFKEKJB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 70; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/GetOnlinePlayerListRsp.proto b/proto/GetOnlinePlayerListRsp.proto index 50e61c48..96b72fbe 100644 --- a/proto/GetOnlinePlayerListRsp.proto +++ b/proto/GetOnlinePlayerListRsp.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "OnlinePlayerInfo.proto"; + +import "OnlinePlayerInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message GetOnlinePlayerListRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 78; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum JACCPPBBJMH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 62; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 15; - uint32 param = 8; - repeated OnlinePlayerInfo player_info_list = 5; + int32 retcode = 5; + uint32 param = 14; + repeated OnlinePlayerInfo playerInfoList = 9; } diff --git a/proto/GetOpActivityInfoReq.proto b/proto/GetOpActivityInfoReq.proto index 0dd388c2..56bae4c2 100644 --- a/proto/GetOpActivityInfoReq.proto +++ b/proto/GetOpActivityInfoReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetOpActivityInfoReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 5179; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum GNFFNGOBLNN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5105; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/GetOpActivityInfoRsp.proto b/proto/GetOpActivityInfoRsp.proto index c0fb369f..1bf0d3a5 100644 --- a/proto/GetOpActivityInfoRsp.proto +++ b/proto/GetOpActivityInfoRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "OpActivityInfo.proto"; + +import "OpActivityInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message GetOpActivityInfoRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 5130; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum DCNMEGHLADO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5155; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 6; - repeated OpActivityInfo op_activity_info_list = 8; + repeated OpActivityInfo opActivityInfoList = 11; + int32 retcode = 14; } diff --git a/proto/GetParentQuestVideoKeyReq.proto b/proto/GetParentQuestVideoKeyReq.proto index c41b870f..a78a9ad7 100644 --- a/proto/GetParentQuestVideoKeyReq.proto +++ b/proto/GetParentQuestVideoKeyReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetParentQuestVideoKeyReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 449; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum OOGDEGOABBN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 479; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 parent_quest_id = 13; + uint32 parentQuestId = 14; } diff --git a/proto/GetParentQuestVideoKeyRsp.proto b/proto/GetParentQuestVideoKeyRsp.proto index 0a717549..474f5398 100644 --- a/proto/GetParentQuestVideoKeyRsp.proto +++ b/proto/GetParentQuestVideoKeyRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetParentQuestVideoKeyRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 491; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum LIDIFEGCLAB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 427; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 parent_quest_id = 15; - uint64 video_key = 12; - int32 retcode = 4; + uint64 videoKey = 2; + int32 retcode = 9; + uint32 parentQuestId = 11; } diff --git a/proto/GetPlayerAskFriendListReq.proto b/proto/GetPlayerAskFriendListReq.proto index b6daf96f..601d97cb 100644 --- a/proto/GetPlayerAskFriendListReq.proto +++ b/proto/GetPlayerAskFriendListReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetPlayerAskFriendListReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4008; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum ANNFFFNCCFG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4037; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/GetPlayerAskFriendListRsp.proto b/proto/GetPlayerAskFriendListRsp.proto index f8cb1432..139da02c 100644 --- a/proto/GetPlayerAskFriendListRsp.proto +++ b/proto/GetPlayerAskFriendListRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "FriendBrief.proto"; + +import "FriendBrief.proto"; option java_package = "emu.grasscutter.net.proto"; message GetPlayerAskFriendListRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4009; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum GNKBDBAJJCK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4084; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 11; - repeated FriendBrief ask_friend_list = 3; + int32 retcode = 5; + repeated FriendBrief askFriendList = 6; } diff --git a/proto/GetPlayerBlacklistReq.proto b/proto/GetPlayerBlacklistReq.proto new file mode 100644 index 00000000..c6973ca4 --- /dev/null +++ b/proto/GetPlayerBlacklistReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetPlayerBlacklistReq { + enum MOCJADLJDHL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4052; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GetPlayerBlacklistRsp.proto b/proto/GetPlayerBlacklistRsp.proto index 1caa2a3a..99a73b9e 100644 --- a/proto/GetPlayerBlacklistRsp.proto +++ b/proto/GetPlayerBlacklistRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "FriendBrief.proto"; + +import "FriendBrief.proto"; option java_package = "emu.grasscutter.net.proto"; message GetPlayerBlacklistRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4021; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum ELKMJEMLIAB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4003; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated FriendBrief blacklist = 5; - int32 retcode = 11; + int32 retcode = 11; + repeated FriendBrief blacklist = 1; } diff --git a/proto/GetPlayerFriendListReq.proto b/proto/GetPlayerFriendListReq.proto index 3b262757..2d87895b 100644 --- a/proto/GetPlayerFriendListReq.proto +++ b/proto/GetPlayerFriendListReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetPlayerFriendListReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4079; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum IEDLJJFPJGO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4005; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/GetPlayerFriendListRsp.proto b/proto/GetPlayerFriendListRsp.proto index c21ea7c5..43f363a8 100644 --- a/proto/GetPlayerFriendListRsp.proto +++ b/proto/GetPlayerFriendListRsp.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "FriendBrief.proto"; + +import "FriendBrief.proto"; option java_package = "emu.grasscutter.net.proto"; message GetPlayerFriendListRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4030; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum HFBGPENLEBE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4055; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated FriendBrief ask_friend_list = 13; - int32 retcode = 4; - repeated FriendBrief friend_list = 15; + repeated FriendBrief askFriendList = 7; + repeated FriendBrief friendList = 11; + int32 retcode = 12; } diff --git a/proto/GetPlayerHomeCompInfoReq.proto b/proto/GetPlayerHomeCompInfoReq.proto index e50be248..25af4e1b 100644 --- a/proto/GetPlayerHomeCompInfoReq.proto +++ b/proto/GetPlayerHomeCompInfoReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetPlayerHomeCompInfoReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4655; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum EBHHFMACKGF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4807; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/GetPlayerMpModeAvailabilityReq.proto b/proto/GetPlayerMpModeAvailabilityReq.proto new file mode 100644 index 00000000..fa2fb703 --- /dev/null +++ b/proto/GetPlayerMpModeAvailabilityReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetPlayerMpModeAvailabilityReq { + enum BNDFNNIFMNC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1816; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GetPlayerMpModeAvailabilityRsp.proto b/proto/GetPlayerMpModeAvailabilityRsp.proto new file mode 100644 index 00000000..0da3ab46 --- /dev/null +++ b/proto/GetPlayerMpModeAvailabilityRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetPlayerMpModeAvailabilityRsp { + enum KBCKLLMBENM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1825; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 mpRet = 12; + int32 retcode = 3; + repeated uint32 paramList = 7; +} diff --git a/proto/GetPlayerSocialDetailReq.proto b/proto/GetPlayerSocialDetailReq.proto index 81a0be47..f925d6c8 100644 --- a/proto/GetPlayerSocialDetailReq.proto +++ b/proto/GetPlayerSocialDetailReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetPlayerSocialDetailReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4078; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum EKDIHCDGADL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4062; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 uid = 1; + uint32 uid = 14; } diff --git a/proto/GetPlayerSocialDetailRsp.proto b/proto/GetPlayerSocialDetailRsp.proto index c796b05f..505b9492 100644 --- a/proto/GetPlayerSocialDetailRsp.proto +++ b/proto/GetPlayerSocialDetailRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "SocialDetail.proto"; + +import "SocialDetail.proto"; option java_package = "emu.grasscutter.net.proto"; message GetPlayerSocialDetailRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4057; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum GEDIBCNNOHN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4014; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - SocialDetail detail_data = 6; - int32 retcode = 14; + SocialDetail detailData = 15; + int32 retcode = 14; } diff --git a/proto/GetPlayerTokenReq.proto b/proto/GetPlayerTokenReq.proto index dd0c44b8..907a4134 100644 --- a/proto/GetPlayerTokenReq.proto +++ b/proto/GetPlayerTokenReq.proto @@ -1,52 +1,37 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetPlayerTokenReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 179; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum HOJPANHOIDB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 105; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 uid = 10; - uint32 cloud_client_ip = 1735; - uint32 platform_type = 2; - bool is_guest = 14; - string online_id = 12; - uint32 account_type = 6; - uint32 channel_id = 8; - string client_rand_key = 400; - string Unk3300_PHNOHCKIHIA = 3; - uint32 lang = 1548; - string Unk3300_PKONAOIDNFK = 13; - uint32 Unk3300_PMGFBMJNNCL = 1; - string psn_id = 5; - uint32 key_id = 1175; - string account_uid = 4; - string client_ip_str = 15; - string account_token = 9; - string country_code = 11; - string birthday = 292; - uint32 sub_channel_id = 7; + uint32 platformType = 10; + string Unk3300_PHNOHCKIHIA = 6; + string countryCode = 1; + string clientIpStr = 8; + uint32 Unk3300_PMGFBMJNNCL = 13; + uint32 keyId = 294; + string Unk3300_PKONAOIDNFK = 9; + uint32 accountType = 5; + bool isGuest = 14; + uint32 cloudClientIp = 1399; + string birthday = 65; + string onlineId = 12; + uint32 uid = 11; + string clientRandKey = 776; + uint32 subChannelId = 7; + string accountUid = 4; + string accountToken = 2; + string psnId = 15; + uint32 channelId = 3; + uint32 lang = 904; } diff --git a/proto/GetPlayerTokenRsp.proto b/proto/GetPlayerTokenRsp.proto index 3e7ccb94..f71f2471 100644 --- a/proto/GetPlayerTokenRsp.proto +++ b/proto/GetPlayerTokenRsp.proto @@ -1,65 +1,50 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "StopServerInfo.proto"; + +import "bytes.proto"; +import "StopServer.proto"; option java_package = "emu.grasscutter.net.proto"; message GetPlayerTokenRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 130; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum NLINKJJLDME { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 155; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - bytes security_cmd_buffer = 6; - uint32 gm_uid = 7; - bool is_guest = 11; - bool Unk3300_AJBBIPFMBEL = 126; - uint32 key_id = 134; - string sign = 1666; - string secret_key = 15; - uint32 account_type = 8; - uint32 channel_id = 676; - bytes extra_bin_data = 5; - uint64 secret_key_seed = 3; - string token = 13; - string server_rand_key = 1188; - uint32 cloud_client_ip = 1670; - string birthday = 1847; - uint32 tag = 1099; - string client_ip_str = 1382; - uint32 sub_channel_id = 1038; - int32 retcode = 2; - string client_version_random_key = 1152; - string psn_id = 242; - bool is_proficient_player = 9; - uint32 platform_type = 10; - uint32 reg_platform = 646; - StopServerInfo stop_server = 1897; - uint32 black_uid_end_time = 12; - bool Unk3300_CFBHAHOHDKC = 746; - string account_uid = 1; - repeated uint32 finish_collection_id_list = 1766; - string msg = 4; - string country_code = 245; - uint32 uid = 14; + uint32 subChannelId = 891; + string token = 6; + uint32 uid = 1; + string secretKey = 12; + uint32 accountType = 3; + string msg = 10; + bool Unk3300_AJBBIPFMBEL = 661; + bytes securityCmdBuffer = 13; + int32 retcode = 15; + bytes extraBinData = 14; + string clientVersionRandomKey = 1558; + string countryCode = 1960; + uint32 keyId = 2003; + string birthday = 1459; + uint32 gmUid = 5; + uint64 secretKeySeed = 8; + uint32 blackUidEndTime = 2; + uint32 channelId = 1356; + uint32 regPlatform = 1614; + uint32 platformType = 11; + bool isGuest = 4; + repeated uint32 finishCollectionIdList = 1846; + uint32 tag = 1344; + string accountUid = 9; + bool isProficientPlayer = 7; + string sign = 1993; + StopServer stopServer = 347; + string psnId = 1285; + uint32 cloudClientIp = 1481; + string clientIpStr = 64; + string serverRandKey = 1420; + bool Unk3300_CFBHAHOHDKC = 1663; } diff --git a/proto/GetPushTipsRewardReq.proto b/proto/GetPushTipsRewardReq.proto new file mode 100644 index 00000000..c5b2aa62 --- /dev/null +++ b/proto/GetPushTipsRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetPushTipsRewardReq { + enum APEBLJFAICF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2218; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 pushTipsIdList = 7; +} diff --git a/proto/GetPushTipsRewardRsp.proto b/proto/GetPushTipsRewardRsp.proto new file mode 100644 index 00000000..a8417e9d --- /dev/null +++ b/proto/GetPushTipsRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetPushTipsRewardRsp { + enum DHEGGHNEKCF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2275; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 pushTipsIdList = 8; + int32 retcode = 13; +} diff --git a/proto/GetQuestLackingResourceReq.proto b/proto/GetQuestLackingResourceReq.proto index f868cae1..630f6186 100644 --- a/proto/GetQuestLackingResourceReq.proto +++ b/proto/GetQuestLackingResourceReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetQuestLackingResourceReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 453; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum KMBGKEIKACC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 464; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 quest_id = 13; + uint32 questId = 15; } diff --git a/proto/GetQuestLackingResourceRsp.proto b/proto/GetQuestLackingResourceRsp.proto index 4ea4dfd5..0513e018 100644 --- a/proto/GetQuestLackingResourceRsp.proto +++ b/proto/GetQuestLackingResourceRsp.proto @@ -1,37 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetQuestLackingResourceRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 424; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum JEEJAIAHPOD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 483; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - map lacked_place_map = 2; - map lacked_npc_map = 7; - repeated uint32 lacked_place_list = 11; - uint32 quest_id = 3; - int32 retcode = 6; - repeated uint32 lacked_npc_list = 14; + map lackedNpcMap = 3; + int32 retcode = 14; + repeated uint32 lackedPlaceList = 9; + repeated uint32 lackedNpcList = 15; + uint32 questId = 6; + map lackedPlaceMap = 1; } diff --git a/proto/GetQuestTalkHistoryReq.proto b/proto/GetQuestTalkHistoryReq.proto index 9570a343..581efa30 100644 --- a/proto/GetQuestTalkHistoryReq.proto +++ b/proto/GetQuestTalkHistoryReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetQuestTalkHistoryReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 447; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum NHIEMEHDPAF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 470; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 parent_quest_id = 15; + uint32 parentQuestId = 5; } diff --git a/proto/GetQuestTalkHistoryRsp.proto b/proto/GetQuestTalkHistoryRsp.proto index 063d0f55..9d138148 100644 --- a/proto/GetQuestTalkHistoryRsp.proto +++ b/proto/GetQuestTalkHistoryRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetQuestTalkHistoryRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 478; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum BEHDBAADCFF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 462; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 4; - uint32 parent_quest_id = 3; - repeated uint32 talk_id_list = 5; + int32 retcode = 8; + uint32 parentQuestId = 13; + repeated uint32 talkIdList = 7; } diff --git a/proto/GetRecentMpPlayerListReq.proto b/proto/GetRecentMpPlayerListReq.proto new file mode 100644 index 00000000..42886c16 --- /dev/null +++ b/proto/GetRecentMpPlayerListReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetRecentMpPlayerListReq { + enum GINPDAMMMNL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4051; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GetRecentMpPlayerListRsp.proto b/proto/GetRecentMpPlayerListRsp.proto new file mode 100644 index 00000000..aed9b198 --- /dev/null +++ b/proto/GetRecentMpPlayerListRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "FriendBrief.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetRecentMpPlayerListRsp { + enum OLJMFHPBFMK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4042; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + int32 retcode = 14; + repeated FriendBrief recentMpPlayerBriefList = 6; +} diff --git a/proto/GetRecommendCustomDungeonReq.proto b/proto/GetRecommendCustomDungeonReq.proto new file mode 100644 index 00000000..26df9eb7 --- /dev/null +++ b/proto/GetRecommendCustomDungeonReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetRecommendCustomDungeonReq { + enum MMKCPGCIEML { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6210; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isRefresh = 6; +} diff --git a/proto/GetRecommendCustomDungeonRsp.proto b/proto/GetRecommendCustomDungeonRsp.proto new file mode 100644 index 00000000..e41b04b4 --- /dev/null +++ b/proto/GetRecommendCustomDungeonRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "OtherCustomDungeonBrief.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetRecommendCustomDungeonRsp { + enum OHGNEBJNACG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6206; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated OtherCustomDungeonBrief customDungeonList = 10; + int32 retcode = 12; +} diff --git a/proto/GetRegionSearchReq.proto b/proto/GetRegionSearchReq.proto index da5d049e..13c76293 100644 --- a/proto/GetRegionSearchReq.proto +++ b/proto/GetRegionSearchReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetRegionSearchReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 5627; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum KCGHKPFHPJG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5619; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/GetReunionMissionInfoReq.proto b/proto/GetReunionMissionInfoReq.proto new file mode 100644 index 00000000..f6302790 --- /dev/null +++ b/proto/GetReunionMissionInfoReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetReunionMissionInfoReq { + enum CDAEGIGJJLC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5066; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 missionId = 8; +} diff --git a/proto/GetReunionMissionInfoRsp.proto b/proto/GetReunionMissionInfoRsp.proto new file mode 100644 index 00000000..4140f51c --- /dev/null +++ b/proto/GetReunionMissionInfoRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "ReunionMissionInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetReunionMissionInfoRsp { + enum ADIMHOGLJNH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5075; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + ReunionMissionInfo missionInfo = 4; + int32 retcode = 15; +} diff --git a/proto/GetReunionPrivilegeInfoReq.proto b/proto/GetReunionPrivilegeInfoReq.proto new file mode 100644 index 00000000..1f517b18 --- /dev/null +++ b/proto/GetReunionPrivilegeInfoReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetReunionPrivilegeInfoReq { + enum PPPDFHOIHCO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5057; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 privilegeId = 4; +} diff --git a/proto/GetReunionPrivilegeInfoRsp.proto b/proto/GetReunionPrivilegeInfoRsp.proto new file mode 100644 index 00000000..adcaa6c1 --- /dev/null +++ b/proto/GetReunionPrivilegeInfoRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "ReunionPrivilegeInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetReunionPrivilegeInfoRsp { + enum PFCEOPKKNAE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5065; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 15; + ReunionPrivilegeInfo privilegeInfo = 14; +} diff --git a/proto/GetReunionSignInInfoReq.proto b/proto/GetReunionSignInInfoReq.proto new file mode 100644 index 00000000..6b11e59c --- /dev/null +++ b/proto/GetReunionSignInInfoReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetReunionSignInInfoReq { + enum CACNAELPCOC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5069; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 signInConfigId = 8; +} diff --git a/proto/GetReunionSignInInfoRsp.proto b/proto/GetReunionSignInInfoRsp.proto new file mode 100644 index 00000000..82b92a7f --- /dev/null +++ b/proto/GetReunionSignInInfoRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "ReunionSignInInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetReunionSignInInfoRsp { + enum NMIPECFCKPH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5093; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; + ReunionSignInInfo signInInfo = 4; +} diff --git a/proto/GetRogueDairyRepairInfoReq.proto b/proto/GetRogueDairyRepairInfoReq.proto new file mode 100644 index 00000000..f051b36e --- /dev/null +++ b/proto/GetRogueDairyRepairInfoReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetRogueDairyRepairInfoReq { + enum MKDPIDAAHGA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8988; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GetRogueDairyRepairInfoRsp.proto b/proto/GetRogueDairyRepairInfoRsp.proto new file mode 100644 index 00000000..5b5bf433 --- /dev/null +++ b/proto/GetRogueDairyRepairInfoRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetRogueDairyRepairInfoRsp { + enum NGMDAEBGGMC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8881; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 9; +} diff --git a/proto/GetSceneAreaReq.proto b/proto/GetSceneAreaReq.proto index a9afe0b1..313364c8 100644 --- a/proto/GetSceneAreaReq.proto +++ b/proto/GetSceneAreaReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetSceneAreaReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 289; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum PGIBAKBFMPG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 288; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 scene_id = 1; - uint32 belong_uid = 6; + uint32 sceneId = 6; + uint32 belongUid = 5; } diff --git a/proto/GetSceneAreaRsp.proto b/proto/GetSceneAreaRsp.proto index 0cb7b466..f0e174d7 100644 --- a/proto/GetSceneAreaRsp.proto +++ b/proto/GetSceneAreaRsp.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "CityInfo.proto"; + +import "CityInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message GetSceneAreaRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 244; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum GGJHHIPJNMJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 225; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 scene_id = 8; - int32 retcode = 1; - repeated uint32 area_id_list = 15; - repeated CityInfo city_info_list = 9; + repeated uint32 areaIdList = 11; + int32 retcode = 6; + repeated CityInfo cityInfoList = 14; + uint32 sceneId = 2; } diff --git a/proto/GetSceneNpcPositionReq.proto b/proto/GetSceneNpcPositionReq.proto new file mode 100644 index 00000000..5b2601d2 --- /dev/null +++ b/proto/GetSceneNpcPositionReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetSceneNpcPositionReq { + enum HKAKJPNGPHL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 598; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 sceneId = 8; + repeated uint32 npcIdList = 1; +} diff --git a/proto/GetSceneNpcPositionRsp.proto b/proto/GetSceneNpcPositionRsp.proto new file mode 100644 index 00000000..19ea2a1b --- /dev/null +++ b/proto/GetSceneNpcPositionRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "NpcPositionInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetSceneNpcPositionRsp { + enum LDHILMOFPKI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 520; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 sceneId = 13; + repeated NpcPositionInfo npcInfoList = 6; + int32 retcode = 3; +} diff --git a/proto/GetScenePerformanceReq.proto b/proto/GetScenePerformanceReq.proto new file mode 100644 index 00000000..9574c83d --- /dev/null +++ b/proto/GetScenePerformanceReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetScenePerformanceReq { + enum MNJOFANKDHD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3494; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GetScenePerformanceRsp.proto b/proto/GetScenePerformanceRsp.proto new file mode 100644 index 00000000..e7bbfc73 --- /dev/null +++ b/proto/GetScenePerformanceRsp.proto @@ -0,0 +1,26 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetScenePerformanceRsp { + enum HGHLLLEJGAM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3336; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 Unk3300_GLNFIFPNJIE = 7; + uint32 Unk3300_MIJMKLBGKML = 3; + int32 retcode = 1; + uint32 Unk3300_PDPJEMEKHKD = 10; + uint32 Unk3300_JMLJLNKLJNP = 8; + Rotation pos = 15; + uint32 Unk3300_IHBPCPCJIBC = 11; + uint32 Unk3300_LIOFGAHKNIA = 13; + uint32 Unk3300_MMALJIFDKJK = 12; +} diff --git a/proto/GetScenePointReq.proto b/proto/GetScenePointReq.proto index 3f10c60e..1d6f4a70 100644 --- a/proto/GetScenePointReq.proto +++ b/proto/GetScenePointReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetScenePointReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 299; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum INCOMKHOKIP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 216; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 scene_id = 13; - uint32 belong_uid = 5; + uint32 sceneId = 15; + uint32 belongUid = 3; } diff --git a/proto/GetScenePointRsp.proto b/proto/GetScenePointRsp.proto index 388af62d..89416ad7 100644 --- a/proto/GetScenePointRsp.proto +++ b/proto/GetScenePointRsp.proto @@ -1,43 +1,28 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetScenePointRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 225; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum FJBIDFAAFJK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 213; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 unlock_area_list = 9; - repeated uint32 locked_point_list = 15; - int32 retcode = 13; - repeated uint32 unhide_point_list = 3; - repeated uint32 hide_point_list = 10; - repeated uint32 group_unlimit_point_list = 1; - repeated uint32 not_interact_dungeon_entry_list = 11; - repeated uint32 to_be_explore_dungeon_entry_list = 6; - repeated uint32 not_explored_dungeon_entry_list = 7; - uint32 belong_uid = 12; - repeated uint32 unlocked_point_list = 2; - uint32 scene_id = 8; + repeated uint32 lockedPointList = 7; + repeated uint32 notInteractDungeonEntryList = 10; + int32 retcode = 2; + repeated uint32 toBeExploreDungeonEntryList = 13; + uint32 belongUid = 6; + repeated uint32 hidePointList = 3; + repeated uint32 unlockAreaList = 9; + repeated uint32 unlockedPointList = 12; + repeated uint32 notExploredDungeonEntryList = 4; + repeated uint32 unhidePointList = 5; + uint32 sceneId = 14; + repeated uint32 groupUnlimitPointList = 1; } diff --git a/proto/GetShopReq.proto b/proto/GetShopReq.proto index bd895c28..b5d239e4 100644 --- a/proto/GetShopReq.proto +++ b/proto/GetShopReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetShopReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 779; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum OBCAEPEACBM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 705; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 shop_type = 9; + uint32 shopType = 5; } diff --git a/proto/GetShopRsp.proto b/proto/GetShopRsp.proto index 7f310f00..92345e4b 100644 --- a/proto/GetShopRsp.proto +++ b/proto/GetShopRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Shop.proto"; + +import "Shop.proto"; option java_package = "emu.grasscutter.net.proto"; message GetShopRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 730; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum KNOFNDBCJKL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 755; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 1; - Shop shop = 8; + Shop shop = 10; + int32 retcode = 13; } diff --git a/proto/GetShopmallDataReq.proto b/proto/GetShopmallDataReq.proto index 7af88d88..fafac53e 100644 --- a/proto/GetShopmallDataReq.proto +++ b/proto/GetShopmallDataReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetShopmallDataReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 800; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum IJEIALAGPEJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 720; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/GetShopmallDataRsp.proto b/proto/GetShopmallDataRsp.proto index f3053221..096a6df2 100644 --- a/proto/GetShopmallDataRsp.proto +++ b/proto/GetShopmallDataRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetShopmallDataRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 743; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum BOEFCOMLKMF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 774; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 2; - repeated uint32 shop_type_list = 7; + repeated uint32 shopTypeList = 10; + int32 retcode = 3; } diff --git a/proto/GetSignInRewardReq.proto b/proto/GetSignInRewardReq.proto new file mode 100644 index 00000000..52250eae --- /dev/null +++ b/proto/GetSignInRewardReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetSignInRewardReq { + enum MLKPHBMDDPA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2520; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 scheduleId = 13; + uint32 rewardDay = 8; +} diff --git a/proto/GetSignInRewardRsp.proto b/proto/GetSignInRewardRsp.proto new file mode 100644 index 00000000..e5c9507c --- /dev/null +++ b/proto/GetSignInRewardRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "SignInInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetSignInRewardRsp { + enum CDBCCPFGGON { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2574; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 7; + SignInInfo signInInfo = 13; +} diff --git a/proto/GetStoreCustomDungeonReq.proto b/proto/GetStoreCustomDungeonReq.proto new file mode 100644 index 00000000..138c9a80 --- /dev/null +++ b/proto/GetStoreCustomDungeonReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GetStoreCustomDungeonReq { + enum KPBJDCOGNLA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6248; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GetStoreCustomDungeonRsp.proto b/proto/GetStoreCustomDungeonRsp.proto new file mode 100644 index 00000000..bc69cf5e --- /dev/null +++ b/proto/GetStoreCustomDungeonRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "OtherCustomDungeonBrief.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetStoreCustomDungeonRsp { + enum JBMEBJFDOLE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6212; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated OtherCustomDungeonBrief customDungeonList = 1; + int32 retcode = 10; +} diff --git a/proto/GetUgcBriefInfoReq.proto b/proto/GetUgcBriefInfoReq.proto new file mode 100644 index 00000000..d98a64c3 --- /dev/null +++ b/proto/GetUgcBriefInfoReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "UgcType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetUgcBriefInfoReq { + enum CIFODABEJMB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6346; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + UgcType ugcType = 10; + uint64 ugcGuid = 11; +} diff --git a/proto/GetUgcBriefInfoRsp.proto b/proto/GetUgcBriefInfoRsp.proto new file mode 100644 index 00000000..6364cde4 --- /dev/null +++ b/proto/GetUgcBriefInfoRsp.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; + + + +import "UgcType.proto"; +import "MusicBriefInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GetUgcBriefInfoRsp { + enum FEOCBIBAOAK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6341; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint64 ugcGuid = 15; + UgcType ugcType = 9; + int32 retcode = 1; + oneof ODGCKIFHHNP { + MusicBriefInfo music_brief_info = 8; + } +} diff --git a/proto/GetUgcReq.proto b/proto/GetUgcReq.proto index 6fec55b6..539929f8 100644 --- a/proto/GetUgcReq.proto +++ b/proto/GetUgcReq.proto @@ -1,41 +1,25 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "GetUgcType.proto"; -import "RecordUsage.proto"; -import "UgcType.proto"; + +import "RecordUsage.proto"; +import "GetUgcType.proto"; +import "UgcType.proto"; option java_package = "emu.grasscutter.net.proto"; message GetUgcReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 6342; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum POPGKJNIMPG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6338; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint64 ugc_guid = 6; - UgcType ugc_type = 2; - GetUgcType get_ugc_type = 12; - RecordUsage ugc_record_usage = 13; - bool is_require_brief = 7; + RecordUsage ugcRecordUsage = 8; + GetUgcType getUgcType = 10; + uint64 ugcGuid = 15; + UgcType ugcType = 2; + bool isRequireBrief = 5; } diff --git a/proto/GetUgcRsp.proto b/proto/GetUgcRsp.proto index ccafa9e7..8451a60f 100644 --- a/proto/GetUgcRsp.proto +++ b/proto/GetUgcRsp.proto @@ -1,46 +1,26 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "RecordUsage.proto"; -import "UgcMusicBriefInfo.proto"; -import "UgcMusicRecord.proto"; -import "UgcType.proto"; + +import "UgcType.proto"; +import "RecordUsage.proto"; +import "MusicRecord.proto"; option java_package = "emu.grasscutter.net.proto"; message GetUgcRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 6341; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum PNOAIKJGEMO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6345; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 10; - RecordUsage ugc_record_usage = 5; - UgcType ugc_type = 6; - uint64 ugc_guid = 3; - oneof record { - UgcMusicRecord music_record = 2; - } - oneof brief { - UgcMusicBriefInfo music_brief_info = 1540; - } + UgcType ugcType = 12; + int32 retcode = 8; + RecordUsage ugcRecordUsage = 7; + uint64 ugcGuid = 9; + oneof KJLNEMBPDOF { + MusicRecord music_record = 1; + } } diff --git a/proto/GetUgcType.proto b/proto/GetUgcType.proto index 7083f9d7..ff69c1f3 100644 --- a/proto/GetUgcType.proto +++ b/proto/GetUgcType.proto @@ -1,26 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum GetUgcType { - GET_UGC_TYPE_NONE = 0; - GET_UGC_TYPE_MINE = 1; - GET_UGC_TYPE_PUBLISH = 2; + GET_UGC_TYPE_NONE = 0; + GET_UGC_TYPE_MINE = 1; + GET_UGC_TYPE_PUBLISH = 2; } diff --git a/proto/GetWidgetSlotReq.proto b/proto/GetWidgetSlotReq.proto index 98096ed4..49f1c85b 100644 --- a/proto/GetWidgetSlotReq.proto +++ b/proto/GetWidgetSlotReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetWidgetSlotReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4274; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum JICEMMHLBKN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4277; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/GetWidgetSlotRsp.proto b/proto/GetWidgetSlotRsp.proto index 14f94238..8640d2ec 100644 --- a/proto/GetWidgetSlotRsp.proto +++ b/proto/GetWidgetSlotRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "WidgetSlotData.proto"; + +import "WidgetSlotData.proto"; option java_package = "emu.grasscutter.net.proto"; message GetWidgetSlotRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4270; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum FAKNLMKHILB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4263; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated WidgetSlotData slot_list = 3; - int32 retcode = 10; + int32 retcode = 15; + repeated WidgetSlotData slotList = 13; } diff --git a/proto/GetWorldMpInfoReq.proto b/proto/GetWorldMpInfoReq.proto index 3f36196b..df25ce3c 100644 --- a/proto/GetWorldMpInfoReq.proto +++ b/proto/GetWorldMpInfoReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetWorldMpInfoReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 3034; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum APNHHICNAFC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3269; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/GetWorldMpInfoRsp.proto b/proto/GetWorldMpInfoRsp.proto index b11edbf4..66fbe7ce 100644 --- a/proto/GetWorldMpInfoRsp.proto +++ b/proto/GetWorldMpInfoRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GetWorldMpInfoRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 3310; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum OFKMCAOPPNI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3320; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 quit_mp_valid_time = 15; - int32 retcode = 1; - bool is_in_mp_mode = 14; + int32 retcode = 12; + bool isInMpMode = 11; + uint32 quitMpValidTime = 15; } diff --git a/proto/GiveUpRoguelikeDungeonCardReq.proto b/proto/GiveUpRoguelikeDungeonCardReq.proto new file mode 100644 index 00000000..7d1580e1 --- /dev/null +++ b/proto/GiveUpRoguelikeDungeonCardReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GiveUpRoguelikeDungeonCardReq { + enum ILIIDIBJGCL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8131; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/GiveUpRoguelikeDungeonCardRsp.proto b/proto/GiveUpRoguelikeDungeonCardRsp.proto new file mode 100644 index 00000000..a8f5aa32 --- /dev/null +++ b/proto/GiveUpRoguelikeDungeonCardRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GiveUpRoguelikeDungeonCardRsp { + enum HNFIBGOGJEH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8024; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 9; +} diff --git a/proto/GivingRecord.proto b/proto/GivingRecord.proto new file mode 100644 index 00000000..609c151c --- /dev/null +++ b/proto/GivingRecord.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GivingRecord { + bool isGadgetGiving = 6; + uint32 groupId = 14; + uint32 givingId = 4; + uint32 configId = 7; + uint32 lastGroupId = 8; + bool isFinished = 1; + map materialCountMap = 10; +} diff --git a/proto/GivingRecordChangeNotify.proto b/proto/GivingRecordChangeNotify.proto new file mode 100644 index 00000000..ce0ae8a0 --- /dev/null +++ b/proto/GivingRecordChangeNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "GivingRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GivingRecordChangeNotify { + enum IKNGLHNBOJL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 167; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + GivingRecord givingRecord = 8; + bool isDeactive = 4; +} diff --git a/proto/GivingRecordNotify.proto b/proto/GivingRecordNotify.proto new file mode 100644 index 00000000..b35fa6ff --- /dev/null +++ b/proto/GivingRecordNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "GivingRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GivingRecordNotify { + enum OKLEJAHFDIN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 195; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated GivingRecord givingRecordList = 4; +} diff --git a/proto/GlobalBuildingInfoNotify.proto b/proto/GlobalBuildingInfoNotify.proto new file mode 100644 index 00000000..7376545d --- /dev/null +++ b/proto/GlobalBuildingInfoNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "BuildingInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GlobalBuildingInfoNotify { + enum NCHBAFAIALK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5389; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 maxNum = 4; + uint32 currentNum = 8; + repeated BuildingInfo buildingList = 3; +} diff --git a/proto/GmTalkNotify.proto b/proto/GmTalkNotify.proto new file mode 100644 index 00000000..9bcb027f --- /dev/null +++ b/proto/GmTalkNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GmTalkNotify { + enum MNKOPGHEBCI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 75; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + string msg = 2; +} diff --git a/proto/GmTalkReq.proto b/proto/GmTalkReq.proto new file mode 100644 index 00000000..2b0a02ae --- /dev/null +++ b/proto/GmTalkReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GmTalkReq { + enum LEJCHNNIKFN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 55; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + string msg = 7; +} diff --git a/proto/GmTalkRsp.proto b/proto/GmTalkRsp.proto new file mode 100644 index 00000000..109f0a24 --- /dev/null +++ b/proto/GmTalkRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GmTalkRsp { + enum LHEIGJGJHDC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 87; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + string retmsg = 3; + int32 retcode = 7; + string msg = 5; +} diff --git a/proto/GrantRewardNotify.proto b/proto/GrantRewardNotify.proto new file mode 100644 index 00000000..5b82e770 --- /dev/null +++ b/proto/GrantRewardNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "Reward.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GrantRewardNotify { + enum BFENGPLCEJE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 622; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + Reward reward = 10; +} diff --git a/proto/GrassInfo.proto b/proto/GrassInfo.proto new file mode 100644 index 00000000..1d34df7c --- /dev/null +++ b/proto/GrassInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GrassInfo { + uint32 id = 1; + Rotation center = 2; + Rotation size = 3; +} diff --git a/proto/GravenInnocenceCampInfo.proto b/proto/GravenInnocenceCampInfo.proto index 724cef83..c7c64318 100644 --- a/proto/GravenInnocenceCampInfo.proto +++ b/proto/GravenInnocenceCampInfo.proto @@ -1,26 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "GravenInnocenceCampStageInfo.proto"; + +import "GravenInnocenceCampStageInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message GravenInnocenceCampInfo { - repeated GravenInnocenceCampStageInfo stage_info_list = 14; + repeated GravenInnocenceCampStageInfo stageInfoList = 4; } diff --git a/proto/GravenInnocenceCampStageInfo.proto b/proto/GravenInnocenceCampStageInfo.proto index 3f1420ee..e472e046 100644 --- a/proto/GravenInnocenceCampStageInfo.proto +++ b/proto/GravenInnocenceCampStageInfo.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GravenInnocenceCampStageInfo { - bool is_open = 11; - bool is_finished = 6; - uint32 level_id = 7; - uint32 stage_id = 3; + bool isOpen = 8; + uint32 stageId = 14; + bool isFinished = 13; + uint32 levelId = 12; } diff --git a/proto/GravenInnocenceCarveInfo.proto b/proto/GravenInnocenceCarveInfo.proto index b9703153..9e6e5337 100644 --- a/proto/GravenInnocenceCarveInfo.proto +++ b/proto/GravenInnocenceCarveInfo.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "GravenInnocenceCarveStageInfo.proto"; + +import "GravenInnocenceCarveStageInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message GravenInnocenceCarveInfo { - uint32 can_edit_count = 8; - repeated uint32 has_edit_config_id_list = 12; - repeated GravenInnocenceCarveStageInfo stage_info_list = 2; + repeated uint32 hasEditConfigIdList = 12; + uint32 canEditCount = 15; + repeated GravenInnocenceCarveStageInfo stageInfoList = 4; } diff --git a/proto/GravenInnocenceCarveStageInfo.proto b/proto/GravenInnocenceCarveStageInfo.proto index 5a88e8c0..e3cbf92c 100644 --- a/proto/GravenInnocenceCarveStageInfo.proto +++ b/proto/GravenInnocenceCarveStageInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GravenInnocenceCarveStageInfo { - bool is_open = 8; - uint32 stage_id = 10; + bool isOpen = 12; + uint32 stageId = 2; } diff --git a/proto/GravenInnocenceDetailInfo.proto b/proto/GravenInnocenceDetailInfo.proto index 771daa9e..b24eb573 100644 --- a/proto/GravenInnocenceDetailInfo.proto +++ b/proto/GravenInnocenceDetailInfo.proto @@ -22,6 +22,7 @@ import "GravenInnocenceCarveInfo.proto"; import "GravenInnocencePhotoInfo.proto"; import "GravenInnocenceRaceInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message GravenInnocenceDetailInfo { diff --git a/proto/GravenInnocenceEditCarveCombinationReq.proto b/proto/GravenInnocenceEditCarveCombinationReq.proto new file mode 100644 index 00000000..6cb751e5 --- /dev/null +++ b/proto/GravenInnocenceEditCarveCombinationReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "CustomGadgetTreeInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GravenInnocenceEditCarveCombinationReq { + enum OGPPNOHCCAM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23125; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + CustomGadgetTreeInfo combinationInfo = 15; + uint32 entityId = 5; +} diff --git a/proto/GravenInnocenceEditCarveCombinationRsp.proto b/proto/GravenInnocenceEditCarveCombinationRsp.proto new file mode 100644 index 00000000..610c6ac3 --- /dev/null +++ b/proto/GravenInnocenceEditCarveCombinationRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GravenInnocenceEditCarveCombinationRsp { + enum NEOPKKDJALE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 24700; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 1; +} diff --git a/proto/GravenInnocenceInfo.proto b/proto/GravenInnocenceInfo.proto new file mode 100644 index 00000000..080df856 --- /dev/null +++ b/proto/GravenInnocenceInfo.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +import "GravenInnocenceCarveInfo.proto"; +import "GravenInnocencePhotoInfo.proto"; +import "GravenInnocenceRaceInfo.proto"; +import "GravenInnocenceCampInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GravenInnocenceInfo { + GravenInnocenceCarveInfo carveInfo = 12; + GravenInnocencePhotoInfo photoInfo = 5; + GravenInnocenceRaceInfo raceInfo = 13; + bool leftMonsters = 8; + GravenInnocenceCampInfo campInfo = 11; +} diff --git a/proto/GravenInnocencePhotoFinishReq.proto b/proto/GravenInnocencePhotoFinishReq.proto new file mode 100644 index 00000000..5bd7408d --- /dev/null +++ b/proto/GravenInnocencePhotoFinishReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GravenInnocencePhotoFinishReq { + enum NDBMIJAJMLB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23521; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 param = 9; + uint32 objectId = 3; +} diff --git a/proto/GravenInnocencePhotoFinishRsp.proto b/proto/GravenInnocencePhotoFinishRsp.proto new file mode 100644 index 00000000..dfadbe8b --- /dev/null +++ b/proto/GravenInnocencePhotoFinishRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GravenInnocencePhotoFinishRsp { + enum DPEEEFFDLIH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 22592; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; + uint32 objectId = 5; + uint32 param = 11; +} diff --git a/proto/GravenInnocencePhotoInfo.proto b/proto/GravenInnocencePhotoInfo.proto index 94fd416f..fd280720 100644 --- a/proto/GravenInnocencePhotoInfo.proto +++ b/proto/GravenInnocencePhotoInfo.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "GravenInnocencePhotoObjectInfo.proto"; import "GravenInnocencePhotoStageInfo.proto"; - option java_package = "emu.grasscutter.net.proto"; message GravenInnocencePhotoInfo { - repeated GravenInnocencePhotoStageInfo stage_info_list = 3; - repeated GravenInnocencePhotoObjectInfo object_info_list = 15; + repeated GravenInnocencePhotoObjectInfo objectInfoList = 10; + repeated GravenInnocencePhotoStageInfo stageInfoList = 3; } diff --git a/proto/GravenInnocencePhotoObjectInfo.proto b/proto/GravenInnocencePhotoObjectInfo.proto index 228b0759..c2fb397f 100644 --- a/proto/GravenInnocencePhotoObjectInfo.proto +++ b/proto/GravenInnocencePhotoObjectInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GravenInnocencePhotoObjectInfo { - uint32 object_id = 4; - uint32 param = 15; - uint32 finish_time = 10; + uint32 param = 15; + uint32 finishTime = 10; + uint32 objectId = 1; } diff --git a/proto/GravenInnocencePhotoReminderNotify.proto b/proto/GravenInnocencePhotoReminderNotify.proto new file mode 100644 index 00000000..a0863b53 --- /dev/null +++ b/proto/GravenInnocencePhotoReminderNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GravenInnocencePhotoReminderNotify { + enum PBOIDLBBNDM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20385; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 reminderId = 9; + uint32 groupBundleId = 11; +} diff --git a/proto/GravenInnocencePhotoStageInfo.proto b/proto/GravenInnocencePhotoStageInfo.proto index 6e9f41f8..b1440a23 100644 --- a/proto/GravenInnocencePhotoStageInfo.proto +++ b/proto/GravenInnocencePhotoStageInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GravenInnocencePhotoStageInfo { - uint32 stage_id = 11; - bool is_open = 10; - bool is_finished = 8; + uint32 stageId = 12; + bool isFinished = 5; + bool isOpen = 13; } diff --git a/proto/GravenInnocenceRaceInfo.proto b/proto/GravenInnocenceRaceInfo.proto index 5bd126fa..26dd0fa6 100644 --- a/proto/GravenInnocenceRaceInfo.proto +++ b/proto/GravenInnocenceRaceInfo.proto @@ -1,26 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "GravenInnocenceRaceLevelInfo.proto"; + +import "GravenInnocenceRaceLevelInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message GravenInnocenceRaceInfo { - repeated GravenInnocenceRaceLevelInfo level_info_list = 9; + repeated GravenInnocenceRaceLevelInfo levelInfoList = 7; } diff --git a/proto/GravenInnocenceRaceLevelInfo.proto b/proto/GravenInnocenceRaceLevelInfo.proto index dcbd6d45..d6ad6e40 100644 --- a/proto/GravenInnocenceRaceLevelInfo.proto +++ b/proto/GravenInnocenceRaceLevelInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GravenInnocenceRaceLevelInfo { - uint32 level_id = 12; - uint32 max_score = 5; - bool is_open = 2; + uint32 levelId = 7; + bool isOpen = 13; + uint32 maxScore = 15; } diff --git a/proto/GravenInnocenceRaceRestartReq.proto b/proto/GravenInnocenceRaceRestartReq.proto new file mode 100644 index 00000000..f4374970 --- /dev/null +++ b/proto/GravenInnocenceRaceRestartReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GravenInnocenceRaceRestartReq { + enum CPHGIADDHJP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21280; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 galleryId = 9; +} diff --git a/proto/GravenInnocenceRaceRestartRsp.proto b/proto/GravenInnocenceRaceRestartRsp.proto new file mode 100644 index 00000000..a61d3a3c --- /dev/null +++ b/proto/GravenInnocenceRaceRestartRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GravenInnocenceRaceRestartRsp { + enum KALBMOGIAAD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 24627; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 12; + uint32 galleryId = 8; +} diff --git a/proto/GravenInnocenceRaceSettleNotify.proto b/proto/GravenInnocenceRaceSettleNotify.proto new file mode 100644 index 00000000..6761a94e --- /dev/null +++ b/proto/GravenInnocenceRaceSettleNotify.proto @@ -0,0 +1,27 @@ +syntax = "proto3"; + + + +import "GalleryStopReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GravenInnocenceRaceSettleNotify { + enum GECMEJKBGJK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20447; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 score = 6; + bool isNewRecord = 11; + bool isSuccess = 1; + uint32 Unk3300_OHAHHKNAJKL = 13; + GalleryStopReason reason = 9; + uint32 Unk3300_IPGJKKFDPJJ = 8; + uint32 galleryId = 14; + uint32 remainTime = 12; + uint32 Unk3300_BOIPHOPMHJM = 3; + uint32 levelId = 2; +} diff --git a/proto/GroupLinkAllNotify.proto b/proto/GroupLinkAllNotify.proto new file mode 100644 index 00000000..8d8a3b8d --- /dev/null +++ b/proto/GroupLinkAllNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "GroupLinkBundle.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GroupLinkAllNotify { + enum BDILAGKCMKP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5788; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated GroupLinkBundle bundleList = 15; +} diff --git a/proto/GroupLinkBundle.proto b/proto/GroupLinkBundle.proto new file mode 100644 index 00000000..ce8a0d07 --- /dev/null +++ b/proto/GroupLinkBundle.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GroupLinkBundle { + bool isActivated = 7; + Rotation center = 6; + uint32 sceneId = 8; + uint32 radius = 13; + bool isShowMark = 12; + uint32 bundleId = 9; +} diff --git a/proto/GroupLinkChangeNotify.proto b/proto/GroupLinkChangeNotify.proto new file mode 100644 index 00000000..3cf1b69f --- /dev/null +++ b/proto/GroupLinkChangeNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "GroupLinkBundle.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GroupLinkChangeNotify { + enum MPNFEFPIIGN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5795; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + GroupLinkBundle bundle = 2; +} diff --git a/proto/GroupLinkDeleteNotify.proto b/proto/GroupLinkDeleteNotify.proto new file mode 100644 index 00000000..7503b134 --- /dev/null +++ b/proto/GroupLinkDeleteNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GroupLinkDeleteNotify { + enum NGNAEJCFILC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5796; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 bundleId = 13; +} diff --git a/proto/GroupLinkMarkUpdateNotify.proto b/proto/GroupLinkMarkUpdateNotify.proto new file mode 100644 index 00000000..6e6207d7 --- /dev/null +++ b/proto/GroupLinkMarkUpdateNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "GroupLinkBundle.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message GroupLinkMarkUpdateNotify { + enum CCBOLMHNDGO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5791; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + GroupLinkBundle bundle = 7; +} diff --git a/proto/GroupSuiteNotify.proto b/proto/GroupSuiteNotify.proto index 6a8ef4aa..39d99287 100644 --- a/proto/GroupSuiteNotify.proto +++ b/proto/GroupSuiteNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GroupSuiteNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 3489; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum CABLEKMACEB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3115; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - map group_map = 4; + map groupMap = 12; } diff --git a/proto/GroupUnloadNotify.proto b/proto/GroupUnloadNotify.proto index c9c314f8..d28117ff 100644 --- a/proto/GroupUnloadNotify.proto +++ b/proto/GroupUnloadNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message GroupUnloadNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 3138; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MEIILILBNFF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3144; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 group_list = 6; + repeated uint32 groupList = 6; } diff --git a/proto/GuestBeginEnterSceneNotify.proto b/proto/GuestBeginEnterSceneNotify.proto new file mode 100644 index 00000000..96ffb703 --- /dev/null +++ b/proto/GuestBeginEnterSceneNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GuestBeginEnterSceneNotify { + enum PAECOAAHNAK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3490; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 uid = 4; + uint32 sceneId = 9; +} diff --git a/proto/GuestPostEnterSceneNotify.proto b/proto/GuestPostEnterSceneNotify.proto new file mode 100644 index 00000000..79fad00a --- /dev/null +++ b/proto/GuestPostEnterSceneNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message GuestPostEnterSceneNotify { + enum APJNMBJGNHN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3292; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 sceneId = 12; + uint32 uid = 5; +} diff --git a/proto/H5ActivityIdsNotify.proto b/proto/H5ActivityIdsNotify.proto index 414bc69f..233e23f0 100644 --- a/proto/H5ActivityIdsNotify.proto +++ b/proto/H5ActivityIdsNotify.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message H5ActivityIdsNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 5672; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum GKKOHIHBIMF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5696; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 client_red_dot_timestamp = 5; - map h5_activity_map = 12; + map h5ActivityMap = 15; + uint32 clientRedDotTimestamp = 1; } diff --git a/proto/H5ActivityInfo.proto b/proto/H5ActivityInfo.proto index 9c331d4e..4d4d9b84 100644 --- a/proto/H5ActivityInfo.proto +++ b/proto/H5ActivityInfo.proto @@ -1,31 +1,16 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message H5ActivityInfo { - bool is_entrance_open = 2; - uint32 Unk3300_OBKEBDCKHJF = 1; - uint32 Unk3300_DMBNFECAKBH = 14; - uint32 content_close_time = 4; - string url = 3; - string prefab_path = 15; - uint32 begin_time = 5; - uint32 end_time = 7; + string prefabPath = 13; + uint32 contentCloseTime = 1; + bool isEntranceOpen = 6; + uint32 endTime = 11; + uint32 Unk3300_DMBNFECAKBH = 4; + uint32 beginTime = 8; + string url = 3; + uint32 Unk3300_OBKEBDCKHJF = 9; } diff --git a/proto/HBMJGJEADEH.proto b/proto/HBMJGJEADEH.proto new file mode 100644 index 00000000..ef14f230 --- /dev/null +++ b/proto/HBMJGJEADEH.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HBMJGJEADEH { + float lfpempoopmd = 2; + float dfadhemafpn = 8; + bool ibbkobjieeg = 12; + float gookfcglmjd = 13; + uint32 bhgooledknh = 15; + uint32 ilodbmpgegj = 1; +} diff --git a/proto/HCAMGIDEAFE.proto b/proto/HCAMGIDEAFE.proto new file mode 100644 index 00000000..b164595b --- /dev/null +++ b/proto/HCAMGIDEAFE.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HCAMGIDEAFE { + uint32 bestScore = 6; + bool isOpen = 1; + uint32 stageId = 2; +} diff --git a/proto/HEHODLHCPEL.proto b/proto/HEHODLHCPEL.proto new file mode 100644 index 00000000..4d2f16e3 --- /dev/null +++ b/proto/HEHODLHCPEL.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HEHODLHCPEL { + uint32 entityId = 10; + Rotation glbmapjdhpc = 5; + Rotation gnanpemiogh = 9; +} diff --git a/proto/HFDGDGLGEEE.proto b/proto/HFDGDGLGEEE.proto new file mode 100644 index 00000000..d2a407c2 --- /dev/null +++ b/proto/HFDGDGLGEEE.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "GMJDGJIDDCI.proto"; +import "GJPHKJFFMOM.proto"; +import "LLIJLJFHGBD.proto"; +import "PLDKICHAHEB.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HFDGDGLGEEE { + string createTime = 1; + repeated LLIJLJFHGBD pakoigkhjal = 2; + repeated string knmgmjklfob = 3; + repeated PLDKICHAHEB jkfdibhoggm = 4; + GMJDGJIDDCI ojmkoemmlpa = 5; + GJPHKJFFMOM idbdfgaalao = 6; +} diff --git a/proto/HGHPBLJEAJJ.proto b/proto/HGHPBLJEAJJ.proto new file mode 100644 index 00000000..51371a66 --- /dev/null +++ b/proto/HGHPBLJEAJJ.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HGHPBLJEAJJ { + string createTime = 1; + string title = 2; + string type = 3; + string jmggbhlelnm = 4; +} diff --git a/proto/HKBIPBOACKF.proto b/proto/HKBIPBOACKF.proto new file mode 100644 index 00000000..01e62e59 --- /dev/null +++ b/proto/HKBIPBOACKF.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HKBIPBOACKF { + repeated int32 paramList = 5; +} diff --git a/proto/HKKPOPLHMCL.proto b/proto/HKKPOPLHMCL.proto new file mode 100644 index 00000000..d90ef35f --- /dev/null +++ b/proto/HKKPOPLHMCL.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "EquipParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HKKPOPLHMCL { + repeated EquipParam itemList = 1; +} diff --git a/proto/HLDPDHKIFJN.proto b/proto/HLDPDHKIFJN.proto new file mode 100644 index 00000000..44ffefd8 --- /dev/null +++ b/proto/HLDPDHKIFJN.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HLDPDHKIFJN { + uint32 kopcjfaeegb = 3; + int32 lgcfopjlbmb = 12; + uint32 mfpmgbedfid = 2; + uint32 aeinmdecjbh = 7; +} diff --git a/proto/HLNDKJKHGMG.proto b/proto/HLNDKJKHGMG.proto new file mode 100644 index 00000000..310efc64 --- /dev/null +++ b/proto/HLNDKJKHGMG.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HLNDKJKHGMG { + repeated uint32 lakkcmpceee = 4; + repeated uint32 cbdijkdcnie = 12; +} diff --git a/proto/HNCBKMEACLI.proto b/proto/HNCBKMEACLI.proto new file mode 100644 index 00000000..0dfcf50b --- /dev/null +++ b/proto/HNCBKMEACLI.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HNCBKMEACLI { + uint32 entityId = 2; + Rotation curPos = 7; + uint32 normalizedTimeCompact = 15; + uint32 bafodnbpgic = 1; + int32 faceAngleCompact = 10; +} diff --git a/proto/HNNNJJPLLFN.proto b/proto/HNNNJJPLLFN.proto new file mode 100644 index 00000000..ef3df928 --- /dev/null +++ b/proto/HNNNJJPLLFN.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HNNNJJPLLFN { + uint32 roomId = 9; + Rotation rot = 2; + Rotation pos = 15; +} diff --git a/proto/HOPPJKEJENM.proto b/proto/HOPPJKEJENM.proto new file mode 100644 index 00000000..d2ae8d1d --- /dev/null +++ b/proto/HOPPJKEJENM.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HOPPJKEJENM { + enum KPBAMNMPGKI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23202; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 difficulty = 7; + uint32 stageId = 10; +} diff --git a/proto/HPAKAIEAKFI.proto b/proto/HPAKAIEAKFI.proto new file mode 100644 index 00000000..87a9ac2f --- /dev/null +++ b/proto/HPAKAIEAKFI.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "bytes.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HPAKAIEAKFI { + string hmnbpjgckgn = 1; + bytes value = 2; +} diff --git a/proto/HPPMAMEDOAD.proto b/proto/HPPMAMEDOAD.proto new file mode 100644 index 00000000..11acf4ad --- /dev/null +++ b/proto/HPPMAMEDOAD.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +import "DJLDJFDPBEI.proto"; +import "SyncCreateConnect.proto"; +import "SyncPing.proto"; +import "SyncFinishGame.proto"; +import "SyncSnapShot.proto"; +import "SyncAction.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HPPMAMEDOAD { + int32 retcode = 13; + DJLDJFDPBEI badeipailca = 3; + oneof HHIPOLHJFFK { + SyncCreateConnect sync_create_connect = 14; + SyncPing sync_ping = 4; + SyncFinishGame sync_finish_game = 7; + SyncSnapShot sync_snap_shot = 10; + SyncAction sync_action = 12; + } +} diff --git a/proto/HachiActivityDetailInfo.proto b/proto/HachiActivityDetailInfo.proto index 0e805716..cfde08b8 100644 --- a/proto/HachiActivityDetailInfo.proto +++ b/proto/HachiActivityDetailInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "HachiStageInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message HachiActivityDetailInfo { diff --git a/proto/HachiInfo.proto b/proto/HachiInfo.proto new file mode 100644 index 00000000..467aaeef --- /dev/null +++ b/proto/HachiInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "HachiStageInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HachiInfo { + map stageMap = 9; +} diff --git a/proto/HachiStageInfo.proto b/proto/HachiStageInfo.proto index 1356285a..c4438b74 100644 --- a/proto/HachiStageInfo.proto +++ b/proto/HachiStageInfo.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HachiStageInfo { - uint32 open_time = 9; - bool is_open = 10; - bool is_finished = 14; - uint32 stage_id = 15; + uint32 openTime = 10; + bool isFinished = 12; + uint32 stageId = 13; + bool isOpen = 3; } diff --git a/proto/HandballInfo.proto b/proto/HandballInfo.proto new file mode 100644 index 00000000..e31c8cf0 --- /dev/null +++ b/proto/HandballInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "PlaceInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HandballInfo { + PlaceInfo ballPlaceInfo = 11; + bool isHaveBall = 7; +} diff --git a/proto/HideAndSeekActivityDetailInfo.proto b/proto/HideAndSeekActivityDetailInfo.proto index 1ece3b84..ee65d913 100644 --- a/proto/HideAndSeekActivityDetailInfo.proto +++ b/proto/HideAndSeekActivityDetailInfo.proto @@ -1,30 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HideAndSeekMapInfo.proto"; + +import "HideAndSeekMapInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message HideAndSeekActivityDetailInfo { - repeated uint32 chosen_hunter_skill_list = 6; - repeated HideAndSeekMapInfo open_map_info_list = 13; - repeated uint32 chosen_hider_skill_list = 2; - repeated uint32 chosen_map_list = 15; - repeated uint32 unlock_map_list = 4; + repeated uint32 kpfclbhekho = 5; + repeated uint32 pfklphkcnll = 3; + repeated uint32 ddcdocelpof = 13; + repeated HideAndSeekMapInfo ebljifhneof = 4; + repeated uint32 noljhjhlkom = 8; } diff --git a/proto/HideAndSeekChooseMapReq.proto b/proto/HideAndSeekChooseMapReq.proto new file mode 100644 index 00000000..d20783e9 --- /dev/null +++ b/proto/HideAndSeekChooseMapReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HideAndSeekChooseMapReq { + enum ENCLIIBMIJA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8458; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 mapList = 6; +} diff --git a/proto/HideAndSeekChooseMapRsp.proto b/proto/HideAndSeekChooseMapRsp.proto new file mode 100644 index 00000000..c77ee606 --- /dev/null +++ b/proto/HideAndSeekChooseMapRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HideAndSeekChooseMapRsp { + enum BLGFBBFCKJP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8321; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 3; + repeated uint32 mapList = 5; +} diff --git a/proto/HideAndSeekInfo.proto b/proto/HideAndSeekInfo.proto new file mode 100644 index 00000000..0e78951e --- /dev/null +++ b/proto/HideAndSeekInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HideAndSeekInfo { + repeated uint32 visibleUidList = 5; + repeated uint32 caughtUidList = 7; +} diff --git a/proto/HideAndSeekMapInfo.proto b/proto/HideAndSeekMapInfo.proto index 17f735a3..eaa3ffc4 100644 --- a/proto/HideAndSeekMapInfo.proto +++ b/proto/HideAndSeekMapInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HideAndSeekMapInfo { - repeated uint32 match_lock_reason_list = 6; - uint32 id = 12; + uint32 id = 7; + repeated uint32 kccalkjgkkd = 5; } diff --git a/proto/HideAndSeekPlayerBattleInfo.proto b/proto/HideAndSeekPlayerBattleInfo.proto new file mode 100644 index 00000000..de69c125 --- /dev/null +++ b/proto/HideAndSeekPlayerBattleInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HideAndSeekPlayerBattleInfo { + uint32 costumeId = 5; + bool isReady = 13; + repeated uint32 skillList = 3; + uint32 avatarId = 11; +} diff --git a/proto/HideAndSeekPlayerCapturedNotify.proto b/proto/HideAndSeekPlayerCapturedNotify.proto new file mode 100644 index 00000000..d57c477a --- /dev/null +++ b/proto/HideAndSeekPlayerCapturedNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HideAndSeekPlayerCapturedNotify { + enum AKLNMHDJEAB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5551; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 ghostSkillId = 13; +} diff --git a/proto/HideAndSeekPlayerReadyNotify.proto b/proto/HideAndSeekPlayerReadyNotify.proto new file mode 100644 index 00000000..d117e42a --- /dev/null +++ b/proto/HideAndSeekPlayerReadyNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HideAndSeekPlayerReadyNotify { + enum GJGGLLCPLHA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5363; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 uidList = 12; +} diff --git a/proto/HideAndSeekPlayerSetAvatarNotify.proto b/proto/HideAndSeekPlayerSetAvatarNotify.proto new file mode 100644 index 00000000..e9572003 --- /dev/null +++ b/proto/HideAndSeekPlayerSetAvatarNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HideAndSeekPlayerSetAvatarNotify { + enum PLMPIFDHFDA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5323; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 costumeId = 9; + uint32 uid = 2; + uint32 avatarId = 10; +} diff --git a/proto/HideAndSeekSelectAvatarReq.proto b/proto/HideAndSeekSelectAvatarReq.proto new file mode 100644 index 00000000..9d40b95e --- /dev/null +++ b/proto/HideAndSeekSelectAvatarReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HideAndSeekSelectAvatarReq { + enum PMKMHNKLMFE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5381; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 avatarId = 4; +} diff --git a/proto/HideAndSeekSelectAvatarRsp.proto b/proto/HideAndSeekSelectAvatarRsp.proto new file mode 100644 index 00000000..52b19ee5 --- /dev/null +++ b/proto/HideAndSeekSelectAvatarRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HideAndSeekSelectAvatarRsp { + enum KJBOGLIBPCI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5364; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 avatarId = 10; + int32 retcode = 14; +} diff --git a/proto/HideAndSeekSelectSkillReq.proto b/proto/HideAndSeekSelectSkillReq.proto new file mode 100644 index 00000000..2fe26147 --- /dev/null +++ b/proto/HideAndSeekSelectSkillReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HideAndSeekSelectSkillReq { + enum IGIMBFKHFEK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8142; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 skillList = 6; +} diff --git a/proto/HideAndSeekSelectSkillRsp.proto b/proto/HideAndSeekSelectSkillRsp.proto new file mode 100644 index 00000000..ce64c619 --- /dev/null +++ b/proto/HideAndSeekSelectSkillRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HideAndSeekSelectSkillRsp { + enum BIMHAEPAGEA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8442; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; + repeated uint32 skillList = 10; +} diff --git a/proto/HideAndSeekSetReadyReq.proto b/proto/HideAndSeekSetReadyReq.proto new file mode 100644 index 00000000..44d7ccf0 --- /dev/null +++ b/proto/HideAndSeekSetReadyReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HideAndSeekSetReadyReq { + enum HLHFADNBGOG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5383; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/HideAndSeekSetReadyRsp.proto b/proto/HideAndSeekSetReadyRsp.proto new file mode 100644 index 00000000..7a137d9b --- /dev/null +++ b/proto/HideAndSeekSetReadyRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HideAndSeekSetReadyRsp { + enum IBMIKFGCLGO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5379; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 13; +} diff --git a/proto/HideAndSeekSettleInfo.proto b/proto/HideAndSeekSettleInfo.proto new file mode 100644 index 00000000..03c59501 --- /dev/null +++ b/proto/HideAndSeekSettleInfo.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "ProfilePicture.proto"; +import "ExhibitionDisplayInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HideAndSeekSettleInfo { + uint32 uid = 1; + repeated ExhibitionDisplayInfo cardList = 2; + uint32 headImage = 3; + string onlineId = 10; + string nickname = 9; + ProfilePicture profilePicture = 5; +} diff --git a/proto/HideAndSeekSettleNotify.proto b/proto/HideAndSeekSettleNotify.proto new file mode 100644 index 00000000..ea3bba35 --- /dev/null +++ b/proto/HideAndSeekSettleNotify.proto @@ -0,0 +1,27 @@ +syntax = "proto3"; + + + +import "SettleReason.proto"; +import "HideAndSeekSettleInfo.proto"; +import "ExhibitionDisplayInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HideAndSeekSettleNotify { + enum PBBMCANAFIN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5327; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 winnerList = 9; + uint32 costTime = 10; + uint32 stageType = 11; + SettleReason reason = 1; + repeated HideAndSeekSettleInfo settleInfoList = 4; + uint32 playIndex = 13; + repeated ExhibitionDisplayInfo scoreList = 7; + bool isRecordScore = 5; +} diff --git a/proto/HideAndSeekStageInfo.proto b/proto/HideAndSeekStageInfo.proto new file mode 100644 index 00000000..d1c98672 --- /dev/null +++ b/proto/HideAndSeekStageInfo.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "HideAndSeekStageType.proto"; +import "HideAndSeekPlayerBattleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HideAndSeekStageInfo { + uint32 mgkdaffbijb = 11; + map bgbdjeipaco = 12; + bool isRecordScore = 15; + repeated uint32 ambepllnpla = 9; + uint32 mapId = 8; + HideAndSeekStageType stageType = 1; +} diff --git a/proto/HideAndSeekStageType.proto b/proto/HideAndSeekStageType.proto new file mode 100644 index 00000000..34a668ce --- /dev/null +++ b/proto/HideAndSeekStageType.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +enum HideAndSeekStageType { + HIDE_AND_SEEK_STAGE_TYPE_PREPARE = 0; + HIDE_AND_SEEK_STAGE_TYPE_PICK = 1; + HIDE_AND_SEEK_STAGE_TYPE_GAME = 2; + HIDE_AND_SEEK_STAGE_TYPE_HIDE = 3; + HIDE_AND_SEEK_STAGE_TYPE_SEEK = 4; + HIDE_AND_SEEK_STAGE_TYPE_SETTLE = 5; +} diff --git a/proto/HitClientTrivialNotify.proto b/proto/HitClientTrivialNotify.proto new file mode 100644 index 00000000..e968fcf4 --- /dev/null +++ b/proto/HitClientTrivialNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HitClientTrivialNotify { + enum FFDCNNDJDEK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 272; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + Rotation position = 9; + uint32 ownerEntityId = 4; +} diff --git a/proto/HitColliderType.proto b/proto/HitColliderType.proto index e4cc5234..e1862a08 100644 --- a/proto/HitColliderType.proto +++ b/proto/HitColliderType.proto @@ -1,27 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum HitColliderType { - HIT_COLLIDER_TYPE_INVALID = 0; - HIT_COLLIDER_TYPE_HIT_BOX = 1; - HIT_COLLIDER_TYPE_WET_HIT_BOX = 2; - HIT_COLLIDER_TYPE_HEAD_BOX = 3; + HIT_COLLIDER_TYPE_INVALID = 0; + HIT_COLLIDER_TYPE_HIT_BOX = 1; + HIT_COLLIDER_TYPE_WET_HIT_BOX = 2; + HIT_COLLIDER_TYPE_HEAD_BOX = 3; } diff --git a/proto/HitCollision.proto b/proto/HitCollision.proto index f0775f41..6f045787 100644 --- a/proto/HitCollision.proto +++ b/proto/HitCollision.proto @@ -1,32 +1,16 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HitColliderType.proto"; -import "Vector.proto"; + +import "Rotation.proto"; +import "HitColliderType.proto"; option java_package = "emu.grasscutter.net.proto"; message HitCollision { - int32 hit_box_index = 8; - HitColliderType hit_collider_type = 5; - float attackee_hit_entity_angle = 7; - Vector hit_dir = 3; - Vector hit_point = 14; - float attackee_hit_force_angle = 10; + float attackeeHitEntityAngle = 12; + Rotation hitDir = 4; + Rotation hitPoint = 3; + int32 hitBoxIndex = 10; + float attackeeHitForceAngle = 15; + HitColliderType hitColliderType = 9; } diff --git a/proto/HitTreeInfo.proto b/proto/HitTreeInfo.proto new file mode 100644 index 00000000..dc75722d --- /dev/null +++ b/proto/HitTreeInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HitTreeInfo { + uint32 treeType = 1; + Rotation treePos = 2; +} diff --git a/proto/HitTreeNotify.proto b/proto/HitTreeNotify.proto index a153f818..eec7e258 100644 --- a/proto/HitTreeNotify.proto +++ b/proto/HitTreeNotify.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message HitTreeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 3018; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum IGPKPGNGFHB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3118; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 tree_type = 8; - Vector drop_pos = 12; - Vector tree_pos = 15; + Rotation dropPos = 11; + Rotation treePos = 4; + uint32 treeType = 5; } diff --git a/proto/HomeAllUnlockedBgmIdListNotify.proto b/proto/HomeAllUnlockedBgmIdListNotify.proto index 73ba1947..c3304385 100644 --- a/proto/HomeAllUnlockedBgmIdListNotify.proto +++ b/proto/HomeAllUnlockedBgmIdListNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HomeAllUnlockedBgmIdListNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4841; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum FCNFGMDBOPG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4563; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 all_unlocked_bgm_id_list = 14; + repeated uint32 allUnlockedBgmIdList = 13; } diff --git a/proto/HomeAnimalData.proto b/proto/HomeAnimalData.proto index 19713578..375e02ac 100644 --- a/proto/HomeAnimalData.proto +++ b/proto/HomeAnimalData.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeAnimalData { - uint32 furniture_id = 6; - Vector spawn_rot = 14; - Vector spawn_pos = 11; + Rotation spawnRot = 13; + uint32 furnitureId = 10; + Rotation spawnPos = 4; } diff --git a/proto/HomeAvatarAllFinishRewardNotify.proto b/proto/HomeAvatarAllFinishRewardNotify.proto new file mode 100644 index 00000000..57f66ea4 --- /dev/null +++ b/proto/HomeAvatarAllFinishRewardNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeAvatarAllFinishRewardNotify { + enum HMGIPIOKMJK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4503; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 eventIdList = 1; +} diff --git a/proto/HomeAvatarCostumeChangeNotify.proto b/proto/HomeAvatarCostumeChangeNotify.proto new file mode 100644 index 00000000..4bc83017 --- /dev/null +++ b/proto/HomeAvatarCostumeChangeNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeAvatarCostumeChangeNotify { + enum PLEJKFGMEPH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4523; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 avatarId = 7; + uint32 costumeId = 13; +} diff --git a/proto/HomeAvatarRewardEventGetReq.proto b/proto/HomeAvatarRewardEventGetReq.proto new file mode 100644 index 00000000..28bfe952 --- /dev/null +++ b/proto/HomeAvatarRewardEventGetReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeAvatarRewardEventGetReq { + enum DLLEGKFEHPI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4692; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 eventId = 7; + uint32 avatarId = 12; +} diff --git a/proto/HomeAvatarRewardEventGetRsp.proto b/proto/HomeAvatarRewardEventGetRsp.proto new file mode 100644 index 00000000..fb2b1304 --- /dev/null +++ b/proto/HomeAvatarRewardEventGetRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeAvatarRewardEventGetRsp { + enum IKKAMEFGHNH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4534; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 15; + repeated ItemParam itemList = 2; + uint32 eventId = 6; +} diff --git a/proto/HomeAvatarRewardEventInfo.proto b/proto/HomeAvatarRewardEventInfo.proto new file mode 100644 index 00000000..d2a3ad35 --- /dev/null +++ b/proto/HomeAvatarRewardEventInfo.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeAvatarRewardEventInfo { + uint32 avatarId = 6; + uint32 randomPosition = 4; + uint32 eventId = 14; + uint32 guid = 5; + uint32 suiteId = 2; +} diff --git a/proto/HomeAvatarRewardEventNotify.proto b/proto/HomeAvatarRewardEventNotify.proto new file mode 100644 index 00000000..75ac479e --- /dev/null +++ b/proto/HomeAvatarRewardEventNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "HomeAvatarRewardEventInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeAvatarRewardEventNotify { + enum KHLNMBHJAMJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4461; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isEventTrigger = 1; + HomeAvatarRewardEventInfo rewardEvent = 12; + repeated HomeAvatarRewardEventInfo pendingList = 15; +} diff --git a/proto/HomeAvatarSummonAllEventNotify.proto b/proto/HomeAvatarSummonAllEventNotify.proto new file mode 100644 index 00000000..8b2c162c --- /dev/null +++ b/proto/HomeAvatarSummonAllEventNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "HomeAvatarSummonEventInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeAvatarSummonAllEventNotify { + enum NNFLPNJAKDN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4579; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated HomeAvatarSummonEventInfo summonEventList = 15; +} diff --git a/proto/HomeAvatarSummonEventInfo.proto b/proto/HomeAvatarSummonEventInfo.proto new file mode 100644 index 00000000..6d6b283e --- /dev/null +++ b/proto/HomeAvatarSummonEventInfo.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeAvatarSummonEventInfo { + uint32 suitId = 4; + uint32 randomPosition = 2; + uint32 eventId = 3; + uint32 avatarId = 12; + uint32 eventOverTime = 14; + uint32 guid = 1; +} diff --git a/proto/HomeAvatarSummonEventReq.proto b/proto/HomeAvatarSummonEventReq.proto new file mode 100644 index 00000000..6c12cc29 --- /dev/null +++ b/proto/HomeAvatarSummonEventReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeAvatarSummonEventReq { + enum AOKDDGOGGBN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4880; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 guid = 7; + uint32 avatarId = 11; + uint32 suitId = 2; +} diff --git a/proto/HomeAvatarSummonEventRsp.proto b/proto/HomeAvatarSummonEventRsp.proto new file mode 100644 index 00000000..2edb426d --- /dev/null +++ b/proto/HomeAvatarSummonEventRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeAvatarSummonEventRsp { + enum MIGNGLCMDJB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4696; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 eventId = 9; + int32 retcode = 13; +} diff --git a/proto/HomeAvatarSummonFinishReq.proto b/proto/HomeAvatarSummonFinishReq.proto new file mode 100644 index 00000000..93532d4e --- /dev/null +++ b/proto/HomeAvatarSummonFinishReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeAvatarSummonFinishReq { + enum AOHKJNDHOPG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4628; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 eventId = 6; +} diff --git a/proto/HomeAvatarSummonFinishRsp.proto b/proto/HomeAvatarSummonFinishRsp.proto new file mode 100644 index 00000000..6885e7fe --- /dev/null +++ b/proto/HomeAvatarSummonFinishRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeAvatarSummonFinishRsp { + enum PABPAMCDBJF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4657; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 eventId = 15; + int32 retcode = 10; +} diff --git a/proto/HomeAvatarTalkFinishInfo.proto b/proto/HomeAvatarTalkFinishInfo.proto new file mode 100644 index 00000000..9bb5a024 --- /dev/null +++ b/proto/HomeAvatarTalkFinishInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeAvatarTalkFinishInfo { + uint32 avatarId = 11; + repeated uint32 finishTalkIdList = 7; +} diff --git a/proto/HomeAvatarTalkFinishInfoNotify.proto b/proto/HomeAvatarTalkFinishInfoNotify.proto new file mode 100644 index 00000000..ffba248d --- /dev/null +++ b/proto/HomeAvatarTalkFinishInfoNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "HomeAvatarTalkFinishInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeAvatarTalkFinishInfoNotify { + enum NAEIHPFLPKH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4718; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated HomeAvatarTalkFinishInfo avatarTalkInfoList = 11; +} diff --git a/proto/HomeAvatarTalkReq.proto b/proto/HomeAvatarTalkReq.proto new file mode 100644 index 00000000..95e8da51 --- /dev/null +++ b/proto/HomeAvatarTalkReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeAvatarTalkReq { + enum KFPCFFDEEGA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4729; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 talkId = 4; + uint32 avatarId = 6; +} diff --git a/proto/HomeAvatarTalkRsp.proto b/proto/HomeAvatarTalkRsp.proto new file mode 100644 index 00000000..27df0c31 --- /dev/null +++ b/proto/HomeAvatarTalkRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "HomeAvatarTalkFinishInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeAvatarTalkRsp { + enum NOOIJICFGCE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4704; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + HomeAvatarTalkFinishInfo avatarTalkInfo = 5; + int32 retcode = 10; +} diff --git a/proto/HomeAvtarAllFinishRewardNotify.proto b/proto/HomeAvtarAllFinishRewardNotify.proto new file mode 100644 index 00000000..da44cb89 --- /dev/null +++ b/proto/HomeAvtarAllFinishRewardNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeAvtarAllFinishRewardNotify { + enum CIFIMONAGCA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4650; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 eventIdList = 7; +} diff --git a/proto/HomeBalloonGalleryRecord.proto b/proto/HomeBalloonGalleryRecord.proto new file mode 100644 index 00000000..f636de9e --- /dev/null +++ b/proto/HomeBalloonGalleryRecord.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "HomeGroupPlayerInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeBalloonGalleryRecord { + uint32 hitCount = 2; + uint32 score = 12; + HomeGroupPlayerInfo playerInfo = 11; + uint32 timestamp = 13; +} diff --git a/proto/HomeBalloonGalleryScoreNotify.proto b/proto/HomeBalloonGalleryScoreNotify.proto new file mode 100644 index 00000000..eeef91c0 --- /dev/null +++ b/proto/HomeBalloonGalleryScoreNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeBalloonGalleryScoreNotify { + enum HNFHBHGFFGA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4839; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 triggerEntityId = 13; + uint32 curScore = 7; + uint32 addScore = 10; + uint32 galleryId = 14; +} diff --git a/proto/HomeBalloonGallerySettleNotify.proto b/proto/HomeBalloonGallerySettleNotify.proto new file mode 100644 index 00000000..b289f565 --- /dev/null +++ b/proto/HomeBalloonGallerySettleNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "BalloonGallerySettleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeBalloonGallerySettleNotify { + enum ODKLGNMNBJK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4719; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 galleryId = 10; + BalloonGallerySettleInfo settleInfo = 8; + uint32 rank = 3; + bool isNewRecord = 13; +} diff --git a/proto/HomeBalloonInfo.proto b/proto/HomeBalloonInfo.proto new file mode 100644 index 00000000..2069db80 --- /dev/null +++ b/proto/HomeBalloonInfo.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeBalloonInfo { + uint32 score = 10; +} diff --git a/proto/HomeBalloonRecord.proto b/proto/HomeBalloonRecord.proto new file mode 100644 index 00000000..4ba7940d --- /dev/null +++ b/proto/HomeBalloonRecord.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "HomeBalloonGalleryRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeBalloonRecord { + repeated HomeBalloonGalleryRecord recordList = 7; +} diff --git a/proto/HomeBasicInfo.proto b/proto/HomeBasicInfo.proto index 5702989a..edb76914 100644 --- a/proto/HomeBasicInfo.proto +++ b/proto/HomeBasicInfo.proto @@ -1,33 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeLimitedShopInfo.proto"; + +import "HomeLimitedShopInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeBasicInfo { - uint64 exp = 3; - uint32 home_owner_uid = 11; - uint32 cur_room_scene_id = 14; - string owner_nick_name = 6; - uint32 cur_module_id = 4; - HomeLimitedShopInfo limited_shop_info = 13; - bool is_in_edit_mode = 7; - uint32 level = 9; + uint32 homeOwnerUid = 11; + uint32 curModuleId = 2; + HomeLimitedShopInfo limitedShopInfo = 15; + uint32 level = 9; + string ownerNickName = 3; + bool isInEditMode = 14; + uint32 curRoomSceneId = 7; + uint64 exp = 13; } diff --git a/proto/HomeBasicInfoNotify.proto b/proto/HomeBasicInfoNotify.proto index eff6d9d0..b7a1fe62 100644 --- a/proto/HomeBasicInfoNotify.proto +++ b/proto/HomeBasicInfoNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeBasicInfo.proto"; + +import "HomeBasicInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeBasicInfoNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4622; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum PBMCNDPEMAC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4607; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - HomeBasicInfo basic_info = 3; + HomeBasicInfo basicInfo = 7; } diff --git a/proto/HomeBlockArrangementInfo.proto b/proto/HomeBlockArrangementInfo.proto index 7d640262..a28cbc30 100644 --- a/proto/HomeBlockArrangementInfo.proto +++ b/proto/HomeBlockArrangementInfo.proto @@ -1,46 +1,30 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeAnimalData.proto"; -import "HomeBlockDotPattern.proto"; -import "HomeBlockFieldData.proto"; -import "HomeFurnitureCustomSuiteData.proto"; -import "HomeFurnitureData.proto"; -import "HomeFurnitureGroupData.proto"; -import "HomeFurnitureSuiteData.proto"; -import "HomeNpcData.proto"; -import "WeekendDjinnInfo.proto"; + +import "HomeFurnitureSuiteData.proto"; +import "HomeBlockFieldData.proto"; +import "WeekendDjinnInfo.proto"; +import "HomeFurnitureData.proto"; +import "HomeBlockDotPattern.proto"; +import "HomeFurnitureGroupData.proto"; +import "HomeNpcData.proto"; +import "HomeFurnitureCustomSuiteData.proto"; +import "HomeAnimalData.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeBlockArrangementInfo { - repeated HomeFurnitureData deploy_furniure_list = 10; - repeated HomeAnimalData deploy_animal_list = 7; - repeated HomeFurnitureSuiteData furniture_suite_list = 3; - repeated WeekendDjinnInfo weekend_djinn_info_list = 5; - uint32 block_id = 14; - repeated HomeBlockDotPattern dot_pattern_list = 6; - bool is_unlocked = 15; - repeated HomeNpcData deploy_npc_list = 1; - repeated HomeFurnitureGroupData furniture_group_list = 8; - repeated HomeBlockFieldData field_list = 13; - uint32 comfort_value = 9; - repeated HomeFurnitureData persistent_furniture_list = 12; - repeated HomeFurnitureCustomSuiteData furniture_custom_suite_list = 4; + repeated HomeFurnitureSuiteData furnitureSuiteList = 12; + repeated HomeBlockFieldData fieldList = 13; + repeated WeekendDjinnInfo weekendDjinnInfoList = 8; + repeated HomeFurnitureData persistentFurnitureList = 6; + repeated HomeBlockDotPattern dotPatternList = 7; + uint32 comfortValue = 9; + repeated HomeFurnitureGroupData furnitureGroupList = 3; + repeated HomeFurnitureData deployFurniureList = 15; + repeated HomeNpcData deployNpcList = 5; + repeated HomeFurnitureCustomSuiteData furnitureCustomSuiteList = 4; + bool isUnlocked = 1; + uint32 blockId = 2; + repeated HomeAnimalData deployAnimalList = 14; } diff --git a/proto/HomeBlockDotPattern.proto b/proto/HomeBlockDotPattern.proto index 5da5bcbc..b2a60be6 100644 --- a/proto/HomeBlockDotPattern.proto +++ b/proto/HomeBlockDotPattern.proto @@ -1,26 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + +import "bytes.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeBlockDotPattern { - uint32 width = 13; - bytes data = 12; - uint32 height = 11; + uint32 width = 3; + bytes data = 14; + uint32 height = 8; } diff --git a/proto/HomeBlockFieldData.proto b/proto/HomeBlockFieldData.proto index 7e874192..0d5eaab7 100644 --- a/proto/HomeBlockFieldData.proto +++ b/proto/HomeBlockFieldData.proto @@ -1,31 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeBlockSubFieldData.proto"; -import "Vector.proto"; + +import "Rotation.proto"; +import "HomeBlockSubFieldData.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeBlockFieldData { - repeated HomeBlockSubFieldData sub_field_list = 4; - uint32 guid = 15; - Vector pos = 8; - uint32 furniture_id = 12; - Vector rot = 13; + Rotation pos = 1; + uint32 guid = 6; + repeated HomeBlockSubFieldData subFieldList = 9; + uint32 furnitureId = 10; + Rotation rot = 2; } diff --git a/proto/HomeBlockNotify.proto b/proto/HomeBlockNotify.proto new file mode 100644 index 00000000..1477acb8 --- /dev/null +++ b/proto/HomeBlockNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeBlockNotify { + enum NDFNPBFEMDB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4641; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 endTime = 13; +} diff --git a/proto/HomeBlockSubFieldData.proto b/proto/HomeBlockSubFieldData.proto index a7407b9a..e4c98f1a 100644 --- a/proto/HomeBlockSubFieldData.proto +++ b/proto/HomeBlockSubFieldData.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeBlockSubFieldData { - Vector pos = 4; - Vector rot = 13; + Rotation rot = 6; + Rotation pos = 11; } diff --git a/proto/HomeBlueprintInfoNotify.proto b/proto/HomeBlueprintInfoNotify.proto new file mode 100644 index 00000000..be6cd617 --- /dev/null +++ b/proto/HomeBlueprintInfoNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeBlueprintInfoNotify { + enum KAKDGDJKIHJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4870; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isAllowFriendCopy = 11; +} diff --git a/proto/HomeBlueprintSearchInfo.proto b/proto/HomeBlueprintSearchInfo.proto new file mode 100644 index 00000000..f62182ee --- /dev/null +++ b/proto/HomeBlueprintSearchInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeBlueprintSearchInfo { + uint32 sceneId = 9; + string shareCode = 15; + uint32 blockId = 2; + uint32 moduleId = 13; +} diff --git a/proto/HomeBlueprintSlotInfo.proto b/proto/HomeBlueprintSlotInfo.proto new file mode 100644 index 00000000..081639e4 --- /dev/null +++ b/proto/HomeBlueprintSlotInfo.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeBlueprintSlotInfo { + bool isAllowCopy = 9; + uint32 createTime = 8; + uint32 sceneId = 3; + uint32 blockId = 2; + uint32 slotId = 12; + uint32 moduleId = 1; + string shareCode = 4; +} diff --git a/proto/HomeChangeBgmNotify.proto b/proto/HomeChangeBgmNotify.proto index 4790a440..3034dd9f 100644 --- a/proto/HomeChangeBgmNotify.proto +++ b/proto/HomeChangeBgmNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HomeChangeBgmNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4518; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HMAPKOBFLGN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4900; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 bgm_id = 9; + uint32 bgmId = 7; } diff --git a/proto/HomeChangeBgmReq.proto b/proto/HomeChangeBgmReq.proto index 5ac43c41..7b74a9f4 100644 --- a/proto/HomeChangeBgmReq.proto +++ b/proto/HomeChangeBgmReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HomeChangeBgmReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4736; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum ELECAPHKALF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4469; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 bgm_id = 9; + uint32 bgmId = 12; } diff --git a/proto/HomeChangeBgmRsp.proto b/proto/HomeChangeBgmRsp.proto index e5589997..11e8fb9f 100644 --- a/proto/HomeChangeBgmRsp.proto +++ b/proto/HomeChangeBgmRsp.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HomeChangeBgmRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4895; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum JKOBOEEOHJO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4701; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 5; + int32 retcode = 7; } diff --git a/proto/HomeChangeEditModeReq.proto b/proto/HomeChangeEditModeReq.proto index 71a50f24..34536c39 100644 --- a/proto/HomeChangeEditModeReq.proto +++ b/proto/HomeChangeEditModeReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HomeChangeEditModeReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4719; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum OMEOHHNAGLP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4702; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - bool is_enter_edit_mode = 15; + bool isEnterEditMode = 2; } diff --git a/proto/HomeChangeEditModeRsp.proto b/proto/HomeChangeEditModeRsp.proto index b4369bdd..03f3a615 100644 --- a/proto/HomeChangeEditModeRsp.proto +++ b/proto/HomeChangeEditModeRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HomeChangeEditModeRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4661; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum DBDBLCNDCHO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4767; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - bool is_enter_edit_mode = 2; - int32 retcode = 13; + bool isEnterEditMode = 9; + int32 retcode = 3; } diff --git a/proto/HomeChangeModuleReq.proto b/proto/HomeChangeModuleReq.proto new file mode 100644 index 00000000..11b93484 --- /dev/null +++ b/proto/HomeChangeModuleReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeChangeModuleReq { + enum KMCKOHBLHIJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4484; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 targetModuleId = 12; +} diff --git a/proto/HomeChangeModuleRsp.proto b/proto/HomeChangeModuleRsp.proto new file mode 100644 index 00000000..8e6b22b1 --- /dev/null +++ b/proto/HomeChangeModuleRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeChangeModuleRsp { + enum KODHEEBFFHG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4833; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 targetModuleId = 11; + int32 retcode = 13; +} diff --git a/proto/HomeChooseModuleReq.proto b/proto/HomeChooseModuleReq.proto index cb4e8750..028eaeef 100644 --- a/proto/HomeChooseModuleReq.proto +++ b/proto/HomeChooseModuleReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HomeChooseModuleReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4456; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum MDMDIJDMFJI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4654; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 module_id = 14; + uint32 moduleId = 11; } diff --git a/proto/HomeChooseModuleRsp.proto b/proto/HomeChooseModuleRsp.proto index 092c7ced..ef905299 100644 --- a/proto/HomeChooseModuleRsp.proto +++ b/proto/HomeChooseModuleRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HomeChooseModuleRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4638; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum BKEOHOKFKJB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4707; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 9; - uint32 module_id = 15; + uint32 moduleId = 5; + int32 retcode = 6; } diff --git a/proto/HomeClearGroupRecordReq.proto b/proto/HomeClearGroupRecordReq.proto new file mode 100644 index 00000000..9827cc89 --- /dev/null +++ b/proto/HomeClearGroupRecordReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeClearGroupRecordReq { + enum HAMJJGIPBAG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4643; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 groupId = 1; +} diff --git a/proto/HomeClearGroupRecordRsp.proto b/proto/HomeClearGroupRecordRsp.proto new file mode 100644 index 00000000..533c4f19 --- /dev/null +++ b/proto/HomeClearGroupRecordRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeClearGroupRecordRsp { + enum BKKFNEHCCMP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4536; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 6; + uint32 groupId = 7; +} diff --git a/proto/HomeComfortInfoNotify.proto b/proto/HomeComfortInfoNotify.proto index 35a66157..accb1157 100644 --- a/proto/HomeComfortInfoNotify.proto +++ b/proto/HomeComfortInfoNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeModuleComfortInfo.proto"; + +import "HomeModuleComfortInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeComfortInfoNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4763; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum PNJGIBJDIGD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4879; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated HomeModuleComfortInfo module_info_list = 3; + repeated HomeModuleComfortInfo moduleInfoList = 11; } diff --git a/proto/HomeCreateBlueprintReq.proto b/proto/HomeCreateBlueprintReq.proto new file mode 100644 index 00000000..a86d1ecb --- /dev/null +++ b/proto/HomeCreateBlueprintReq.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "HomeSceneArrangementInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeCreateBlueprintReq { + enum LHOAMCJJEGB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4645; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + HomeSceneArrangementInfo sceneArrangementInfo = 15; + uint32 slotId = 13; + string serverShareCode = 8; + uint32 genShareCodeCount = 1; +} diff --git a/proto/HomeCreateBlueprintRsp.proto b/proto/HomeCreateBlueprintRsp.proto new file mode 100644 index 00000000..9e80c8ca --- /dev/null +++ b/proto/HomeCreateBlueprintRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "HomeBlueprintSlotInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeCreateBlueprintRsp { + enum FICBDNICILH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4765; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + HomeBlueprintSlotInfo slotInfo = 4; + int32 retcode = 13; +} diff --git a/proto/HomeCustomFurnitureInfo.proto b/proto/HomeCustomFurnitureInfo.proto index 977679cb..4db13be6 100644 --- a/proto/HomeCustomFurnitureInfo.proto +++ b/proto/HomeCustomFurnitureInfo.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "CustomCommonNodeInfo.proto"; + +import "CustomCommonNodeInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeCustomFurnitureInfo { - uint32 guid = 7; - repeated CustomCommonNodeInfo sub_furniture_list = 11; + uint32 guid = 8; + repeated CustomCommonNodeInfo subFurnitureList = 5; } diff --git a/proto/HomeCustomFurnitureInfoNotify.proto b/proto/HomeCustomFurnitureInfoNotify.proto index bed738eb..736f5947 100644 --- a/proto/HomeCustomFurnitureInfoNotify.proto +++ b/proto/HomeCustomFurnitureInfoNotify.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeCustomFurnitureInfo.proto"; + +import "HomeCustomFurnitureInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeCustomFurnitureInfoNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4888; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum IOBEONJJIPP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4784; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 delete_custom_furniture_list = 13; - repeated HomeCustomFurnitureInfo custom_furniture_info_list = 15; - map used_sub_furniture_count_map = 3; + repeated uint32 deleteCustomFurnitureList = 14; + repeated HomeCustomFurnitureInfo customFurnitureInfoList = 15; + map usedSubFurnitureCountMap = 2; } diff --git a/proto/HomeDeleteBlueprintReq.proto b/proto/HomeDeleteBlueprintReq.proto new file mode 100644 index 00000000..9da9d2f7 --- /dev/null +++ b/proto/HomeDeleteBlueprintReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeDeleteBlueprintReq { + enum NOFFLELGDJF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4829; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 slotId = 13; +} diff --git a/proto/HomeDeleteBlueprintRsp.proto b/proto/HomeDeleteBlueprintRsp.proto new file mode 100644 index 00000000..5a03bba6 --- /dev/null +++ b/proto/HomeDeleteBlueprintRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeDeleteBlueprintRsp { + enum BAMMGLKEGBD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4564; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 9; + uint32 slotId = 10; +} diff --git a/proto/HomeEditCustomFurnitureReq.proto b/proto/HomeEditCustomFurnitureReq.proto index f0b94b4e..533adf52 100644 --- a/proto/HomeEditCustomFurnitureReq.proto +++ b/proto/HomeEditCustomFurnitureReq.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeCustomFurnitureInfo.proto"; + +import "HomeCustomFurnitureInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeEditCustomFurnitureReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4778; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum OPCOAINIFHP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4685; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - HomeCustomFurnitureInfo custom_furniture_info = 9; + HomeCustomFurnitureInfo customFurnitureInfo = 5; } diff --git a/proto/HomeEditCustomFurnitureRsp.proto b/proto/HomeEditCustomFurnitureRsp.proto index 68b17082..29a3a08d 100644 --- a/proto/HomeEditCustomFurnitureRsp.proto +++ b/proto/HomeEditCustomFurnitureRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeCustomFurnitureInfo.proto"; + +import "HomeCustomFurnitureInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeEditCustomFurnitureRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4769; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum NJDHHDDEKDA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4717; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 1; - HomeCustomFurnitureInfo custom_furniture_info = 2; + int32 retcode = 7; + HomeCustomFurnitureInfo customFurnitureInfo = 11; } diff --git a/proto/HomeEnterEditModeFinishReq.proto b/proto/HomeEnterEditModeFinishReq.proto index 6b56c9bf..002d0777 100644 --- a/proto/HomeEnterEditModeFinishReq.proto +++ b/proto/HomeEnterEditModeFinishReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HomeEnterEditModeFinishReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4865; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum IOFBOIDPEGD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4703; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/HomeEnterEditModeFinishRsp.proto b/proto/HomeEnterEditModeFinishRsp.proto index 6a5b96df..98f206f3 100644 --- a/proto/HomeEnterEditModeFinishRsp.proto +++ b/proto/HomeEnterEditModeFinishRsp.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HomeEnterEditModeFinishRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4583; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum BEGILMANMEH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4566; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 15; + int32 retcode = 15; } diff --git a/proto/HomeExchangeWoodReq.proto b/proto/HomeExchangeWoodReq.proto new file mode 100644 index 00000000..10f9e658 --- /dev/null +++ b/proto/HomeExchangeWoodReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeExchangeWoodReq { + enum NIIPNNDOJGL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4672; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + map materialCountMap = 1; + uint32 woodId = 8; +} diff --git a/proto/HomeExchangeWoodRsp.proto b/proto/HomeExchangeWoodRsp.proto new file mode 100644 index 00000000..39312ebe --- /dev/null +++ b/proto/HomeExchangeWoodRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeExchangeWoodRsp { + enum LEHHCIKIGDM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4812; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 woodId = 11; + int32 retcode = 13; + uint32 exchangedCount = 2; + uint32 woodCount = 5; +} diff --git a/proto/HomeFishFarmingInfo.proto b/proto/HomeFishFarmingInfo.proto new file mode 100644 index 00000000..54b0bdc2 --- /dev/null +++ b/proto/HomeFishFarmingInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeFishFarmingInfo { + uint32 fishpondGuid = 4; + repeated uint32 fishIdList = 6; +} diff --git a/proto/HomeFishFarmingInfoNotify.proto b/proto/HomeFishFarmingInfoNotify.proto new file mode 100644 index 00000000..0a734241 --- /dev/null +++ b/proto/HomeFishFarmingInfoNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "HomeFishFarmingInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeFishFarmingInfoNotify { + enum ICEJHMAFMHN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4605; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated HomeFishFarmingInfo fishFarmingInfoList = 7; +} diff --git a/proto/HomeFurnitureArrangementMuipData.proto b/proto/HomeFurnitureArrangementMuipData.proto index ca301547..8710b088 100644 --- a/proto/HomeFurnitureArrangementMuipData.proto +++ b/proto/HomeFurnitureArrangementMuipData.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeFurnitureArrangementMuipData { diff --git a/proto/HomeFurnitureCustomSuiteData.proto b/proto/HomeFurnitureCustomSuiteData.proto index ad9c0c52..d49f8961 100644 --- a/proto/HomeFurnitureCustomSuiteData.proto +++ b/proto/HomeFurnitureCustomSuiteData.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeFurnitureCustomSuiteData { - repeated int32 included_furniture_index_list = 14; - Vector spawn_pos = 5; - uint32 guid = 12; + uint32 guid = 10; + repeated int32 includedFurnitureIndexList = 5; + Rotation spawnPos = 6; } diff --git a/proto/HomeFurnitureData.proto b/proto/HomeFurnitureData.proto index 0e04a8da..6580c854 100644 --- a/proto/HomeFurnitureData.proto +++ b/proto/HomeFurnitureData.proto @@ -1,31 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeFurnitureData { - uint32 furniture_id = 8; - int32 parent_furniture_index = 15; - uint32 guid = 12; - Vector spawn_rot = 6; - Vector spawn_pos = 2; - uint32 version = 11; + uint32 version = 5; + int32 parentFurnitureIndex = 9; + Rotation spawnRot = 12; + Rotation spawnPos = 2; + uint32 guid = 14; + uint32 furnitureId = 11; } diff --git a/proto/HomeFurnitureGroupData.proto b/proto/HomeFurnitureGroupData.proto index ea0c42dc..bd9be3c4 100644 --- a/proto/HomeFurnitureGroupData.proto +++ b/proto/HomeFurnitureGroupData.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeFurnitureData.proto"; + +import "HomeFurnitureData.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeFurnitureGroupData { - repeated HomeFurnitureData virtual_furniture_list = 1; - uint32 group_furniture_index = 15; + repeated HomeFurnitureData virtualFurnitureList = 12; + uint32 groupFurnitureIndex = 4; } diff --git a/proto/HomeFurnitureSuiteData.proto b/proto/HomeFurnitureSuiteData.proto index 64420fb0..5b3c3b34 100644 --- a/proto/HomeFurnitureSuiteData.proto +++ b/proto/HomeFurnitureSuiteData.proto @@ -1,30 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeFurnitureSuiteData { - bool is_allow_summon = 4; - uint32 suite_id = 3; - uint32 guid = 5; - Vector spawn_pos = 9; - repeated int32 included_furniture_index_list = 11; + repeated int32 includedFurnitureIndexList = 7; + uint32 guid = 12; + uint32 suiteId = 15; + bool isAllowSummon = 14; + Rotation spawnPos = 10; } diff --git a/proto/HomeGalleryInPlayingNotify.proto b/proto/HomeGalleryInPlayingNotify.proto new file mode 100644 index 00000000..81337d62 --- /dev/null +++ b/proto/HomeGalleryInPlayingNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeGalleryInPlayingNotify { + enum IFBIKOKLDGN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5600; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 galleryId = 12; +} diff --git a/proto/HomeGetArrangementInfoReq.proto b/proto/HomeGetArrangementInfoReq.proto index 5426cf53..adc6aa64 100644 --- a/proto/HomeGetArrangementInfoReq.proto +++ b/proto/HomeGetArrangementInfoReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HomeGetArrangementInfoReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4601; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum MINGFOHLJDE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4614; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated uint32 scene_id_list = 6; + repeated uint32 sceneIdList = 10; } diff --git a/proto/HomeGetArrangementInfoRsp.proto b/proto/HomeGetArrangementInfoRsp.proto index d665d87f..c61bd533 100644 --- a/proto/HomeGetArrangementInfoRsp.proto +++ b/proto/HomeGetArrangementInfoRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeSceneArrangementInfo.proto"; + +import "HomeSceneArrangementInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeGetArrangementInfoRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4878; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum GGKHICMEPOE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4624; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated HomeSceneArrangementInfo scene_arrangement_info_list = 13; - int32 retcode = 11; + int32 retcode = 3; + repeated HomeSceneArrangementInfo sceneArrangementInfoList = 10; } diff --git a/proto/HomeGetBasicInfoReq.proto b/proto/HomeGetBasicInfoReq.proto index d9c758c2..1da7a21a 100644 --- a/proto/HomeGetBasicInfoReq.proto +++ b/proto/HomeGetBasicInfoReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HomeGetBasicInfoReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4743; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum CABKHOIIEKL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4489; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/HomeGetBlueprintSlotInfoReq.proto b/proto/HomeGetBlueprintSlotInfoReq.proto new file mode 100644 index 00000000..3c94e98c --- /dev/null +++ b/proto/HomeGetBlueprintSlotInfoReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeGetBlueprintSlotInfoReq { + enum EPNGJEIIKED { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4698; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/HomeGetBlueprintSlotInfoRsp.proto b/proto/HomeGetBlueprintSlotInfoRsp.proto new file mode 100644 index 00000000..a0484604 --- /dev/null +++ b/proto/HomeGetBlueprintSlotInfoRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "HomeBlueprintSlotInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeGetBlueprintSlotInfoRsp { + enum PBAPEFNPDAF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4541; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 10; + repeated uint32 deleteSlotIdList = 6; + repeated HomeBlueprintSlotInfo slotInfoList = 11; +} diff --git a/proto/HomeGetFishFarmingInfoReq.proto b/proto/HomeGetFishFarmingInfoReq.proto new file mode 100644 index 00000000..35b8fac5 --- /dev/null +++ b/proto/HomeGetFishFarmingInfoReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeGetFishFarmingInfoReq { + enum ADPCLOIJMAD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4892; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/HomeGetFishFarmingInfoRsp.proto b/proto/HomeGetFishFarmingInfoRsp.proto new file mode 100644 index 00000000..05d1941c --- /dev/null +++ b/proto/HomeGetFishFarmingInfoRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "HomeFishFarmingInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeGetFishFarmingInfoRsp { + enum ENLIOLLPBDI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4899; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 13; + repeated HomeFishFarmingInfo fishFarmingInfoList = 1; +} diff --git a/proto/HomeGetGroupRecordReq.proto b/proto/HomeGetGroupRecordReq.proto new file mode 100644 index 00000000..01dad378 --- /dev/null +++ b/proto/HomeGetGroupRecordReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeGetGroupRecordReq { + enum INEOMFDEBPF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4662; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 groupId = 13; +} diff --git a/proto/HomeGetGroupRecordRsp.proto b/proto/HomeGetGroupRecordRsp.proto new file mode 100644 index 00000000..dc20ed15 --- /dev/null +++ b/proto/HomeGetGroupRecordRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "HomeGroupRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeGetGroupRecordRsp { + enum JOCODCCGGBL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4691; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 recordType = 12; + int32 retcode = 7; + HomeGroupRecord groupRecord = 13; +} diff --git a/proto/HomeGetOnlineStatusReq.proto b/proto/HomeGetOnlineStatusReq.proto new file mode 100644 index 00000000..7775c4fb --- /dev/null +++ b/proto/HomeGetOnlineStatusReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeGetOnlineStatusReq { + enum LDIIENKMDPG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4479; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/HomeGetOnlineStatusRsp.proto b/proto/HomeGetOnlineStatusRsp.proto new file mode 100644 index 00000000..fa40f5eb --- /dev/null +++ b/proto/HomeGetOnlineStatusRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "OnlinePlayerInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeGetOnlineStatusRsp { + enum KGAPJLCHFEP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4886; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 5; + repeated OnlinePlayerInfo playerInfoList = 9; +} diff --git a/proto/HomeGroupPlayerInfo.proto b/proto/HomeGroupPlayerInfo.proto index 33b35052..3cd6f131 100644 --- a/proto/HomeGroupPlayerInfo.proto +++ b/proto/HomeGroupPlayerInfo.proto @@ -1,31 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ProfilePicture.proto"; + +import "ProfilePicture.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeGroupPlayerInfo { - string psn_id = 10; - string nickname = 13; - uint32 uid = 1; - ProfilePicture profile_picture = 2; - uint32 player_level = 9; - string online_id = 4; + string nickname = 15; + uint32 uid = 3; + uint32 playerLevel = 14; + string onlineId = 11; + ProfilePicture profilePicture = 2; + string psnId = 1; } diff --git a/proto/HomeGroupRecord.proto b/proto/HomeGroupRecord.proto new file mode 100644 index 00000000..877a27fc --- /dev/null +++ b/proto/HomeGroupRecord.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "RacingGalleryInfo.proto"; +import "BalloonGalleryInfo.proto"; +import "StakePlayInfo.proto"; +import "SeekFurnitureGalleryInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeGroupRecord { + uint32 groupId = 8; + oneof MHAMJJPLNLL { + RacingGalleryInfo racing_gallery_info = 1457; + BalloonGalleryInfo balloon_gallery_info = 1480; + StakePlayInfo stake_play_info = 1758; + SeekFurnitureGalleryInfo seek_furniture_gallery_info = 1801; + } +} diff --git a/proto/HomeKickPlayerReq.proto b/proto/HomeKickPlayerReq.proto new file mode 100644 index 00000000..c07b9812 --- /dev/null +++ b/proto/HomeKickPlayerReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeKickPlayerReq { + enum KIELMEMBJAP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4511; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isKickAll = 7; + uint32 targetUid = 15; +} diff --git a/proto/HomeKickPlayerRsp.proto b/proto/HomeKickPlayerRsp.proto new file mode 100644 index 00000000..ed169f1f --- /dev/null +++ b/proto/HomeKickPlayerRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeKickPlayerRsp { + enum BIDJABGFPDJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4883; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isKickAll = 8; + uint32 targetUid = 5; + int32 retcode = 2; +} diff --git a/proto/HomeLimitedShop.proto b/proto/HomeLimitedShop.proto index f852b11a..3ec050db 100644 --- a/proto/HomeLimitedShop.proto +++ b/proto/HomeLimitedShop.proto @@ -1,26 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeLimitedShopGoods.proto"; + +import "HomeLimitedShopGoods.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeLimitedShop { - repeated HomeLimitedShopGoods goods_list = 9; + repeated HomeLimitedShopGoods goodsList = 9; } diff --git a/proto/HomeLimitedShopBuyGoodsReq.proto b/proto/HomeLimitedShopBuyGoodsReq.proto index 8b8cecf4..d30a6fe2 100644 --- a/proto/HomeLimitedShopBuyGoodsReq.proto +++ b/proto/HomeLimitedShopBuyGoodsReq.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeLimitedShopGoods.proto"; + +import "HomeLimitedShopGoods.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeLimitedShopBuyGoodsReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4574; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum NLNFOCHGLND { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4647; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - HomeLimitedShopGoods goods = 6; - uint32 buy_count = 13; + HomeLimitedShopGoods goods = 1; + uint32 buyCount = 10; } diff --git a/proto/HomeLimitedShopBuyGoodsRsp.proto b/proto/HomeLimitedShopBuyGoodsRsp.proto index f9a71025..c35aaa91 100644 --- a/proto/HomeLimitedShopBuyGoodsRsp.proto +++ b/proto/HomeLimitedShopBuyGoodsRsp.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeLimitedShopGoods.proto"; + +import "HomeLimitedShopGoods.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeLimitedShopBuyGoodsRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4630; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HIJMPKDLIDK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4865; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated HomeLimitedShopGoods goods_list = 3; - uint32 buy_count = 10; - int32 retcode = 13; - HomeLimitedShopGoods goods = 9; + repeated HomeLimitedShopGoods goodsList = 5; + HomeLimitedShopGoods goods = 8; + uint32 buyCount = 11; + int32 retcode = 1; } diff --git a/proto/HomeLimitedShopGoods.proto b/proto/HomeLimitedShopGoods.proto index b662cc17..edd491ea 100644 --- a/proto/HomeLimitedShopGoods.proto +++ b/proto/HomeLimitedShopGoods.proto @@ -1,31 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ItemParam.proto"; + +import "ItemParam.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeLimitedShopGoods { - uint32 buy_limit = 8; - uint32 disable_type = 10; - uint32 goods_id = 12; - uint32 bought_num = 5; - ItemParam goods_item = 2; - repeated ItemParam cost_item_list = 4; + uint32 disableType = 5; + ItemParam goodsItem = 12; + uint32 goodsId = 6; + repeated ItemParam costItemList = 15; + uint32 boughtNum = 7; + uint32 buyLimit = 13; } diff --git a/proto/HomeLimitedShopGoodsListReq.proto b/proto/HomeLimitedShopGoodsListReq.proto index 4b24261e..312b64e4 100644 --- a/proto/HomeLimitedShopGoodsListReq.proto +++ b/proto/HomeLimitedShopGoodsListReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HomeLimitedShopGoodsListReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4537; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum PKFIGCIDBOH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4751; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/HomeLimitedShopGoodsListRsp.proto b/proto/HomeLimitedShopGoodsListRsp.proto index 396b5faa..94c0c987 100644 --- a/proto/HomeLimitedShopGoodsListRsp.proto +++ b/proto/HomeLimitedShopGoodsListRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeLimitedShop.proto"; + +import "HomeLimitedShop.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeLimitedShopGoodsListRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4492; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum LMEKIIKCNOJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4770; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 1; - HomeLimitedShop shop = 12; + HomeLimitedShop shop = 13; + int32 retcode = 9; } diff --git a/proto/HomeLimitedShopInfo.proto b/proto/HomeLimitedShopInfo.proto index a6df3ee3..af0c3c22 100644 --- a/proto/HomeLimitedShopInfo.proto +++ b/proto/HomeLimitedShopInfo.proto @@ -1,31 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeLimitedShopInfo { - uint32 uid = 9; - fixed32 next_guest_open_time = 8; - Vector djinn_rot = 11; - fixed32 next_open_time = 5; - Vector djinn_pos = 2; - fixed32 next_close_time = 15; + uint32 nextGuestOpenTime = 14; + uint32 uid = 4; + Rotation djinnRot = 12; + uint32 nextCloseTime = 2; + Rotation djinnPos = 6; + uint32 nextOpenTime = 15; } diff --git a/proto/HomeLimitedShopInfoChangeNotify.proto b/proto/HomeLimitedShopInfoChangeNotify.proto index 653ad056..5d662d56 100644 --- a/proto/HomeLimitedShopInfoChangeNotify.proto +++ b/proto/HomeLimitedShopInfoChangeNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeLimitedShopGoods.proto"; + +import "HomeLimitedShopGoods.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeLimitedShopInfoChangeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4790; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum ALMFKCPBAGI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4552; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated HomeLimitedShopGoods goods_list = 2; + repeated HomeLimitedShopGoods goodsList = 1; } diff --git a/proto/HomeLimitedShopInfoNotify.proto b/proto/HomeLimitedShopInfoNotify.proto index 4475bd61..67b5fa52 100644 --- a/proto/HomeLimitedShopInfoNotify.proto +++ b/proto/HomeLimitedShopInfoNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeLimitedShopInfo.proto"; + +import "HomeLimitedShopInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeLimitedShopInfoNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4475; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum LIBPBIGJPBM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4576; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - HomeLimitedShopInfo shop_info = 7; + HomeLimitedShopInfo shopInfo = 13; } diff --git a/proto/HomeLimitedShopInfoReq.proto b/proto/HomeLimitedShopInfoReq.proto index c8ed9c72..d88eb31d 100644 --- a/proto/HomeLimitedShopInfoReq.proto +++ b/proto/HomeLimitedShopInfoReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HomeLimitedShopInfoReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4815; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum PALECFPFFNN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4686; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/HomeLimitedShopInfoRsp.proto b/proto/HomeLimitedShopInfoRsp.proto index d83b6800..72840237 100644 --- a/proto/HomeLimitedShopInfoRsp.proto +++ b/proto/HomeLimitedShopInfoRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeLimitedShopInfo.proto"; + +import "HomeLimitedShopInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeLimitedShopInfoRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4739; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum KPHKNIOJHGG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4517; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 9; - HomeLimitedShopInfo shop_info = 12; + int32 retcode = 10; + HomeLimitedShopInfo shopInfo = 7; } diff --git a/proto/HomeMarkPointFurnitureData.proto b/proto/HomeMarkPointFurnitureData.proto index 421571dd..ce0bebdf 100644 --- a/proto/HomeMarkPointFurnitureData.proto +++ b/proto/HomeMarkPointFurnitureData.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeMarkPointNPCData.proto"; -import "HomeMarkPointSuiteData.proto"; -import "Vector.proto"; + +import "Rotation.proto"; +import "NpcData.proto"; +import "SuiteData.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeMarkPointFurnitureData { - uint32 guid = 1; - uint32 furniture_id = 2; - uint32 furniture_type = 3; - Vector pos = 4; - oneof extra { - HomeMarkPointNPCData npc_data = 6; - HomeMarkPointSuiteData suite_data = 7; - } + uint32 guid = 1; + uint32 furnitureId = 2; + uint32 furnitureType = 3; + Rotation pos = 4; + oneof GPHOOOLEKGJ { + NpcData npc_data = 6; + SuiteData suite_data = 7; + } } diff --git a/proto/HomeMarkPointNPCData.proto b/proto/HomeMarkPointNPCData.proto index 77c064fa..ee3f6a57 100644 --- a/proto/HomeMarkPointNPCData.proto +++ b/proto/HomeMarkPointNPCData.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HomeMarkPointNPCData { - uint32 avatar_id = 1; - uint32 costume_id = 2; + uint32 avatarId = 1; + uint32 costumeId = 2; } diff --git a/proto/HomeMarkPointNotify.proto b/proto/HomeMarkPointNotify.proto index 61cb6813..7b83dbea 100644 --- a/proto/HomeMarkPointNotify.proto +++ b/proto/HomeMarkPointNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeMarkPointSceneData.proto"; + +import "HomeMarkPointSceneData.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeMarkPointNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4868; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum EKLBOBJCMIF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4832; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated HomeMarkPointSceneData mark_point_data_list = 11; + repeated HomeMarkPointSceneData markPointDataList = 11; } diff --git a/proto/HomeMarkPointSceneData.proto b/proto/HomeMarkPointSceneData.proto index 1da45b84..f602afcc 100644 --- a/proto/HomeMarkPointSceneData.proto +++ b/proto/HomeMarkPointSceneData.proto @@ -1,31 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeMarkPointFurnitureData.proto"; -import "Vector.proto"; + +import "Rotation.proto"; +import "HomeMarkPointFurnitureData.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeMarkPointSceneData { - Vector teapot_spirit_pos = 9; - uint32 scene_id = 6; - Vector safe_point_pos = 11; - uint32 module_id = 8; - repeated HomeMarkPointFurnitureData furniture_list = 13; + repeated HomeMarkPointFurnitureData furnitureList = 14; + uint32 moduleId = 5; + uint32 sceneId = 15; + Rotation safePointPos = 10; + Rotation teapotSpiritPos = 8; } diff --git a/proto/HomeMarkPointSuiteData.proto b/proto/HomeMarkPointSuiteData.proto index 264f1d9b..a525bdd7 100644 --- a/proto/HomeMarkPointSuiteData.proto +++ b/proto/HomeMarkPointSuiteData.proto @@ -1,24 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HomeMarkPointSuiteData { - uint32 suite_id = 1; + uint32 suiteId = 1; } diff --git a/proto/HomeModuleComfortInfo.proto b/proto/HomeModuleComfortInfo.proto index 3a7dae83..5b6b279f 100644 --- a/proto/HomeModuleComfortInfo.proto +++ b/proto/HomeModuleComfortInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HomeModuleComfortInfo { - uint32 room_scene_comfort_value = 5; - repeated uint32 world_scene_block_comfort_value_list = 10; - uint32 module_id = 15; + repeated uint32 worldSceneBlockComfortValueList = 3; + uint32 moduleId = 13; + uint32 roomSceneComfortValue = 2; } diff --git a/proto/HomeModuleSeenReq.proto b/proto/HomeModuleSeenReq.proto new file mode 100644 index 00000000..69797014 --- /dev/null +++ b/proto/HomeModuleSeenReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeModuleSeenReq { + enum OKDEFJHLABG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4817; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 seenModuleIdList = 4; +} diff --git a/proto/HomeModuleSeenRsp.proto b/proto/HomeModuleSeenRsp.proto new file mode 100644 index 00000000..2498ca47 --- /dev/null +++ b/proto/HomeModuleSeenRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeModuleSeenRsp { + enum DBDAOAGDKOJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4516; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 9; + repeated uint32 seenModuleIdList = 12; +} diff --git a/proto/HomeModuleUnlockNotify.proto b/proto/HomeModuleUnlockNotify.proto new file mode 100644 index 00000000..99af7404 --- /dev/null +++ b/proto/HomeModuleUnlockNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeModuleUnlockNotify { + enum NLKMOKOLLKG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4528; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 moduleId = 14; +} diff --git a/proto/HomeNewUnlockedBgmIdListNotify.proto b/proto/HomeNewUnlockedBgmIdListNotify.proto index 6c51b27f..ef0a5cc6 100644 --- a/proto/HomeNewUnlockedBgmIdListNotify.proto +++ b/proto/HomeNewUnlockedBgmIdListNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HomeNewUnlockedBgmIdListNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4899; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum NGJGDJCKADI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4732; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 new_unlocked_bgm_id_list = 1; + repeated uint32 newUnlockedBgmIdList = 6; } diff --git a/proto/HomeNpcData.proto b/proto/HomeNpcData.proto index 5796ea5f..27f40e69 100644 --- a/proto/HomeNpcData.proto +++ b/proto/HomeNpcData.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeNpcData { - uint32 avatar_id = 11; - Vector spawn_pos = 13; - uint32 costume_id = 4; - Vector spawn_rot = 7; + Rotation spawnPos = 4; + uint32 costumeId = 13; + uint32 avatarId = 5; + Rotation spawnRot = 6; } diff --git a/proto/HomePictureFrameInfo.proto b/proto/HomePictureFrameInfo.proto new file mode 100644 index 00000000..cdba2c7b --- /dev/null +++ b/proto/HomePictureFrameInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomePictureFrameInfo { + uint32 pictureId = 1; + uint32 guid = 8; +} diff --git a/proto/HomePictureFrameInfoNotify.proto b/proto/HomePictureFrameInfoNotify.proto new file mode 100644 index 00000000..8e9abae9 --- /dev/null +++ b/proto/HomePictureFrameInfoNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "HomePictureFrameInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomePictureFrameInfoNotify { + enum PANLKEDPGDD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4677; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated HomePictureFrameInfo pictureFrameInfoList = 8; +} diff --git a/proto/HomePlantFieldData.proto b/proto/HomePlantFieldData.proto new file mode 100644 index 00000000..9e61c8c8 --- /dev/null +++ b/proto/HomePlantFieldData.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +import "HomePlantSubFieldData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomePlantFieldData { + uint32 sceneId = 1; + uint32 fieldGuid = 3; + repeated HomePlantSubFieldData subFieldList = 2; + uint32 furnitureId = 4; + Rotation spawnPos = 9; +} diff --git a/proto/HomePlantFieldNotify.proto b/proto/HomePlantFieldNotify.proto new file mode 100644 index 00000000..6381c451 --- /dev/null +++ b/proto/HomePlantFieldNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "HomePlantFieldData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomePlantFieldNotify { + enum GPLODLLFKFL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4731; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + HomePlantFieldData field = 4; +} diff --git a/proto/HomePlantFieldStatus.proto b/proto/HomePlantFieldStatus.proto new file mode 100644 index 00000000..779c71a5 --- /dev/null +++ b/proto/HomePlantFieldStatus.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +enum HomePlantFieldStatus { + HOME_PLANT_FIELD_STATUS_STATUE_NONE = 0; + HOME_PLANT_FIELD_STATUS_STATUE_SEED = 1; + HOME_PLANT_FIELD_STATUS_STATUE_SPROUT = 2; + HOME_PLANT_FIELD_STATUS_STATUE_GATHER = 3; +} diff --git a/proto/HomePlantInfoNotify.proto b/proto/HomePlantInfoNotify.proto new file mode 100644 index 00000000..517b933c --- /dev/null +++ b/proto/HomePlantInfoNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "HomePlantFieldData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomePlantInfoNotify { + enum PKDEJFIFJJJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4547; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated HomePlantFieldData fieldList = 8; +} diff --git a/proto/HomePlantInfoReq.proto b/proto/HomePlantInfoReq.proto new file mode 100644 index 00000000..1cccbb31 --- /dev/null +++ b/proto/HomePlantInfoReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomePlantInfoReq { + enum ECOGENJCIAP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4640; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/HomePlantInfoRsp.proto b/proto/HomePlantInfoRsp.proto new file mode 100644 index 00000000..f1ee30d3 --- /dev/null +++ b/proto/HomePlantInfoRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "HomePlantFieldData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomePlantInfoRsp { + enum PPMPGKHAGBN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4512; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated HomePlantFieldData fieldList = 8; + int32 retcode = 10; +} diff --git a/proto/HomePlantSeedReq.proto b/proto/HomePlantSeedReq.proto new file mode 100644 index 00000000..2d4d7288 --- /dev/null +++ b/proto/HomePlantSeedReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomePlantSeedReq { + enum KJLDECHGMIG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4669; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 index = 5; + uint32 fieldGuid = 13; + repeated uint32 seedIdList = 10; +} diff --git a/proto/HomePlantSeedRsp.proto b/proto/HomePlantSeedRsp.proto new file mode 100644 index 00000000..9fa1f2af --- /dev/null +++ b/proto/HomePlantSeedRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomePlantSeedRsp { + enum BOBBEEGPDFL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4779; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 9; +} diff --git a/proto/HomePlantSubFieldData.proto b/proto/HomePlantSubFieldData.proto new file mode 100644 index 00000000..c78ca0a5 --- /dev/null +++ b/proto/HomePlantSubFieldData.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "HomePlantFieldStatus.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomePlantSubFieldData { + uint32 endTime = 15; + repeated uint32 entityIdList = 4; + uint32 homeGatherId = 10; + HomePlantFieldStatus fieldStatus = 8; + uint32 seedId = 6; +} diff --git a/proto/HomePlantWeedReq.proto b/proto/HomePlantWeedReq.proto new file mode 100644 index 00000000..8357618c --- /dev/null +++ b/proto/HomePlantWeedReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomePlantWeedReq { + enum PBIOBLNGELM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4603; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 index = 1; + uint32 fieldGuid = 7; +} diff --git a/proto/HomePlantWeedRsp.proto b/proto/HomePlantWeedRsp.proto new file mode 100644 index 00000000..c9a512c1 --- /dev/null +++ b/proto/HomePlantWeedRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomePlantWeedRsp { + enum LIKBFOKLGGB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4697; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 5; +} diff --git a/proto/HomePreChangeEditModeNotify.proto b/proto/HomePreChangeEditModeNotify.proto index b6e01832..83b775b7 100644 --- a/proto/HomePreChangeEditModeNotify.proto +++ b/proto/HomePreChangeEditModeNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HomePreChangeEditModeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4720; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum IOMPIOPCDHF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4637; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - bool is_enter_edit_mode = 10; + bool isEnterEditMode = 3; } diff --git a/proto/HomePreviewBlueprintReq.proto b/proto/HomePreviewBlueprintReq.proto new file mode 100644 index 00000000..b98afb2c --- /dev/null +++ b/proto/HomePreviewBlueprintReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomePreviewBlueprintReq { + enum EFKLPCDLCDO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4609; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + string shareCode = 6; +} diff --git a/proto/HomePreviewBlueprintRsp.proto b/proto/HomePreviewBlueprintRsp.proto new file mode 100644 index 00000000..e6ffd5cb --- /dev/null +++ b/proto/HomePreviewBlueprintRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "HomeSceneArrangementInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomePreviewBlueprintRsp { + enum GACMGFBMJLD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4625; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + string shareCode = 3; + int32 retcode = 4; + HomeSceneArrangementInfo sceneArrangementInfo = 15; +} diff --git a/proto/HomePriorCheckNotify.proto b/proto/HomePriorCheckNotify.proto new file mode 100644 index 00000000..370aa2c8 --- /dev/null +++ b/proto/HomePriorCheckNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomePriorCheckNotify { + enum IDFLIHGFGKK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4694; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 endTime = 7; +} diff --git a/proto/HomeRacingGalleryRecord.proto b/proto/HomeRacingGalleryRecord.proto new file mode 100644 index 00000000..1e4956dd --- /dev/null +++ b/proto/HomeRacingGalleryRecord.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "HomeGroupPlayerInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeRacingGalleryRecord { + uint32 useTime = 3; + uint32 timestamp = 8; + HomeGroupPlayerInfo playerInfo = 4; +} diff --git a/proto/HomeRacingGallerySettleNotify.proto b/proto/HomeRacingGallerySettleNotify.proto new file mode 100644 index 00000000..a0d82a2a --- /dev/null +++ b/proto/HomeRacingGallerySettleNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "RacingGallerySettleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeRacingGallerySettleNotify { + enum MKKIDPBMLKB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4671; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + RacingGallerySettleInfo settleInfo = 10; + uint32 galleryId = 4; + uint32 rank = 1; + bool isNewRecord = 5; +} diff --git a/proto/HomeRacingRecord.proto b/proto/HomeRacingRecord.proto new file mode 100644 index 00000000..4fe60888 --- /dev/null +++ b/proto/HomeRacingRecord.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "HomeRacingGalleryRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeRacingRecord { + repeated HomeRacingGalleryRecord recordList = 2; +} diff --git a/proto/HomeResource.proto b/proto/HomeResource.proto new file mode 100644 index 00000000..207324e8 --- /dev/null +++ b/proto/HomeResource.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeResource { + uint32 storeLimit = 15; + uint32 storeValue = 10; + uint32 nextRefreshTime = 1; +} diff --git a/proto/HomeResourceNotify.proto b/proto/HomeResourceNotify.proto new file mode 100644 index 00000000..afd7b60f --- /dev/null +++ b/proto/HomeResourceNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "HomeResource.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeResourceNotify { + enum HKEFOBECFHH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4639; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + HomeResource fetterExp = 9; + HomeResource homeCoin = 1; +} diff --git a/proto/HomeResourceTakeFetterExpReq.proto b/proto/HomeResourceTakeFetterExpReq.proto new file mode 100644 index 00000000..8674681f --- /dev/null +++ b/proto/HomeResourceTakeFetterExpReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeResourceTakeFetterExpReq { + enum HAAKPPLLECB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4525; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/HomeResourceTakeFetterExpRsp.proto b/proto/HomeResourceTakeFetterExpRsp.proto new file mode 100644 index 00000000..e369b1df --- /dev/null +++ b/proto/HomeResourceTakeFetterExpRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "HomeResource.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeResourceTakeFetterExpRsp { + enum GGMAOEEILCK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4837; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + HomeResource fetterExp = 12; + int32 retcode = 3; +} diff --git a/proto/HomeResourceTakeHomeCoinReq.proto b/proto/HomeResourceTakeHomeCoinReq.proto new file mode 100644 index 00000000..e0645522 --- /dev/null +++ b/proto/HomeResourceTakeHomeCoinReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeResourceTakeHomeCoinReq { + enum ALJGALOMLPM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4460; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/HomeResourceTakeHomeCoinRsp.proto b/proto/HomeResourceTakeHomeCoinRsp.proto new file mode 100644 index 00000000..173256fb --- /dev/null +++ b/proto/HomeResourceTakeHomeCoinRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "HomeResource.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeResourceTakeHomeCoinRsp { + enum DFPMKJHEGPN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4573; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + HomeResource homeCoin = 15; + int32 retcode = 14; +} diff --git a/proto/HomeSaveArrangementNoChangeReq.proto b/proto/HomeSaveArrangementNoChangeReq.proto new file mode 100644 index 00000000..d9004d2a --- /dev/null +++ b/proto/HomeSaveArrangementNoChangeReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeSaveArrangementNoChangeReq { + enum PFOELMJCIFN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4562; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 sceneId = 14; +} diff --git a/proto/HomeSaveArrangementNoChangeRsp.proto b/proto/HomeSaveArrangementNoChangeRsp.proto new file mode 100644 index 00000000..244882e3 --- /dev/null +++ b/proto/HomeSaveArrangementNoChangeRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeSaveArrangementNoChangeRsp { + enum JOPFOMPDJAL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4762; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 6; + uint32 sceneId = 15; +} diff --git a/proto/HomeSceneArrangementInfo.proto b/proto/HomeSceneArrangementInfo.proto index a719f576..df122da7 100644 --- a/proto/HomeSceneArrangementInfo.proto +++ b/proto/HomeSceneArrangementInfo.proto @@ -1,39 +1,23 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeBlockArrangementInfo.proto"; -import "HomeFurnitureData.proto"; -import "Vector.proto"; + +import "Rotation.proto"; +import "HomeFurnitureData.proto"; +import "HomeBlockArrangementInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeSceneArrangementInfo { - uint32 comfort_value = 6; - repeated HomeBlockArrangementInfo block_arrangement_info_list = 1; - bool is_set_born_pos = 4; - Vector djinn_pos = 14; - Vector born_rot = 10; - uint32 bgm_id = 5; - Vector born_pos = 11; - repeated HomeFurnitureData Unk3300_GCHNAMHBPHG = 2; - HomeFurnitureData main_house = 15; - uint32 scene_id = 8; - repeated HomeFurnitureData Unk3300_HPCHPODNBPH = 9; - uint32 tmp_version = 3; + Rotation djinnPos = 15; + uint32 sceneId = 1; + bool isSetBornPos = 5; + Rotation bornPos = 10; + uint32 comfortValue = 9; + repeated HomeFurnitureData Unk3300_GCHNAMHBPHG = 11; + HomeFurnitureData mainHouse = 6; + Rotation bornRot = 8; + uint32 tmpVersion = 4; + repeated HomeFurnitureData Unk3300_HPCHPODNBPH = 7; + repeated HomeBlockArrangementInfo blockArrangementInfoList = 3; + uint32 bgmId = 12; } diff --git a/proto/HomeSceneInitFinishReq.proto b/proto/HomeSceneInitFinishReq.proto index 85ea7a95..22a6d799 100644 --- a/proto/HomeSceneInitFinishReq.proto +++ b/proto/HomeSceneInitFinishReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HomeSceneInitFinishReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4451; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum MJPLHNAFDJF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4452; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/HomeSceneInitFinishRsp.proto b/proto/HomeSceneInitFinishRsp.proto index 0a01f9e6..a67fd77c 100644 --- a/proto/HomeSceneInitFinishRsp.proto +++ b/proto/HomeSceneInitFinishRsp.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HomeSceneInitFinishRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4531; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum EKGNOMMBOJC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4530; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 15; + int32 retcode = 9; } diff --git a/proto/HomeSceneJumpReq.proto b/proto/HomeSceneJumpReq.proto index 8e67f44a..867c8b84 100644 --- a/proto/HomeSceneJumpReq.proto +++ b/proto/HomeSceneJumpReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HomeSceneJumpReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4527; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum MHLLCKNENMB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4826; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - bool is_enter_room_scene = 2; + bool isEnterRoomScene = 13; } diff --git a/proto/HomeSceneJumpRsp.proto b/proto/HomeSceneJumpRsp.proto index 049ce9a9..691943be 100644 --- a/proto/HomeSceneJumpRsp.proto +++ b/proto/HomeSceneJumpRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HomeSceneJumpRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4647; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum BCOGMNPNJPD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4822; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - bool is_enter_room_scene = 6; - int32 retcode = 5; + bool isEnterRoomScene = 1; + int32 retcode = 2; } diff --git a/proto/HomeScenePointFishFarmingInfo.proto b/proto/HomeScenePointFishFarmingInfo.proto new file mode 100644 index 00000000..92fd2af4 --- /dev/null +++ b/proto/HomeScenePointFishFarmingInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeScenePointFishFarmingInfo { + repeated uint32 fishIdList = 11; + uint32 sceneId = 6; + uint32 localEntityId = 5; +} diff --git a/proto/HomeScenePointFishFarmingInfoNotify.proto b/proto/HomeScenePointFishFarmingInfoNotify.proto new file mode 100644 index 00000000..8630743b --- /dev/null +++ b/proto/HomeScenePointFishFarmingInfoNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "HomeScenePointFishFarmingInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeScenePointFishFarmingInfoNotify { + enum JNJIJCHNAMH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4895; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated HomeScenePointFishFarmingInfo fishFarmingInfoList = 9; +} diff --git a/proto/HomeSearchBlueprintReq.proto b/proto/HomeSearchBlueprintReq.proto new file mode 100644 index 00000000..87d704d4 --- /dev/null +++ b/proto/HomeSearchBlueprintReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeSearchBlueprintReq { + enum OLPKDIPAOHO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4713; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + string shareCode = 4; +} diff --git a/proto/HomeSearchBlueprintRsp.proto b/proto/HomeSearchBlueprintRsp.proto new file mode 100644 index 00000000..49e03478 --- /dev/null +++ b/proto/HomeSearchBlueprintRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "HomeBlueprintSearchInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeSearchBlueprintRsp { + enum IFDAAOOKFDC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4611; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + HomeBlueprintSearchInfo searchInfo = 9; + int32 retcode = 3; +} diff --git a/proto/HomeSeekFurnitureAllRecord.proto b/proto/HomeSeekFurnitureAllRecord.proto index 4109ebec..82b7f257 100644 --- a/proto/HomeSeekFurnitureAllRecord.proto +++ b/proto/HomeSeekFurnitureAllRecord.proto @@ -1,26 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeSeekFurnitureOneRecord.proto"; + +import "HomeSeekFurnitureOneRecord.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeSeekFurnitureAllRecord { - repeated HomeSeekFurnitureOneRecord record_list = 9; + repeated HomeSeekFurnitureOneRecord recordList = 5; } diff --git a/proto/HomeSeekFurnitureGalleryScoreNotify.proto b/proto/HomeSeekFurnitureGalleryScoreNotify.proto index 5623cd97..7dbed45c 100644 --- a/proto/HomeSeekFurnitureGalleryScoreNotify.proto +++ b/proto/HomeSeekFurnitureGalleryScoreNotify.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "GalleryStopReason.proto"; import "HomeSeekFurnitureOneRecord.proto"; - option java_package = "emu.grasscutter.net.proto"; message HomeSeekFurnitureGalleryScoreNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4723; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum JJLGLAIDDAN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4612; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - GalleryStopReason reason = 7; - uint32 gallery_id = 13; - HomeSeekFurnitureOneRecord record = 2; + uint32 galleryId = 2; + GalleryStopReason reason = 9; + HomeSeekFurnitureOneRecord record = 7; } diff --git a/proto/HomeSeekFurnitureInfo.proto b/proto/HomeSeekFurnitureInfo.proto new file mode 100644 index 00000000..064e0d97 --- /dev/null +++ b/proto/HomeSeekFurnitureInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeSeekFurnitureInfo { + uint32 Unk3300_LGEAPLJCJFH = 10; + uint32 Unk3300_DAEEBIEAOMN = 11; + uint32 Unk3300_ENKOGPIEHFD = 8; + map playerScoreMap = 12; +} diff --git a/proto/HomeSeekFurnitureOneRecord.proto b/proto/HomeSeekFurnitureOneRecord.proto index 30c53c21..9b309863 100644 --- a/proto/HomeSeekFurnitureOneRecord.proto +++ b/proto/HomeSeekFurnitureOneRecord.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeSeekFurniturePlayerScore.proto"; + +import "HomeSeekFurniturePlayerScore.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeSeekFurnitureOneRecord { - uint32 timestamp = 12; - repeated HomeSeekFurniturePlayerScore engaged_player_score_list = 5; + repeated HomeSeekFurniturePlayerScore engagedPlayerScoreList = 6; + uint32 timestamp = 3; } diff --git a/proto/HomeSeekFurniturePlayerScore.proto b/proto/HomeSeekFurniturePlayerScore.proto index 7c5b9f8f..7523b719 100644 --- a/proto/HomeSeekFurniturePlayerScore.proto +++ b/proto/HomeSeekFurniturePlayerScore.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeGroupPlayerInfo.proto"; + +import "HomeGroupPlayerInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeSeekFurniturePlayerScore { - uint32 score = 8; - HomeGroupPlayerInfo player_info = 6; + HomeGroupPlayerInfo playerInfo = 4; + uint32 score = 9; } diff --git a/proto/HomeSetBlueprintFriendOptionReq.proto b/proto/HomeSetBlueprintFriendOptionReq.proto new file mode 100644 index 00000000..906f9218 --- /dev/null +++ b/proto/HomeSetBlueprintFriendOptionReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeSetBlueprintFriendOptionReq { + enum OBHPDCNHJCO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4590; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isAllowFriendCopy = 10; +} diff --git a/proto/HomeSetBlueprintFriendOptionRsp.proto b/proto/HomeSetBlueprintFriendOptionRsp.proto new file mode 100644 index 00000000..0ec66cc5 --- /dev/null +++ b/proto/HomeSetBlueprintFriendOptionRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeSetBlueprintFriendOptionRsp { + enum NJMIPNFDCKE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4818; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 6; + bool isAllowFriendCopy = 9; +} diff --git a/proto/HomeSetBlueprintSlotOptionReq.proto b/proto/HomeSetBlueprintSlotOptionReq.proto new file mode 100644 index 00000000..26d9717c --- /dev/null +++ b/proto/HomeSetBlueprintSlotOptionReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeSetBlueprintSlotOptionReq { + enum KKILPHIKCJB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4632; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 slotId = 11; + bool isAllowCopy = 10; +} diff --git a/proto/HomeSetBlueprintSlotOptionRsp.proto b/proto/HomeSetBlueprintSlotOptionRsp.proto new file mode 100644 index 00000000..453efea9 --- /dev/null +++ b/proto/HomeSetBlueprintSlotOptionRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeSetBlueprintSlotOptionRsp { + enum HAKCGBFOHIP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4749; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 15; + uint32 slotId = 2; + bool isAllowCopy = 1; +} diff --git a/proto/HomeStakePlayRecord.proto b/proto/HomeStakePlayRecord.proto new file mode 100644 index 00000000..09a1c725 --- /dev/null +++ b/proto/HomeStakePlayRecord.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "HomeGroupPlayerInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeStakePlayRecord { + uint32 timestamp = 10; + repeated HomeGroupPlayerInfo engagedPlayerInfoList = 5; +} diff --git a/proto/HomeStakeRecord.proto b/proto/HomeStakeRecord.proto new file mode 100644 index 00000000..abd40b0f --- /dev/null +++ b/proto/HomeStakeRecord.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "HomeStakePlayRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeStakeRecord { + repeated HomeStakePlayRecord recordList = 14; +} diff --git a/proto/HomeTransferReq.proto b/proto/HomeTransferReq.proto new file mode 100644 index 00000000..de978abf --- /dev/null +++ b/proto/HomeTransferReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeTransferReq { + enum MINNJECPLLH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4618; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 guid = 2; + bool isTransferToSafePoint = 11; +} diff --git a/proto/HomeTransferRsp.proto b/proto/HomeTransferRsp.proto new file mode 100644 index 00000000..63ed397f --- /dev/null +++ b/proto/HomeTransferRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeTransferRsp { + enum IGCFOPELKJF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4524; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + int32 retcode = 10; +} diff --git a/proto/HomeUpdateArrangementInfoReq.proto b/proto/HomeUpdateArrangementInfoReq.proto index 75a99cb4..ea6fcab7 100644 --- a/proto/HomeUpdateArrangementInfoReq.proto +++ b/proto/HomeUpdateArrangementInfoReq.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeSceneArrangementInfo.proto"; + +import "HomeSceneArrangementInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeUpdateArrangementInfoReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4533; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum OGMICEEKMCM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4689; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - HomeSceneArrangementInfo scene_arrangement_info = 6; + HomeSceneArrangementInfo sceneArrangementInfo = 2; } diff --git a/proto/HomeUpdateArrangementInfoRsp.proto b/proto/HomeUpdateArrangementInfoRsp.proto index 6c3deac5..baf5e0b4 100644 --- a/proto/HomeUpdateArrangementInfoRsp.proto +++ b/proto/HomeUpdateArrangementInfoRsp.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HomeUpdateArrangementInfoRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4776; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum GBMFLOPBKAF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4466; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 3; + int32 retcode = 1; } diff --git a/proto/HomeUpdateFishFarmingInfoReq.proto b/proto/HomeUpdateFishFarmingInfoReq.proto new file mode 100644 index 00000000..522605d7 --- /dev/null +++ b/proto/HomeUpdateFishFarmingInfoReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "HomeFishFarmingInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeUpdateFishFarmingInfoReq { + enum CDAFPDOLHLA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4847; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + HomeFishFarmingInfo fishFarmingInfo = 3; +} diff --git a/proto/HomeUpdateFishFarmingInfoRsp.proto b/proto/HomeUpdateFishFarmingInfoRsp.proto new file mode 100644 index 00000000..73379173 --- /dev/null +++ b/proto/HomeUpdateFishFarmingInfoRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeUpdateFishFarmingInfoRsp { + enum FJMHBHPOBKL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4535; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 5; +} diff --git a/proto/HomeUpdatePictureFrameInfoReq.proto b/proto/HomeUpdatePictureFrameInfoReq.proto new file mode 100644 index 00000000..1442db9d --- /dev/null +++ b/proto/HomeUpdatePictureFrameInfoReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "HomePictureFrameInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeUpdatePictureFrameInfoReq { + enum NJGGHGCIMOF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4858; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + HomePictureFrameInfo pictureFrameInfo = 9; +} diff --git a/proto/HomeUpdatePictureFrameInfoRsp.proto b/proto/HomeUpdatePictureFrameInfoRsp.proto new file mode 100644 index 00000000..7cbdce8c --- /dev/null +++ b/proto/HomeUpdatePictureFrameInfoRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "HomePictureFrameInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeUpdatePictureFrameInfoRsp { + enum NLLDEEHKPHM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4540; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 11; + HomePictureFrameInfo pictureFrameInfo = 4; +} diff --git a/proto/HomeUpdateScenePointFishFarmingInfoReq.proto b/proto/HomeUpdateScenePointFishFarmingInfoReq.proto new file mode 100644 index 00000000..55fb9040 --- /dev/null +++ b/proto/HomeUpdateScenePointFishFarmingInfoReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "HomeScenePointFishFarmingInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HomeUpdateScenePointFishFarmingInfoReq { + enum GPAELILCNFJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4587; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + HomeScenePointFishFarmingInfo fishFarmingInfo = 10; +} diff --git a/proto/HomeUpdateScenePointFishFarmingInfoRsp.proto b/proto/HomeUpdateScenePointFishFarmingInfoRsp.proto new file mode 100644 index 00000000..e87fed9c --- /dev/null +++ b/proto/HomeUpdateScenePointFishFarmingInfoRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HomeUpdateScenePointFishFarmingInfoRsp { + enum NEMKOEBCCHI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4548; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 15; +} diff --git a/proto/HomeVerifyFurnitureData.proto b/proto/HomeVerifyFurnitureData.proto index 468674f4..a281a346 100644 --- a/proto/HomeVerifyFurnitureData.proto +++ b/proto/HomeVerifyFurnitureData.proto @@ -17,6 +17,7 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message HomeVerifyFurnitureData { diff --git a/proto/HostPlayerNotify.proto b/proto/HostPlayerNotify.proto index 89e2216c..09447f42 100644 --- a/proto/HostPlayerNotify.proto +++ b/proto/HostPlayerNotify.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message HostPlayerNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 356; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum AJDCLIKNOLN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 387; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 host_peer_id = 12; - uint32 host_uid = 14; + uint32 hostUid = 4; + uint32 hostPeerId = 5; } diff --git a/proto/HuntingFailNotify.proto b/proto/HuntingFailNotify.proto new file mode 100644 index 00000000..808aaffa --- /dev/null +++ b/proto/HuntingFailNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "HuntingPair.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HuntingFailNotify { + enum NMGPIPMFOLP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4302; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + HuntingPair huntingPair = 9; +} diff --git a/proto/HuntingGiveUpReq.proto b/proto/HuntingGiveUpReq.proto new file mode 100644 index 00000000..7dc67636 --- /dev/null +++ b/proto/HuntingGiveUpReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "HuntingPair.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HuntingGiveUpReq { + enum AIEHOPHFBGP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4337; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + HuntingPair huntingPair = 13; +} diff --git a/proto/HuntingGiveUpRsp.proto b/proto/HuntingGiveUpRsp.proto new file mode 100644 index 00000000..444f48ca --- /dev/null +++ b/proto/HuntingGiveUpRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "HuntingPair.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HuntingGiveUpRsp { + enum BABNEGNCIOJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4314; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + HuntingPair huntingPair = 4; + int32 retcode = 14; +} diff --git a/proto/HuntingOfferData.proto b/proto/HuntingOfferData.proto new file mode 100644 index 00000000..8141ba24 --- /dev/null +++ b/proto/HuntingOfferData.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "HuntingOfferState.proto"; +import "HuntingPair.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HuntingOfferData { + HuntingOfferState state = 11; + uint32 cityId = 8; + HuntingPair huntingPair = 13; +} diff --git a/proto/HuntingOfferState.proto b/proto/HuntingOfferState.proto new file mode 100644 index 00000000..99ed92b4 --- /dev/null +++ b/proto/HuntingOfferState.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +enum HuntingOfferState { + HUNTING_OFFER_STATE_NONE = 0; + HUNTING_OFFER_STATE_STARTED = 1; + HUNTING_OFFER_STATE_UNSTARTED = 2; + HUNTING_OFFER_STATE_SUCC = 3; +} diff --git a/proto/HuntingOngoingNotify.proto b/proto/HuntingOngoingNotify.proto new file mode 100644 index 00000000..4f6c5100 --- /dev/null +++ b/proto/HuntingOngoingNotify.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; + + + +import "HuntingPair.proto"; +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HuntingOngoingNotify { + enum OAFPEGGJNAI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4340; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 failTime = 9; + uint32 finishClueCount = 8; + bool isStarted = 5; + HuntingPair huntingPair = 10; + Rotation nextPosition = 14; + bool isFinal = 11; +} diff --git a/proto/HuntingPair.proto b/proto/HuntingPair.proto new file mode 100644 index 00000000..11d6ba70 --- /dev/null +++ b/proto/HuntingPair.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message HuntingPair { + uint32 refreshId = 5; + uint32 monsterConfigId = 12; +} diff --git a/proto/HuntingRevealClueNotify.proto b/proto/HuntingRevealClueNotify.proto new file mode 100644 index 00000000..c8e6ed74 --- /dev/null +++ b/proto/HuntingRevealClueNotify.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +import "HuntingPair.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HuntingRevealClueNotify { + enum ONMDIFHEJFA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4335; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 finishedGroupId = 13; + uint32 finishClueCount = 11; + Rotation cluePosition = 5; + HuntingPair huntingPair = 4; +} diff --git a/proto/HuntingRevealFinalNotify.proto b/proto/HuntingRevealFinalNotify.proto new file mode 100644 index 00000000..49ec4cfa --- /dev/null +++ b/proto/HuntingRevealFinalNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "HuntingPair.proto"; +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HuntingRevealFinalNotify { + enum GGHHIEHOBPO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4316; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + HuntingPair huntingPair = 11; + uint32 finishedGroupId = 2; + Rotation finalPosition = 5; +} diff --git a/proto/HuntingStartNotify.proto b/proto/HuntingStartNotify.proto new file mode 100644 index 00000000..19eb70b4 --- /dev/null +++ b/proto/HuntingStartNotify.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "HuntingPair.proto"; +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HuntingStartNotify { + enum KPIPGJKJKII { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4331; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 failTime = 4; + HuntingPair huntingPair = 12; + bool isFinal = 7; + Rotation cluePosition = 14; +} diff --git a/proto/HuntingSuccessNotify.proto b/proto/HuntingSuccessNotify.proto new file mode 100644 index 00000000..3953bcb3 --- /dev/null +++ b/proto/HuntingSuccessNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "HuntingPair.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message HuntingSuccessNotify { + enum NMPNHCNBHPM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4325; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + HuntingPair huntingPair = 11; +} diff --git a/proto/IAENJEILLBG.proto b/proto/IAENJEILLBG.proto new file mode 100644 index 00000000..670fb73e --- /dev/null +++ b/proto/IAENJEILLBG.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message IAENJEILLBG { + uint32 controllerId = 7; + repeated uint32 cardIdList = 9; +} diff --git a/proto/IAPAGBPEBKP.proto b/proto/IAPAGBPEBKP.proto new file mode 100644 index 00000000..4a75abea --- /dev/null +++ b/proto/IAPAGBPEBKP.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message IAPAGBPEBKP { + message JEKPAEKLGIF { + repeated int32 gcnpfdenhco = 1; + string hjangcedhmi = 2; + int32 jmlbblffjjl = 3; + int32 ojbimgkainp = 4; + } + + repeated JEKPAEKLGIF boanjkipdma = 1; +} diff --git a/proto/IBBGEJCNPEI.proto b/proto/IBBGEJCNPEI.proto new file mode 100644 index 00000000..b5065eda --- /dev/null +++ b/proto/IBBGEJCNPEI.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message IBBGEJCNPEI { + string flopankfnol = 1; + string gameBiz = 2; + string mnlpmamhoem = 3; +} diff --git a/proto/IBCNIPCMNKM.proto b/proto/IBCNIPCMNKM.proto new file mode 100644 index 00000000..3507d911 --- /dev/null +++ b/proto/IBCNIPCMNKM.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message IBCNIPCMNKM { + double value = 1; +} diff --git a/proto/ICCDLLMNFAN.proto b/proto/ICCDLLMNFAN.proto new file mode 100644 index 00000000..d08987d2 --- /dev/null +++ b/proto/ICCDLLMNFAN.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ICCDLLMNFAN { +} diff --git a/proto/IDGMFMNDIBC.proto b/proto/IDGMFMNDIBC.proto new file mode 100644 index 00000000..20156109 --- /dev/null +++ b/proto/IDGMFMNDIBC.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message IDGMFMNDIBC { + bool isArriveFinish = 1; + uint32 coinLimit = 2; + uint32 timeLimit = 3; + bool isForbidSkill = 4; + uint32 lifeNum = 5; +} diff --git a/proto/IDOELHBANCP.proto b/proto/IDOELHBANCP.proto new file mode 100644 index 00000000..106b6c60 --- /dev/null +++ b/proto/IDOELHBANCP.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "bytes.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message IDOELHBANCP { + message BNLDEBAFAKE { + string gnlikgbnmce = 1; + bool kikkokolhng = 2; + } + + repeated BNLDEBAFAKE createTime = 2; + string jepoaccjobm = 3; + uint64 hglbhfehpll = 4; + int64 hakkhkobmga = 5; + double obdckmjfcmd = 6; + bytes bkimcghfndi = 7; + string mmncblejhnn = 8; +} diff --git a/proto/IEHOPOALPKJ.proto b/proto/IEHOPOALPKJ.proto new file mode 100644 index 00000000..75174e9f --- /dev/null +++ b/proto/IEHOPOALPKJ.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message IEHOPOALPKJ { + uint32 applyEntityId = 6; +} diff --git a/proto/IELKGAMFOLN.proto b/proto/IELKGAMFOLN.proto new file mode 100644 index 00000000..5e9fa9d1 --- /dev/null +++ b/proto/IELKGAMFOLN.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "ProfilePicture.proto"; +import "ExhibitionDisplayInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message IELKGAMFOLN { + uint32 uid = 7; + repeated ExhibitionDisplayInfo cardList = 5; + ProfilePicture profilePicture = 11; + string nickname = 14; + string onlineId = 2; + uint32 headImage = 15; +} diff --git a/proto/IGELBDLLJBJ.proto b/proto/IGELBDLLJBJ.proto new file mode 100644 index 00000000..4c1e4161 --- /dev/null +++ b/proto/IGELBDLLJBJ.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +enum IGELBDLLJBJ { + IGELBDLLJBJ_NONE = 0; + AHEECBJFNHH = 1; + HGICJDHDLFB = 2; + ENGFFCGEOPF = 3; + BBCFLJLFDAP = 4; + IGELBDLLJBJ_FIFTH = 5; + FNPCNAAAGBH = 6; + FACMNGDGCOG = 7; +} diff --git a/proto/IPDNEDNFFEO.proto b/proto/IPDNEDNFFEO.proto new file mode 100644 index 00000000..c8d0ea36 --- /dev/null +++ b/proto/IPDNEDNFFEO.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message IPDNEDNFFEO { + float jmiipakgola = 7; +} diff --git a/proto/IPLHKNLPPHD.proto b/proto/IPLHKNLPPHD.proto new file mode 100644 index 00000000..e759c3f3 --- /dev/null +++ b/proto/IPLHKNLPPHD.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message IPLHKNLPPHD { + uint32 koofigbidnl = 2; + uint32 uid = 6; +} diff --git a/proto/InBattleChessInfo.proto b/proto/InBattleChessInfo.proto new file mode 100644 index 00000000..52a9e042 --- /dev/null +++ b/proto/InBattleChessInfo.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "ChessMysteryInfo.proto"; +import "ChessPlayerInfo.proto"; +import "ChessCardInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message InBattleChessInfo { + uint32 ddhmhajjmfk = 12; + repeated uint32 gkhmchgepli = 11; + map abhkjjjcfcd = 15; + uint32 round = 2; + ChessMysteryInfo dcfcppdjgod = 10; + uint32 leftMonsters = 3; + uint32 escapedMonsters = 9; + repeated ChessCardInfo selectedCardInfoList = 1; + uint32 mechanicusId = 14; +} diff --git a/proto/InBattleChessSettleInfo.proto b/proto/InBattleChessSettleInfo.proto new file mode 100644 index 00000000..5ad6499b --- /dev/null +++ b/proto/InBattleChessSettleInfo.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "ExhibitionDisplayInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message InBattleChessSettleInfo { + uint32 Unk3300_NKHDFHAPNCN = 9; + uint64 sceneTimeMs = 11; + uint32 Unk3300_LPANFEBFJOJ = 15; + bool isSuccess = 2; + repeated ExhibitionDisplayInfo scoreList = 1; + uint32 Unk3300_IPGILJCBABK = 3; + uint32 Unk3300_EMNLLDJHMEI = 10; +} diff --git a/proto/InBattleFleurFairInfo.proto b/proto/InBattleFleurFairInfo.proto new file mode 100644 index 00000000..4cea0132 --- /dev/null +++ b/proto/InBattleFleurFairInfo.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message InBattleFleurFairInfo { + uint32 emdkpmhihmp = 11; + uint32 galleryStageIndex = 4; + repeated uint32 defdlkbmipk = 10; + uint32 enokedgdhfb = 9; + repeated uint32 fieibhkablj = 15; +} diff --git a/proto/InBattleIrodoriChessInfo.proto b/proto/InBattleIrodoriChessInfo.proto new file mode 100644 index 00000000..dcee54bf --- /dev/null +++ b/proto/InBattleIrodoriChessInfo.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "IrodoriChessMysteryInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message InBattleIrodoriChessInfo { + repeated uint32 fpdiemhhpko = 3; + uint32 leftMonsters = 11; + IrodoriChessMysteryInfo dcfcppdjgod = 10; + uint32 settleScore = 8; + uint32 buildingPoints = 6; +} diff --git a/proto/InBattleIrodoriChessSettleInfo.proto b/proto/InBattleIrodoriChessSettleInfo.proto new file mode 100644 index 00000000..b8804ce0 --- /dev/null +++ b/proto/InBattleIrodoriChessSettleInfo.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message InBattleIrodoriChessSettleInfo { + bool isActivityEnd = 10; + uint32 killMonsterNum = 2; + bool isNewRecord = 12; + uint64 sceneTimeMs = 14; + uint32 settleScore = 15; + bool isPerfect = 5; +} diff --git a/proto/InBattleMechanicusBuildingInfo.proto b/proto/InBattleMechanicusBuildingInfo.proto new file mode 100644 index 00000000..b1e385e6 --- /dev/null +++ b/proto/InBattleMechanicusBuildingInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message InBattleMechanicusBuildingInfo { + uint32 buildingId = 6; + uint32 level = 3; + uint32 knajgcafgjo = 14; + uint32 costPoints = 4; +} diff --git a/proto/InBattleMechanicusBuildingPointsNotify.proto b/proto/InBattleMechanicusBuildingPointsNotify.proto new file mode 100644 index 00000000..12769c2e --- /dev/null +++ b/proto/InBattleMechanicusBuildingPointsNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message InBattleMechanicusBuildingPointsNotify { + enum IHJMAAOMCKL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5380; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + map playerBuildingPointsMap = 7; +} diff --git a/proto/InBattleMechanicusCardChallengeState.proto b/proto/InBattleMechanicusCardChallengeState.proto new file mode 100644 index 00000000..3f824a46 --- /dev/null +++ b/proto/InBattleMechanicusCardChallengeState.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +enum InBattleMechanicusCardChallengeState { + IN_BATTLE_MECHANICUS_CARD_CHALLENGE_STATE_NONE = 0; + IN_BATTLE_MECHANICUS_CARD_CHALLENGE_STATE_ON_GOING = 1; + IN_BATTLE_MECHANICUS_CARD_CHALLENGE_STATE_FAIL = 2; + IN_BATTLE_MECHANICUS_CARD_CHALLENGE_STATE_SUCCESS = 3; +} diff --git a/proto/InBattleMechanicusCardInfo.proto b/proto/InBattleMechanicusCardInfo.proto new file mode 100644 index 00000000..26279a0d --- /dev/null +++ b/proto/InBattleMechanicusCardInfo.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +import "InBattleMechanicusCardChallengeState.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message InBattleMechanicusCardInfo { + uint32 Unk3300_FNAHKHODBKN = 3; + uint32 costPoints = 2; + uint32 Unk3300_NDAOOKKGJPH = 9; + uint32 cardId = 15; + uint32 Unk3300_KCIEINMEPDH = 8; + InBattleMechanicusCardChallengeState challengeState = 5; +} diff --git a/proto/InBattleMechanicusCardResultNotify.proto b/proto/InBattleMechanicusCardResultNotify.proto new file mode 100644 index 00000000..6f596276 --- /dev/null +++ b/proto/InBattleMechanicusCardResultNotify.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +import "InBattleMechanicusCardInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message InBattleMechanicusCardResultNotify { + enum EFHHBMNDKBA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5316; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 playIndex = 10; + uint64 waitBeginTimeUs = 4; + repeated InBattleMechanicusCardInfo cardList = 5; + map playerConfirmedCardMap = 12; + uint32 groupId = 15; + uint32 waitSeconds = 9; +} diff --git a/proto/InBattleMechanicusConfirmCardNotify.proto b/proto/InBattleMechanicusConfirmCardNotify.proto new file mode 100644 index 00000000..e4921b4a --- /dev/null +++ b/proto/InBattleMechanicusConfirmCardNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message InBattleMechanicusConfirmCardNotify { + enum AEAMAFIMLIM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5378; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 playerUid = 2; + uint32 cardId = 1; + uint32 playIndex = 7; + uint32 groupId = 12; +} diff --git a/proto/InBattleMechanicusConfirmCardReq.proto b/proto/InBattleMechanicusConfirmCardReq.proto new file mode 100644 index 00000000..4d49f566 --- /dev/null +++ b/proto/InBattleMechanicusConfirmCardReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message InBattleMechanicusConfirmCardReq { + enum MOGDFBINNOO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5324; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 playIndex = 4; + uint32 groupId = 15; + uint32 cardId = 9; +} diff --git a/proto/InBattleMechanicusConfirmCardRsp.proto b/proto/InBattleMechanicusConfirmCardRsp.proto new file mode 100644 index 00000000..d05e9ac1 --- /dev/null +++ b/proto/InBattleMechanicusConfirmCardRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message InBattleMechanicusConfirmCardRsp { + enum FOBENOCMABB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5329; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 3; + uint32 groupId = 12; + uint32 playIndex = 11; + uint32 cardId = 6; +} diff --git a/proto/InBattleMechanicusExcapeMonsterNotify.proto b/proto/InBattleMechanicusExcapeMonsterNotify.proto new file mode 100644 index 00000000..fd40702b --- /dev/null +++ b/proto/InBattleMechanicusExcapeMonsterNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message InBattleMechanicusExcapeMonsterNotify { + enum LJLHGFNNJMH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5320; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 coin = 2; +} diff --git a/proto/InBattleMechanicusLeftMonsterNotify.proto b/proto/InBattleMechanicusLeftMonsterNotify.proto new file mode 100644 index 00000000..79e51832 --- /dev/null +++ b/proto/InBattleMechanicusLeftMonsterNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message InBattleMechanicusLeftMonsterNotify { + enum DJBCGKHKHPN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5374; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 leftMonsterNum = 6; +} diff --git a/proto/InBattleMechanicusPickCardNotify.proto b/proto/InBattleMechanicusPickCardNotify.proto new file mode 100644 index 00000000..fd536995 --- /dev/null +++ b/proto/InBattleMechanicusPickCardNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message InBattleMechanicusPickCardNotify { + enum FHCPCICKOPC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5314; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 playIndex = 11; + uint32 groupId = 5; + uint32 playerUid = 9; + uint32 cardId = 8; +} diff --git a/proto/InBattleMechanicusPickCardReq.proto b/proto/InBattleMechanicusPickCardReq.proto new file mode 100644 index 00000000..82b8de80 --- /dev/null +++ b/proto/InBattleMechanicusPickCardReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message InBattleMechanicusPickCardReq { + enum PPNLAFAIFJG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5370; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 groupId = 9; + uint32 cardId = 11; + uint32 playIndex = 4; +} diff --git a/proto/InBattleMechanicusPickCardRsp.proto b/proto/InBattleMechanicusPickCardRsp.proto new file mode 100644 index 00000000..68463866 --- /dev/null +++ b/proto/InBattleMechanicusPickCardRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message InBattleMechanicusPickCardRsp { + enum MLMACFGIFHI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5362; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 playIndex = 15; + uint32 groupId = 13; + uint32 cardId = 5; + int32 retcode = 4; +} diff --git a/proto/InBattleMechanicusPlayerInfo.proto b/proto/InBattleMechanicusPlayerInfo.proto new file mode 100644 index 00000000..4ce19feb --- /dev/null +++ b/proto/InBattleMechanicusPlayerInfo.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "InBattleMechanicusBuildingInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message InBattleMechanicusPlayerInfo { + repeated InBattleMechanicusBuildingInfo buildingList = 12; + uint32 uid = 6; + uint32 gdinnaencko = 15; + bool kjckjdpeflc = 9; + uint32 buildingPoints = 3; +} diff --git a/proto/InBattleMechanicusSettleInfo.proto b/proto/InBattleMechanicusSettleInfo.proto new file mode 100644 index 00000000..989f74b2 --- /dev/null +++ b/proto/InBattleMechanicusSettleInfo.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +import "MultistageSettleWatcherInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message InBattleMechanicusSettleInfo { + uint64 sceneTimeMs = 15; + uint32 Unk3300_HAEOPAOBBFE = 7; + bool isSuccess = 6; + uint32 Unk3300_NAMBBHMJJLN = 1; + uint32 groupId = 12; + uint32 Unk3300_EKAIAPLNIPM = 11; + uint32 playIndex = 13; + repeated MultistageSettleWatcherInfo watcherList = 4; +} diff --git a/proto/InBattleMechanicusSettleNotify.proto b/proto/InBattleMechanicusSettleNotify.proto new file mode 100644 index 00000000..5b4fa137 --- /dev/null +++ b/proto/InBattleMechanicusSettleNotify.proto @@ -0,0 +1,25 @@ +syntax = "proto3"; + + + +import "MultistageSettleWatcherInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message InBattleMechanicusSettleNotify { + enum KDMLFKICFGF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5369; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated MultistageSettleWatcherInfo watcherList = 7; + bool isSuccess = 8; + uint32 Unk3300_NAMBBHMJJLN = 15; + uint32 Unk3300_HAEOPAOBBFE = 1; + uint32 playIndex = 12; + uint32 Unk3300_EKAIAPLNIPM = 13; + uint64 sceneTimeMs = 10; + uint32 groupId = 9; +} diff --git a/proto/InferencePageInfo.proto b/proto/InferencePageInfo.proto index 66bb8f7a..f78addf4 100644 --- a/proto/InferencePageInfo.proto +++ b/proto/InferencePageInfo.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "InferenceWordInfo.proto"; + +import "InferenceWordInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message InferencePageInfo { - repeated InferenceWordInfo unlock_word_list = 3; - uint32 page_id = 5; + uint32 pageId = 6; + repeated InferenceWordInfo unlockWordList = 8; } diff --git a/proto/InferenceWordInfo.proto b/proto/InferenceWordInfo.proto index 098c8d5c..c3615c4a 100644 --- a/proto/InferenceWordInfo.proto +++ b/proto/InferenceWordInfo.proto @@ -1,28 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message InferenceWordInfo { - bool is_submit = 12; - uint32 unlock_by_word_id = 11; - bool is_associate = 10; - uint32 word_id = 2; - bool is_interpret = 3; + bool isAssociate = 3; + uint32 wordId = 5; + uint32 unlockByWordId = 13; + bool isSubmit = 4; + bool isInterpret = 7; } diff --git a/proto/InstableSprayAvatarInfo.proto b/proto/InstableSprayAvatarInfo.proto index b7e83701..f41f1549 100644 --- a/proto/InstableSprayAvatarInfo.proto +++ b/proto/InstableSprayAvatarInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message InstableSprayAvatarInfo { - uint64 avatar_id = 10; - bool is_trial = 12; + bool isTrial = 2; + uint64 avatarId = 12; } diff --git a/proto/InstableSprayDetailInfo.proto b/proto/InstableSprayDetailInfo.proto index 59132543..0a8280cb 100644 --- a/proto/InstableSprayDetailInfo.proto +++ b/proto/InstableSprayDetailInfo.proto @@ -1,26 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "InstableSprayStageInfo.proto"; + +import "InstableSprayStageInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message InstableSprayDetailInfo { - repeated InstableSprayStageInfo stage_info_list = 2; + repeated InstableSprayStageInfo stageInfoList = 9; } diff --git a/proto/InstableSprayDungeonSettleInfo.proto b/proto/InstableSprayDungeonSettleInfo.proto index 3345d43b..273480e4 100644 --- a/proto/InstableSprayDungeonSettleInfo.proto +++ b/proto/InstableSprayDungeonSettleInfo.proto @@ -17,6 +17,7 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message InstableSprayDungeonSettleInfo { diff --git a/proto/InstableSprayEnterDungeonReq.proto b/proto/InstableSprayEnterDungeonReq.proto new file mode 100644 index 00000000..72061e0b --- /dev/null +++ b/proto/InstableSprayEnterDungeonReq.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "InstableSprayAvatarInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message InstableSprayEnterDungeonReq { + enum GIDCKAOEICG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 24659; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 stageId = 4; + repeated InstableSprayAvatarInfo avatarInfoList = 8; + uint32 difficulty = 1; +} diff --git a/proto/InstableSprayEnterDungeonRsp.proto b/proto/InstableSprayEnterDungeonRsp.proto new file mode 100644 index 00000000..48914bd9 --- /dev/null +++ b/proto/InstableSprayEnterDungeonRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message InstableSprayEnterDungeonRsp { + enum LFIGDJCABPJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23633; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 levelId = 8; + int32 retcode = 14; +} diff --git a/proto/InstableSprayGalleryInfoNotify.proto b/proto/InstableSprayGalleryInfoNotify.proto new file mode 100644 index 00000000..fb99d966 --- /dev/null +++ b/proto/InstableSprayGalleryInfoNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message InstableSprayGalleryInfoNotify { + enum OGNGOKHGDCB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5528; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 score = 8; +} diff --git a/proto/InstableSprayInfo.proto b/proto/InstableSprayInfo.proto new file mode 100644 index 00000000..a8fcee87 --- /dev/null +++ b/proto/InstableSprayInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "SceneGalleryInstableSprayBuffInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message InstableSprayInfo { + uint32 score = 13; + repeated SceneGalleryInstableSprayBuffInfo buffInfoList = 6; +} diff --git a/proto/InstableSprayLevelFinishNotify.proto b/proto/InstableSprayLevelFinishNotify.proto new file mode 100644 index 00000000..e1f38f39 --- /dev/null +++ b/proto/InstableSprayLevelFinishNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message InstableSprayLevelFinishNotify { + enum EOIABCFNAIK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 24172; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool Unk3300_DHKHBKLBIPA = 14; + uint32 round = 2; + uint32 stageId = 11; + uint32 levelId = 9; + bool Unk3300_AMEBAPIPLGL = 6; +} diff --git a/proto/InstableSprayRestartDungeonReq.proto b/proto/InstableSprayRestartDungeonReq.proto new file mode 100644 index 00000000..42200110 --- /dev/null +++ b/proto/InstableSprayRestartDungeonReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "InstableSprayAvatarInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message InstableSprayRestartDungeonReq { + enum IOEAANEKHFD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20911; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated InstableSprayAvatarInfo avatarInfoList = 3; +} diff --git a/proto/InstableSprayRestartDungeonRsp.proto b/proto/InstableSprayRestartDungeonRsp.proto new file mode 100644 index 00000000..6f32a155 --- /dev/null +++ b/proto/InstableSprayRestartDungeonRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message InstableSprayRestartDungeonRsp { + enum JGPPFHHEHEO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21689; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 levelId = 9; + int32 retcode = 12; +} diff --git a/proto/InstableSpraySettleInfo.proto b/proto/InstableSpraySettleInfo.proto new file mode 100644 index 00000000..0ec14ab0 --- /dev/null +++ b/proto/InstableSpraySettleInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message InstableSpraySettleInfo { + bool isNewRecord = 5; + uint32 stageId = 4; + uint32 difficulty = 15; + repeated uint32 scoreList = 10; +} diff --git a/proto/InstableSprayStageInfo.proto b/proto/InstableSprayStageInfo.proto index 2d0ebe80..7dc032d4 100644 --- a/proto/InstableSprayStageInfo.proto +++ b/proto/InstableSprayStageInfo.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "InstableSprayTeamInfo.proto"; + +import "InstableSprayTeamInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message InstableSprayStageInfo { - bool is_finished = 12; - uint32 stage_id = 2; - repeated InstableSprayTeamInfo team_info_list = 9; - uint32 max_score = 7; + uint32 maxScore = 2; + repeated InstableSprayTeamInfo teamInfoList = 3; + bool isFinished = 13; + uint32 stageId = 8; } diff --git a/proto/InstableSpraySwitchTeamReq.proto b/proto/InstableSpraySwitchTeamReq.proto new file mode 100644 index 00000000..3c77ee03 --- /dev/null +++ b/proto/InstableSpraySwitchTeamReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "InstableSprayAvatarInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message InstableSpraySwitchTeamReq { + enum OGDEKKEJBFI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23451; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated InstableSprayAvatarInfo avatarInfoList = 11; +} diff --git a/proto/InstableSpraySwitchTeamRsp.proto b/proto/InstableSpraySwitchTeamRsp.proto new file mode 100644 index 00000000..93f6f70a --- /dev/null +++ b/proto/InstableSpraySwitchTeamRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message InstableSpraySwitchTeamRsp { + enum AFDJAOMJLNB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20452; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 levelId = 14; + int32 retcode = 12; +} diff --git a/proto/InstableSprayTeamInfo.proto b/proto/InstableSprayTeamInfo.proto index 51f9ae02..6a589f5e 100644 --- a/proto/InstableSprayTeamInfo.proto +++ b/proto/InstableSprayTeamInfo.proto @@ -1,26 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "InstableSprayAvatarInfo.proto"; + +import "InstableSprayAvatarInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message InstableSprayTeamInfo { - repeated InstableSprayAvatarInfo avatar_info_list = 5; + repeated InstableSprayAvatarInfo avatarInfoList = 12; } diff --git a/proto/InterOpType.proto b/proto/InterOpType.proto index eb3083f7..011b4e14 100644 --- a/proto/InterOpType.proto +++ b/proto/InterOpType.proto @@ -1,25 +1,8 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum InterOpType { - INTER_OP_TYPE_FINISH = 0; - INTER_OP_TYPE_START = 1; + INTER_OP_TYPE_FINISH = 0; + INTER_OP_TYPE_START = 1; } diff --git a/proto/InteractDailyDungeonInfoNotify.proto b/proto/InteractDailyDungeonInfoNotify.proto new file mode 100644 index 00000000..f854e0a2 --- /dev/null +++ b/proto/InteractDailyDungeonInfoNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message InteractDailyDungeonInfoNotify { + enum MGIKNBKGCGE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 923; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/InteractType.proto b/proto/InteractType.proto index da420f1d..bd4896e2 100644 --- a/proto/InteractType.proto +++ b/proto/InteractType.proto @@ -1,40 +1,23 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum InteractType { - INTERACT_TYPE_NONE = 0; - INTERACT_TYPE_PICK_ITEM = 1; - INTERACT_TYPE_GATHER = 2; - INTERACT_TYPE_OPEN_CHEST = 3; - INTERACT_TYPE_OPEN_STATUE = 4; - INTERACT_TYPE_CONSUME = 5; - INTERACT_TYPE_MP_PLAY_REWARD = 6; - INTERACT_TYPE_VIEW = 7; - INTERACT_TYPE_GENERAL_REWARD = 8; - INTERACT_TYPE_MIRACLE_RING = 9; - INTERACT_TYPE_FOUNDATION = 10; - INTERACT_TYPE_ECHO_SHELL = 11; - INTERACT_TYPE_HOME_GATHER = 12; - INTERACT_TYPE_ENV_ANIMAL = 13; - INTERACT_TYPE_QUEST_GADGET = 14; - INTERACT_TYPE_UI_INTERACT = 15; - INTERACT_TYPE_DESHRET_OBELISK = 16; + INTERACT_TYPE_NONE = 0; + INTERACT_TYPE_PICK_ITEM = 1; + INTERACT_TYPE_GATHER = 2; + INTERACT_TYPE_OPEN_CHEST = 3; + INTERACT_TYPE_OPEN_STATUE = 4; + INTERACT_TYPE_CONSUME = 5; + INTERACT_TYPE_MP_PLAY_REWARD = 6; + INTERACT_TYPE_VIEW = 7; + INTERACT_TYPE_GENERAL_REWARD = 8; + INTERACT_TYPE_MIRACLE_RING = 9; + INTERACT_TYPE_FOUNDATION = 10; + INTERACT_TYPE_ECHO_SHELL = 11; + INTERACT_TYPE_HOME_GATHER = 12; + INTERACT_TYPE_ENV_ANIMAL = 13; + INTERACT_TYPE_QUEST_GADGET = 14; + INTERACT_TYPE_UI_INTERACT = 15; + INTERACT_TYPE_DESHRET_OBELISK = 16; } diff --git a/proto/InterpretInferenceWordReq.proto b/proto/InterpretInferenceWordReq.proto new file mode 100644 index 00000000..155c70da --- /dev/null +++ b/proto/InterpretInferenceWordReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message InterpretInferenceWordReq { + enum MHPKOLNLDKH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 423; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 wordId = 12; + uint32 pageId = 10; +} diff --git a/proto/InterpretInferenceWordRsp.proto b/proto/InterpretInferenceWordRsp.proto new file mode 100644 index 00000000..ccba001f --- /dev/null +++ b/proto/InterpretInferenceWordRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message InterpretInferenceWordRsp { + enum ECEFHKMPMEE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 415; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 pageId = 2; + int32 retcode = 13; + uint32 wordId = 6; +} diff --git a/proto/InterruptGalleryReq.proto b/proto/InterruptGalleryReq.proto new file mode 100644 index 00000000..1a952d35 --- /dev/null +++ b/proto/InterruptGalleryReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message InterruptGalleryReq { + enum CIAICDMHJFC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5578; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 galleryId = 2; +} diff --git a/proto/InterruptGalleryRsp.proto b/proto/InterruptGalleryRsp.proto new file mode 100644 index 00000000..594accaf --- /dev/null +++ b/proto/InterruptGalleryRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message InterruptGalleryRsp { + enum KIEAILGENFP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5516; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + int32 retcode = 15; + uint32 galleryId = 9; +} diff --git a/proto/Investigation.proto b/proto/Investigation.proto new file mode 100644 index 00000000..68244c9d --- /dev/null +++ b/proto/Investigation.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "State.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message Investigation { + uint32 progress = 11; + uint32 id = 5; + State state = 4; + uint32 totalProgress = 14; +} diff --git a/proto/InvestigationMonster.proto b/proto/InvestigationMonster.proto index bccb00c0..c0e0c72f 100644 --- a/proto/InvestigationMonster.proto +++ b/proto/InvestigationMonster.proto @@ -1,48 +1,28 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; -import "WeeklyBossResinDiscountInfo.proto"; + +import "WeeklyBossResinDiscountInfo.proto"; +import "LockState.proto"; +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message InvestigationMonster { - enum LockState { - LOCK_STATE_NONE = 0; - LOCK_STATE_QUEST = 1; - } - - bool is_alive = 13; - Vector pos = 7; - uint32 scene_id = 12; - uint32 next_refresh_time = 8; - uint32 city_id = 14; - uint32 group_id = 1735; - uint32 next_boss_chest_refresh_time = 1; - WeeklyBossResinDiscountInfo weekly_boss_resin_discount_info = 3; - uint32 boss_chest_num = 6; - uint32 id = 9; - uint32 monster_id = 562; - LockState lock_state = 4; - uint32 refresh_interval = 10; - bool is_area_locked = 5; - uint32 level = 2; - uint32 max_boss_chest_num = 11; - uint32 resin = 15; + uint32 nextRefreshTime = 1; + uint32 bossChestNum = 10; + WeeklyBossResinDiscountInfo weeklyBossResinDiscountInfo = 8; + LockState lockState = 2; + uint32 refreshInterval = 6; + uint32 groupId = 80; + uint32 sceneId = 13; + uint32 cityId = 7; + uint32 maxBossChestNum = 11; + Rotation pos = 4; + bool isAreaLocked = 5; + uint32 level = 3; + uint32 id = 15; + uint32 monsterId = 1493; + uint32 nextBossChestRefreshTime = 12; + uint32 resin = 9; + bool isAlive = 14; } diff --git a/proto/InvestigationMonsterUpdateNotify.proto b/proto/InvestigationMonsterUpdateNotify.proto index 0f839697..c82aecd9 100644 --- a/proto/InvestigationMonsterUpdateNotify.proto +++ b/proto/InvestigationMonsterUpdateNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "InvestigationMonster.proto"; + +import "InvestigationMonster.proto"; option java_package = "emu.grasscutter.net.proto"; message InvestigationMonsterUpdateNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1910; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum PGJKAGCIHFP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1919; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - InvestigationMonster investigation_monster = 6; + InvestigationMonster investigationMonster = 15; } diff --git a/proto/InvestigationQuestDailyNotify.proto b/proto/InvestigationQuestDailyNotify.proto index 75f6db32..722d48e0 100644 --- a/proto/InvestigationQuestDailyNotify.proto +++ b/proto/InvestigationQuestDailyNotify.proto @@ -1,30 +1,16 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message InvestigationQuestDailyNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1926; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum AEBDJEDMDOJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1910; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + } diff --git a/proto/InvestigationReadQuestDailyNotify.proto b/proto/InvestigationReadQuestDailyNotify.proto index 0bdc4e88..e4a3f3d2 100644 --- a/proto/InvestigationReadQuestDailyNotify.proto +++ b/proto/InvestigationReadQuestDailyNotify.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message InvestigationReadQuestDailyNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1908; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum BKDIJBIKCBF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1906; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/InvestigationTarget.proto b/proto/InvestigationTarget.proto new file mode 100644 index 00000000..70434e02 --- /dev/null +++ b/proto/InvestigationTarget.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "State.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message InvestigationTarget { + uint32 investigationId = 13; + State state = 7; + uint32 totalProgress = 1; + uint32 questId = 3; + uint32 progress = 15; +} diff --git a/proto/IrodoriActivityDetailInfo.proto b/proto/IrodoriActivityDetailInfo.proto index 44ce3e0f..e99b05d6 100644 --- a/proto/IrodoriActivityDetailInfo.proto +++ b/proto/IrodoriActivityDetailInfo.proto @@ -22,6 +22,7 @@ import "IrodoriFlowerData.proto"; import "IrodoriMasterLevelInfo.proto"; import "IrodoriPoetryData.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message IrodoriActivityDetailInfo { diff --git a/proto/IrodoriChessData.proto b/proto/IrodoriChessData.proto index 9ee92d72..5288b48b 100644 --- a/proto/IrodoriChessData.proto +++ b/proto/IrodoriChessData.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "IrodoriChessLevelData.proto"; + +import "IrodoriChessLevelData.proto"; option java_package = "emu.grasscutter.net.proto"; message IrodoriChessData { - bool is_open = 8; - repeated IrodoriChessLevelData level_data_list = 13; + repeated IrodoriChessLevelData levelDataList = 9; + bool isOpen = 7; } diff --git a/proto/IrodoriChessEntranceDetailInfo.proto b/proto/IrodoriChessEntranceDetailInfo.proto index abae6ca8..4efdebff 100644 --- a/proto/IrodoriChessEntranceDetailInfo.proto +++ b/proto/IrodoriChessEntranceDetailInfo.proto @@ -1,26 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "IrodoriChessEntranceInfo.proto"; + +import "IrodoriChessEntranceInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message IrodoriChessEntranceDetailInfo { - repeated IrodoriChessEntranceInfo info_list = 14; + repeated IrodoriChessEntranceInfo infoList = 2; } diff --git a/proto/IrodoriChessEntranceInfo.proto b/proto/IrodoriChessEntranceInfo.proto index 3ea63858..fb3e498e 100644 --- a/proto/IrodoriChessEntranceInfo.proto +++ b/proto/IrodoriChessEntranceInfo.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "IrodoriChessMonsterInfo.proto"; + +import "IrodoriChessMonsterInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message IrodoriChessEntranceInfo { - uint32 entrance_point_id = 11; - repeated IrodoriChessMonsterInfo monster_info_list = 8; + uint32 dfpedbghhma = 10; + repeated IrodoriChessMonsterInfo lhjhgbpjpkl = 8; } diff --git a/proto/IrodoriChessEquipCardReq.proto b/proto/IrodoriChessEquipCardReq.proto index 60ccc17c..4fd7e9bf 100644 --- a/proto/IrodoriChessEquipCardReq.proto +++ b/proto/IrodoriChessEquipCardReq.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message IrodoriChessEquipCardReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 8766; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum IKGIGLPKFHN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8093; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - bool is_hard_map = 8; - uint32 level_id = 1; - uint32 card_id = 3; + uint32 cardId = 1; + bool isHardMap = 7; + uint32 levelId = 12; } diff --git a/proto/IrodoriChessEquipCardRsp.proto b/proto/IrodoriChessEquipCardRsp.proto index 82d01474..627a77eb 100644 --- a/proto/IrodoriChessEquipCardRsp.proto +++ b/proto/IrodoriChessEquipCardRsp.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message IrodoriChessEquipCardRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 8884; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum KHMKKPBLNDJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8312; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 card_id = 9; - uint32 level_id = 2; - bool is_hard_map = 8; - int32 retcode = 1; + uint32 levelId = 15; + bool isHardMap = 8; + int32 retcode = 9; + uint32 cardId = 14; } diff --git a/proto/IrodoriChessInfo.proto b/proto/IrodoriChessInfo.proto new file mode 100644 index 00000000..2e7242ac --- /dev/null +++ b/proto/IrodoriChessInfo.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "IrodoriChessMysteryInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message IrodoriChessInfo { + repeated uint32 fpdiemhhpko = 3; + uint32 leftMonsters = 11; + IrodoriChessMysteryInfo dcfcppdjgod = 10; + uint32 settleScore = 8; + uint32 buildingPoints = 6; +} diff --git a/proto/IrodoriChessLeftMonsterNotify.proto b/proto/IrodoriChessLeftMonsterNotify.proto new file mode 100644 index 00000000..b88daae5 --- /dev/null +++ b/proto/IrodoriChessLeftMonsterNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message IrodoriChessLeftMonsterNotify { + enum OEENJIIIDPF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5340; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 leftMonsters = 6; +} diff --git a/proto/IrodoriChessLevelData.proto b/proto/IrodoriChessLevelData.proto index 7ed0ea3b..a3203551 100644 --- a/proto/IrodoriChessLevelData.proto +++ b/proto/IrodoriChessLevelData.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "IrodoriChessMapData.proto"; + +import "IrodoriChessMapData.proto"; option java_package = "emu.grasscutter.net.proto"; message IrodoriChessLevelData { - IrodoriChessMapData Unk3300_GCIGNCGOBML = 6; - uint32 level_id = 14; - IrodoriChessMapData Unk3300_BGINEMHBNAD = 10; - uint32 open_time = 8; + uint32 levelId = 10; + uint32 openTime = 7; + IrodoriChessMapData Unk3300_BGINEMHBNAD = 14; + IrodoriChessMapData Unk3300_GCIGNCGOBML = 15; } diff --git a/proto/IrodoriChessMapData.proto b/proto/IrodoriChessMapData.proto index 004f0f8e..7b1a1601 100644 --- a/proto/IrodoriChessMapData.proto +++ b/proto/IrodoriChessMapData.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "IrodoriChessEntranceDetailInfo.proto"; + +import "IrodoriChessEntranceDetailInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message IrodoriChessMapData { - uint32 map_id = 7; - uint32 best_score = 4; - repeated uint32 equiped_card_list = 15; - IrodoriChessEntranceDetailInfo entrance_detail_info = 2; + uint32 mapId = 13; + uint32 bestScore = 3; + repeated uint32 becodaoleil = 4; + IrodoriChessEntranceDetailInfo ajcepcgbnfe = 5; } diff --git a/proto/IrodoriChessMonsterInfo.proto b/proto/IrodoriChessMonsterInfo.proto index 791142bc..fb6f246c 100644 --- a/proto/IrodoriChessMonsterInfo.proto +++ b/proto/IrodoriChessMonsterInfo.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message IrodoriChessMonsterInfo { - uint32 grant_points = 7; - uint32 monster_id = 13; - uint32 level = 11; - repeated uint32 affix_list = 10; + uint32 monsterId = 12; + uint32 level = 13; + uint32 hhmklcpngkl = 14; + repeated uint32 affixList = 1; } diff --git a/proto/IrodoriChessMysteryInfo.proto b/proto/IrodoriChessMysteryInfo.proto new file mode 100644 index 00000000..7aaadaea --- /dev/null +++ b/proto/IrodoriChessMysteryInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "IrodoriChessEntranceDetailInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message IrodoriChessMysteryInfo { + repeated uint32 mdilcblhnao = 5; + IrodoriChessEntranceDetailInfo ajcepcgbnfe = 8; + repeated uint32 fffmoldaadc = 2; +} diff --git a/proto/IrodoriChessPlayerInfo.proto b/proto/IrodoriChessPlayerInfo.proto new file mode 100644 index 00000000..5ae549e3 --- /dev/null +++ b/proto/IrodoriChessPlayerInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message IrodoriChessPlayerInfo { + uint32 settleScore = 4; + uint32 buildingPoints = 8; + uint32 uid = 9; +} diff --git a/proto/IrodoriChessPlayerInfoNotify.proto b/proto/IrodoriChessPlayerInfoNotify.proto new file mode 100644 index 00000000..4736395f --- /dev/null +++ b/proto/IrodoriChessPlayerInfoNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "IrodoriChessPlayerInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message IrodoriChessPlayerInfoNotify { + enum DONFJNAFLJA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5338; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + IrodoriChessPlayerInfo playerInfo = 13; +} diff --git a/proto/IrodoriChessSettleInfo.proto b/proto/IrodoriChessSettleInfo.proto new file mode 100644 index 00000000..abdb29a1 --- /dev/null +++ b/proto/IrodoriChessSettleInfo.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message IrodoriChessSettleInfo { + bool isActivityEnd = 10; + uint32 killMonsterNum = 2; + bool isNewRecord = 12; + uint64 sceneTimeMs = 14; + uint32 settleScore = 15; + bool isPerfect = 5; +} diff --git a/proto/IrodoriChessUnequipCardReq.proto b/proto/IrodoriChessUnequipCardReq.proto new file mode 100644 index 00000000..8280d488 --- /dev/null +++ b/proto/IrodoriChessUnequipCardReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message IrodoriChessUnequipCardReq { + enum DCPOLGAAMOG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8610; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 cardId = 14; + bool isHardMap = 5; + uint32 levelId = 7; +} diff --git a/proto/IrodoriChessUnequipCardRsp.proto b/proto/IrodoriChessUnequipCardRsp.proto new file mode 100644 index 00000000..707e504d --- /dev/null +++ b/proto/IrodoriChessUnequipCardRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message IrodoriChessUnequipCardRsp { + enum IILGHOBPHAK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8326; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isHardMap = 4; + uint32 levelId = 15; + int32 retcode = 12; + uint32 cardId = 14; +} diff --git a/proto/IrodoriEditFlowerCombinationReq.proto b/proto/IrodoriEditFlowerCombinationReq.proto new file mode 100644 index 00000000..06177446 --- /dev/null +++ b/proto/IrodoriEditFlowerCombinationReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "CustomGadgetTreeInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message IrodoriEditFlowerCombinationReq { + enum POICPNONHBK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8795; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 entityId = 8; + CustomGadgetTreeInfo combinationInfo = 9; +} diff --git a/proto/IrodoriEditFlowerCombinationRsp.proto b/proto/IrodoriEditFlowerCombinationRsp.proto new file mode 100644 index 00000000..319e5d50 --- /dev/null +++ b/proto/IrodoriEditFlowerCombinationRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message IrodoriEditFlowerCombinationRsp { + enum NIOIJMHIGHF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8542; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; + bool Unk3300_IAPLHBKJLBF = 10; + bool Unk3300_DBBGPOMDKPK = 1; +} diff --git a/proto/IrodoriFillPoetryReq.proto b/proto/IrodoriFillPoetryReq.proto new file mode 100644 index 00000000..396cdc2b --- /dev/null +++ b/proto/IrodoriFillPoetryReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message IrodoriFillPoetryReq { + enum PKBHFHBNFAL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8590; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 lineId = 13; + uint32 themeId = 2; +} diff --git a/proto/IrodoriFillPoetryRsp.proto b/proto/IrodoriFillPoetryRsp.proto new file mode 100644 index 00000000..44321943 --- /dev/null +++ b/proto/IrodoriFillPoetryRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "IrodoriPoetryThemeData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message IrodoriFillPoetryRsp { + enum KHKABHNJLIP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8762; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + IrodoriPoetryThemeData themeData = 14; + int32 retcode = 15; +} diff --git a/proto/IrodoriFlowerData.proto b/proto/IrodoriFlowerData.proto index 06a78c1f..67812a65 100644 --- a/proto/IrodoriFlowerData.proto +++ b/proto/IrodoriFlowerData.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ItemParam.proto"; + +import "ItemParam.proto"; option java_package = "emu.grasscutter.net.proto"; message IrodoriFlowerData { - repeated uint32 finished_theme_list = 10; - repeated ItemParam used_flower_list = 8; + repeated uint32 finishedThemeList = 5; + repeated ItemParam usedFlowerList = 12; } diff --git a/proto/IrodoriInfo.proto b/proto/IrodoriInfo.proto new file mode 100644 index 00000000..311d5545 --- /dev/null +++ b/proto/IrodoriInfo.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "IrodoriFlowerData.proto"; +import "IrodoriPoetryData.proto"; +import "IrodoriChessData.proto"; +import "IrodoriMasterLevelInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message IrodoriInfo { + IrodoriFlowerData flowerData = 6; + IrodoriPoetryData poetryData = 14; + IrodoriChessData chessData = 10; + repeated IrodoriMasterLevelInfo masterLevelList = 15; +} diff --git a/proto/IrodoriMasterGalleryCgEndNotify.proto b/proto/IrodoriMasterGalleryCgEndNotify.proto new file mode 100644 index 00000000..5102d432 --- /dev/null +++ b/proto/IrodoriMasterGalleryCgEndNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message IrodoriMasterGalleryCgEndNotify { + enum PFHJAGPEFHJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8260; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 galleryId = 5; + uint32 levelId = 1; +} diff --git a/proto/IrodoriMasterGallerySettleInfo.proto b/proto/IrodoriMasterGallerySettleInfo.proto new file mode 100644 index 00000000..7597949c --- /dev/null +++ b/proto/IrodoriMasterGallerySettleInfo.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "GalleryStopReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message IrodoriMasterGallerySettleInfo { + bool isFinish = 14; + GalleryStopReason reason = 6; + uint32 difficult = 10; + uint32 finishTime = 15; + uint32 levelId = 7; +} diff --git a/proto/IrodoriMasterGallerySettleNotify.proto b/proto/IrodoriMasterGallerySettleNotify.proto new file mode 100644 index 00000000..1e6176ee --- /dev/null +++ b/proto/IrodoriMasterGallerySettleNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "IrodoriMasterGallerySettleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message IrodoriMasterGallerySettleNotify { + enum NJDCKMPLNDG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8194; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 galleryId = 8; + IrodoriMasterGallerySettleInfo settleInfo = 4; +} diff --git a/proto/IrodoriMasterInfo.proto b/proto/IrodoriMasterInfo.proto new file mode 100644 index 00000000..b59aac07 --- /dev/null +++ b/proto/IrodoriMasterInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message IrodoriMasterInfo { + bool isCgViewed = 6; + uint32 difficulty = 12; + uint32 levelId = 13; +} diff --git a/proto/IrodoriMasterLevelDetailInfo.proto b/proto/IrodoriMasterLevelDetailInfo.proto index 0c48fb29..e40b34ab 100644 --- a/proto/IrodoriMasterLevelDetailInfo.proto +++ b/proto/IrodoriMasterLevelDetailInfo.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message IrodoriMasterLevelDetailInfo { - bool is_finish = 10; - uint32 difficulty = 11; - bool is_have_try = 15; - uint32 min_finish_time = 12; + bool isFinish = 6; + bool isHaveTry = 5; + uint32 minFinishTime = 14; + uint32 difficulty = 3; } diff --git a/proto/IrodoriMasterLevelInfo.proto b/proto/IrodoriMasterLevelInfo.proto index 8c7b4d16..0f8d7726 100644 --- a/proto/IrodoriMasterLevelInfo.proto +++ b/proto/IrodoriMasterLevelInfo.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "IrodoriMasterLevelDetailInfo.proto"; + +import "IrodoriMasterLevelDetailInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message IrodoriMasterLevelInfo { - repeated IrodoriMasterLevelDetailInfo detail_info = 1; - uint32 level_id = 7; + uint32 levelId = 1; + repeated IrodoriMasterLevelDetailInfo detailInfo = 14; } diff --git a/proto/IrodoriMasterStartGalleryReq.proto b/proto/IrodoriMasterStartGalleryReq.proto new file mode 100644 index 00000000..6d43b794 --- /dev/null +++ b/proto/IrodoriMasterStartGalleryReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message IrodoriMasterStartGalleryReq { + enum MGEPMJKJIEP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8933; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 levelId = 3; + uint32 difficulty = 5; +} diff --git a/proto/IrodoriMasterStartGalleryRsp.proto b/proto/IrodoriMasterStartGalleryRsp.proto new file mode 100644 index 00000000..974edf13 --- /dev/null +++ b/proto/IrodoriMasterStartGalleryRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message IrodoriMasterStartGalleryRsp { + enum PIELDDOPBLB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8391; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 10; +} diff --git a/proto/IrodoriPoetryData.proto b/proto/IrodoriPoetryData.proto index a33e0922..db642070 100644 --- a/proto/IrodoriPoetryData.proto +++ b/proto/IrodoriPoetryData.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "IrodoriPoetryThemeData.proto"; + +import "IrodoriPoetryThemeData.proto"; option java_package = "emu.grasscutter.net.proto"; message IrodoriPoetryData { - repeated IrodoriPoetryThemeData theme_data_list = 2; - uint32 cur_theme_id = 12; + repeated IrodoriPoetryThemeData themeDataList = 10; + uint32 curThemeId = 2; } diff --git a/proto/IrodoriPoetryThemeData.proto b/proto/IrodoriPoetryThemeData.proto index 3601d8d8..28cc2252 100644 --- a/proto/IrodoriPoetryThemeData.proto +++ b/proto/IrodoriPoetryThemeData.proto @@ -1,30 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message IrodoriPoetryThemeData { - uint32 Unk3300_HFMKPNOBPDK = 14; - repeated uint32 Unk3300_CNNMEHOGGLL = 10; - uint32 progress = 11; - uint32 theme_id = 12; - uint32 max_progress = 7; - repeated uint32 Unk3300_HODJKKDBJDJ = 15; - uint32 Unk3300_NJHMNLIAGIK = 6; + repeated uint32 Unk3300_CNNMEHOGGLL = 6; + repeated uint32 Unk3300_HODJKKDBJDJ = 4; + uint32 progress = 14; + uint32 maxProgress = 13; + uint32 Unk3300_NJHMNLIAGIK = 7; + uint32 themeId = 1; + uint32 Unk3300_HFMKPNOBPDK = 15; } diff --git a/proto/IrodoriScanEntityReq.proto b/proto/IrodoriScanEntityReq.proto new file mode 100644 index 00000000..990a3daa --- /dev/null +++ b/proto/IrodoriScanEntityReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message IrodoriScanEntityReq { + enum DOHCKGPNPLI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8657; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 entityId = 3; +} diff --git a/proto/IrodoriScanEntityRsp.proto b/proto/IrodoriScanEntityRsp.proto new file mode 100644 index 00000000..c46d6318 --- /dev/null +++ b/proto/IrodoriScanEntityRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "IrodoriPoetryThemeData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message IrodoriScanEntityRsp { + enum GFBIAOOFKPB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8540; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isGetInspiration = 4; + IrodoriPoetryThemeData themeData = 8; + int32 retcode = 12; +} diff --git a/proto/IslandPartyDetailInfo.proto b/proto/IslandPartyDetailInfo.proto index 2e9b28d3..ad377263 100644 --- a/proto/IslandPartyDetailInfo.proto +++ b/proto/IslandPartyDetailInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "IslandPartyStageData.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message IslandPartyDetailInfo { diff --git a/proto/IslandPartyDownHillInfo.proto b/proto/IslandPartyDownHillInfo.proto new file mode 100644 index 00000000..90a8d483 --- /dev/null +++ b/proto/IslandPartyDownHillInfo.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "GalleryStartSource.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message IslandPartyDownHillInfo { + uint32 maxKillMonsterCount = 13; + GalleryStartSource startSource = 4; + uint32 coin = 1; + uint32 totalKillMonsterCount = 7; +} diff --git a/proto/IslandPartyGallerySettleInfo.proto b/proto/IslandPartyGallerySettleInfo.proto new file mode 100644 index 00000000..0929a404 --- /dev/null +++ b/proto/IslandPartyGallerySettleInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "OnlinePlayerInfo.proto"; +import "ExhibitionDisplayInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message IslandPartyGallerySettleInfo { + OnlinePlayerInfo playerInfo = 3; + repeated ExhibitionDisplayInfo cardList = 9; +} diff --git a/proto/IslandPartyInfo.proto b/proto/IslandPartyInfo.proto new file mode 100644 index 00000000..dab95007 --- /dev/null +++ b/proto/IslandPartyInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "IslandPartyStageData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message IslandPartyInfo { + repeated IslandPartyStageData stageDataList = 5; +} diff --git a/proto/IslandPartyRaftInfo.proto b/proto/IslandPartyRaftInfo.proto new file mode 100644 index 00000000..3ba0793a --- /dev/null +++ b/proto/IslandPartyRaftInfo.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +import "GalleryStartSource.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message IslandPartyRaftInfo { + uint32 coin = 10; + uint32 Unk3300_HHEKIPECDAK = 5; + uint32 pointId = 13; + uint32 Unk3300_HNECEGNMKNK = 4; + uint32 Unk3300_FBACMOFGPGJ = 7; + GalleryStartSource startSource = 15; +} diff --git a/proto/IslandPartyRaftInfoNotify.proto b/proto/IslandPartyRaftInfoNotify.proto new file mode 100644 index 00000000..05b20583 --- /dev/null +++ b/proto/IslandPartyRaftInfoNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message IslandPartyRaftInfoNotify { + enum IJOMICBCHCO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5588; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 Unk3300_HNECEGNMKNK = 9; + uint32 Unk3300_FBACMOFGPGJ = 12; + uint32 pointId = 6; + uint32 coin = 5; +} diff --git a/proto/IslandPartySailInfo.proto b/proto/IslandPartySailInfo.proto new file mode 100644 index 00000000..9ede8c30 --- /dev/null +++ b/proto/IslandPartySailInfo.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +import "GalleryStartSource.proto"; +import "IslandPartySailStage.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message IslandPartySailInfo { + GalleryStartSource startSource = 1; + uint32 Unk3300_MJOIIJIBAHF = 5; + uint32 Unk3300_MJHMCAPGBIK = 11; + IslandPartySailStage stage = 14; + uint32 Unk3300_HCJGDHEMBLM = 7; + uint32 coin = 13; + uint32 Unk3300_PFCJODGNDCI = 8; +} diff --git a/proto/IslandPartySailInfoNotify.proto b/proto/IslandPartySailInfoNotify.proto new file mode 100644 index 00000000..09cd82c9 --- /dev/null +++ b/proto/IslandPartySailInfoNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "IslandPartySailStage.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message IslandPartySailInfoNotify { + enum EODELEEFEGF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5525; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 progress = 5; + uint32 coin = 1; + uint32 killMonsterCount = 9; + IslandPartySailStage stage = 2; +} diff --git a/proto/IslandPartySailStage.proto b/proto/IslandPartySailStage.proto new file mode 100644 index 00000000..eae760ab --- /dev/null +++ b/proto/IslandPartySailStage.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum IslandPartySailStage { + ISLAND_PARTY_SAIL_STAGE_NONE = 0; + ISLAND_PARTY_SAIL_STAGE_SAIL = 1; + ISLAND_PARTY_SAIL_STAGE_BATTLE = 2; +} diff --git a/proto/IslandPartySettleNotify.proto b/proto/IslandPartySettleNotify.proto new file mode 100644 index 00000000..fc2eb5b4 --- /dev/null +++ b/proto/IslandPartySettleNotify.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; + + + +import "GalleryStopReason.proto"; +import "IslandPartyGallerySettleInfo.proto"; +import "ExhibitionDisplayInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message IslandPartySettleNotify { + enum KDNCJGALBFP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 22820; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated IslandPartyGallerySettleInfo settleInfoList = 9; + repeated ExhibitionDisplayInfo scoreList = 8; + bool isNewRecord = 14; + uint32 timeRemain = 2; + GalleryStopReason reason = 13; +} diff --git a/proto/IslandPartyStageData.proto b/proto/IslandPartyStageData.proto index 5488b64b..a3ed07a8 100644 --- a/proto/IslandPartyStageData.proto +++ b/proto/IslandPartyStageData.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message IslandPartyStageData { - uint32 best_score = 14; - uint32 stage_id = 3; - bool is_open = 9; + uint32 bestScore = 5; + uint32 stageId = 2; + bool isOpen = 1; } diff --git a/proto/Item.proto b/proto/Item.proto index 5b247248..4b6a2ed6 100644 --- a/proto/Item.proto +++ b/proto/Item.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + +import "Material.proto"; import "Equip.proto"; import "Furniture.proto"; -import "Material.proto"; - option java_package = "emu.grasscutter.net.proto"; message Item { - uint32 item_id = 1; - uint64 guid = 2; - oneof detail { - Material material = 5; - Equip equip = 6; - Furniture furniture = 7; - } + uint32 itemId = 1; + uint64 guid = 2; + oneof NNFJENNPJMK { + Material material = 5; + Equip equip = 6; + Furniture furniture = 7; + } } diff --git a/proto/ItemAddHintNotify.proto b/proto/ItemAddHintNotify.proto index 20151653..b2c12085 100644 --- a/proto/ItemAddHintNotify.proto +++ b/proto/ItemAddHintNotify.proto @@ -1,42 +1,26 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ItemHint.proto"; -import "Vector.proto"; + +import "Rotation.proto"; +import "ItemHint.proto"; option java_package = "emu.grasscutter.net.proto"; message ItemAddHintNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 700; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum IDJBCODKIJK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 620; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - bool Unk3300_FLIKEBJINCL = 5; - bool Unk3300_NIJLGEHNBNC = 4; - repeated ItemHint item_list = 11; - repeated ItemHint overflow_transformed_item_list = 1; - bool Unk3300_KIOMJNHFMDE = 6; - uint32 reason = 14; - Vector position = 12; - uint32 quest_id = 3; + uint32 questId = 7; + repeated ItemHint overflowTransformedItemList = 1; + bool Unk3300_NIJLGEHNBNC = 14; + bool Unk3300_FLIKEBJINCL = 12; + uint32 reason = 3; + Rotation position = 9; + repeated ItemHint itemList = 8; + bool Unk3300_KIOMJNHFMDE = 11; } diff --git a/proto/ItemCdGroupTimeNotify.proto b/proto/ItemCdGroupTimeNotify.proto index f579fe9b..c88ed180 100644 --- a/proto/ItemCdGroupTimeNotify.proto +++ b/proto/ItemCdGroupTimeNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ItemCdGroupTimeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 680; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum KAJJPFAOALJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 651; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - map item_cd_map = 7; + map itemCdMap = 13; } diff --git a/proto/ItemExceedLimitMsgType.proto b/proto/ItemExceedLimitMsgType.proto new file mode 100644 index 00000000..1376cbbf --- /dev/null +++ b/proto/ItemExceedLimitMsgType.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +enum ItemExceedLimitMsgType { + ITEM_EXCEED_LIMIT_MSG_TYPE_DEFAULT = 0; + ITEM_EXCEED_LIMIT_MSG_TYPE_TEXT = 1; + ITEM_EXCEED_LIMIT_MSG_TYPE_DIALOG = 2; + ITEM_EXCEED_LIMIT_MSG_TYPE_DIALOG_NONBLOCK = 3; +} diff --git a/proto/ItemGivingReq.proto b/proto/ItemGivingReq.proto index da1678d4..fbd1a413 100644 --- a/proto/ItemGivingReq.proto +++ b/proto/ItemGivingReq.proto @@ -1,43 +1,23 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ItemParam.proto"; + +import "ItemGivingType.proto"; +import "ItemParam.proto"; option java_package = "emu.grasscutter.net.proto"; message ItemGivingReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 185; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum DCNJJOIBGKM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 101; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - enum ItemGivingType { - ITEM_GIVING_TYPE_QUEST = 0; - ITEM_GIVING_TYPE_GADGET = 1; - } - - uint32 giving_id = 6; - ItemGivingType item_giving_type = 8; - repeated ItemParam item_param_list = 12; - map item_guid_count_map = 11; + map itemGuidCountMap = 13; + uint32 givingId = 7; + repeated ItemParam itemParamList = 9; + ItemGivingType itemGivingType = 8; } diff --git a/proto/ItemGivingRsp.proto b/proto/ItemGivingRsp.proto index bc871ed1..91bdc7a8 100644 --- a/proto/ItemGivingRsp.proto +++ b/proto/ItemGivingRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ItemGivingRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 108; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum DPOCBOEGOPF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 137; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 giving_group_id = 15; - int32 retcode = 5; - uint32 giving_id = 12; + uint32 givingId = 2; + int32 retcode = 13; + uint32 givingGroupId = 8; } diff --git a/proto/ItemGivingType.proto b/proto/ItemGivingType.proto new file mode 100644 index 00000000..302f9365 --- /dev/null +++ b/proto/ItemGivingType.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +enum ItemGivingType { + ITEM_GIVING_TYPE_NONE = 0; //?? + ITEM_GIVING_TYPE_GADGET = 1; +} diff --git a/proto/ItemHint.proto b/proto/ItemHint.proto index 6b179008..0c840876 100644 --- a/proto/ItemHint.proto +++ b/proto/ItemHint.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ItemHint { - bool is_new = 9; - uint64 guid = 10; - uint32 count = 15; - uint32 item_id = 3; + uint32 count = 12; + uint64 guid = 8; + uint32 itemId = 13; + bool isNew = 14; } diff --git a/proto/ItemParam.proto b/proto/ItemParam.proto index 58a09f89..34033dca 100644 --- a/proto/ItemParam.proto +++ b/proto/ItemParam.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ItemParam { - uint32 item_id = 1; - uint32 count = 2; + uint32 itemId = 1; + uint32 count = 2; } diff --git a/proto/ItemRenameAvatarReq.proto b/proto/ItemRenameAvatarReq.proto index bf422424..5716f51f 100644 --- a/proto/ItemRenameAvatarReq.proto +++ b/proto/ItemRenameAvatarReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ItemRenameAvatarReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1688; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum GGOKOJMMCDI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1747; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 rename_id = 11; - string avatar_name = 4; + string avatarName = 4; + uint32 renameId = 14; } diff --git a/proto/ItemRenameAvatarRsp.proto b/proto/ItemRenameAvatarRsp.proto index 5b56694c..f5ca3e90 100644 --- a/proto/ItemRenameAvatarRsp.proto +++ b/proto/ItemRenameAvatarRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ItemRenameAvatarRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1700; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum BDEOFMOFEEF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1628; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 14; - uint32 cd_time = 5; - uint32 rename_id = 8; + int32 retcode = 15; + uint32 renameId = 8; + uint32 cdTime = 7; } diff --git a/proto/JAKLMFJEIAJ.proto b/proto/JAKLMFJEIAJ.proto new file mode 100644 index 00000000..54a8b54b --- /dev/null +++ b/proto/JAKLMFJEIAJ.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "AbilityString.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message JAKLMFJEIAJ { + uint32 mlaoigidomk = 12; + AbilityString hcgicnilgjl = 13; + AbilityString abilityName = 11; + uint32 dgkkiefjbpp = 14; +} diff --git a/proto/JBCJGCKCKBH.proto b/proto/JBCJGCKCKBH.proto new file mode 100644 index 00000000..8ea8567d --- /dev/null +++ b/proto/JBCJGCKCKBH.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message JBCJGCKCKBH { + float value = 1; +} diff --git a/proto/JBNGFJNCIFI.proto b/proto/JBNGFJNCIFI.proto new file mode 100644 index 00000000..0adf0dde --- /dev/null +++ b/proto/JBNGFJNCIFI.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message JBNGFJNCIFI { + uint32 hooghbjeglp = 6; + uint64 mmjpfnlleol = 5; +} diff --git a/proto/JDFBHNFLOPL.proto b/proto/JDFBHNFLOPL.proto new file mode 100644 index 00000000..effad571 --- /dev/null +++ b/proto/JDFBHNFLOPL.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message JDFBHNFLOPL { + float value = 1; +} diff --git a/proto/JDOFLKLCIKI.proto b/proto/JDOFLKLCIKI.proto new file mode 100644 index 00000000..21eed0a2 --- /dev/null +++ b/proto/JDOFLKLCIKI.proto @@ -0,0 +1,25 @@ +syntax = "proto3"; + + + +enum JDOFLKLCIKI { + KPDAFBNHFDO = 0; + OAEHBFDMCJE = 1; + BNNFAGCDOLI = 2; + EHFNDNMJGNL = 3; + FOPMOLPIEFJ = 4; + NFGCPNOJCIM = 5; + AODINJMGNDO = 6; + JDANCCGDAGK = 7; + NPENOCKHFFO = 8; + BIHHFBLNNLH = 9; + MKLANBOJFNI = 10; + CGPIMEDKDHL = 11; + OKJLEACKFDM = 12; + KCOHHOLFEGI = 13; + NEPIJBCNPNB = 14; + CPBGPCMGFOA = 15; + INIMEBDLMIE = 16; + CHKKLNAMPFO = 17; + OLDFLOIHADA = 18; +} diff --git a/proto/JJPNBPEMPIF.proto b/proto/JJPNBPEMPIF.proto new file mode 100644 index 00000000..1e256cca --- /dev/null +++ b/proto/JJPNBPEMPIF.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +import "PlatformType.proto"; +import "BGAOMPJLJDP.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message JJPNBPEMPIF { + repeated uint32 cardIdList = 1; + uint32 ccdlgbcdpbp = 2; + uint32 faceType = 3; + map cardFaceMap = 4; + repeated BGAOMPJLJDP challengeList = 5; + uint32 score = 6; + bool djgeinachoe = 7; + uint32 akpeeclcbkp = 8; + bool fbldiookpcj = 9; + repeated uint32 forbidFinishChallengeList = 10; + uint32 level = 11; + uint32 clientVersion = 12; + PlatformType platformType = 13; +} diff --git a/proto/JKJCMOIMBCH.proto b/proto/JKJCMOIMBCH.proto new file mode 100644 index 00000000..3227b104 --- /dev/null +++ b/proto/JKJCMOIMBCH.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "GalleryStopReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message JKJCMOIMBCH { + uint32 usedTime = 6; + string transaction = 5; + GalleryStopReason reason = 13; +} diff --git a/proto/JLKNGEIBCLM.proto b/proto/JLKNGEIBCLM.proto new file mode 100644 index 00000000..fb2454b9 --- /dev/null +++ b/proto/JLKNGEIBCLM.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message JLKNGEIBCLM { + uint32 uid = 9; + uint32 lang = 15; + uint64 dungeonGuid = 11; + string fecoacjadfm = 7; + uint32 timestamp = 13; +} diff --git a/proto/JNNGCCMEBPP.proto b/proto/JNNGCCMEBPP.proto new file mode 100644 index 00000000..59db2cac --- /dev/null +++ b/proto/JNNGCCMEBPP.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message JNNGCCMEBPP { + float jmiipakgola = 1; +} diff --git a/proto/JOKCOECFOAK.proto b/proto/JOKCOECFOAK.proto new file mode 100644 index 00000000..dd85c292 --- /dev/null +++ b/proto/JOKCOECFOAK.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message JOKCOECFOAK { + repeated uint32 data = 8; +} diff --git a/proto/JigsawPictureData.proto b/proto/JigsawPictureData.proto index f11839bf..5d212cfe 100644 --- a/proto/JigsawPictureData.proto +++ b/proto/JigsawPictureData.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message JigsawPictureData { - uint32 Unk3300_DFGHKDBENED = 10; - uint32 Unk3300_FIKPLGJIBGP = 5; - bool is_finished = 7; - bool is_open = 14; + uint32 Unk3300_DFGHKDBENED = 12; + uint32 Unk3300_FIKPLGJIBGP = 11; + bool isOpen = 4; + bool isFinished = 8; } diff --git a/proto/JoinHomeWorldFailNotify.proto b/proto/JoinHomeWorldFailNotify.proto new file mode 100644 index 00000000..8e289ee3 --- /dev/null +++ b/proto/JoinHomeWorldFailNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message JoinHomeWorldFailNotify { + enum MDHIMELFAME { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4567; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 4; + uint32 targetUid = 11; +} diff --git a/proto/JoinPlayerFailNotify.proto b/proto/JoinPlayerFailNotify.proto new file mode 100644 index 00000000..be33ce6a --- /dev/null +++ b/proto/JoinPlayerFailNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message JoinPlayerFailNotify { + enum ANNGNMCDKDB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 271; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 15; +} diff --git a/proto/JoinPlayerSceneReq.proto b/proto/JoinPlayerSceneReq.proto new file mode 100644 index 00000000..0c842ac4 --- /dev/null +++ b/proto/JoinPlayerSceneReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message JoinPlayerSceneReq { + enum CJDAGOFPGOJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 234; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 targetUid = 1; +} diff --git a/proto/JoinPlayerSceneRsp.proto b/proto/JoinPlayerSceneRsp.proto new file mode 100644 index 00000000..27e65d78 --- /dev/null +++ b/proto/JoinPlayerSceneRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message JoinPlayerSceneRsp { + enum KEOPGAKFMKC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 289; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 6; +} diff --git a/proto/KANKJCACPOJ.proto b/proto/KANKJCACPOJ.proto new file mode 100644 index 00000000..4c2b9f08 --- /dev/null +++ b/proto/KANKJCACPOJ.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message KANKJCACPOJ { + bool omgkbbbfjli = 13; + float gookfcglmjd = 2; + float oidmkpmeonj = 6; + uint32 avatarId = 7; + string bleallaejce = 5; + float dfadhemafpn = 3; +} diff --git a/proto/KBJPODLFMAB.proto b/proto/KBJPODLFMAB.proto new file mode 100644 index 00000000..6d5b5eaa --- /dev/null +++ b/proto/KBJPODLFMAB.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message KBJPODLFMAB { + bool mlonppbojpp = 13; +} diff --git a/proto/KCBBPDJHHBM.proto b/proto/KCBBPDJHHBM.proto new file mode 100644 index 00000000..9c096418 --- /dev/null +++ b/proto/KCBBPDJHHBM.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message KCBBPDJHHBM { + Rotation pos = 2; + Rotation rot = 7; +} diff --git a/proto/KCPPELGEJFE.proto b/proto/KCPPELGEJFE.proto new file mode 100644 index 00000000..862b7489 --- /dev/null +++ b/proto/KCPPELGEJFE.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "IDOELHBANCP.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message KCPPELGEJFE { + bool ocmpoinejip = 2; + bool aicefchaici = 3; + repeated IDOELHBANCP kcllbppiboo = 999; +} diff --git a/proto/KHIBIMBJOBK.proto b/proto/KHIBIMBJOBK.proto new file mode 100644 index 00000000..92cd5ddd --- /dev/null +++ b/proto/KHIBIMBJOBK.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message KHIBIMBJOBK { + string createTime = 1; + string llbgpfoagln = 2; +} diff --git a/proto/KHLCBPCJNGE.proto b/proto/KHLCBPCJNGE.proto new file mode 100644 index 00000000..ad2ad590 --- /dev/null +++ b/proto/KHLCBPCJNGE.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message KHLCBPCJNGE { + uint32 value = 1; +} diff --git a/proto/KIEHIGCKOHO.proto b/proto/KIEHIGCKOHO.proto new file mode 100644 index 00000000..94def49d --- /dev/null +++ b/proto/KIEHIGCKOHO.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "IGELBDLLJBJ.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message KIEHIGCKOHO { + IGELBDLLJBJ type = 1; + int32 y = 2; +} diff --git a/proto/KJJKCDHJMGD.proto b/proto/KJJKCDHJMGD.proto new file mode 100644 index 00000000..207862cd --- /dev/null +++ b/proto/KJJKCDHJMGD.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "GLELFDKHCNK.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message KJJKCDHJMGD { + repeated GLELFDKHCNK levelInfoList = 10; + uint32 stageId = 1; + bool jpblgaceipn = 3; +} diff --git a/proto/KKDMGDMMPIJ.proto b/proto/KKDMGDMMPIJ.proto new file mode 100644 index 00000000..fdaaa5f8 --- /dev/null +++ b/proto/KKDMGDMMPIJ.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message KKDMGDMMPIJ { + bool jpbaeinccjd = 8; +} diff --git a/proto/KLBGIPEHAID.proto b/proto/KLBGIPEHAID.proto new file mode 100644 index 00000000..1f24ef43 --- /dev/null +++ b/proto/KLBGIPEHAID.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message KLBGIPEHAID { + Rotation velocity = 5; + Rotation faceDir = 10; + uint32 entityId = 14; + Rotation pos = 9; +} diff --git a/proto/KLLIHAMBOJN.proto b/proto/KLLIHAMBOJN.proto new file mode 100644 index 00000000..e45efe51 --- /dev/null +++ b/proto/KLLIHAMBOJN.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "FJMGEBIAMDB.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message KLLIHAMBOJN { + string createTime = 1; + FJMGEBIAMDB jkfdibhoggm = 2; +} diff --git a/proto/KMACCOEKHAI.proto b/proto/KMACCOEKHAI.proto new file mode 100644 index 00000000..5ac65fb5 --- /dev/null +++ b/proto/KMACCOEKHAI.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message KMACCOEKHAI { + message DMNHMPLHCPA { + repeated int32 gcnpfdenhco = 1; + repeated int32 naoofgfgjgo = 2; + string emojefinbhd = 3; + string hafkhfcfelc = 4; + repeated string llcpkmnjblk = 6; + } + + repeated DMNHMPLHCPA nahlpfcaihd = 1; +} diff --git a/proto/KPEJOLCOCFL.proto b/proto/KPEJOLCOCFL.proto new file mode 100644 index 00000000..45bbc497 --- /dev/null +++ b/proto/KPEJOLCOCFL.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "ECEOMAIKPFN.proto"; +import "ForceUdpate.proto"; +import "StopServer.proto"; +import "bytes.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message KPEJOLCOCFL { + int32 retcode = 1; + string msg = 2; + ECEOMAIKPFN regionInfo = 3; + oneof AIPAFJFLEJF { + ForceUdpate force_udpate = 4; + StopServer stop_server = 5; + } + bytes lkcfpnkfoma = 11; + bytes chemhoofhnj = 12; + bytes hmafpingppn = 13; +} diff --git a/proto/KeepAliveNotify.proto b/proto/KeepAliveNotify.proto new file mode 100644 index 00000000..0bbcccdf --- /dev/null +++ b/proto/KeepAliveNotify.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message KeepAliveNotify { + enum BILNMHLCBHH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + +} diff --git a/proto/KeepRotType.proto b/proto/KeepRotType.proto new file mode 100644 index 00000000..37f8a103 --- /dev/null +++ b/proto/KeepRotType.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +enum KeepRotType { + KEEP_ROT_TYPE_X = 0; + KEEP_ROT_TYPE_XY = 1; +} diff --git a/proto/LCDEFNKHMFK.proto b/proto/LCDEFNKHMFK.proto new file mode 100644 index 00000000..b0c82e9c --- /dev/null +++ b/proto/LCDEFNKHMFK.proto @@ -0,0 +1,26 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LCDEFNKHMFK { + uint32 aadgnaadobe = 1; + uint32 fagkmbbhpfl = 2; + uint32 gnggacnnhig = 3; + uint32 lhlgbeidhep = 4; + uint32 aicgkbefebp = 5; + uint64 dklmobpbgfp = 6; + uint32 userId = 11; + uint32 bigokakimgc = 12; + uint32 iapffgldkck = 13; + uint64 njdeohfgkjj = 21; + uint32 eoogmldbnin = 22; + map ccacaoacpab = 23; + uint32 cbooijbgdln = 24; + uint32 aenklljhcfb = 31; + uint32 kmkajhdleoi = 32; + map jneoehhaiem = 33; + bool kkglifckcbf = 34; + uint32 oclnhjfjoio = 35; +} diff --git a/proto/LHIBCFCHIHG.proto b/proto/LHIBCFCHIHG.proto new file mode 100644 index 00000000..3b373265 --- /dev/null +++ b/proto/LHIBCFCHIHG.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "IDGMFMNDIBC.proto"; +import "NOJMHFDCPFH.proto"; +import "GJBKGONOBJD.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message LHIBCFCHIHG { + uint64 dungeonGuid = 1; + uint32 dungeonId = 2; + string creatorNickname = 3; + repeated uint32 tagList = 4; + IDGMFMNDIBC setting = 5; + NOJMHFDCPFH abstract = 6; + GJBKGONOBJD social = 7; +} diff --git a/proto/LJEHEDLADBA.proto b/proto/LJEHEDLADBA.proto new file mode 100644 index 00000000..eb5c106e --- /dev/null +++ b/proto/LJEHEDLADBA.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LJEHEDLADBA { + repeated uint32 nlfekmmbdfh = 12; + repeated uint32 hogkpoggoop = 11; +} diff --git a/proto/LJGFPJKMGDO.proto b/proto/LJGFPJKMGDO.proto new file mode 100644 index 00000000..0769f230 --- /dev/null +++ b/proto/LJGFPJKMGDO.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LJGFPJKMGDO { + int32 value = 1; +} diff --git a/proto/LLIJLJFHGBD.proto b/proto/LLIJLJFHGBD.proto new file mode 100644 index 00000000..e07a5a24 --- /dev/null +++ b/proto/LLIJLJFHGBD.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "JDOFLKLCIKI.proto"; +import "PLDKICHAHEB.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message LLIJLJFHGBD { + JDOFLKLCIKI kmenmhalbfc = 1; + int32 daehjagbjbl = 3; + string createTime = 4; + string hmnbpjgckgn = 6; + int32 eemaljenfdh = 7; + bool nihndjkngei = 8; + repeated PLDKICHAHEB jkfdibhoggm = 9; + string npaoooeccdm = 10; + string kppiclokhkf = 11; +} diff --git a/proto/LLPPPKBGMLN.proto b/proto/LLPPPKBGMLN.proto new file mode 100644 index 00000000..74623c1f --- /dev/null +++ b/proto/LLPPPKBGMLN.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LLPPPKBGMLN { + uint32 ijfdcpilpno = 14; +} diff --git a/proto/LOOBJODJJFP.proto b/proto/LOOBJODJJFP.proto new file mode 100644 index 00000000..3500f1fa --- /dev/null +++ b/proto/LOOBJODJJFP.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message LOOBJODJJFP { + Rotation spawnPos = 15; + uint32 guid = 8; +} diff --git a/proto/LanV3BoatGameStartSingleReq.proto b/proto/LanV3BoatGameStartSingleReq.proto new file mode 100644 index 00000000..2d198408 --- /dev/null +++ b/proto/LanV3BoatGameStartSingleReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LanV3BoatGameStartSingleReq { + enum NPAJPHCJGCC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21556; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/LanV3BoatGameStartSingleRsp.proto b/proto/LanV3BoatGameStartSingleRsp.proto new file mode 100644 index 00000000..f92daad0 --- /dev/null +++ b/proto/LanV3BoatGameStartSingleRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LanV3BoatGameStartSingleRsp { + enum ABHBJGCGKIC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23055; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 5; +} diff --git a/proto/LanV3BoatGameTransferFinishNotify.proto b/proto/LanV3BoatGameTransferFinishNotify.proto new file mode 100644 index 00000000..dcbdef7a --- /dev/null +++ b/proto/LanV3BoatGameTransferFinishNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LanV3BoatGameTransferFinishNotify { + enum PFJCBLLEFGB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20696; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool bllclajlijb = 14; +} diff --git a/proto/LanV3BoatInfo.proto b/proto/LanV3BoatInfo.proto new file mode 100644 index 00000000..d3938dd6 --- /dev/null +++ b/proto/LanV3BoatInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LanV3BoatInfo { + repeated uint32 playerUidList = 4; + uint32 matchId = 11; + uint32 mapId = 15; + bool mdpgfcplekf = 8; +} diff --git a/proto/LanV3BoatInterruptSettleStageReq.proto b/proto/LanV3BoatInterruptSettleStageReq.proto new file mode 100644 index 00000000..da457bdd --- /dev/null +++ b/proto/LanV3BoatInterruptSettleStageReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LanV3BoatInterruptSettleStageReq { + enum FBBNFMEDDHO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 24752; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/LanV3BoatInterruptSettleStageRsp.proto b/proto/LanV3BoatInterruptSettleStageRsp.proto new file mode 100644 index 00000000..b10f3a1c --- /dev/null +++ b/proto/LanV3BoatInterruptSettleStageRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LanV3BoatInterruptSettleStageRsp { + enum KAPOBAMFPML { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20568; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 5; +} diff --git a/proto/LanV3RaceRestartReq.proto b/proto/LanV3RaceRestartReq.proto new file mode 100644 index 00000000..50bb8a90 --- /dev/null +++ b/proto/LanV3RaceRestartReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LanV3RaceRestartReq { + enum CFHINOHGIPO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23737; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 galleryId = 10; +} diff --git a/proto/LanV3RaceRestartRsp.proto b/proto/LanV3RaceRestartRsp.proto new file mode 100644 index 00000000..705406ac --- /dev/null +++ b/proto/LanV3RaceRestartRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LanV3RaceRestartRsp { + enum LMNKAFDDKHB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21596; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 galleryId = 12; + int32 retcode = 9; +} diff --git a/proto/LanV3RaceSettleNotify.proto b/proto/LanV3RaceSettleNotify.proto new file mode 100644 index 00000000..addda536 --- /dev/null +++ b/proto/LanV3RaceSettleNotify.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LanV3RaceSettleNotify { + enum PCKFCBDIILI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23477; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isNewRecord = 3; + uint32 score = 8; + uint32 galleryId = 9; + uint32 Unk3300_OHAHHKNAJKL = 15; + bool isSuccess = 7; + uint32 levelId = 14; + uint32 Unk3300_IPGJKKFDPJJ = 11; + uint32 remainTime = 5; +} diff --git a/proto/LanV3ShadowFinishLevelReq.proto b/proto/LanV3ShadowFinishLevelReq.proto new file mode 100644 index 00000000..32b9fa32 --- /dev/null +++ b/proto/LanV3ShadowFinishLevelReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LanV3ShadowFinishLevelReq { + enum GDKHCIJMJLF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23802; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 finishTime = 7; + uint32 levelId = 6; +} diff --git a/proto/LanV3ShadowFinishLevelRsp.proto b/proto/LanV3ShadowFinishLevelRsp.proto new file mode 100644 index 00000000..8922a0f3 --- /dev/null +++ b/proto/LanV3ShadowFinishLevelRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LanV3ShadowFinishLevelRsp { + enum NNAIPBAHOBB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23853; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; +} diff --git a/proto/LanternProjectionInfo.proto b/proto/LanternProjectionInfo.proto index 29138c67..159b9ecb 100644 --- a/proto/LanternProjectionInfo.proto +++ b/proto/LanternProjectionInfo.proto @@ -1,30 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "ClientInputType.proto"; import "LanternProjectionLevelInfo.proto"; - option java_package = "emu.grasscutter.net.proto"; message LanternProjectionInfo { - repeated ClientInputType Unk3300_FAIAIJGCBJG = 5; - repeated uint32 open_stage_list = 15; - repeated LanternProjectionLevelInfo level_list = 13; - repeated ClientInputType Unk3300_EBHHFKLDOFB = 10; + repeated ClientInputType Unk3300_FAIAIJGCBJG = 2; + repeated ClientInputType Unk3300_EBHHFKLDOFB = 14; + repeated LanternProjectionLevelInfo levelList = 11; + repeated uint32 openStageList = 12; } diff --git a/proto/LanternProjectionLevelInfo.proto b/proto/LanternProjectionLevelInfo.proto index 83c23767..fdc9ce99 100644 --- a/proto/LanternProjectionLevelInfo.proto +++ b/proto/LanternProjectionLevelInfo.proto @@ -1,28 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message LanternProjectionLevelInfo { - bool is_finished = 7; - bool is_can_start = 14; - uint32 id = 10; - bool is_show_tips = 15; - uint32 min_finish_time = 5; + bool isCanStart = 4; + uint32 id = 7; + uint32 minFinishTime = 1; + bool isFinished = 14; + bool isShowTips = 2; } diff --git a/proto/LanternRiteActivityDetailInfo.proto b/proto/LanternRiteActivityDetailInfo.proto index 3cb21ff0..e805f168 100644 --- a/proto/LanternRiteActivityDetailInfo.proto +++ b/proto/LanternRiteActivityDetailInfo.proto @@ -21,6 +21,7 @@ import "LanternProjectionInfo.proto"; import "LanternRiteFireworksInfo.proto"; import "SalvageStageInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message LanternRiteActivityDetailInfo { diff --git a/proto/LanternRiteActivityInfo.proto b/proto/LanternRiteActivityInfo.proto new file mode 100644 index 00000000..bd347c44 --- /dev/null +++ b/proto/LanternRiteActivityInfo.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +import "LanternRiteFireworksInfo.proto"; +import "LanternProjectionInfo.proto"; +import "SalvageStageInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message LanternRiteActivityInfo { + LanternRiteFireworksInfo fireworksInfo = 6; + LanternProjectionInfo projectionInfo = 11; + bool leftMonsters = 9; + bool Unk3300_PDFJNCDGKGH = 3; + repeated SalvageStageInfo stageInfoList = 1; + bool Unk3300_DKBJLCIMBAL = 7; +} diff --git a/proto/LanternRiteDoFireworksReformReq.proto b/proto/LanternRiteDoFireworksReformReq.proto new file mode 100644 index 00000000..d70d07e5 --- /dev/null +++ b/proto/LanternRiteDoFireworksReformReq.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LanternRiteDoFireworksReformReq { + enum GDJEHDMKHDB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8813; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 challengeId = 14; + uint32 stageId = 10; + uint32 factorId = 15; + uint32 skillId = 9; +} diff --git a/proto/LanternRiteDoFireworksReformRsp.proto b/proto/LanternRiteDoFireworksReformRsp.proto new file mode 100644 index 00000000..7beee208 --- /dev/null +++ b/proto/LanternRiteDoFireworksReformRsp.proto @@ -0,0 +1,26 @@ +syntax = "proto3"; + + + +import "LanternRiteFireworksReformFactorInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message LanternRiteDoFireworksReformRsp { + enum GELFHIBPPJG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8644; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 Unk3300_BJHGCFANMBI = 3; + bool isLucky = 7; + repeated LanternRiteFireworksReformFactorInfo factorInfoList = 6; + uint32 stageId = 1; + uint32 challengeId = 9; + uint32 Unk3300_OMHPIGGDCBO = 5; + uint32 Unk3300_LKKBPAJOCML = 14; + uint32 Unk3300_LKOFBPDKEGG = 2; + int32 retcode = 12; +} diff --git a/proto/LanternRiteEndFireworksReformReq.proto b/proto/LanternRiteEndFireworksReformReq.proto new file mode 100644 index 00000000..45bac77a --- /dev/null +++ b/proto/LanternRiteEndFireworksReformReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LanternRiteEndFireworksReformReq { + enum HBEDLOEIBNL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8437; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 stageId = 4; + uint32 challengeId = 8; +} diff --git a/proto/LanternRiteEndFireworksReformRsp.proto b/proto/LanternRiteEndFireworksReformRsp.proto new file mode 100644 index 00000000..060fbc16 --- /dev/null +++ b/proto/LanternRiteEndFireworksReformRsp.proto @@ -0,0 +1,25 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LanternRiteEndFireworksReformRsp { + enum MKOEMHKPEPC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8114; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 finalScore = 8; + uint32 challengeId = 10; + uint32 stageId = 9; + bool Unk3300_ALMNEGCIILA = 6; + bool isFullScore = 4; + int32 retcode = 13; + bool Unk3300_FPEFIADFBNI = 7; + bool Unk3300_CGJNBGAKFAD = 11; + bool isNewRecord = 12; +} diff --git a/proto/LanternRiteFireworksChallengeInfo.proto b/proto/LanternRiteFireworksChallengeInfo.proto index f53aa621..4122544f 100644 --- a/proto/LanternRiteFireworksChallengeInfo.proto +++ b/proto/LanternRiteFireworksChallengeInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message LanternRiteFireworksChallengeInfo { - uint32 best_score = 2; - bool is_full_score = 3; - uint32 challenge_id = 12; + bool isFullScore = 11; + uint32 bestScore = 14; + uint32 challengeId = 15; } diff --git a/proto/LanternRiteFireworksInfo.proto b/proto/LanternRiteFireworksInfo.proto index 078a8373..50a44ad3 100644 --- a/proto/LanternRiteFireworksInfo.proto +++ b/proto/LanternRiteFireworksInfo.proto @@ -1,26 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "LanternRiteFireworksStageInfo.proto"; + +import "LanternRiteFireworksStageInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message LanternRiteFireworksInfo { - repeated LanternRiteFireworksStageInfo stage_info_list = 2; + repeated LanternRiteFireworksStageInfo stageInfoList = 1; } diff --git a/proto/LanternRiteFireworksReformFactorInfo.proto b/proto/LanternRiteFireworksReformFactorInfo.proto new file mode 100644 index 00000000..ce136c72 --- /dev/null +++ b/proto/LanternRiteFireworksReformFactorInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LanternRiteFireworksReformFactorInfo { + uint32 factorId = 1; + uint32 factorValue = 4; +} diff --git a/proto/LanternRiteFireworksReformSkillInfo.proto b/proto/LanternRiteFireworksReformSkillInfo.proto new file mode 100644 index 00000000..0709abec --- /dev/null +++ b/proto/LanternRiteFireworksReformSkillInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LanternRiteFireworksReformSkillInfo { + bool isUnlock = 10; + uint32 Unk3300_IEPBAPJHLEI = 6; + uint32 Unk3300_EDPPFFFLFGG = 11; + uint32 skillId = 3; +} diff --git a/proto/LanternRiteFireworksStageInfo.proto b/proto/LanternRiteFireworksStageInfo.proto index 0a0f4d04..b8977611 100644 --- a/proto/LanternRiteFireworksStageInfo.proto +++ b/proto/LanternRiteFireworksStageInfo.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "LanternRiteFireworksChallengeInfo.proto"; + +import "LanternRiteFireworksChallengeInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message LanternRiteFireworksStageInfo { - uint32 stage_id = 14; - bool is_open = 9; - repeated LanternRiteFireworksChallengeInfo challenge_info_list = 11; + bool isOpen = 7; + repeated LanternRiteFireworksChallengeInfo exceededItemTypeList = 9; + uint32 stageId = 15; } diff --git a/proto/LanternRiteStartFireworksReformReq.proto b/proto/LanternRiteStartFireworksReformReq.proto new file mode 100644 index 00000000..d645ca20 --- /dev/null +++ b/proto/LanternRiteStartFireworksReformReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LanternRiteStartFireworksReformReq { + enum MCPBOJNPPAE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8874; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 challengeId = 12; + uint32 stageId = 11; +} diff --git a/proto/LanternRiteStartFireworksReformRsp.proto b/proto/LanternRiteStartFireworksReformRsp.proto new file mode 100644 index 00000000..f5915db8 --- /dev/null +++ b/proto/LanternRiteStartFireworksReformRsp.proto @@ -0,0 +1,27 @@ +syntax = "proto3"; + + + +import "LanternRiteFireworksReformFactorInfo.proto"; +import "LanternRiteFireworksReformSkillInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message LanternRiteStartFireworksReformRsp { + enum JFGLKEFKPDB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8757; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 Unk3300_LKOFBPDKEGG = 2; + uint32 Unk3300_OMHPIGGDCBO = 7; + repeated LanternRiteFireworksReformFactorInfo factorInfoList = 1; + uint32 challengeId = 12; + uint32 Unk3300_BJHGCFANMBI = 11; + uint32 Unk3300_LKKBPAJOCML = 14; + uint32 stageId = 4; + int32 retcode = 10; + repeated LanternRiteFireworksReformSkillInfo skillInfoList = 15; +} diff --git a/proto/LanternRiteTakeSkinRewardReq.proto b/proto/LanternRiteTakeSkinRewardReq.proto new file mode 100644 index 00000000..34c16f50 --- /dev/null +++ b/proto/LanternRiteTakeSkinRewardReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LanternRiteTakeSkinRewardReq { + enum DGMIHPDFGJB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8307; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/LanternRiteTakeSkinRewardRsp.proto b/proto/LanternRiteTakeSkinRewardRsp.proto new file mode 100644 index 00000000..9201d84a --- /dev/null +++ b/proto/LanternRiteTakeSkinRewardRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LanternRiteTakeSkinRewardRsp { + enum FDBAODFCEAN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8672; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 4; +} diff --git a/proto/LastPacketPrintNotify.proto b/proto/LastPacketPrintNotify.proto new file mode 100644 index 00000000..d12779b3 --- /dev/null +++ b/proto/LastPacketPrintNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LastPacketPrintNotify { + enum COABLAEMCDK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 28; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/LaunchFireworksReq.proto b/proto/LaunchFireworksReq.proto new file mode 100644 index 00000000..3ac0f292 --- /dev/null +++ b/proto/LaunchFireworksReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "FireworksLaunchSchemeData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message LaunchFireworksReq { + enum MCIHLAOBBDE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5921; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + FireworksLaunchSchemeData schemeData = 1; +} diff --git a/proto/LaunchFireworksRsp.proto b/proto/LaunchFireworksRsp.proto new file mode 100644 index 00000000..90972337 --- /dev/null +++ b/proto/LaunchFireworksRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LaunchFireworksRsp { + enum APCODPGHKBM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5952; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 9; +} diff --git a/proto/LeaveSceneReq.proto b/proto/LeaveSceneReq.proto new file mode 100644 index 00000000..57e9f1cf --- /dev/null +++ b/proto/LeaveSceneReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LeaveSceneReq { + enum HNCKCBIMCPL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 255; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/LeaveSceneRsp.proto b/proto/LeaveSceneRsp.proto new file mode 100644 index 00000000..655d389f --- /dev/null +++ b/proto/LeaveSceneRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LeaveSceneRsp { + enum LMHNKPGJEDJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 287; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 7; +} diff --git a/proto/LeaveWorldNotify.proto b/proto/LeaveWorldNotify.proto new file mode 100644 index 00000000..85a31865 --- /dev/null +++ b/proto/LeaveWorldNotify.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LeaveWorldNotify { + enum DKJKMLDICGH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3445; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + +} diff --git a/proto/LevelTagDataNotify.proto b/proto/LevelTagDataNotify.proto new file mode 100644 index 00000000..8c9447e1 --- /dev/null +++ b/proto/LevelTagDataNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LevelTagDataNotify { + enum BACNBMAAAFE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3061; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 levelTagIdList = 11; +} diff --git a/proto/LevelupCityReq.proto b/proto/LevelupCityReq.proto new file mode 100644 index 00000000..79fa9d44 --- /dev/null +++ b/proto/LevelupCityReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LevelupCityReq { + enum HJKHCLPEMCB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 295; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 sceneId = 14; + uint32 itemNum = 8; + uint32 areaId = 13; +} diff --git a/proto/LevelupCityRsp.proto b/proto/LevelupCityRsp.proto new file mode 100644 index 00000000..8b2aad5b --- /dev/null +++ b/proto/LevelupCityRsp.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "CityInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message LevelupCityRsp { + enum FGKCEFOMGIP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 267; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; + CityInfo cityInfo = 15; + uint32 areaId = 12; + uint32 sceneId = 3; +} diff --git a/proto/LifeStateChangeNotify.proto b/proto/LifeStateChangeNotify.proto index 0d6554e0..dee8db18 100644 --- a/proto/LifeStateChangeNotify.proto +++ b/proto/LifeStateChangeNotify.proto @@ -1,41 +1,25 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "PlayerDieType.proto"; import "ServerBuff.proto"; - option java_package = "emu.grasscutter.net.proto"; message LifeStateChangeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1230; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum BCELIHKIKCD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1255; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 move_reliable_seq = 7; - uint32 entity_id = 8; - uint32 life_state = 10; - repeated ServerBuff server_buff_list = 15; - uint32 source_entity_id = 11; - PlayerDieType die_type = 4; - string attack_tag = 13; + uint32 entityId = 7; + repeated ServerBuff serverBuffList = 2; + uint32 moveReliableSeq = 5; + string attackTag = 13; + uint32 sourceEntityId = 15; + uint32 lifeState = 9; + PlayerDieType dieType = 6; } diff --git a/proto/LikeCustomDungeonReq.proto b/proto/LikeCustomDungeonReq.proto new file mode 100644 index 00000000..f7e66d58 --- /dev/null +++ b/proto/LikeCustomDungeonReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LikeCustomDungeonReq { + enum FJKNNHEBBNI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6229; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isCancelLike = 15; + uint64 dungeonGuid = 5; +} diff --git a/proto/LikeCustomDungeonRsp.proto b/proto/LikeCustomDungeonRsp.proto new file mode 100644 index 00000000..36f51377 --- /dev/null +++ b/proto/LikeCustomDungeonRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LikeCustomDungeonRsp { + enum MHBFDAAGFJE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6218; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 1; +} diff --git a/proto/LiveEndNotify.proto b/proto/LiveEndNotify.proto new file mode 100644 index 00000000..63c3b48d --- /dev/null +++ b/proto/LiveEndNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LiveEndNotify { + enum PPJIJEFALGH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 885; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 liveId = 7; +} diff --git a/proto/LiveStartNotify.proto b/proto/LiveStartNotify.proto new file mode 100644 index 00000000..505501df --- /dev/null +++ b/proto/LiveStartNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LiveStartNotify { + enum NPIDEEGPABN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 873; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 liveId = 10; +} diff --git a/proto/LoadActivityTerrainNotify.proto b/proto/LoadActivityTerrainNotify.proto new file mode 100644 index 00000000..0a43cf72 --- /dev/null +++ b/proto/LoadActivityTerrainNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LoadActivityTerrainNotify { + enum MEANDDONPMP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2006; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 activityId = 3; +} diff --git a/proto/LocationInfo.proto b/proto/LocationInfo.proto new file mode 100644 index 00000000..fefb69fb --- /dev/null +++ b/proto/LocationInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message LocationInfo { + Rotation pos = 3; + Rotation rot = 2; +} diff --git a/proto/LockReason.proto b/proto/LockReason.proto new file mode 100644 index 00000000..0b5e2a57 --- /dev/null +++ b/proto/LockReason.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +enum LockReason { + LOCK_REASON_LEVEL = 0; + LOCK_REASON_QUEST = 1; +} diff --git a/proto/LockState.proto b/proto/LockState.proto new file mode 100644 index 00000000..80230baf --- /dev/null +++ b/proto/LockState.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +enum LockState { + LOCK_STATE_NONE = 0; + LOCK_STATE_QUEST = 1; +} diff --git a/proto/LockedPersonallineData.proto b/proto/LockedPersonallineData.proto index 5d409b42..a26497a5 100644 --- a/proto/LockedPersonallineData.proto +++ b/proto/LockedPersonallineData.proto @@ -1,34 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + +import "LockReason.proto"; option java_package = "emu.grasscutter.net.proto"; message LockedPersonallineData { - enum LockReason { - LOCK_REASON_LEVEL = 0; - LOCK_REASON_QUEST = 1; - } - - LockReason lock_reason = 13; - uint32 personal_line_id = 3; - oneof param { - uint32 chapter_id = 4; - uint32 level = 15; - } + uint32 personalLineId = 6; + LockReason lockReason = 4; + oneof IGACBJFMMFM { + uint32 chapter_id = 5; + uint32 level = 13; + } } diff --git a/proto/LuaEnvironmentEffectNotify.proto b/proto/LuaEnvironmentEffectNotify.proto new file mode 100644 index 00000000..0593e833 --- /dev/null +++ b/proto/LuaEnvironmentEffectNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LuaEnvironmentEffectNotify { + enum GGHOPBJMDIP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3240; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 type = 14; + repeated float floatParamList = 12; + string effectAlias = 13; + repeated int32 intParamList = 1; +} diff --git a/proto/LuaOptionType.proto b/proto/LuaOptionType.proto new file mode 100644 index 00000000..5d411909 --- /dev/null +++ b/proto/LuaOptionType.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +enum LuaOptionType { + LUA_OPTION_TYPE_NONE = 0; + LUA_OPTION_TYPE_PLAYER_INPUT = 1; +} diff --git a/proto/LuaSetOptionNotify.proto b/proto/LuaSetOptionNotify.proto new file mode 100644 index 00000000..d773a9fd --- /dev/null +++ b/proto/LuaSetOptionNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "LuaOptionType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message LuaSetOptionNotify { + enum LEAGHMADJLM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 395; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + string luaSetParam = 4; + LuaOptionType optionType = 14; +} diff --git a/proto/LuaShellType.proto b/proto/LuaShellType.proto new file mode 100644 index 00000000..4391e591 --- /dev/null +++ b/proto/LuaShellType.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +enum LuaShellType { + LUA_SHELL_TYPE_LUASHELL_NONE = 0; + LUA_SHELL_TYPE_LUASHELL_NORMAL = 1; + LUA_SHELL_TYPE_LUASHELL_SECURITY = 2; + LUA_SHELL_TYPE_LUASHELL_SHELL_CODE = 3; +} diff --git a/proto/LuminanceStoneChallengeActivityDetailInfo.proto b/proto/LuminanceStoneChallengeActivityDetailInfo.proto index c319fb21..cdd35df7 100644 --- a/proto/LuminanceStoneChallengeActivityDetailInfo.proto +++ b/proto/LuminanceStoneChallengeActivityDetailInfo.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message LuminanceStoneChallengeActivityDetailInfo { - bool is_content_closed = 1; - uint32 current_stage_id = 2; - bool is_final_gallery_complete = 7; - uint32 best_score = 6; + uint32 bestScore = 10; + bool gnelkoiilec = 12; + bool leftMonsters = 4; + uint32 bkcaehmieec = 11; } diff --git a/proto/LuminanceStoneChallengeGallerySettleInfo.proto b/proto/LuminanceStoneChallengeGallerySettleInfo.proto new file mode 100644 index 00000000..da995b2a --- /dev/null +++ b/proto/LuminanceStoneChallengeGallerySettleInfo.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +import "GalleryStopReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message LuminanceStoneChallengeGallerySettleInfo { + uint32 cleanMudCount = 15; + uint32 galleryId = 11; + GalleryStopReason reason = 9; + uint32 killMonsterCount = 6; + uint32 killSpecialMonsterCount = 4; + uint32 finalScore = 5; +} diff --git a/proto/LuminanceStoneChallengeInfo.proto b/proto/LuminanceStoneChallengeInfo.proto new file mode 100644 index 00000000..67ae2058 --- /dev/null +++ b/proto/LuminanceStoneChallengeInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LuminanceStoneChallengeInfo { + uint32 killSpecialMonsterCount = 7; + uint32 score = 15; + uint32 killMonsterCount = 4; + uint32 cleanMudCount = 13; +} diff --git a/proto/LuminanceStoneChallengeSettleInfo.proto b/proto/LuminanceStoneChallengeSettleInfo.proto new file mode 100644 index 00000000..ae15d1cd --- /dev/null +++ b/proto/LuminanceStoneChallengeSettleInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "LuminanceStoneChallengeGallerySettleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message LuminanceStoneChallengeSettleInfo { + bool isNewRecord = 8; + LuminanceStoneChallengeGallerySettleInfo settleInfo = 11; +} diff --git a/proto/LuminanceStoneChallengeSettleNotify.proto b/proto/LuminanceStoneChallengeSettleNotify.proto new file mode 100644 index 00000000..16dca7e8 --- /dev/null +++ b/proto/LuminanceStoneChallengeSettleNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "LuminanceStoneChallengeSettleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message LuminanceStoneChallengeSettleNotify { + enum LFELJALAFIG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8545; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + LuminanceStoneChallengeSettleInfo settleInfo = 1; + uint32 galleryId = 14; +} diff --git a/proto/LunaRiteAreaFinishNotify.proto b/proto/LunaRiteAreaFinishNotify.proto new file mode 100644 index 00000000..90d2f9c2 --- /dev/null +++ b/proto/LunaRiteAreaFinishNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LunaRiteAreaFinishNotify { + enum GGDKPPMPPNL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8711; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 areaId = 12; +} diff --git a/proto/LunaRiteAreaInfo.proto b/proto/LunaRiteAreaInfo.proto index 6e4a6a39..d6825761 100644 --- a/proto/LunaRiteAreaInfo.proto +++ b/proto/LunaRiteAreaInfo.proto @@ -1,30 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "LunaRiteHintStatusType.proto"; + +import "LunaRiteHintStatusType.proto"; option java_package = "emu.grasscutter.net.proto"; message LunaRiteAreaInfo { - repeated uint32 sacrifice_reward_list = 11; - uint32 area_id = 15; - uint32 challenge_index = 1; - LunaRiteHintStatusType hint_status = 7; - repeated uint32 sacrifice_list = 14; + uint32 challengeIndex = 9; + repeated uint32 sacrificeRewardList = 13; + repeated uint32 sacrificeList = 2; + LunaRiteHintStatusType hintStatus = 3; + uint32 areaId = 12; } diff --git a/proto/LunaRiteDetailInfo.proto b/proto/LunaRiteDetailInfo.proto index 4551ea98..1a0b925a 100644 --- a/proto/LunaRiteDetailInfo.proto +++ b/proto/LunaRiteDetailInfo.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "LunaRiteAreaInfo.proto"; -import "LunaRiteHintPoint.proto"; + +import "LunaRiteHintPoint.proto"; +import "LunaRiteAreaInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message LunaRiteDetailInfo { - repeated LunaRiteHintPoint hint_point = 4; - repeated LunaRiteAreaInfo area_info_list = 7; + repeated LunaRiteHintPoint hintPoint = 8; + repeated LunaRiteAreaInfo areaInfoList = 9; } diff --git a/proto/LunaRiteGroupBundleRegisterNotify.proto b/proto/LunaRiteGroupBundleRegisterNotify.proto new file mode 100644 index 00000000..35aeba56 --- /dev/null +++ b/proto/LunaRiteGroupBundleRegisterNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LunaRiteGroupBundleRegisterNotify { + enum MEECFPEFAJP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8078; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 groupLinkBundleId = 14; +} diff --git a/proto/LunaRiteHintPoint.proto b/proto/LunaRiteHintPoint.proto index 6494dd48..38eecb36 100644 --- a/proto/LunaRiteHintPoint.proto +++ b/proto/LunaRiteHintPoint.proto @@ -1,30 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "LunaRiteHintPointType.proto"; -import "Vector.proto"; + +import "Rotation.proto"; +import "LunaRiteHintPointType.proto"; option java_package = "emu.grasscutter.net.proto"; message LunaRiteHintPoint { - uint32 index = 8; - Vector pos = 3; - uint32 area_id = 2; - LunaRiteHintPointType type = 15; + uint32 index = 4; + Rotation pos = 11; + uint32 areaId = 2; + LunaRiteHintPointType type = 15; } diff --git a/proto/LunaRiteHintPointRemoveNotify.proto b/proto/LunaRiteHintPointRemoveNotify.proto new file mode 100644 index 00000000..8385e770 --- /dev/null +++ b/proto/LunaRiteHintPointRemoveNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LunaRiteHintPointRemoveNotify { + enum NCNBEBFEFNC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8181; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 hintPointIndex = 2; +} diff --git a/proto/LunaRiteHintPointReq.proto b/proto/LunaRiteHintPointReq.proto new file mode 100644 index 00000000..312a3d79 --- /dev/null +++ b/proto/LunaRiteHintPointReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LunaRiteHintPointReq { + enum DLDFIKLGOCI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8859; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 areaId = 5; +} diff --git a/proto/LunaRiteHintPointRsp.proto b/proto/LunaRiteHintPointRsp.proto new file mode 100644 index 00000000..0269e989 --- /dev/null +++ b/proto/LunaRiteHintPointRsp.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +import "LunaRiteHintStatusType.proto"; +import "LunaRiteHintPoint.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message LunaRiteHintPointRsp { + enum BCLKIMFOOFB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8361; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + int32 retcode = 1; + uint32 areaId = 5; + LunaRiteHintStatusType hintStatus = 3; + repeated LunaRiteHintPoint hintPoint = 12; +} diff --git a/proto/LunaRiteHintPointType.proto b/proto/LunaRiteHintPointType.proto index fa5592f6..c698a317 100644 --- a/proto/LunaRiteHintPointType.proto +++ b/proto/LunaRiteHintPointType.proto @@ -1,26 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum LunaRiteHintPointType { - LUNA_RITE_HINT_POINT_TYPE_NONE = 0; - LUNA_RITE_HINT_POINT_TYPE_RUNE = 1; - LUNA_RITE_HINT_POINT_TYPE_CHEST = 2; + LUNA_RITE_HINT_POINT_TYPE_NONE = 0; + LUNA_RITE_HINT_POINT_TYPE_RUNE = 1; + LUNA_RITE_HINT_POINT_TYPE_CHEST = 2; } diff --git a/proto/LunaRiteHintStatusType.proto b/proto/LunaRiteHintStatusType.proto index 9fd2f410..f3234593 100644 --- a/proto/LunaRiteHintStatusType.proto +++ b/proto/LunaRiteHintStatusType.proto @@ -1,26 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum LunaRiteHintStatusType { - LUNA_RITE_HINT_STATUS_TYPE_DEFAULT = 0; - LUNA_RITE_HINT_STATUS_TYPE_NO_COUNT = 1; - LUNA_RITE_HINT_STATUS_TYPE_FINISH = 2; + LUNA_RITE_HINT_STATUS_TYPE_DEFAULT = 0; + LUNA_RITE_HINT_STATUS_TYPE_NO_COUNT = 1; + LUNA_RITE_HINT_STATUS_TYPE_FINISH = 2; } diff --git a/proto/LunaRiteInfo.proto b/proto/LunaRiteInfo.proto new file mode 100644 index 00000000..242e2a89 --- /dev/null +++ b/proto/LunaRiteInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "LunaRiteHintPoint.proto"; +import "LunaRiteAreaInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message LunaRiteInfo { + repeated LunaRiteHintPoint hintPoint = 8; + repeated LunaRiteAreaInfo areaInfoList = 9; +} diff --git a/proto/LunaRiteSacrificeReq.proto b/proto/LunaRiteSacrificeReq.proto new file mode 100644 index 00000000..a03a3add --- /dev/null +++ b/proto/LunaRiteSacrificeReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LunaRiteSacrificeReq { + enum GLLKONDGMNG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8743; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 index = 3; + uint32 areaId = 2; +} diff --git a/proto/LunaRiteSacrificeRsp.proto b/proto/LunaRiteSacrificeRsp.proto new file mode 100644 index 00000000..b229e52a --- /dev/null +++ b/proto/LunaRiteSacrificeRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LunaRiteSacrificeRsp { + enum OFPFNGEPHLD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8324; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 8; + uint32 areaId = 13; + uint32 index = 7; + repeated uint32 sacrificeList = 9; +} diff --git a/proto/LunaRiteTakeSacrificeRewardReq.proto b/proto/LunaRiteTakeSacrificeRewardReq.proto new file mode 100644 index 00000000..c14e1651 --- /dev/null +++ b/proto/LunaRiteTakeSacrificeRewardReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LunaRiteTakeSacrificeRewardReq { + enum JNIHBDAJLDI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8152; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 index = 10; + uint32 areaId = 5; +} diff --git a/proto/LunaRiteTakeSacrificeRewardRsp.proto b/proto/LunaRiteTakeSacrificeRewardRsp.proto new file mode 100644 index 00000000..5e93c92c --- /dev/null +++ b/proto/LunaRiteTakeSacrificeRewardRsp.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message LunaRiteTakeSacrificeRewardRsp { + enum PFFGLMMPNDM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8806; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 15; + uint32 sacrificeRewardIndex = 13; + uint32 areaId = 8; + uint32 index = 2; + repeated uint32 sacrificeRewardList = 14; +} diff --git a/proto/LunchBoxData.proto b/proto/LunchBoxData.proto index 2f22fb01..042b630c 100644 --- a/proto/LunchBoxData.proto +++ b/proto/LunchBoxData.proto @@ -1,24 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message LunchBoxData { - map slot_material_map = 4; + map slotMaterialMap = 6; } diff --git a/proto/MCFGDLPGEFD.proto b/proto/MCFGDLPGEFD.proto new file mode 100644 index 00000000..74f3a7e2 --- /dev/null +++ b/proto/MCFGDLPGEFD.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MCFGDLPGEFD { + uint32 dnjogbbalgg = 15; +} diff --git a/proto/MDLMFKBDKKK.proto b/proto/MDLMFKBDKKK.proto new file mode 100644 index 00000000..26447e0f --- /dev/null +++ b/proto/MDLMFKBDKKK.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MDLMFKBDKKK { +} diff --git a/proto/MEIDIANHEDD.proto b/proto/MEIDIANHEDD.proto new file mode 100644 index 00000000..17eb20cd --- /dev/null +++ b/proto/MEIDIANHEDD.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "OMNAAMAIBOH.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MEIDIANHEDD { + repeated OMNAAMAIBOH stageInfoList = 12; +} diff --git a/proto/MFMBKHBBIHG.proto b/proto/MFMBKHBBIHG.proto new file mode 100644 index 00000000..2c23c548 --- /dev/null +++ b/proto/MFMBKHBBIHG.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MFMBKHBBIHG { + string actionType = 1; + string eihhphgagke = 2; + uint32 nbefdipkjbd = 3; + string fkncgjlkmef = 4; + uint32 gdeakhcppgc = 5; + string agidilehddc = 6; +} diff --git a/proto/MGKFOCKHAHI.proto b/proto/MGKFOCKHAHI.proto new file mode 100644 index 00000000..a973f543 --- /dev/null +++ b/proto/MGKFOCKHAHI.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MGKFOCKHAHI { + string type = 1; + string content = 2; + uint32 hkaefdkoeji = 3; +} diff --git a/proto/MGODDIJNABC.proto b/proto/MGODDIJNABC.proto new file mode 100644 index 00000000..05cf68b8 --- /dev/null +++ b/proto/MGODDIJNABC.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MGODDIJNABC { + uint32 entityId = 2; + float ahakcfcglah = 14; + float speed = 10; + repeated uint32 ngkifhhgeji = 7; + string ddgbmfnfahg = 12; + float akokbobpiei = 5; + bool kafblnnckhe = 4; + Rotation eknhofiihcl = 3; + bool mibdohmpbej = 13; +} diff --git a/proto/MHAOLEJOJJL.proto b/proto/MHAOLEJOJJL.proto new file mode 100644 index 00000000..baea15b2 --- /dev/null +++ b/proto/MHAOLEJOJJL.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +import "AbilityAttachedModifier.proto"; +import "AbilityString.proto"; +import "AGGICDIEHNL.proto"; +import "DJOOIPGJPFC.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MHAOLEJOJJL { + uint32 applyEntityId = 8; + AbilityAttachedModifier attachedInstancedModifier = 7; + bool eailnhcpjaf = 1; + repeated DJOOIPGJPFC idobigdgghp = 13; + AbilityString parentAbilityName = 10; + AbilityString parentAbilityOverride = 5; + bool fhmcocfmfik = 11; + bool isAttachedParentAbility = 3; + uint32 serverBuffUid = 9; + int32 modifierLocalId = 6; + AGGICDIEHNL henpegmkbie = 2; +} diff --git a/proto/MLBFNDKNIEM.proto b/proto/MLBFNDKNIEM.proto new file mode 100644 index 00000000..b0619d59 --- /dev/null +++ b/proto/MLBFNDKNIEM.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MLBFNDKNIEM { + bool isOpen = 13; + uint32 levelId = 5; + uint32 maxScore = 14; +} diff --git a/proto/MMJFCJAIBBG.proto b/proto/MMJFCJAIBBG.proto new file mode 100644 index 00000000..87154654 --- /dev/null +++ b/proto/MMJFCJAIBBG.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MMJFCJAIBBG { + string createTime = 1; + string value = 2; +} diff --git a/proto/MODKOILPBDN.proto b/proto/MODKOILPBDN.proto new file mode 100644 index 00000000..68924018 --- /dev/null +++ b/proto/MODKOILPBDN.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "LHIBCFCHIHG.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MODKOILPBDN { + repeated LHIBCFCHIHG briefList = 1; +} diff --git a/proto/MOELDICDLJM.proto b/proto/MOELDICDLJM.proto new file mode 100644 index 00000000..0a820d7b --- /dev/null +++ b/proto/MOELDICDLJM.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "POEDEDPKGPH.proto"; +import "MMJFCJAIBBG.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MOELDICDLJM { + string oiibnieamib = 1; + string entityId = 2; + string lang = 3; + string khjppnapjib = 4; + string fecoacjadfm = 5; + uint32 uid = 6; + repeated POEDEDPKGPH fcjijbicndj = 7; + repeated MMJFCJAIBBG pmbjacpclfc = 8; +} diff --git a/proto/MPLevelEntityInfo.proto b/proto/MPLevelEntityInfo.proto index b292fede..b831f786 100644 --- a/proto/MPLevelEntityInfo.proto +++ b/proto/MPLevelEntityInfo.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AbilitySyncStateInfo.proto"; + +import "AbilitySyncStateInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message MPLevelEntityInfo { - AbilitySyncStateInfo ability_info = 15; - uint32 entity_id = 10; - uint32 authority_peer_id = 5; + AbilitySyncStateInfo abilityInfo = 2; + uint32 entityId = 11; + uint32 authorityPeerId = 9; } diff --git a/proto/MPMJBKDBLNE.proto b/proto/MPMJBKDBLNE.proto new file mode 100644 index 00000000..af3797e5 --- /dev/null +++ b/proto/MPMJBKDBLNE.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum MPMJBKDBLNE { + KKAAJJMHHMJ = 0; + NOOJLHLJBLA = 1; + PFOCJJJODLJ = 2; +} diff --git a/proto/MailChangeNotify.proto b/proto/MailChangeNotify.proto index b93dd854..3f870a29 100644 --- a/proto/MailChangeNotify.proto +++ b/proto/MailChangeNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "MailData.proto"; + +import "MailData.proto"; option java_package = "emu.grasscutter.net.proto"; message MailChangeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1430; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MFJGGIBBDLE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1455; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 del_mail_id_list = 15; - repeated MailData mail_list = 2; + repeated uint32 delMailIdList = 4; + repeated MailData mailList = 5; } diff --git a/proto/MailCollectState.proto b/proto/MailCollectState.proto index 9f7d2c11..adb11e9f 100644 --- a/proto/MailCollectState.proto +++ b/proto/MailCollectState.proto @@ -1,27 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum MailCollectState { - MAIL_COLLECT_STATE_COLLECTIBLE_UNKNOWN = 0; - MAIL_COLLECT_STATE_NOT_COLLECTIBLE = 1; - MAIL_COLLECT_STATE_COLLECTIBLE_UNCOLLECTED = 2; - MAIL_COLLECT_STATE_COLLECTIBLE_COLLECTED = 3; + MAIL_COLLECT_STATE_COLLECTIBLE_UNKNOWN = 0; + MAIL_COLLECT_STATE_NOT_COLLECTIBLE = 1; + MAIL_COLLECT_STATE_COLLECTIBLE_UNCOLLECTED = 2; + MAIL_COLLECT_STATE_COLLECTIBLE_COLLECTED = 3; } diff --git a/proto/MailData.proto b/proto/MailData.proto index 6a6842df..e7fc0ac3 100644 --- a/proto/MailData.proto +++ b/proto/MailData.proto @@ -1,38 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + +import "MailTextContent.proto"; import "MailCollectState.proto"; import "MailItem.proto"; -import "MailTextContent.proto"; - option java_package = "emu.grasscutter.net.proto"; message MailData { - uint32 mail_id = 1; - MailTextContent mail_text_content = 4; - repeated MailItem item_list = 7; - uint32 send_time = 8; - uint32 expire_time = 9; - uint32 importance = 10; - bool is_read = 11; - bool is_attachment_got = 12; - uint32 config_id = 13; - repeated string argument_list = 14; - MailCollectState collect_state = 15; + uint32 mailId = 1; + MailTextContent mailTextContent = 4; + repeated MailItem itemList = 7; + uint32 sendTime = 8; + uint32 expireTime = 9; + uint32 importance = 10; + bool isRead = 11; + bool isAttachmentGot = 12; + uint32 configId = 13; + repeated string argumentList = 14; + MailCollectState collectState = 15; } diff --git a/proto/MailItem.proto b/proto/MailItem.proto index 3027c93f..35e203ba 100644 --- a/proto/MailItem.proto +++ b/proto/MailItem.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "EquipParam.proto"; import "MaterialDeleteInfo.proto"; - option java_package = "emu.grasscutter.net.proto"; message MailItem { - EquipParam equip_param = 1; - MaterialDeleteInfo delete_info = 2; + EquipParam equipParam = 1; + MaterialDeleteInfo deleteInfo = 2; } diff --git a/proto/MailTextContent.proto b/proto/MailTextContent.proto index cb062396..8310ec7a 100644 --- a/proto/MailTextContent.proto +++ b/proto/MailTextContent.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message MailTextContent { - string title = 1; - string content = 2; - string sender = 3; + string title = 1; + string content = 2; + string sender = 3; } diff --git a/proto/MainCoop.proto b/proto/MainCoop.proto new file mode 100644 index 00000000..6978c2ad --- /dev/null +++ b/proto/MainCoop.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "Status.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MainCoop { + uint32 selfConfidence = 3; + repeated uint32 savePointIdList = 6; + uint32 id = 15; + map normalVarMap = 12; + Status status = 8; + map tempVarMap = 2; + map seenEndingMap = 4; +} diff --git a/proto/MainCoopFailNotify.proto b/proto/MainCoopFailNotify.proto new file mode 100644 index 00000000..bd587549 --- /dev/null +++ b/proto/MainCoopFailNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MainCoopFailNotify { + enum KOGKDCGMHFO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1976; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + string textmapId = 4; + uint32 chapterId = 13; +} diff --git a/proto/MainCoopUpdateNotify.proto b/proto/MainCoopUpdateNotify.proto new file mode 100644 index 00000000..ba09591d --- /dev/null +++ b/proto/MainCoopUpdateNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "MainCoop.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MainCoopUpdateNotify { + enum JOAFDEMHCJO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1995; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated MainCoop mainCoopList = 5; +} diff --git a/proto/MapAreaChangeNotify.proto b/proto/MapAreaChangeNotify.proto new file mode 100644 index 00000000..d2069a08 --- /dev/null +++ b/proto/MapAreaChangeNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "MapAreaInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MapAreaChangeNotify { + enum KNMGJNPBOGF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3049; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated MapAreaInfo mapAreaInfoList = 10; +} diff --git a/proto/MapAreaInfo.proto b/proto/MapAreaInfo.proto new file mode 100644 index 00000000..9acfb5f4 --- /dev/null +++ b/proto/MapAreaInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MapAreaInfo { + uint32 mapAreaId = 1; + bool isOpen = 2; +} diff --git a/proto/MapMarkFromType.proto b/proto/MapMarkFromType.proto index 2b4d7f15..54d6c274 100644 --- a/proto/MapMarkFromType.proto +++ b/proto/MapMarkFromType.proto @@ -1,23 +1,6 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum MapMarkFromType { MAP_MARK_FROM_TYPE_NONE = 0; diff --git a/proto/MapMarkPoint.proto b/proto/MapMarkPoint.proto index 4d034249..4c390a4f 100644 --- a/proto/MapMarkPoint.proto +++ b/proto/MapMarkPoint.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "MapMarkFromType.proto"; -import "MapMarkPointType.proto"; -import "Vector.proto"; + +import "Rotation.proto"; +import "MapMarkPointType.proto"; +import "MapMarkFromType.proto"; option java_package = "emu.grasscutter.net.proto"; message MapMarkPoint { - uint32 scene_id = 1; - string name = 2; - Vector pos = 3; - MapMarkPointType point_type = 4; - uint32 monster_id = 5; - MapMarkFromType from_type = 6; - uint32 quest_id = 7; + uint32 sceneId = 1; + string createTime = 2; + Rotation pos = 3; + MapMarkPointType pointType = 4; + uint32 monsterId = 5; + MapMarkFromType fromType = 6; + uint32 questId = 7; } diff --git a/proto/MapMarkPointType.proto b/proto/MapMarkPointType.proto index 33893185..ab504021 100644 --- a/proto/MapMarkPointType.proto +++ b/proto/MapMarkPointType.proto @@ -1,24 +1,5 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; - enum MapMarkPointType { MAP_MARK_POINT_TYPE_NPC = 0; MAP_MARK_POINT_TYPE_QUEST = 1; diff --git a/proto/MapMarkTipsInfo.proto b/proto/MapMarkTipsInfo.proto new file mode 100644 index 00000000..fd633266 --- /dev/null +++ b/proto/MapMarkTipsInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "MapMarkTipsType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MapMarkTipsInfo { + MapMarkTipsType tipsType = 1; + repeated uint32 pointIdList = 2; +} diff --git a/proto/MapMarkTipsType.proto b/proto/MapMarkTipsType.proto new file mode 100644 index 00000000..6a2803cf --- /dev/null +++ b/proto/MapMarkTipsType.proto @@ -0,0 +1,7 @@ +syntax = "proto3"; + + + +enum MapMarkTipsType { + MAP_MARK_TIPS_TYPE_DUNGEON_ELEMENT_TRIAL = 0; +} diff --git a/proto/MarkEntityInMinMapNotify.proto b/proto/MarkEntityInMinMapNotify.proto new file mode 100644 index 00000000..4f2c9d25 --- /dev/null +++ b/proto/MarkEntityInMinMapNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MarkEntityInMinMapNotify { + enum CAEKOFFNIBF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 263; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 monsterId = 12; + uint32 entityId = 3; + Rotation position = 13; +} diff --git a/proto/MarkMapReq.proto b/proto/MarkMapReq.proto index 90e8de02..da8f5883 100644 --- a/proto/MarkMapReq.proto +++ b/proto/MarkMapReq.proto @@ -1,44 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "MapMarkPoint.proto"; + +import "Operation.proto"; +import "MapMarkPoint.proto"; option java_package = "emu.grasscutter.net.proto"; message MarkMapReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 3282; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum LJKBDJKNENE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3176; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - enum Operation { - OPERATION_ADD = 0; - OPERATION_MOD = 1; - OPERATION_DEL = 2; - OPERATION_GET = 3; - } - - Operation op = 3; - MapMarkPoint old = 6; - MapMarkPoint mark = 13; + Operation op = 3; + MapMarkPoint old = 7; + MapMarkPoint mark = 10; } diff --git a/proto/MarkMapRsp.proto b/proto/MarkMapRsp.proto index 1f87d780..38a28167 100644 --- a/proto/MarkMapRsp.proto +++ b/proto/MarkMapRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "MapMarkPoint.proto"; + +import "MapMarkPoint.proto"; option java_package = "emu.grasscutter.net.proto"; message MarkMapRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 3346; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum FHMNFIHNBDM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3413; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated MapMarkPoint mark_list = 2; - int32 retcode = 13; + int32 retcode = 1; + repeated MapMarkPoint markList = 5; } diff --git a/proto/MarkNewNotify.proto b/proto/MarkNewNotify.proto index da99ef4a..a69114ab 100644 --- a/proto/MarkNewNotify.proto +++ b/proto/MarkNewNotify.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message MarkNewNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1239; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum PLJJEEODALH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1229; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 id_list = 7; - uint32 mark_new_type = 3; + repeated uint32 idList = 1; + uint32 markNewType = 15; } diff --git a/proto/MarkTargetInvestigationMonsterNotify.proto b/proto/MarkTargetInvestigationMonsterNotify.proto index 84b818d2..6f0d030c 100644 --- a/proto/MarkTargetInvestigationMonsterNotify.proto +++ b/proto/MarkTargetInvestigationMonsterNotify.proto @@ -1,36 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message MarkTargetInvestigationMonsterNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1921; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum HDDLDNHFPOI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1913; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 monster_id = 10; - uint32 scene_id = 7; - uint32 group_id = 15; - uint32 investigation_monster_id = 3; + uint32 groupId = 15; + uint32 monsterId = 12; + uint32 sceneId = 14; + uint32 investigationMonsterId = 2; } diff --git a/proto/MassiveEntityElementOpBatchNotify.proto b/proto/MassiveEntityElementOpBatchNotify.proto new file mode 100644 index 00000000..852e983a --- /dev/null +++ b/proto/MassiveEntityElementOpBatchNotify.proto @@ -0,0 +1,30 @@ +syntax = "proto3"; + + + +import "ShapeSphere.proto"; +import "ShapeBox.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MassiveEntityElementOpBatchNotify { + enum OMOHMOHBBMC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 390; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + float attackElementDurability = 6; + int32 Unk3300_KNLDJPEMCKP = 9; + int32 Unk3300_PNANGDNNFCH = 11; + uint32 attackerId = 10; + uint32 userId = 4; + int32 entityType = 2; + oneof IJEKMGHCAPI { + ShapeSphere shape_sphere = 7; + ShapeBox shape_box = 8; + } + uint32 opIdx = 1; +} diff --git a/proto/MassiveEntityState.proto b/proto/MassiveEntityState.proto new file mode 100644 index 00000000..8f8481fe --- /dev/null +++ b/proto/MassiveEntityState.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MassiveEntityState { + uint32 entityType = 1; + int64 objId = 2; + uint32 elementState = 3; +} diff --git a/proto/MassiveEntityStateChangedNotify.proto b/proto/MassiveEntityStateChangedNotify.proto new file mode 100644 index 00000000..c15878ea --- /dev/null +++ b/proto/MassiveEntityStateChangedNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "MassiveEntityState.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MassiveEntityStateChangedNotify { + enum LEDCNCPHMLC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 379; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated MassiveEntityState massiveEntityStateList = 5; +} diff --git a/proto/MassivePropParam.proto b/proto/MassivePropParam.proto index d848b69b..5e845867 100644 --- a/proto/MassivePropParam.proto +++ b/proto/MassivePropParam.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message MassivePropParam { - int32 type = 1; - repeated uint32 reaction_info_list = 2; - repeated float param_list = 3; - uint32 sync_flag = 4; + int32 type = 1; + repeated uint32 bkeclhnchpn = 2; + repeated float paramList = 3; + uint32 eejlkopeggc = 4; } diff --git a/proto/MassivePropSyncInfo.proto b/proto/MassivePropSyncInfo.proto index 9d571e70..cdc48952 100644 --- a/proto/MassivePropSyncInfo.proto +++ b/proto/MassivePropSyncInfo.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "MassivePropParam.proto"; + +import "MassivePropParam.proto"; option java_package = "emu.grasscutter.net.proto"; message MassivePropSyncInfo { - int64 id = 1; - repeated MassivePropParam prop_list = 2; + int64 id = 1; + repeated MassivePropParam propList = 2; } diff --git a/proto/MatchPlayerInfo.proto b/proto/MatchPlayerInfo.proto new file mode 100644 index 00000000..28a949ce --- /dev/null +++ b/proto/MatchPlayerInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "OnlinePlayerInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MatchPlayerInfo { + bool isAgreed = 11; + OnlinePlayerInfo playerInfo = 4; +} diff --git a/proto/MatchReason.proto b/proto/MatchReason.proto new file mode 100644 index 00000000..2fabd363 --- /dev/null +++ b/proto/MatchReason.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +enum MatchReason { + MATCH_REASON_NONE = 0; + MATCH_REASON_FINISH = 1; + MATCH_REASON_PLAYER_CANCEL = 2; + MATCH_REASON_TIMEOUT = 3; + MATCH_REASON_PLAYER_CONFIRM = 4; + MATCH_REASON_FAILED = 5; + MATCH_REASON_SYSTEM_ERROR = 6; + MATCH_REASON_INTERRUPTED = 7; + MATCH_REASON_MP_UNAVAILABLE = 8; + MATCH_REASON_CONFIRM_TIMEOUT = 9; +} diff --git a/proto/MatchType.proto b/proto/MatchType.proto new file mode 100644 index 00000000..0341ce16 --- /dev/null +++ b/proto/MatchType.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +enum MatchType { + MATCH_TYPE_NONE = 0; + MATCH_TYPE_DUNGEON = 1; + MATCH_TYPE_MP_PLAY = 2; + MATCH_TYPE_MECHANICUS = 3; + MATCH_TYPE_GENERAL = 4; + MATCH_TYPE_GCG = 5; +} diff --git a/proto/Material.proto b/proto/Material.proto index 91ab3cb6..95343cbf 100644 --- a/proto/Material.proto +++ b/proto/Material.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "MaterialDeleteInfo.proto"; + +import "MaterialDeleteInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message Material { - uint32 count = 1; - MaterialDeleteInfo delete_info = 2; + uint32 count = 1; + MaterialDeleteInfo deleteInfo = 2; } diff --git a/proto/MaterialDeleteInfo.proto b/proto/MaterialDeleteInfo.proto index aff0f12a..fa0e2fb5 100644 --- a/proto/MaterialDeleteInfo.proto +++ b/proto/MaterialDeleteInfo.proto @@ -1,44 +1,27 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message MaterialDeleteInfo { - message CountDownDelete { - map delete_time_num_map = 1; - uint32 config_count_down_time = 2; - } + message CountDownDelete { + map deleteTimeNumMap = 1; + uint32 configCountDownTime = 2; + } + message DateTimeDelete { + uint32 deleteTime = 1; + } + message DelayWeekCountDownDelete { + map deleteTimeNumMap = 1; + uint32 configDelayWeek = 2; + uint32 configCountDownTime = 3; + } - message DateTimeDelete { - uint32 delete_time = 1; - } - - message DelayWeekCountDownDelete { - map delete_time_num_map = 1; - uint32 config_delay_week = 2; - uint32 config_count_down_time = 3; - } - - bool has_delete_config = 1; - oneof delete_info { - CountDownDelete count_down_delete = 2; - DateTimeDelete date_delete = 3; - DelayWeekCountDownDelete delay_week_count_down_delete = 4; - } + bool hasDeleteConfig = 1; + oneof OKADNKAHBGL { + CountDownDelete count_down_delete = 2; + DateTimeDelete date_delete = 3; + DelayWeekCountDownDelete delay_week_count_down_delete = 4; + } } diff --git a/proto/MaterialDeleteReturnNotify.proto b/proto/MaterialDeleteReturnNotify.proto index a8e3ef62..3eb8e4f7 100644 --- a/proto/MaterialDeleteReturnNotify.proto +++ b/proto/MaterialDeleteReturnNotify.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "MaterialDeleteReturnType.proto"; + +import "MaterialDeleteReturnType.proto"; option java_package = "emu.grasscutter.net.proto"; message MaterialDeleteReturnNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 698; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum AMMCMEKCDML { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 615; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - MaterialDeleteReturnType type = 7; - map Unk3300_OFOKFKBALJD = 12; - map Unk3300_LAIHDKJAHAF = 8; + map Unk3300_OFOKFKBALJD = 7; + map Unk3300_LAIHDKJAHAF = 10; + MaterialDeleteReturnType type = 11; } diff --git a/proto/MaterialDeleteReturnType.proto b/proto/MaterialDeleteReturnType.proto index 5aabd5f3..410b9364 100644 --- a/proto/MaterialDeleteReturnType.proto +++ b/proto/MaterialDeleteReturnType.proto @@ -1,25 +1,8 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum MaterialDeleteReturnType { - MATERIAL_DELETE_RETURN_TYPE_BAG = 0; - MATERIAL_DELETE_RETURN_TYPE_SEED = 1; + MATERIAL_DELETE_RETURN_TYPE_BAG = 0; + MATERIAL_DELETE_RETURN_TYPE_SEED = 1; } diff --git a/proto/MaterialDeleteUpdateNotify.proto b/proto/MaterialDeleteUpdateNotify.proto index 51094440..246338ab 100644 --- a/proto/MaterialDeleteUpdateNotify.proto +++ b/proto/MaterialDeleteUpdateNotify.proto @@ -1,30 +1,16 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message MaterialDeleteUpdateNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 604; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum GKJLDDAPHHL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 654; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + } diff --git a/proto/MaterialInfo.proto b/proto/MaterialInfo.proto index 8fc42336..1d9877e3 100644 --- a/proto/MaterialInfo.proto +++ b/proto/MaterialInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message MaterialInfo { - uint64 guid = 1; - uint32 count = 13; + uint32 count = 3; + uint64 guid = 12; } diff --git a/proto/MathQuaternion.proto b/proto/MathQuaternion.proto index ce3b3570..961ed161 100644 --- a/proto/MathQuaternion.proto +++ b/proto/MathQuaternion.proto @@ -17,6 +17,7 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message MathQuaternion { diff --git a/proto/McoinExchangeHcoinReq.proto b/proto/McoinExchangeHcoinReq.proto index e05d4554..f8e248be 100644 --- a/proto/McoinExchangeHcoinReq.proto +++ b/proto/McoinExchangeHcoinReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message McoinExchangeHcoinReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 623; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum OMOIGICKHMH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 695; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 hcoin = 1; - uint32 mcoin_cost = 3; + uint32 mcoinCost = 15; + uint32 hcoin = 13; } diff --git a/proto/McoinExchangeHcoinRsp.proto b/proto/McoinExchangeHcoinRsp.proto index 722a3876..e8226fd5 100644 --- a/proto/McoinExchangeHcoinRsp.proto +++ b/proto/McoinExchangeHcoinRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message McoinExchangeHcoinRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 687; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MKBLJNJFLIA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 667; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 mcoin_cost = 12; - int32 retcode = 10; - uint32 hcoin = 1; + int32 retcode = 7; + uint32 mcoinCost = 11; + uint32 hcoin = 15; } diff --git a/proto/MechanicusCandidateTeamCreateReq.proto b/proto/MechanicusCandidateTeamCreateReq.proto new file mode 100644 index 00000000..1a2c424c --- /dev/null +++ b/proto/MechanicusCandidateTeamCreateReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MechanicusCandidateTeamCreateReq { + enum GLLPFAHAFBC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3913; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 difficultLevel = 9; +} diff --git a/proto/MechanicusCandidateTeamCreateRsp.proto b/proto/MechanicusCandidateTeamCreateRsp.proto new file mode 100644 index 00000000..d38124d8 --- /dev/null +++ b/proto/MechanicusCandidateTeamCreateRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MechanicusCandidateTeamCreateRsp { + enum EGFGBGCKLBF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3969; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 difficultLevel = 4; + uint32 dungeonId = 15; + int32 retcode = 10; +} diff --git a/proto/MechanicusCloseNotify.proto b/proto/MechanicusCloseNotify.proto new file mode 100644 index 00000000..3686d2b8 --- /dev/null +++ b/proto/MechanicusCloseNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MechanicusCloseNotify { + enum BIAKPOKJEJE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3974; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 mechanicusId = 12; +} diff --git a/proto/MechanicusCoinNotify.proto b/proto/MechanicusCoinNotify.proto new file mode 100644 index 00000000..f4f57a36 --- /dev/null +++ b/proto/MechanicusCoinNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MechanicusCoinNotify { + enum JPKDEGJCLNN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3998; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 mechanicusId = 8; + uint32 coin = 13; +} diff --git a/proto/MechanicusInfo.proto b/proto/MechanicusInfo.proto new file mode 100644 index 00000000..c073a9c9 --- /dev/null +++ b/proto/MechanicusInfo.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "Uint32Pair.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MechanicusInfo { + uint32 mechanicusId = 14; + repeated uint32 Unk3300_KJLGFEPIENG = 7; + repeated Uint32Pair gearLevelPairList = 6; + repeated uint32 Unk3300_EEBEOCMAIKN = 12; + bool isFinishTeachDungeon = 3; + uint32 coin = 8; + uint32 punishOverTime = 10; +} diff --git a/proto/MechanicusLevelupGearReq.proto b/proto/MechanicusLevelupGearReq.proto new file mode 100644 index 00000000..c1a977f0 --- /dev/null +++ b/proto/MechanicusLevelupGearReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MechanicusLevelupGearReq { + enum AMDIMNOFHNH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3962; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 mechanicusId = 6; + uint32 gearId = 10; +} diff --git a/proto/MechanicusLevelupGearRsp.proto b/proto/MechanicusLevelupGearRsp.proto new file mode 100644 index 00000000..791990a8 --- /dev/null +++ b/proto/MechanicusLevelupGearRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MechanicusLevelupGearRsp { + enum MDLJGPIOPJK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3914; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 5; + uint32 mechanicusId = 1; + uint32 gearId = 10; + uint32 afterGearLevel = 9; +} diff --git a/proto/MechanicusOpenNotify.proto b/proto/MechanicusOpenNotify.proto new file mode 100644 index 00000000..47feec81 --- /dev/null +++ b/proto/MechanicusOpenNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MechanicusOpenNotify { + enum PKFNAAHFIIA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3920; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 mechanicusId = 2; +} diff --git a/proto/MechanicusSequenceOpenNotify.proto b/proto/MechanicusSequenceOpenNotify.proto new file mode 100644 index 00000000..00b1bdaa --- /dev/null +++ b/proto/MechanicusSequenceOpenNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MechanicusSequenceOpenNotify { + enum HLGOOIBEFHC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3987; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 mechanicusId = 5; + uint32 sequenceId = 4; +} diff --git a/proto/MechanicusSettleInfo.proto b/proto/MechanicusSettleInfo.proto new file mode 100644 index 00000000..2577c0e4 --- /dev/null +++ b/proto/MechanicusSettleInfo.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +import "MultistageSettleWatcherInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MechanicusSettleInfo { + uint64 sceneTimeMs = 15; + uint32 Unk3300_HAEOPAOBBFE = 7; + bool isSuccess = 6; + uint32 Unk3300_NAMBBHMJJLN = 1; + uint32 groupId = 12; + uint32 Unk3300_EKAIAPLNIPM = 11; + uint32 playIndex = 13; + repeated MultistageSettleWatcherInfo watcherList = 4; +} diff --git a/proto/MechanicusUnlockGearReq.proto b/proto/MechanicusUnlockGearReq.proto new file mode 100644 index 00000000..3510af38 --- /dev/null +++ b/proto/MechanicusUnlockGearReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MechanicusUnlockGearReq { + enum AIAPEBJFIPF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3980; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 mechanicusId = 13; + uint32 gearId = 1; +} diff --git a/proto/MechanicusUnlockGearRsp.proto b/proto/MechanicusUnlockGearRsp.proto new file mode 100644 index 00000000..a7fcafe9 --- /dev/null +++ b/proto/MechanicusUnlockGearRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MechanicusUnlockGearRsp { + enum KFMBLOHIIAC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3970; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; + uint32 gearId = 9; + uint32 mechanicusId = 13; +} diff --git a/proto/MeetNpcReq.proto b/proto/MeetNpcReq.proto new file mode 100644 index 00000000..5b7d3a83 --- /dev/null +++ b/proto/MeetNpcReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MeetNpcReq { + enum EGDOAKMBLAA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 580; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 npcId = 9; +} diff --git a/proto/MeetNpcRsp.proto b/proto/MeetNpcRsp.proto new file mode 100644 index 00000000..eb95d776 --- /dev/null +++ b/proto/MeetNpcRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MeetNpcRsp { + enum GDLKHKKJPNM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 570; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 npcFirstMetId = 12; + int32 retcode = 14; +} diff --git a/proto/MetNpcIdListNotify.proto b/proto/MetNpcIdListNotify.proto new file mode 100644 index 00000000..9dfbbd62 --- /dev/null +++ b/proto/MetNpcIdListNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MetNpcIdListNotify { + enum LNCDAACBCJM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 574; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 npcFirstMetIdList = 9; +} diff --git a/proto/MichiaeMatsuriActivityDetailInfo.proto b/proto/MichiaeMatsuriActivityDetailInfo.proto index ba7eaf85..8509c0bf 100644 --- a/proto/MichiaeMatsuriActivityDetailInfo.proto +++ b/proto/MichiaeMatsuriActivityDetailInfo.proto @@ -1,32 +1,16 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "MichiaeMatsuriChallengePositionInfo.proto"; import "MichiaeMatsuriChestPositionInfo.proto"; import "MichiaeMatsuriStage.proto"; - option java_package = "emu.grasscutter.net.proto"; message MichiaeMatsuriActivityDetailInfo { - uint32 gain_crystal_exp = 11; - repeated MichiaeMatsuriStage stage_list = 14; - repeated uint32 unlocked_crystal_skill_list = 5; - repeated MichiaeMatsuriChallengePositionInfo challenge_pos_list = 3; - repeated MichiaeMatsuriChestPositionInfo chest_pos_list = 12; + repeated MichiaeMatsuriChallengePositionInfo challengePosList = 8; + repeated uint32 unlockedCrystalSkillList = 4; + uint32 gainCrystalExp = 5; + repeated MichiaeMatsuriChestPositionInfo chestPosList = 11; + repeated MichiaeMatsuriStage stageList = 7; } diff --git a/proto/MichiaeMatsuriChallengePositionInfo.proto b/proto/MichiaeMatsuriChallengePositionInfo.proto index 25ba8e82..41195a42 100644 --- a/proto/MichiaeMatsuriChallengePositionInfo.proto +++ b/proto/MichiaeMatsuriChallengePositionInfo.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message MichiaeMatsuriChallengePositionInfo { - uint32 gadget_id = 7; - Vector pos = 4; - uint32 group_id = 11; + uint32 groupId = 5; + uint32 gadgetId = 14; + Rotation pos = 13; } diff --git a/proto/MichiaeMatsuriChestPositionInfo.proto b/proto/MichiaeMatsuriChestPositionInfo.proto index 437a5300..08f7e3c4 100644 --- a/proto/MichiaeMatsuriChestPositionInfo.proto +++ b/proto/MichiaeMatsuriChestPositionInfo.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message MichiaeMatsuriChestPositionInfo { - Vector pos = 10; - uint32 group_id = 8; - uint32 config_id = 5; + uint32 groupId = 4; + Rotation pos = 13; + uint32 configId = 2; } diff --git a/proto/MichiaeMatsuriDarkPressureLevelUpdateNotify.proto b/proto/MichiaeMatsuriDarkPressureLevelUpdateNotify.proto new file mode 100644 index 00000000..daaafa4a --- /dev/null +++ b/proto/MichiaeMatsuriDarkPressureLevelUpdateNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MichiaeMatsuriDarkPressureLevelUpdateNotify { + enum MMAJHJDKHCH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8618; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 darkPressureLevel = 15; +} diff --git a/proto/MichiaeMatsuriGainCrystalExpUpdateNotify.proto b/proto/MichiaeMatsuriGainCrystalExpUpdateNotify.proto new file mode 100644 index 00000000..ee1eadbb --- /dev/null +++ b/proto/MichiaeMatsuriGainCrystalExpUpdateNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MichiaeMatsuriGainCrystalExpUpdateNotify { + enum LDNKPLMLKLM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8794; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 gainCrystalExp = 13; + uint32 activityId = 4; +} diff --git a/proto/MichiaeMatsuriInfo.proto b/proto/MichiaeMatsuriInfo.proto new file mode 100644 index 00000000..e314a776 --- /dev/null +++ b/proto/MichiaeMatsuriInfo.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "MichiaeMatsuriChallengePositionInfo.proto"; +import "MichiaeMatsuriChestPositionInfo.proto"; +import "MichiaeMatsuriStage.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MichiaeMatsuriInfo { + repeated MichiaeMatsuriChallengePositionInfo challengePosList = 8; + repeated uint32 unlockedCrystalSkillList = 4; + uint32 gainCrystalExp = 5; + repeated MichiaeMatsuriChestPositionInfo chestPosList = 11; + repeated MichiaeMatsuriStage stageList = 7; +} diff --git a/proto/MichiaeMatsuriInteractStatueReq.proto b/proto/MichiaeMatsuriInteractStatueReq.proto new file mode 100644 index 00000000..3ccdb484 --- /dev/null +++ b/proto/MichiaeMatsuriInteractStatueReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MichiaeMatsuriInteractStatueReq { + enum HFMGFMNFMFB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8553; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 statueEntityId = 3; +} diff --git a/proto/MichiaeMatsuriInteractStatueRsp.proto b/proto/MichiaeMatsuriInteractStatueRsp.proto new file mode 100644 index 00000000..c8fb1cea --- /dev/null +++ b/proto/MichiaeMatsuriInteractStatueRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MichiaeMatsuriInteractStatueRsp { + enum NCBPFDJLNOH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8447; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 4; +} diff --git a/proto/MichiaeMatsuriRemoveChallengeMarkNotify.proto b/proto/MichiaeMatsuriRemoveChallengeMarkNotify.proto new file mode 100644 index 00000000..a83fc4a7 --- /dev/null +++ b/proto/MichiaeMatsuriRemoveChallengeMarkNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MichiaeMatsuriRemoveChallengeMarkNotify { + enum PHHBHDEAGIC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8168; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 groupId = 12; + uint32 gadgetId = 8; +} diff --git a/proto/MichiaeMatsuriRemoveChestMarkNotify.proto b/proto/MichiaeMatsuriRemoveChestMarkNotify.proto new file mode 100644 index 00000000..d165a015 --- /dev/null +++ b/proto/MichiaeMatsuriRemoveChestMarkNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MichiaeMatsuriRemoveChestMarkNotify { + enum LDKHJAHPHHA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8051; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 groupId = 8; + uint32 configId = 10; +} diff --git a/proto/MichiaeMatsuriStage.proto b/proto/MichiaeMatsuriStage.proto index abaa6759..f8e71401 100644 --- a/proto/MichiaeMatsuriStage.proto +++ b/proto/MichiaeMatsuriStage.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message MichiaeMatsuriStage { - uint32 stage_id = 4; - bool is_open = 2; - uint32 open_time = 1; + bool isOpen = 8; + uint32 stageId = 11; + uint32 openTime = 13; } diff --git a/proto/MichiaeMatsuriStartBossChallengeReq.proto b/proto/MichiaeMatsuriStartBossChallengeReq.proto new file mode 100644 index 00000000..cd85bd27 --- /dev/null +++ b/proto/MichiaeMatsuriStartBossChallengeReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MichiaeMatsuriStartBossChallengeReq { + enum IABCBBAAMOD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8680; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 gadgetEntityId = 1; + uint32 difficulty = 6; +} diff --git a/proto/MichiaeMatsuriStartBossChallengeRsp.proto b/proto/MichiaeMatsuriStartBossChallengeRsp.proto new file mode 100644 index 00000000..24c53a06 --- /dev/null +++ b/proto/MichiaeMatsuriStartBossChallengeRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MichiaeMatsuriStartBossChallengeRsp { + enum LIIBPCEKCAG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8507; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 15; +} diff --git a/proto/MichiaeMatsuriStartDarkChallengeReq.proto b/proto/MichiaeMatsuriStartDarkChallengeReq.proto new file mode 100644 index 00000000..509683e5 --- /dev/null +++ b/proto/MichiaeMatsuriStartDarkChallengeReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MichiaeMatsuriStartDarkChallengeReq { + enum NBJDBMNFGAB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8004; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 worktopEntityId = 4; +} diff --git a/proto/MichiaeMatsuriStartDarkChallengeRsp.proto b/proto/MichiaeMatsuriStartDarkChallengeRsp.proto new file mode 100644 index 00000000..90fb29b5 --- /dev/null +++ b/proto/MichiaeMatsuriStartDarkChallengeRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MichiaeMatsuriStartDarkChallengeRsp { + enum EBCNNDAPMEF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8269; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 1; +} diff --git a/proto/MichiaeMatsuriUnlockCrystalSkillReq.proto b/proto/MichiaeMatsuriUnlockCrystalSkillReq.proto new file mode 100644 index 00000000..4034df74 --- /dev/null +++ b/proto/MichiaeMatsuriUnlockCrystalSkillReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MichiaeMatsuriUnlockCrystalSkillReq { + enum EDGIFKNOILI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8341; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 crystalSkillId = 9; +} diff --git a/proto/MichiaeMatsuriUnlockCrystalSkillRsp.proto b/proto/MichiaeMatsuriUnlockCrystalSkillRsp.proto new file mode 100644 index 00000000..3e23f189 --- /dev/null +++ b/proto/MichiaeMatsuriUnlockCrystalSkillRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MichiaeMatsuriUnlockCrystalSkillRsp { + enum LAGILJGPMIC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8889; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 crystalSkillId = 1; + int32 retcode = 13; +} diff --git a/proto/MiracleRingDataNotify.proto b/proto/MiracleRingDataNotify.proto new file mode 100644 index 00000000..38dc4c07 --- /dev/null +++ b/proto/MiracleRingDataNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MiracleRingDataNotify { + enum DFBKOCIMEPN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5246; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isGadgetCreated = 2; + uint32 miracleRingCd = 8; + uint32 lastDeliverItemTime = 4; + uint32 lastTakeRewardTime = 13; + uint32 gadgetEntityId = 6; +} diff --git a/proto/MiracleRingDeliverItemReq.proto b/proto/MiracleRingDeliverItemReq.proto index 2d2db64f..48dc9f7a 100644 --- a/proto/MiracleRingDeliverItemReq.proto +++ b/proto/MiracleRingDeliverItemReq.proto @@ -1,40 +1,24 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "InterOpType.proto"; import "ItemParam.proto"; - option java_package = "emu.grasscutter.net.proto"; message MiracleRingDeliverItemReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 5244; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum DCABNDOGJJB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5231; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated ItemParam item_param_list = 3; - uint32 gadget_entity_id = 6; - uint32 gadget_id = 8; - repeated uint64 food_weapon_guid_list = 13; - InterOpType op_type = 15; + repeated uint64 foodWeaponGuidList = 3; + InterOpType opType = 2; + uint32 gadgetId = 14; + repeated ItemParam itemParamList = 5; + uint32 gadgetEntityId = 6; } diff --git a/proto/MiracleRingDeliverItemRsp.proto b/proto/MiracleRingDeliverItemRsp.proto index 000f7a67..0aad6512 100644 --- a/proto/MiracleRingDeliverItemRsp.proto +++ b/proto/MiracleRingDeliverItemRsp.proto @@ -1,39 +1,23 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "InterOpType.proto"; -import "InteractType.proto"; + +import "InteractType.proto"; +import "InterOpType.proto"; option java_package = "emu.grasscutter.net.proto"; message MiracleRingDeliverItemRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 5217; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum NBCIJKBABAP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5235; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 gadget_id = 2; - InterOpType op_type = 6; - uint32 gadget_entity_id = 13; - int32 retcode = 15; - InteractType interact_type = 12; + uint32 gadgetEntityId = 14; + int32 retcode = 5; + InteractType interactType = 7; + uint32 gadgetId = 4; + InterOpType opType = 15; } diff --git a/proto/MiracleRingDestroyNotify.proto b/proto/MiracleRingDestroyNotify.proto new file mode 100644 index 00000000..b52a0c91 --- /dev/null +++ b/proto/MiracleRingDestroyNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MiracleRingDestroyNotify { + enum JEGPAOOANOJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5216; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 entityId = 7; +} diff --git a/proto/MiracleRingDropResultNotify.proto b/proto/MiracleRingDropResultNotify.proto new file mode 100644 index 00000000..cccc52ff --- /dev/null +++ b/proto/MiracleRingDropResultNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MiracleRingDropResultNotify { + enum LELIGICINFF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5243; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 dropResult = 6; + int32 lastTakeRewardTime = 9; +} diff --git a/proto/MiracleRingTakeRewardReq.proto b/proto/MiracleRingTakeRewardReq.proto new file mode 100644 index 00000000..a6d063ce --- /dev/null +++ b/proto/MiracleRingTakeRewardReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MiracleRingTakeRewardReq { + enum DMLPNOGOJCJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5241; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 gadgetEntityId = 1; + uint32 gadgetId = 11; +} diff --git a/proto/MiracleRingTakeRewardRsp.proto b/proto/MiracleRingTakeRewardRsp.proto new file mode 100644 index 00000000..59d5c48a --- /dev/null +++ b/proto/MiracleRingTakeRewardRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MiracleRingTakeRewardRsp { + enum FJLBKGMMEFB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5219; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 3; +} diff --git a/proto/MissionStatus.proto b/proto/MissionStatus.proto new file mode 100644 index 00000000..7e4c412e --- /dev/null +++ b/proto/MissionStatus.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +enum MissionStatus { + MISSION_STATUS_INVALID = 0; + MISSION_STATUS_UNFINISHED = 1; + MISSION_STATUS_FINISHED = 2; + MISSION_STATUS_POINT_TAKEN = 3; +} diff --git a/proto/MistTrialActivityDetailInfo.proto b/proto/MistTrialActivityDetailInfo.proto index 9aa54d3c..57ea02e4 100644 --- a/proto/MistTrialActivityDetailInfo.proto +++ b/proto/MistTrialActivityDetailInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "MistTrialLevelData.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message MistTrialActivityDetailInfo { diff --git a/proto/MistTrialActivityInfo.proto b/proto/MistTrialActivityInfo.proto new file mode 100644 index 00000000..f52f773c --- /dev/null +++ b/proto/MistTrialActivityInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "MistTrialLevelData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MistTrialActivityInfo { + repeated MistTrialLevelData trialLevelDataList = 7; +} diff --git a/proto/MistTrialBestAvatar.proto b/proto/MistTrialBestAvatar.proto index 87251bbe..0e9dd691 100644 --- a/proto/MistTrialBestAvatar.proto +++ b/proto/MistTrialBestAvatar.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AvatarType.proto"; + +import "AvatarType.proto"; option java_package = "emu.grasscutter.net.proto"; message MistTrialBestAvatar { - uint32 avatar_id = 4; - uint32 costume_id = 12; - AvatarType avatar_type = 6; + uint32 avatarId = 2; + AvatarType avatarType = 1; + uint32 costumeId = 3; } diff --git a/proto/MistTrialDunegonFailNotify.proto b/proto/MistTrialDunegonFailNotify.proto new file mode 100644 index 00000000..f1253684 --- /dev/null +++ b/proto/MistTrialDunegonFailNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MistTrialDunegonFailNotify { + enum OMPMOAIONKJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8775; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 dungeonId = 9; +} diff --git a/proto/MistTrialFloorLevelNotify.proto b/proto/MistTrialFloorLevelNotify.proto new file mode 100644 index 00000000..78170e2b --- /dev/null +++ b/proto/MistTrialFloorLevelNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MistTrialFloorLevelNotify { + enum BALAKBNIDBK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 911; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 dungeonSceneId = 9; + uint32 floorLevel = 11; +} diff --git a/proto/MistTrialGetChallengeMissionReq.proto b/proto/MistTrialGetChallengeMissionReq.proto new file mode 100644 index 00000000..c00edc8c --- /dev/null +++ b/proto/MistTrialGetChallengeMissionReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MistTrialGetChallengeMissionReq { + enum PMPPBJOLPHK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8534; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 trialId = 3; +} diff --git a/proto/MistTrialGetChallengeMissionRsp.proto b/proto/MistTrialGetChallengeMissionRsp.proto new file mode 100644 index 00000000..7824f5fa --- /dev/null +++ b/proto/MistTrialGetChallengeMissionRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "MistTrialMissionInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MistTrialGetChallengeMissionRsp { + enum ADKNOEJPKFF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8884; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 7; + uint32 trialId = 9; + repeated MistTrialMissionInfo missionInfoList = 6; +} diff --git a/proto/MistTrialGetDungeonExhibitionDataReq.proto b/proto/MistTrialGetDungeonExhibitionDataReq.proto new file mode 100644 index 00000000..bff6c967 --- /dev/null +++ b/proto/MistTrialGetDungeonExhibitionDataReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MistTrialGetDungeonExhibitionDataReq { + enum GNMPGPAFINL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8202; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 trialId = 8; +} diff --git a/proto/MistTrialGetDungeonExhibitionDataRsp.proto b/proto/MistTrialGetDungeonExhibitionDataRsp.proto new file mode 100644 index 00000000..08e5ea07 --- /dev/null +++ b/proto/MistTrialGetDungeonExhibitionDataRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MistTrialGetDungeonExhibitionDataRsp { + enum MNECAJJIILI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8208; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 trialId = 10; + int32 retcode = 13; +} diff --git a/proto/MistTrialLevelData.proto b/proto/MistTrialLevelData.proto index d81fe58d..fe27e176 100644 --- a/proto/MistTrialLevelData.proto +++ b/proto/MistTrialLevelData.proto @@ -1,31 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "MistTrialBestAvatar.proto"; + +import "MistTrialBestAvatar.proto"; option java_package = "emu.grasscutter.net.proto"; message MistTrialLevelData { - uint32 open_time = 10; - repeated MistTrialBestAvatar best_avatar_list = 3; - uint32 level_id = 14; - uint32 first_pass_time = 1; - MistTrialBestAvatar best_hit_avatar = 11; - bool is_open = 9; + uint32 openTime = 2; + uint32 firstPassTime = 4; + uint32 levelId = 12; + bool isOpen = 6; + MistTrialBestAvatar bestHitAvatar = 14; + repeated MistTrialBestAvatar bestAvatarList = 13; } diff --git a/proto/MistTrialMissionInfo.proto b/proto/MistTrialMissionInfo.proto new file mode 100644 index 00000000..a6b1b1e5 --- /dev/null +++ b/proto/MistTrialMissionInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MistTrialMissionInfo { + uint32 watcherListId = 14; + uint32 param = 7; +} diff --git a/proto/MistTrialSelectAvatarAndEnterDungeonReq.proto b/proto/MistTrialSelectAvatarAndEnterDungeonReq.proto new file mode 100644 index 00000000..47692a23 --- /dev/null +++ b/proto/MistTrialSelectAvatarAndEnterDungeonReq.proto @@ -0,0 +1,28 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MistTrialSelectAvatarAndEnterDungeonReq { + enum BDFPJDLAIOP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8537; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + message SelectAvatarIndex { + oneof GBMFCGPBJHH { + uint32 mist_trial_avatar_id = 13; + uint64 formal_avatar_guid = 15; + } + } + + uint32 trialId = 14; + uint32 enterPointId = 5; + repeated SelectAvatarIndex selectAvatarIndexList = 6; + repeated uint32 selectTrialAvatarIdList = 9; +} diff --git a/proto/MistTrialSelectAvatarAndEnterDungeonRsp.proto b/proto/MistTrialSelectAvatarAndEnterDungeonRsp.proto new file mode 100644 index 00000000..82394199 --- /dev/null +++ b/proto/MistTrialSelectAvatarAndEnterDungeonRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MistTrialSelectAvatarAndEnterDungeonRsp { + enum DHLEPFONPIK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8551; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 trialId = 14; + int32 retcode = 1; +} diff --git a/proto/MistTrialSettleNotify.proto b/proto/MistTrialSettleNotify.proto new file mode 100644 index 00000000..9434465d --- /dev/null +++ b/proto/MistTrialSettleNotify.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; + + + +import "MistTrialBestAvatar.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MistTrialSettleNotify { + enum AHPBCMCODPH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8408; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + MistTrialBestAvatar bestHitAvatar = 2; + map Unk3300_KFKHAACDJDJ = 10; + repeated MistTrialBestAvatar bestAvatarList = 5; + uint32 firstPassTime = 9; + uint32 dungeonSceneId = 14; + map Unk3300_GMPEELLANLI = 11; +} diff --git a/proto/ModifierDurability.proto b/proto/ModifierDurability.proto index 80a78999..e85edf78 100644 --- a/proto/ModifierDurability.proto +++ b/proto/ModifierDurability.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ModifierDurability { - float reduce_ratio = 1; - float remaining_durability = 2; + float reduceRatio = 1; + float remainingDurability = 2; } diff --git a/proto/ModifierProperty.proto b/proto/ModifierProperty.proto index 7e551f5f..6f5a2be4 100644 --- a/proto/ModifierProperty.proto +++ b/proto/ModifierProperty.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "AbilityString.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message ModifierProperty { diff --git a/proto/ModifyAdd.proto b/proto/ModifyAdd.proto new file mode 100644 index 00000000..6a2b5713 --- /dev/null +++ b/proto/ModifyAdd.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "GCGReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ModifyAdd { + uint32 pos = 11; + uint32 ownerCardGuid = 10; + uint32 controllerId = 7; + GCGReason reason = 14; + repeated uint32 cardGuidList = 4; +} diff --git a/proto/ModifyRemove.proto b/proto/ModifyRemove.proto new file mode 100644 index 00000000..802b026b --- /dev/null +++ b/proto/ModifyRemove.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "GCGReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ModifyRemove { + uint32 controllerId = 7; + repeated uint32 cardGuidList = 3; + GCGReason reason = 1; + uint32 ownerCardGuid = 2; +} diff --git a/proto/Monster.proto b/proto/Monster.proto new file mode 100644 index 00000000..dd2e5da4 --- /dev/null +++ b/proto/Monster.proto @@ -0,0 +1,40 @@ +syntax = "proto3"; + + + +import "MonsterBornType.proto"; +import "MonsterRoute.proto"; +import "FishInfo.proto"; +import "FishtankFishInfo.proto"; +import "SceneWeaponInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message Monster { + uint32 monsterId = 1; + uint32 groupId = 2; + uint32 configId = 3; + repeated SceneWeaponInfo weaponList = 4; + uint32 authorityPeerId = 5; + repeated uint32 affixList = 6; + bool isElite = 7; + uint32 ownerEntityId = 8; + uint32 summonedTag = 9; + map summonTagMap = 10; + uint32 poseId = 11; + MonsterBornType bornType = 12; + uint32 blockId = 13; + uint32 markFlag = 14; + uint32 titleId = 15; + uint32 specialNameId = 16; + uint32 attackTargetId = 17; + MonsterRoute monsterRoute = 18; + uint32 aiConfigId = 19; + uint32 levelRouteId = 20; + uint32 initPoseId = 21; + bool isLight = 22; + uint32 killNum = 23; + oneof LOBCEJBFAAB { + FishInfo fish_info = 50; + FishtankFishInfo fishtank_fish_info = 51; + } +} diff --git a/proto/MonsterAIConfigHashNotify.proto b/proto/MonsterAIConfigHashNotify.proto index d257775a..c70803f1 100644 --- a/proto/MonsterAIConfigHashNotify.proto +++ b/proto/MonsterAIConfigHashNotify.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message MonsterAIConfigHashNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 3050; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum CJFAFLEIPFH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3324; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - int32 hash_value = 7; - uint32 entity_id = 14; - uint32 job_id = 11; + int32 hashValue = 9; + uint32 entityId = 7; + uint32 jobId = 1; } diff --git a/proto/MonsterAlertChangeNotify.proto b/proto/MonsterAlertChangeNotify.proto new file mode 100644 index 00000000..4149a8c7 --- /dev/null +++ b/proto/MonsterAlertChangeNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MonsterAlertChangeNotify { + enum FKKOKFCHJCL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 322; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 avatarEntityId = 2; + uint32 isAlert = 10; + repeated uint32 monsterEntityList = 15; +} diff --git a/proto/MonsterBornType.proto b/proto/MonsterBornType.proto index 50fc07b2..94a6eff2 100644 --- a/proto/MonsterBornType.proto +++ b/proto/MonsterBornType.proto @@ -1,26 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum MonsterBornType { - MONSTER_BORN_TYPE_NONE = 0; - MONSTER_BORN_TYPE_DEFAULT = 1; - MONSTER_BORN_TYPE_RANDOM = 2; + MONSTER_BORN_TYPE_NONE = 0; + MONSTER_BORN_TYPE_DEFAULT = 1; + MONSTER_BORN_TYPE_RANDOM = 2; } diff --git a/proto/MonsterForceAlertNotify.proto b/proto/MonsterForceAlertNotify.proto new file mode 100644 index 00000000..4c1cdf1e --- /dev/null +++ b/proto/MonsterForceAlertNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MonsterForceAlertNotify { + enum AKDLNIOOLCH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 345; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 monsterEntityId = 5; +} diff --git a/proto/MonsterPointArrayRouteUpdateNotify.proto b/proto/MonsterPointArrayRouteUpdateNotify.proto index 32e7ec2f..47c1fa50 100644 --- a/proto/MonsterPointArrayRouteUpdateNotify.proto +++ b/proto/MonsterPointArrayRouteUpdateNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "MonsterRoute.proto"; + +import "MonsterRoute.proto"; option java_package = "emu.grasscutter.net.proto"; message MonsterPointArrayRouteUpdateNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 3384; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum KDIIOAFKLLL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3271; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 entity_id = 5; - MonsterRoute monster_route = 11; + uint32 entityId = 12; + MonsterRoute monsterRoute = 2; } diff --git a/proto/MonsterRoute.proto b/proto/MonsterRoute.proto index 0162ce81..c2c85cb7 100644 --- a/proto/MonsterRoute.proto +++ b/proto/MonsterRoute.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "RoutePoint.proto"; + +import "RoutePoint.proto"; option java_package = "emu.grasscutter.net.proto"; message MonsterRoute { - repeated RoutePoint route_points = 1; - uint32 speed_level = 2; - uint32 route_type = 3; - float arrive_range = 4; + repeated RoutePoint routePoints = 1; + uint32 speedLevel = 2; + uint32 routeType = 3; + float arriveRange = 4; } diff --git a/proto/MonsterSummonTagNotify.proto b/proto/MonsterSummonTagNotify.proto new file mode 100644 index 00000000..cba7711a --- /dev/null +++ b/proto/MonsterSummonTagNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MonsterSummonTagNotify { + enum DNKEAKFJFDB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1305; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + map summonTagMap = 13; + uint32 monsterEntityId = 3; +} diff --git a/proto/MoonfinTrialActivityDetailInfo.proto b/proto/MoonfinTrialActivityDetailInfo.proto index becd5556..d3591a9b 100644 --- a/proto/MoonfinTrialActivityDetailInfo.proto +++ b/proto/MoonfinTrialActivityDetailInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "MoonfinTrialLevelInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message MoonfinTrialActivityDetailInfo { diff --git a/proto/MoonfinTrialInfo.proto b/proto/MoonfinTrialInfo.proto new file mode 100644 index 00000000..fff7d752 --- /dev/null +++ b/proto/MoonfinTrialInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "MoonfinTrialLevelInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MoonfinTrialInfo { + map levelInfoMap = 7; + uint32 specialFishCount = 2; +} diff --git a/proto/MoonfinTrialLevelInfo.proto b/proto/MoonfinTrialLevelInfo.proto index 30179b78..4a15b5a1 100644 --- a/proto/MoonfinTrialLevelInfo.proto +++ b/proto/MoonfinTrialLevelInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message MoonfinTrialLevelInfo { - uint32 best_record = 15; - uint32 open_time = 13; + uint32 bestRecord = 11; + uint32 openTime = 3; } diff --git a/proto/MotionInfo.proto b/proto/MotionInfo.proto index 9b9fb64b..6d8c8c61 100644 --- a/proto/MotionInfo.proto +++ b/proto/MotionInfo.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "MotionState.proto"; -import "Vector.proto"; + +import "Rotation.proto"; +import "MotionState.proto"; option java_package = "emu.grasscutter.net.proto"; message MotionInfo { - Vector pos = 1; - Vector rot = 2; - Vector speed = 3; - MotionState state = 4; - repeated Vector params = 5; - Vector ref_pos = 6; - uint32 ref_id = 7; - uint32 scene_time = 8; - uint64 interval_velocity = 9; + Rotation pos = 1; + Rotation rot = 2; + Rotation speed = 3; + MotionState state = 4; + repeated Rotation params = 5; + Rotation refPos = 6; + uint32 refId = 7; + uint32 sceneTime = 8; + uint64 intervalVelocity = 9; } diff --git a/proto/MotionState.proto b/proto/MotionState.proto index 993fcbc1..f942bf77 100644 --- a/proto/MotionState.proto +++ b/proto/MotionState.proto @@ -1,80 +1,63 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum MotionState { - MOTION_STATE_NONE = 0; - MOTION_STATE_RESET = 1; - MOTION_STATE_STANDBY = 2; - MOTION_STATE_STANDBY_MOVE = 3; - MOTION_STATE_WALK = 4; - MOTION_STATE_RUN = 5; - MOTION_STATE_DASH = 6; - MOTION_STATE_CLIMB = 7; - MOTION_STATE_CLIMB_JUMP = 8; - MOTION_STATE_STANDBY_TO_CLIMB = 9; - MOTION_STATE_FIGHT = 10; - MOTION_STATE_JUMP = 11; - MOTION_STATE_DROP = 12; - MOTION_STATE_FLY = 13; - MOTION_STATE_SWIM_MOVE = 14; - MOTION_STATE_SWIM_IDLE = 15; - MOTION_STATE_SWIM_DASH = 16; - MOTION_STATE_SWIM_JUMP = 17; - MOTION_STATE_SLIP = 18; - MOTION_STATE_GO_UPSTAIRS = 19; - MOTION_STATE_FALL_ON_GROUND = 20; - MOTION_STATE_JUMP_UP_WALL_FOR_STANDBY = 21; - MOTION_STATE_JUMP_OFF_WALL = 22; - MOTION_STATE_POWERED_FLY = 23; - MOTION_STATE_LADDER_IDLE = 24; - MOTION_STATE_LADDER_MOVE = 25; - MOTION_STATE_LADDER_SLIP = 26; - MOTION_STATE_STANDBY_TO_LADDER = 27; - MOTION_STATE_LADDER_TO_STANDBY = 28; - MOTION_STATE_DANGER_STANDBY = 29; - MOTION_STATE_DANGER_STANDBY_MOVE = 30; - MOTION_STATE_DANGER_WALK = 31; - MOTION_STATE_DANGER_RUN = 32; - MOTION_STATE_DANGER_DASH = 33; - MOTION_STATE_CROUCH_IDLE = 34; - MOTION_STATE_CROUCH_MOVE = 35; - MOTION_STATE_CROUCH_ROLL = 36; - MOTION_STATE_NOTIFY = 37; - MOTION_STATE_LAND_SPEED = 38; - MOTION_STATE_MOVE_FAIL_ACK = 39; - MOTION_STATE_WATERFALL = 40; - MOTION_STATE_DASH_BEFORE_SHAKE = 41; - MOTION_STATE_SIT_IDLE = 42; - MOTION_STATE_FORCE_SET_POS = 43; - MOTION_STATE_QUEST_FORCE_DRAG = 44; - MOTION_STATE_FOLLOW_ROUTE = 45; - MOTION_STATE_SKIFF_BOARDING = 46; - MOTION_STATE_SKIFF_NORMAL = 47; - MOTION_STATE_SKIFF_DASH = 48; - MOTION_STATE_SKIFF_POWERED_DASH = 49; - MOTION_STATE_DESTROY_VEHICLE = 50; - MOTION_STATE_FLY_IDLE = 51; - MOTION_STATE_FLY_SLOW = 52; - MOTION_STATE_FLY_FAST = 53; - MOTION_STATE_AIM_MOVE = 54; - MOTION_STATE_AIR_COMPENSATION = 55; - MOTION_STATE_NUM = 56; + MOTION_STATE_NONE = 0; + MOTION_STATE_RESET = 1; + MOTION_STATE_STANDBY = 2; + MOTION_STATE_STANDBY_MOVE = 3; + MOTION_STATE_WALK = 4; + MOTION_STATE_RUN = 5; + MOTION_STATE_DASH = 6; + MOTION_STATE_CLIMB = 7; + MOTION_STATE_CLIMB_JUMP = 8; + MOTION_STATE_STANDBY_TO_CLIMB = 9; + MOTION_STATE_FIGHT = 10; + MOTION_STATE_JUMP = 11; + MOTION_STATE_DROP = 12; + MOTION_STATE_FLY = 13; + MOTION_STATE_SWIM_MOVE = 14; + MOTION_STATE_SWIM_IDLE = 15; + MOTION_STATE_SWIM_DASH = 16; + MOTION_STATE_SWIM_JUMP = 17; + MOTION_STATE_SLIP = 18; + MOTION_STATE_GO_UPSTAIRS = 19; + MOTION_STATE_FALL_ON_GROUND = 20; + MOTION_STATE_JUMP_UP_WALL_FOR_STANDBY = 21; + MOTION_STATE_JUMP_OFF_WALL = 22; + MOTION_STATE_POWERED_FLY = 23; + MOTION_STATE_LADDER_IDLE = 24; + MOTION_STATE_LADDER_MOVE = 25; + MOTION_STATE_LADDER_SLIP = 26; + MOTION_STATE_STANDBY_TO_LADDER = 27; + MOTION_STATE_LADDER_TO_STANDBY = 28; + MOTION_STATE_DANGER_STANDBY = 29; + MOTION_STATE_DANGER_STANDBY_MOVE = 30; + MOTION_STATE_DANGER_WALK = 31; + MOTION_STATE_DANGER_RUN = 32; + MOTION_STATE_DANGER_DASH = 33; + MOTION_STATE_CROUCH_IDLE = 34; + MOTION_STATE_CROUCH_MOVE = 35; + MOTION_STATE_CROUCH_ROLL = 36; + MOTION_STATE_NOTIFY = 37; + MOTION_STATE_LAND_SPEED = 38; + MOTION_STATE_MOVE_FAIL_ACK = 39; + MOTION_STATE_WATERFALL = 40; + MOTION_STATE_DASH_BEFORE_SHAKE = 41; + MOTION_STATE_SIT_IDLE = 42; + MOTION_STATE_FORCE_SET_POS = 43; + MOTION_STATE_QUEST_FORCE_DRAG = 44; + MOTION_STATE_FOLLOW_ROUTE = 45; + MOTION_STATE_SKIFF_BOARDING = 46; + MOTION_STATE_SKIFF_NORMAL = 47; + MOTION_STATE_SKIFF_DASH = 48; + MOTION_STATE_SKIFF_POWERED_DASH = 49; + MOTION_STATE_DESTROY_VEHICLE = 50; + MOTION_STATE_FLY_IDLE = 51; + MOTION_STATE_FLY_SLOW = 52; + MOTION_STATE_FLY_FAST = 53; + MOTION_STATE_AIM_MOVE = 54; + MOTION_STATE_AIR_COMPENSATION = 55; + MOTION_STATE_NUM = 56; } diff --git a/proto/MoveCard.proto b/proto/MoveCard.proto new file mode 100644 index 00000000..e9ad15f4 --- /dev/null +++ b/proto/MoveCard.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "GCGZoneType.proto"; +import "GCGReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MoveCard { + uint32 controllerId = 6; + GCGZoneType from = 3; + repeated uint32 cardGuidList = 15; + repeated uint32 failGuidList = 10; + GCGZoneType to = 12; + GCGReason reason = 4; +} diff --git a/proto/MovingPlatformType.proto b/proto/MovingPlatformType.proto index f832c5e5..183e9c15 100644 --- a/proto/MovingPlatformType.proto +++ b/proto/MovingPlatformType.proto @@ -1,27 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum MovingPlatformType { - MOVING_PLATFORM_TYPE_NONE = 0; - MOVING_PLATFORM_TYPE_USE_CONFIG = 1; - MOVING_PLATFORM_TYPE_ABILITY = 2; - MOVING_PLATFORM_TYPE_ROUTE = 3; + MOVING_PLATFORM_TYPE_NONE = 0; + MOVING_PLATFORM_TYPE_USE_CONFIG = 1; + MOVING_PLATFORM_TYPE_ABILITY = 2; + MOVING_PLATFORM_TYPE_ROUTE = 3; } diff --git a/proto/MpBlockNotify.proto b/proto/MpBlockNotify.proto new file mode 100644 index 00000000..8db4d2fe --- /dev/null +++ b/proto/MpBlockNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MpBlockNotify { + enum NIEDOFJDBBN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1826; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 endTime = 13; +} diff --git a/proto/MpPlayGuestReplyInviteReq.proto b/proto/MpPlayGuestReplyInviteReq.proto new file mode 100644 index 00000000..efe09116 --- /dev/null +++ b/proto/MpPlayGuestReplyInviteReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MpPlayGuestReplyInviteReq { + enum NGCFOPDLMCC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1806; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 mpPlayId = 6; + bool isAgree = 7; +} diff --git a/proto/MpPlayGuestReplyInviteRsp.proto b/proto/MpPlayGuestReplyInviteRsp.proto new file mode 100644 index 00000000..3e214026 --- /dev/null +++ b/proto/MpPlayGuestReplyInviteRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MpPlayGuestReplyInviteRsp { + enum HBDKFNFMGMD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1848; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 13; + uint32 mpPlayId = 14; +} diff --git a/proto/MpPlayGuestReplyNotify.proto b/proto/MpPlayGuestReplyNotify.proto new file mode 100644 index 00000000..fa048fc6 --- /dev/null +++ b/proto/MpPlayGuestReplyNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MpPlayGuestReplyNotify { + enum PEGJFAGMPJO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1812; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isAgree = 7; + uint32 mpPlayId = 12; + uint32 uid = 6; +} diff --git a/proto/MpPlayInviteResultNotify.proto b/proto/MpPlayInviteResultNotify.proto new file mode 100644 index 00000000..279b2a1a --- /dev/null +++ b/proto/MpPlayInviteResultNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MpPlayInviteResultNotify { + enum CBLLNLJFAHE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1824; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool allAgree = 10; + uint32 mpPlayId = 5; +} diff --git a/proto/MpPlayOwnerCheckReq.proto b/proto/MpPlayOwnerCheckReq.proto new file mode 100644 index 00000000..06e14720 --- /dev/null +++ b/proto/MpPlayOwnerCheckReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MpPlayOwnerCheckReq { + enum PBDNFMGAKCF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1842; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isSkipMatch = 5; + uint32 mpPlayId = 13; +} diff --git a/proto/MpPlayOwnerCheckRsp.proto b/proto/MpPlayOwnerCheckRsp.proto new file mode 100644 index 00000000..b2aaeec8 --- /dev/null +++ b/proto/MpPlayOwnerCheckRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MpPlayOwnerCheckRsp { + enum ENCFJIJLEKO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1807; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 13; + bool isSkipMatch = 14; + uint32 wrongUid = 15; + uint32 mpPlayId = 4; +} diff --git a/proto/MpPlayOwnerInviteNotify.proto b/proto/MpPlayOwnerInviteNotify.proto new file mode 100644 index 00000000..9ac5a8c5 --- /dev/null +++ b/proto/MpPlayOwnerInviteNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MpPlayOwnerInviteNotify { + enum HLKEODMLDPF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1810; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 cd = 6; + bool isRemainReward = 9; + uint32 mpPlayId = 3; +} diff --git a/proto/MpPlayOwnerStartInviteReq.proto b/proto/MpPlayOwnerStartInviteReq.proto new file mode 100644 index 00000000..e6040945 --- /dev/null +++ b/proto/MpPlayOwnerStartInviteReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MpPlayOwnerStartInviteReq { + enum LGPLBAHGAIJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1815; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isSkipMatch = 13; + uint32 mpPlayId = 10; +} diff --git a/proto/MpPlayOwnerStartInviteRsp.proto b/proto/MpPlayOwnerStartInviteRsp.proto new file mode 100644 index 00000000..e9d29eb9 --- /dev/null +++ b/proto/MpPlayOwnerStartInviteRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MpPlayOwnerStartInviteRsp { + enum OKCKFLHGGAL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1803; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 mpPlayId = 3; + bool isSkipMatch = 7; + int32 retcode = 8; +} diff --git a/proto/MpPlayPrepareInterruptNotify.proto b/proto/MpPlayPrepareInterruptNotify.proto new file mode 100644 index 00000000..6de1058c --- /dev/null +++ b/proto/MpPlayPrepareInterruptNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MpPlayPrepareInterruptNotify { + enum MLIBBHNOCAP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1811; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 mpPlayId = 10; +} diff --git a/proto/MpPlayPrepareNotify.proto b/proto/MpPlayPrepareNotify.proto new file mode 100644 index 00000000..30868530 --- /dev/null +++ b/proto/MpPlayPrepareNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MpPlayPrepareNotify { + enum FFKKGACMCMC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1822; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 prepareEndTime = 2; + uint32 mpPlayId = 1; +} diff --git a/proto/MpPlayReward.proto b/proto/MpPlayReward.proto new file mode 100644 index 00000000..00748390 --- /dev/null +++ b/proto/MpPlayReward.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MpPlayReward { + uint32 resin = 1; + repeated uint32 remainUidList = 2; + repeated uint32 qualifyUidList = 3; +} diff --git a/proto/MpPlayRewardInfo.proto b/proto/MpPlayRewardInfo.proto index 67c0d65f..e5b90224 100644 --- a/proto/MpPlayRewardInfo.proto +++ b/proto/MpPlayRewardInfo.proto @@ -17,6 +17,7 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message MpPlayRewardInfo { diff --git a/proto/MpSettingType.proto b/proto/MpSettingType.proto index 39e914c7..3613481d 100644 --- a/proto/MpSettingType.proto +++ b/proto/MpSettingType.proto @@ -1,26 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum MpSettingType { - MP_SETTING_TYPE_NO_ENTER = 0; - MP_SETTING_TYPE_ENTER_FREELY = 1; - MP_SETTING_TYPE_ENTER_AFTER_APPLY = 2; + MP_SETTING_TYPE_NO_ENTER = 0; + MP_SETTING_TYPE_ENTER_FREELY = 1; + MP_SETTING_TYPE_ENTER_AFTER_APPLY = 2; } diff --git a/proto/MsgParam.proto b/proto/MsgParam.proto new file mode 100644 index 00000000..c704392e --- /dev/null +++ b/proto/MsgParam.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MsgParam { + oneof LBBHJHEFEGG { + uint32 int_param = 10; + float flt_param = 7; + string str_param = 15; + } +} diff --git a/proto/MultistagePlayEndNotify.proto b/proto/MultistagePlayEndNotify.proto new file mode 100644 index 00000000..3048ae38 --- /dev/null +++ b/proto/MultistagePlayEndNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MultistagePlayEndNotify { + enum NFLPNFEDPGJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5393; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 groupId = 2; + uint32 playIndex = 3; +} diff --git a/proto/MultistagePlayFinishStageReq.proto b/proto/MultistagePlayFinishStageReq.proto new file mode 100644 index 00000000..0e8b7899 --- /dev/null +++ b/proto/MultistagePlayFinishStageReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MultistagePlayFinishStageReq { + enum JHNBDKIOEFC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5355; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 groupId = 1; + uint32 playIndex = 3; +} diff --git a/proto/MultistagePlayFinishStageRsp.proto b/proto/MultistagePlayFinishStageRsp.proto new file mode 100644 index 00000000..e7687bce --- /dev/null +++ b/proto/MultistagePlayFinishStageRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MultistagePlayFinishStageRsp { + enum FPDBFIFAKKC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5313; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 playIndex = 7; + uint32 groupId = 12; + int32 retcode = 1; +} diff --git a/proto/MultistagePlayInfo.proto b/proto/MultistagePlayInfo.proto new file mode 100644 index 00000000..98472e80 --- /dev/null +++ b/proto/MultistagePlayInfo.proto @@ -0,0 +1,35 @@ +syntax = "proto3"; + + + +import "MechanicusInfo.proto"; +import "FleurFairInfo.proto"; +import "HideAndSeekInfo.proto"; +import "ChessInfo.proto"; +import "IrodoriChessInfo.proto"; +import "CharAmusementInfo.proto"; +import "BrickBreakerInfo.proto"; +import "CoinCollectInfo.proto"; +import "LanV3BoatInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MultistagePlayInfo { + uint32 stageIndex = 13; + uint32 beginTime = 8; + uint32 duration = 15; + uint32 playIndex = 3; + uint32 stageType = 9; + uint32 groupId = 12; + uint32 playType = 10; + oneof LCLKFKGOFNC { + MechanicusInfo mechanicus_info = 1387; + FleurFairInfo fleur_fair_info = 2006; + HideAndSeekInfo hide_and_seek_info = 1418; + ChessInfo chess_info = 1939; + IrodoriChessInfo irodori_chess_info = 452; + CharAmusementInfo char_amusement_info = 1200; + BrickBreakerInfo brick_breaker_info = 1701; + CoinCollectInfo coin_collect_info = 1451; + LanV3BoatInfo lan_v3boat_info = 424; + } +} diff --git a/proto/MultistagePlayInfoNotify.proto b/proto/MultistagePlayInfoNotify.proto new file mode 100644 index 00000000..d85c1e42 --- /dev/null +++ b/proto/MultistagePlayInfoNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "MultistagePlayInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MultistagePlayInfoNotify { + enum CEFDLDDACMD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5305; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + MultistagePlayInfo info = 5; +} diff --git a/proto/MultistagePlaySettleNotify.proto b/proto/MultistagePlaySettleNotify.proto new file mode 100644 index 00000000..a4d340d3 --- /dev/null +++ b/proto/MultistagePlaySettleNotify.proto @@ -0,0 +1,26 @@ +syntax = "proto3"; + + + +import "MechanicusSettleInfo.proto"; +import "ChessSettleInfo.proto"; +import "IrodoriChessSettleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MultistagePlaySettleNotify { + enum DPJMINKFLKA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5347; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 playIndex = 15; + uint32 groupId = 1; + oneof FHNBEFGAJLM { + MechanicusSettleInfo mechanicus_settle_info = 1241; + ChessSettleInfo chess_settle_info = 200; + IrodoriChessSettleInfo irodori_chess_settle_info = 96; + } +} diff --git a/proto/MultistagePlayStageEndNotify.proto b/proto/MultistagePlayStageEndNotify.proto new file mode 100644 index 00000000..40f7db40 --- /dev/null +++ b/proto/MultistagePlayStageEndNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MultistagePlayStageEndNotify { + enum FDGPHDCEFMM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5341; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 groupId = 9; + uint32 playIndex = 14; +} diff --git a/proto/MultistageSettleWatcherInfo.proto b/proto/MultistageSettleWatcherInfo.proto new file mode 100644 index 00000000..93266643 --- /dev/null +++ b/proto/MultistageSettleWatcherInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MultistageSettleWatcherInfo { + uint32 curProgress = 1; + uint32 totalProgress = 8; + uint32 watcherId = 5; + bool isInverse = 10; +} diff --git a/proto/MuqadasPotionActivityDetailInfo.proto b/proto/MuqadasPotionActivityDetailInfo.proto index 9fedd1ff..4224947f 100644 --- a/proto/MuqadasPotionActivityDetailInfo.proto +++ b/proto/MuqadasPotionActivityDetailInfo.proto @@ -1,26 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "MuqadasPotionLevelData.proto"; + +import "MuqadasPotionLevelData.proto"; option java_package = "emu.grasscutter.net.proto"; message MuqadasPotionActivityDetailInfo { - repeated MuqadasPotionLevelData muqadas_potion_level_data_list = 5; + repeated MuqadasPotionLevelData kmhabponajo = 10; } diff --git a/proto/MuqadasPotionActivityEnterDungeonReq.proto b/proto/MuqadasPotionActivityEnterDungeonReq.proto new file mode 100644 index 00000000..19ca90cf --- /dev/null +++ b/proto/MuqadasPotionActivityEnterDungeonReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MuqadasPotionActivityEnterDungeonReq { + enum AIIPMDHBDCK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20473; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 levelId = 5; +} diff --git a/proto/MuqadasPotionActivityEnterDungeonRsp.proto b/proto/MuqadasPotionActivityEnterDungeonRsp.proto new file mode 100644 index 00000000..252469b7 --- /dev/null +++ b/proto/MuqadasPotionActivityEnterDungeonRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MuqadasPotionActivityEnterDungeonRsp { + enum PFCAJHFEFDM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20138; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 levelId = 8; + int32 retcode = 15; +} diff --git a/proto/MuqadasPotionCaptureWeaknessReq.proto b/proto/MuqadasPotionCaptureWeaknessReq.proto new file mode 100644 index 00000000..4615a23c --- /dev/null +++ b/proto/MuqadasPotionCaptureWeaknessReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MuqadasPotionCaptureWeaknessReq { + enum EIJKGLCLHOJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20534; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 levelId = 10; + uint32 captureWeaknessCount = 12; +} diff --git a/proto/MuqadasPotionCaptureWeaknessRsp.proto b/proto/MuqadasPotionCaptureWeaknessRsp.proto new file mode 100644 index 00000000..d8d77e44 --- /dev/null +++ b/proto/MuqadasPotionCaptureWeaknessRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MuqadasPotionCaptureWeaknessRsp { + enum PGPPGNEGGEL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 22408; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 4; +} diff --git a/proto/MuqadasPotionDungeonSettleNotify.proto b/proto/MuqadasPotionDungeonSettleNotify.proto index 2648bc93..db38b694 100644 --- a/proto/MuqadasPotionDungeonSettleNotify.proto +++ b/proto/MuqadasPotionDungeonSettleNotify.proto @@ -1,36 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message MuqadasPotionDungeonSettleNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 22734; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum CCBLHNEEDDL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23665; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - bool is_success = 1; - bool is_new_record = 5; - uint32 level_id = 8; - uint32 capture_weakness_count = 3; - uint32 final_score = 9; + uint32 levelId = 11; + uint32 captureWeaknessCount = 7; + uint32 finalScore = 14; + bool isSuccess = 3; + bool isNewRecord = 2; } diff --git a/proto/MuqadasPotionInfo.proto b/proto/MuqadasPotionInfo.proto new file mode 100644 index 00000000..c0111058 --- /dev/null +++ b/proto/MuqadasPotionInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MuqadasPotionInfo { + uint32 muqadasPotionLevelDataList = 13; + uint32 score = 14; + uint32 Unk3300_LKEICOLMPII = 3; + uint32 captureWeaknessCount = 5; +} diff --git a/proto/MuqadasPotionLevelData.proto b/proto/MuqadasPotionLevelData.proto index eaa40de9..3b720eb3 100644 --- a/proto/MuqadasPotionLevelData.proto +++ b/proto/MuqadasPotionLevelData.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message MuqadasPotionLevelData { - bool is_open = 1; - uint32 level_id = 2; - uint32 max_score = 9; + uint32 levelId = 14; + bool isOpen = 10; + uint32 maxScore = 6; } diff --git a/proto/MuqadasPotionRestartDungeonReq.proto b/proto/MuqadasPotionRestartDungeonReq.proto new file mode 100644 index 00000000..cc7fe2ca --- /dev/null +++ b/proto/MuqadasPotionRestartDungeonReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MuqadasPotionRestartDungeonReq { + enum MKJDHLGHMME { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20619; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/MuqadasPotionRestartDungeonRsp.proto b/proto/MuqadasPotionRestartDungeonRsp.proto new file mode 100644 index 00000000..72148854 --- /dev/null +++ b/proto/MuqadasPotionRestartDungeonRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message MuqadasPotionRestartDungeonRsp { + enum PMEMOEDHMMA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 22672; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 15; +} diff --git a/proto/MusicBeatmap.proto b/proto/MusicBeatmap.proto index 399286e2..67e75775 100644 --- a/proto/MusicBeatmap.proto +++ b/proto/MusicBeatmap.proto @@ -4,6 +4,7 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; import "MusicBeatmapList.proto"; +option java_package = "emu.grasscutter.net.proto"; message MusicBeatmap { uint32 music_id = 1; diff --git a/proto/MusicBeatmapList.proto b/proto/MusicBeatmapList.proto index 13b01cf0..f0b06524 100644 --- a/proto/MusicBeatmapList.proto +++ b/proto/MusicBeatmapList.proto @@ -4,6 +4,7 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; import "MusicBeatmapNote.proto"; +option java_package = "emu.grasscutter.net.proto"; message MusicBeatmapList { repeated MusicBeatmapNote beatmap_note_list = 1; diff --git a/proto/MusicBeatmapNote.proto b/proto/MusicBeatmapNote.proto index cde64d3a..63de9487 100644 --- a/proto/MusicBeatmapNote.proto +++ b/proto/MusicBeatmapNote.proto @@ -1,6 +1,7 @@ // Proto has been converted from Sorapointa to Grasscutter format syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message MusicBeatmapNote { diff --git a/proto/MusicBriefInfo.proto b/proto/MusicBriefInfo.proto index deba0f42..eb2cbf3c 100644 --- a/proto/MusicBriefInfo.proto +++ b/proto/MusicBriefInfo.proto @@ -1,43 +1,28 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message MusicBriefInfo { - uint64 Unk2700_JNENCBCGPGO = 5; - bool Unk2700_OJBPHCIDAEB = 8; - bool Unk2700_FGCJEGHOKPG = 1; - uint32 Unk2700_DFIBAIILJHN = 2; - uint32 Unk2700_MKBNLEKMIMD = 1182; - uint32 Unk2700_PINGIIAANMO = 12; - string Unk2700_MONNIDCNDFI = 10; - uint32 version = 15; - uint32 Unk2700_GGHNLPMAGME = 3; - repeated uint32 Unk2700_GDCGOMNBMEO = 1002; - repeated uint32 Unk2700_JAEONBMBFJJ = 982; - bool Unk2700_GBCGGDONMCD = 9; - uint32 Unk2700_LPEKFJBNEJM = 1822; - bool Unk2700_DNLEGADDHKM = 11; - uint32 Unk2700_BFMNMPPNBHH = 13; - uint32 max_score = 14; - uint32 Unk2700_KAMOCHAKPGP = 576; - uint32 Unk2700_KLPHBLCIOEC = 7; - uint64 Unk2700_CEPGMKAHHCD = 4; - uint32 Unk2700_PMCPLPMJCEC = 6; + uint64 ugcGuid = 8; + uint32 Unk3300_CCMMPAHIMDO = 88; + uint32 Unk3300_PLNOFOHFAPE = 15; + repeated uint32 Unk3300_HKBHAIMOBKO = 1363; + bool Unk3300_FKIGPAJFPLG = 5; + uint64 importFromUgcGuid = 6; + uint32 musicId = 14; + repeated uint32 Unk3300_JEEBFPFEHHG = 1062; + uint32 Unk3300_MBKDGBNFPOA = 1837; + uint32 Unk3300_OJOKFBJALIJ = 7; + uint32 Unk3300_EGIGIOOKBAB = 287; + uint32 Unk3300_OBBMCFADNIN = 2; + uint32 Unk3300_PBENMAHHGIL = 9; + bool Unk3300_NCDKCNOLGKB = 4; + uint32 version = 1; + string creatorNickname = 3; + bool Unk3300_GDNAPNAINBA = 11; + uint32 maxScore = 12; + uint32 Unk3300_KMMBLIMKJCM = 10; + bool isPsnPlatform = 13; } diff --git a/proto/MusicGameActivityDetailInfo.proto b/proto/MusicGameActivityDetailInfo.proto index e9743fd6..c48fc0f0 100644 --- a/proto/MusicGameActivityDetailInfo.proto +++ b/proto/MusicGameActivityDetailInfo.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "MusicGameRecord.proto"; -import "UgcMusicBriefInfo.proto"; + +import "MusicBriefInfo.proto"; +import "MusicGameRecord.proto"; option java_package = "emu.grasscutter.net.proto"; message MusicGameActivityDetailInfo { - repeated UgcMusicBriefInfo Unk3300_AAGCDCOIPJM = 2; - repeated UgcMusicBriefInfo Unk3300_OKHAACGHMAP = 12; - map music_game_record_map = 9; + repeated MusicBriefInfo Unk3300_AAGCDCOIPJM = 2; + repeated MusicBriefInfo Unk3300_OKHAACGHMAP = 6; + map musicGameRecordMap = 8; } diff --git a/proto/MusicGameCreateBeatmapReq.proto b/proto/MusicGameCreateBeatmapReq.proto index 4a87f750..c88d045b 100644 --- a/proto/MusicGameCreateBeatmapReq.proto +++ b/proto/MusicGameCreateBeatmapReq.proto @@ -10,7 +10,8 @@ import "MusicGameUnknown1Enum.proto"; // CmdId: 6326 // EnetChannelId: 0 // EnetIsReliable: true -// IsAllowClient: true +// IsAllowClient: trueoption java_package = "emu.grasscutter.net.proto"; + message MusicGameCreateBeatmapReq { MusicGameUnknown1Enum unknown_enum1 = 12; oneof beatmap { diff --git a/proto/MusicGameCreateBeatmapRsp.proto b/proto/MusicGameCreateBeatmapRsp.proto index 99a7231b..7fd81c8c 100644 --- a/proto/MusicGameCreateBeatmapRsp.proto +++ b/proto/MusicGameCreateBeatmapRsp.proto @@ -8,6 +8,7 @@ import "MusicGameUnknown1Enum.proto"; // CmdId: 6347 // EnetChannelId: 0 // EnetIsReliable: true +option java_package = "emu.grasscutter.net.proto"; message MusicGameCreateBeatmapRsp { int32 retcode = 10; diff --git a/proto/MusicGameGetBeatmapReq.proto b/proto/MusicGameGetBeatmapReq.proto index e33bbb68..6c2f847c 100644 --- a/proto/MusicGameGetBeatmapReq.proto +++ b/proto/MusicGameGetBeatmapReq.proto @@ -10,7 +10,8 @@ import "MusicGameUnknown1Enum.proto"; // CmdId: 6318 // EnetChannelId: 0 // EnetIsReliable: true -// IsAllowClient: true +// IsAllowClient: trueoption java_package = "emu.grasscutter.net.proto"; + message MusicGameGetBeatmapReq { MusicGameUnknown1Enum unknown_enum1 = 1; uint64 music_share_id = 10; diff --git a/proto/MusicGameGetBeatmapRsp.proto b/proto/MusicGameGetBeatmapRsp.proto index fa355f96..a2b82b7b 100644 --- a/proto/MusicGameGetBeatmapRsp.proto +++ b/proto/MusicGameGetBeatmapRsp.proto @@ -10,7 +10,8 @@ import "MusicGameUnknown1Enum.proto"; // CmdId: 6309 // EnetChannelId: 0 -// EnetIsReliable: true +// EnetIsReliable: trueoption java_package = "emu.grasscutter.net.proto"; + message MusicGameGetBeatmapRsp { int32 retcode = 13; MusicGameUnknown1Enum unknown_enum1 = 1; diff --git a/proto/MusicGameInfo.proto b/proto/MusicGameInfo.proto new file mode 100644 index 00000000..acec7cd5 --- /dev/null +++ b/proto/MusicGameInfo.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "MusicBriefInfo.proto"; +import "MusicGameRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MusicGameInfo { + repeated MusicBriefInfo Unk3300_AAGCDCOIPJM = 2; + repeated MusicBriefInfo Unk3300_OKHAACGHMAP = 6; + map musicGameRecordMap = 8; +} diff --git a/proto/MusicGameRecord.proto b/proto/MusicGameRecord.proto index 60558cb6..c8c4c987 100644 --- a/proto/MusicGameRecord.proto +++ b/proto/MusicGameRecord.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message MusicGameRecord { - bool is_unlock = 3; - uint32 max_combo = 14; - uint32 max_score = 7; + bool isUnlock = 8; + uint32 maxScore = 15; + uint32 maxCombo = 1; } diff --git a/proto/MusicGameSearchBeatmapReq.proto b/proto/MusicGameSearchBeatmapReq.proto index 9de25162..f40ba7d1 100644 --- a/proto/MusicGameSearchBeatmapReq.proto +++ b/proto/MusicGameSearchBeatmapReq.proto @@ -8,7 +8,8 @@ import "MusicGameUnknown1Enum.proto"; // CmdId: 6343 // EnetChannelId: 0 // EnetIsReliable: true -// IsAllowClient: true +// IsAllowClient: trueoption java_package = "emu.grasscutter.net.proto"; + message MusicGameSearchBeatmapReq { MusicGameUnknown1Enum unknown_enum1 = 10; uint64 music_share_id = 6; diff --git a/proto/MusicGameSearchBeatmapRsp.proto b/proto/MusicGameSearchBeatmapRsp.proto index 4f377e07..d0f4ed6b 100644 --- a/proto/MusicGameSearchBeatmapRsp.proto +++ b/proto/MusicGameSearchBeatmapRsp.proto @@ -8,7 +8,8 @@ import "MusicGameUnknown1Enum.proto"; // CmdId: 6304 // EnetChannelId: 0 -// EnetIsReliable: true +// EnetIsReliable: trueoption java_package = "emu.grasscutter.net.proto"; + message MusicGameSearchBeatmapRsp { int32 retcode = 9; MusicGameUnknown1Enum unknown_enum1 = 3; diff --git a/proto/MusicGameSettleReq.proto b/proto/MusicGameSettleReq.proto index 9b28a78d..4e9fb936 100644 --- a/proto/MusicGameSettleReq.proto +++ b/proto/MusicGameSettleReq.proto @@ -1,50 +1,35 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message MusicGameSettleReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 8998; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum COBMENDFOKN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8066; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated uint32 Unk3300_MLLDAPCIDDO = 14; - repeated uint32 Unk3300_HHBCEPNLCLL = 1007; - bool Unk3300_DMLNKOLOAAH = 1984; - uint32 Unk3300_EBOJMGOCPLE = 82; - uint32 max_combo = 10; - bool is_save_score = 7; - float speed = 790; - uint32 Unk3300_MDHEJNFHBBI = 15; - uint32 score = 8; - bool Unk3300_BHIGAMNDFML = 291; - uint32 correct_hit = 11; - uint32 Unk3300_HEPJNCAOEMP = 1; - uint32 combo = 4; - uint32 Unk3300_IPODKENCAOK = 304; - uint64 ugc_guid = 3; - uint32 Unk3300_AHAGHAHGPLD = 12; - uint32 music_basic_id = 5; - uint32 Unk3300_GJMIIDIOOMM = 1951; + uint64 ugcGuid = 4; + repeated uint32 Unk3300_HHBCEPNLCLL = 1626; + bool isSaveScore = 11; + uint32 musicBasicId = 7; + uint32 score = 2; + uint32 Unk3300_EBOJMGOCPLE = 493; + repeated uint32 Unk3300_MLLDAPCIDDO = 5; + float speed = 484; + uint32 combo = 15; + bool Unk3300_BHIGAMNDFML = 527; + uint32 maxCombo = 12; + uint32 Unk3300_IPODKENCAOK = 252; + uint32 correctHit = 13; + uint32 Unk3300_GJMIIDIOOMM = 108; + uint32 Unk3300_MDHEJNFHBBI = 9; + bool Unk3300_DMLNKOLOAAH = 497; + uint32 Unk3300_AHAGHAHGPLD = 3; + uint32 Unk3300_HEPJNCAOEMP = 8; } diff --git a/proto/MusicGameSettleRsp.proto b/proto/MusicGameSettleRsp.proto index 5bf8e358..1f5d4d24 100644 --- a/proto/MusicGameSettleRsp.proto +++ b/proto/MusicGameSettleRsp.proto @@ -1,36 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message MusicGameSettleRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 8360; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum EHMCDJNMHDC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8735; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 12; - uint64 ugc_guid = 7; - bool is_new_record = 8; - bool is_unlock_next_level = 10; - uint32 music_basic_id = 1; + int32 retcode = 9; + bool isUnlockNextLevel = 1; + uint64 ugcGuid = 7; + uint32 musicBasicId = 4; + bool isNewRecord = 14; } diff --git a/proto/MusicGameStartReq.proto b/proto/MusicGameStartReq.proto index dd38cbfd..2143952c 100644 --- a/proto/MusicGameStartReq.proto +++ b/proto/MusicGameStartReq.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message MusicGameStartReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 8820; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum EMDPLMFEJCP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8536; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 music_basic_id = 11; - bool is_save_score = 12; - uint64 ugc_guid = 9; + uint64 ugcGuid = 5; + uint32 musicBasicId = 7; + bool isSaveScore = 15; } diff --git a/proto/MusicGameStartRsp.proto b/proto/MusicGameStartRsp.proto index 60d943a6..c660e53a 100644 --- a/proto/MusicGameStartRsp.proto +++ b/proto/MusicGameStartRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message MusicGameStartRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 8216; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum PFNNLOBODEB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8893; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 12; - uint32 music_basic_id = 13; - uint64 ugc_guid = 5; + int32 retcode = 10; + uint64 ugcGuid = 8; + uint32 musicBasicId = 15; } diff --git a/proto/MusicGameStartToPlayOthersBeatmapReq.proto b/proto/MusicGameStartToPlayOthersBeatmapReq.proto index 25fcad8a..339827a5 100644 --- a/proto/MusicGameStartToPlayOthersBeatmapReq.proto +++ b/proto/MusicGameStartToPlayOthersBeatmapReq.proto @@ -8,7 +8,8 @@ import "MusicGameUnknown1Enum.proto"; // CmdId: 6302 // EnetChannelId: 0 // EnetIsReliable: true -// IsAllowClient: true +// IsAllowClient: trueoption java_package = "emu.grasscutter.net.proto"; + message MusicGameStartToPlayOthersBeatmapReq { MusicGameUnknown1Enum unknown_enum1 = 12; } diff --git a/proto/MusicGameStartToPlayOthersBeatmapRsp.proto b/proto/MusicGameStartToPlayOthersBeatmapRsp.proto index 8f935b9e..34be820a 100644 --- a/proto/MusicGameStartToPlayOthersBeatmapRsp.proto +++ b/proto/MusicGameStartToPlayOthersBeatmapRsp.proto @@ -7,7 +7,8 @@ import "MusicGameUnknown1Enum.proto"; // CmdId: 6313 // EnetChannelId: 0 -// EnetIsReliable: true +// EnetIsReliable: trueoption java_package = "emu.grasscutter.net.proto"; + message MusicGameStartToPlayOthersBeatmapRsp { int32 retcode = 2; MusicGameUnknown1Enum unknown_enum1 = 11; diff --git a/proto/MusicInfo.proto b/proto/MusicInfo.proto new file mode 100644 index 00000000..c823ea3f --- /dev/null +++ b/proto/MusicInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "FleurFairMusicRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MusicInfo { + map fbmomkmdima = 9; +} diff --git a/proto/MusicRecord.proto b/proto/MusicRecord.proto new file mode 100644 index 00000000..0e4f9630 --- /dev/null +++ b/proto/MusicRecord.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "UgcMusicTrack.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message MusicRecord { + repeated UgcMusicTrack musicTrackList = 3; + uint32 musicId = 2; +} diff --git a/proto/NALEOFHPMKN.proto b/proto/NALEOFHPMKN.proto new file mode 100644 index 00000000..885646e4 --- /dev/null +++ b/proto/NALEOFHPMKN.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message NALEOFHPMKN { + uint32 aeppldffjcf = 5; + uint32 ilhofemcpji = 7; +} diff --git a/proto/NAMOHGAFBJP.proto b/proto/NAMOHGAFBJP.proto new file mode 100644 index 00000000..6e3b7abb --- /dev/null +++ b/proto/NAMOHGAFBJP.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message NAMOHGAFBJP { + uint32 blockId = 14; + uint32 khhhdmmmcjn = 13; +} diff --git a/proto/NBOJKBNKIJJ.proto b/proto/NBOJKBNKIJJ.proto new file mode 100644 index 00000000..7bc999ee --- /dev/null +++ b/proto/NBOJKBNKIJJ.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message NBOJKBNKIJJ { + uint32 loemgoiedea = 4; +} diff --git a/proto/NCFCILACFAG.proto b/proto/NCFCILACFAG.proto new file mode 100644 index 00000000..dd808a2b --- /dev/null +++ b/proto/NCFCILACFAG.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "AbilityString.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message NCFCILACFAG { + AbilityString abilityOverride = 4; + float jbgcmjfopeh = 15; + AbilityString abilityName = 6; +} diff --git a/proto/NCLBHFKHBLE.proto b/proto/NCLBHFKHBLE.proto new file mode 100644 index 00000000..6342306f --- /dev/null +++ b/proto/NCLBHFKHBLE.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "IAENJEILLBG.proto"; +import "DFAIPJMKBCC.proto"; +import "NJAPCNDDMBH.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message NCLBHFKHBLE { + repeated IAENJEILLBG bcingedoaop = 9; + uint32 gameId = 8; + repeated DFAIPJMKBCC plkdeiooihe = 6; + uint32 fjjbdhjmoca = 12; + repeated NJAPCNDDMBH cpmjjejogbm = 3; +} diff --git a/proto/NEPIEOLFECI.proto b/proto/NEPIEOLFECI.proto new file mode 100644 index 00000000..221d60d5 --- /dev/null +++ b/proto/NEPIEOLFECI.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +import "GJPHKJFFMOM.proto"; +import "PLDKICHAHEB.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message NEPIEOLFECI { + string createTime = 1; + string macodnmfgja = 2; + bool gmjigokbahm = 3; + string pdpkmnchadl = 4; + bool mogadedkbci = 5; + repeated PLDKICHAHEB jkfdibhoggm = 6; + GJPHKJFFMOM idbdfgaalao = 7; +} diff --git a/proto/NFBOJDFGLHH.proto b/proto/NFBOJDFGLHH.proto new file mode 100644 index 00000000..3c3b2202 --- /dev/null +++ b/proto/NFBOJDFGLHH.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message NFBOJDFGLHH { + repeated uint32 ngkifhhgeji = 14; + bool mibdohmpbej = 9; + float speed = 11; + string ddgbmfnfahg = 13; + uint32 entityId = 1; + bool kafblnnckhe = 15; + Rotation eknhofiihcl = 7; +} diff --git a/proto/NFHBHHJAJDA.proto b/proto/NFHBHHJAJDA.proto new file mode 100644 index 00000000..813b31f2 --- /dev/null +++ b/proto/NFHBHHJAJDA.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message NFHBHHJAJDA { + bool canfkdfcgnl = 4; + bool fdeoedhpmkj = 12; + bool bddkjnapbfc = 3; + uint32 skillId = 15; + bool ooonppjmjga = 9; +} diff --git a/proto/NGHLNABNDEJ.proto b/proto/NGHLNABNDEJ.proto new file mode 100644 index 00000000..113a8f27 --- /dev/null +++ b/proto/NGHLNABNDEJ.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message NGHLNABNDEJ { + uint32 hpjakbogomm = 13; + uint32 pomnjomifhi = 2; + uint32 gmfajmjacpm = 15; + uint32 phase = 4; + uint32 keoilfncimn = 6; + repeated uint32 mpooncgnhaa = 11; +} diff --git a/proto/NHIEMMBIBGH.proto b/proto/NHIEMMBIBGH.proto new file mode 100644 index 00000000..ac810dbe --- /dev/null +++ b/proto/NHIEMMBIBGH.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message NHIEMMBIBGH { + uint32 entityId = 5; + float mbbjimmgikj = 2; + float dkdecebeebb = 14; + Rotation eknhofiihcl = 12; + float speed = 6; +} diff --git a/proto/NHMKAMGOKDK.proto b/proto/NHMKAMGOKDK.proto new file mode 100644 index 00000000..2057be3c --- /dev/null +++ b/proto/NHMKAMGOKDK.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +enum NHMKAMGOKDK { + NHMKAMGOKDK_NONE = 0; + BNEBIHJPEAE = 1; + HIPIFJLLHNM = 3; + OGALALLEPFD = 4; + OGKELOFFMCC = 5; + KIIBLMIHGBO = 6; + ABPCDJJPGKN = 7; + MPHJAGCGJFA = 10; + IHFODEDLHMC = 11; + KPPKKIAKECK = 12; + HKIBLOJEAIE = 13; + NPDHLJJENNO = 14; + JAJHDFANFDJ = 15; + CHJOANAGJPK = 16; + FAAJEMLPFDK = 17; + KNEPHONAMCE = 18; +} diff --git a/proto/NINFMJDPCEJ.proto b/proto/NINFMJDPCEJ.proto new file mode 100644 index 00000000..225c6180 --- /dev/null +++ b/proto/NINFMJDPCEJ.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message NINFMJDPCEJ { + float gookfcglmjd = 13; +} diff --git a/proto/NJAPCNDDMBH.proto b/proto/NJAPCNDDMBH.proto new file mode 100644 index 00000000..0f792b23 --- /dev/null +++ b/proto/NJAPCNDDMBH.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +import "Duel.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message NJAPCNDDMBH { + uint32 opSeq = 13; + uint32 controllerId = 14; + oneof EEBALNLJINH { + string gm_msg = 12; + Duel duel = 5; + } +} diff --git a/proto/NMPKCMGANGK.proto b/proto/NMPKCMGANGK.proto new file mode 100644 index 00000000..d1b4a652 --- /dev/null +++ b/proto/NMPKCMGANGK.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +import "ACBDKPGMCNH.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message NMPKCMGANGK { + string createTime = 1; + string inputType = 2; + string lliofconmpa = 3; + ACBDKPGMCNH jkfdibhoggm = 4; + bool kdabaandpba = 5; + bool mmbahlklfkf = 6; +} diff --git a/proto/NNDIACOGJBL.proto b/proto/NNDIACOGJBL.proto new file mode 100644 index 00000000..068e92a9 --- /dev/null +++ b/proto/NNDIACOGJBL.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum NNDIACOGJBL { + NNDIACOGJBL_NONE = 0; + BLKJCONMCCO = 1; + CIADBIJEAMK = 2; +} diff --git a/proto/NOABGCFIDLD.proto b/proto/NOABGCFIDLD.proto new file mode 100644 index 00000000..1377f0e8 --- /dev/null +++ b/proto/NOABGCFIDLD.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +enum NOABGCFIDLD { + NOABGCFIDLD_NONE = 0; + DEABBPDEBFE = 1; + DCNEOJNMMEI = 2; + JEGAOENPDIM = 3; +} diff --git a/proto/NOJMHFDCPFH.proto b/proto/NOJMHFDCPFH.proto new file mode 100644 index 00000000..5755c6c6 --- /dev/null +++ b/proto/NOJMHFDCPFH.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message NOJMHFDCPFH { + uint32 firstPublishTime = 1; + uint32 lastPublishTime = 2; + map brickStatisticsMap = 3; +} diff --git a/proto/NPLMONKKGCK.proto b/proto/NPLMONKKGCK.proto new file mode 100644 index 00000000..0b936962 --- /dev/null +++ b/proto/NPLMONKKGCK.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message NPLMONKKGCK { + message MONJLJNOPMC { + } + message EGDEKCHMAFG { + repeated Rotation lfglcalgdac = 1; + } + message PMALMLLNHMN { + uint32 entityId = 5; + } + + oneof EMKLHFDNJMA { + MONJLJNOPMC add_signal = 13; + EGDEKCHMAFG refresh_seed = 3; + PMALMLLNHMN catch_seed = 4; + } +} diff --git a/proto/NavMeshStatsNotify.proto b/proto/NavMeshStatsNotify.proto new file mode 100644 index 00000000..b464bcf2 --- /dev/null +++ b/proto/NavMeshStatsNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "PbNavMeshStatsInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message NavMeshStatsNotify { + enum APFHNNMDGGN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2395; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated PbNavMeshStatsInfo infos = 13; +} diff --git a/proto/NewCard.proto b/proto/NewCard.proto new file mode 100644 index 00000000..a8716f64 --- /dev/null +++ b/proto/NewCard.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "GCGCard.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message NewCard { + GCGCard card = 5; +} diff --git a/proto/NicknameAuditConfigNotify.proto b/proto/NicknameAuditConfigNotify.proto new file mode 100644 index 00000000..0dca34fc --- /dev/null +++ b/proto/NicknameAuditConfigNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message NicknameAuditConfigNotify { + enum BGFHIJPKGNH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 148; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/NightCrowGadgetInfo.proto b/proto/NightCrowGadgetInfo.proto index 2d1693d7..c1fdadbf 100644 --- a/proto/NightCrowGadgetInfo.proto +++ b/proto/NightCrowGadgetInfo.proto @@ -1,24 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message NightCrowGadgetInfo { - repeated uint32 argument_list = 1; + repeated uint32 argumentList = 1; } diff --git a/proto/NightCrowGadgetObservationMatchReq.proto b/proto/NightCrowGadgetObservationMatchReq.proto new file mode 100644 index 00000000..d8430c90 --- /dev/null +++ b/proto/NightCrowGadgetObservationMatchReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message NightCrowGadgetObservationMatchReq { + enum OEONLKONNIA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 843; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 gadgetEntityId = 7; + uint32 targetGadgetState = 9; +} diff --git a/proto/NightCrowGadgetObservationMatchRsp.proto b/proto/NightCrowGadgetObservationMatchRsp.proto new file mode 100644 index 00000000..fd32e2e3 --- /dev/null +++ b/proto/NightCrowGadgetObservationMatchRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message NightCrowGadgetObservationMatchRsp { + enum JHLAKKOAHKJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 835; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 12; +} diff --git a/proto/NoDamageSkillResult.proto b/proto/NoDamageSkillResult.proto new file mode 100644 index 00000000..18b054b9 --- /dev/null +++ b/proto/NoDamageSkillResult.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "GCGDamageDetail.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message NoDamageSkillResult { + uint32 Unk3300_NNJAOEHNPPD = 3; + uint32 Unk3300_NIGDCIGLAKE = 1; + uint32 Unk3300_LPGLOCDDPCL = 13; + repeated GCGDamageDetail detailList = 9; + uint32 Unk3300_EPNDCIAJOJP = 5; + uint32 skillId = 15; + uint32 targetCardGuid = 4; +} diff --git a/proto/NormalUidOpNotify.proto b/proto/NormalUidOpNotify.proto new file mode 100644 index 00000000..b63a3626 --- /dev/null +++ b/proto/NormalUidOpNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message NormalUidOpNotify { + enum OJEDBPCNKIF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5738; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 duration = 1; + repeated uint32 paramList = 12; + repeated uint32 paramUidList = 7; + uint32 paramIndex = 6; +} diff --git a/proto/Npc.proto b/proto/Npc.proto new file mode 100644 index 00000000..ab00d569 --- /dev/null +++ b/proto/Npc.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message Npc { + uint32 npcId = 1; + uint32 roomId = 2; + uint32 parentQuestId = 3; + uint32 blockId = 4; +} diff --git a/proto/NpcData.proto b/proto/NpcData.proto new file mode 100644 index 00000000..81baa9a0 --- /dev/null +++ b/proto/NpcData.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message NpcData { + uint32 avatarId = 1; + uint32 costumeId = 2; +} diff --git a/proto/NpcPositionInfo.proto b/proto/NpcPositionInfo.proto new file mode 100644 index 00000000..575eda9c --- /dev/null +++ b/proto/NpcPositionInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message NpcPositionInfo { + uint32 npcId = 1; + Rotation pos = 2; +} diff --git a/proto/NpcTalkReq.proto b/proto/NpcTalkReq.proto index e038b8b7..ea753dc7 100644 --- a/proto/NpcTalkReq.proto +++ b/proto/NpcTalkReq.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message NpcTalkReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 579; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum GEJFAONBKJC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 505; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 entity_id = 14; - uint32 npc_entity_id = 11; - uint32 talk_id = 12; + uint32 npcEntityId = 9; + uint32 entityId = 11; + uint32 talkId = 15; } diff --git a/proto/NpcTalkRsp.proto b/proto/NpcTalkRsp.proto index db798bd2..9e4aa805 100644 --- a/proto/NpcTalkRsp.proto +++ b/proto/NpcTalkRsp.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message NpcTalkRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 530; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MELLEOKPJBM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 555; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 11; - uint32 cur_talk_id = 12; - uint32 npc_entity_id = 4; - uint32 entity_id = 2; + int32 retcode = 5; + uint32 npcEntityId = 11; + uint32 curTalkId = 1; + uint32 entityId = 9; } diff --git a/proto/NpcTalkStateNotify.proto b/proto/NpcTalkStateNotify.proto new file mode 100644 index 00000000..2f351b97 --- /dev/null +++ b/proto/NpcTalkStateNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message NpcTalkStateNotify { + enum ONOEOAPMNBI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 481; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isBan = 1; +} diff --git a/proto/NullValue.proto b/proto/NullValue.proto new file mode 100644 index 00000000..772f93c1 --- /dev/null +++ b/proto/NullValue.proto @@ -0,0 +1,7 @@ +syntax = "proto3"; + + + +enum NullValue { + CEPOMEPFIME = 0; +} diff --git a/proto/OBCIHDJGLCK.proto b/proto/OBCIHDJGLCK.proto new file mode 100644 index 00000000..9acfdcba --- /dev/null +++ b/proto/OBCIHDJGLCK.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message OBCIHDJGLCK { + Rotation hhfmfeegcei = 2; +} diff --git a/proto/OBDFGKEKJJK.proto b/proto/OBDFGKEKJJK.proto new file mode 100644 index 00000000..637d1857 --- /dev/null +++ b/proto/OBDFGKEKJJK.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message OBDFGKEKJJK { + enum PKCBBJPGNKL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6548; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 playIndex = 11; +} diff --git a/proto/OBFAPFPHOIC.proto b/proto/OBFAPFPHOIC.proto new file mode 100644 index 00000000..55b31a11 --- /dev/null +++ b/proto/OBFAPFPHOIC.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message OBFAPFPHOIC { + string lhbmbokddkp = 1; + string mjomnfiadem = 2; + uint32 lgjfdbchnnm = 3; + string jmmpcpapobk = 4; + string oiohjhhmkle = 5; + string productId = 6; + string channelId = 7; + string nlmgkehpnmi = 8; + string afmembcinei = 9; + string mbdifigklgo = 10; + string deviceUuid = 11; + string dealbhfkalh = 12; + string bhfcgolfbeg = 13; + string kbgbegffhhc = 14; +} diff --git a/proto/OEICFFKNCNJ.proto b/proto/OEICFFKNCNJ.proto new file mode 100644 index 00000000..c96c7d74 --- /dev/null +++ b/proto/OEICFFKNCNJ.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +import "GMJDGJIDDCI.proto"; +import "GJPHKJFFMOM.proto"; +import "BGPGPMLJNLP.proto"; +import "PLDKICHAHEB.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message OEICFFKNCNJ { + string createTime = 1; + repeated BGPGPMLJNLP jkplafpenlg = 2; + repeated PLDKICHAHEB jkfdibhoggm = 3; + GMJDGJIDDCI ojmkoemmlpa = 4; + GJPHKJFFMOM idbdfgaalao = 5; +} diff --git a/proto/OILIHLEJJGP.proto b/proto/OILIHLEJJGP.proto new file mode 100644 index 00000000..b7a45891 --- /dev/null +++ b/proto/OILIHLEJJGP.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message OILIHLEJJGP { + uint32 targetEntityId = 10; +} diff --git a/proto/OMNAAMAIBOH.proto b/proto/OMNAAMAIBOH.proto new file mode 100644 index 00000000..2cca17ed --- /dev/null +++ b/proto/OMNAAMAIBOH.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message OMNAAMAIBOH { + bool isFinished = 2; + bool isOpen = 4; + uint32 stageId = 12; + uint32 levelId = 5; +} diff --git a/proto/ONGLLFPMBNL.proto b/proto/ONGLLFPMBNL.proto new file mode 100644 index 00000000..fa9170b8 --- /dev/null +++ b/proto/ONGLLFPMBNL.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ONGLLFPMBNL { + int64 ckgefmkgkhh = 1; + int32 cmhoaideaep = 2; +} diff --git a/proto/ObstacleInfo.proto b/proto/ObstacleInfo.proto index a179d928..1c685037 100644 --- a/proto/ObstacleInfo.proto +++ b/proto/ObstacleInfo.proto @@ -1,37 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "MathQuaternion.proto"; -import "Vector.proto"; -import "Vector3Int.proto"; + +import "Rotation.proto"; +import "Vector3Int.proto"; +import "ShapeType.proto"; +import "RotationSpeed.proto"; option java_package = "emu.grasscutter.net.proto"; message ObstacleInfo { - enum ShapeType { - SHAPE_TYPE_OBSTACLE_SHAPE_CAPSULE = 0; - SHAPE_TYPE_OBSTACLE_SHAPE_BOX = 1; - } - - MathQuaternion rotation = 11; - ShapeType shape = 2; - Vector3Int extents = 4; - Vector center = 7; - int32 obstacle_id = 10; + Rotation center = 4; + Vector3Int extents = 12; + ShapeType shape = 5; + int32 obstacleId = 9; + RotationSpeed rotation = 2; } diff --git a/proto/ObstacleModifyNotify.proto b/proto/ObstacleModifyNotify.proto index eccfd793..f0be83dc 100644 --- a/proto/ObstacleModifyNotify.proto +++ b/proto/ObstacleModifyNotify.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ObstacleInfo.proto"; + +import "ObstacleInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message ObstacleModifyNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2356; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum NGAEMGNNNGO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2387; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated int32 remove_obstacle_ids = 7; - repeated ObstacleInfo add_obstacles = 15; - uint32 scene_id = 12; + repeated ObstacleInfo addObstacles = 14; + repeated int32 removeObstacleIds = 7; + uint32 sceneId = 9; } diff --git a/proto/OfferingInfo.proto b/proto/OfferingInfo.proto index 3eb70087..f7320a71 100644 --- a/proto/OfferingInfo.proto +++ b/proto/OfferingInfo.proto @@ -1,24 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message OfferingInfo { - uint32 offering_id = 1; + uint32 offeringId = 1; } diff --git a/proto/OfferingInteractReq.proto b/proto/OfferingInteractReq.proto new file mode 100644 index 00000000..b127c45d --- /dev/null +++ b/proto/OfferingInteractReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message OfferingInteractReq { + enum ICDAHKCNCLC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2917; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 offeringId = 11; +} diff --git a/proto/OfferingInteractRsp.proto b/proto/OfferingInteractRsp.proto new file mode 100644 index 00000000..5856db73 --- /dev/null +++ b/proto/OfferingInteractRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "PlayerOfferingData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message OfferingInteractRsp { + enum DJGBDIKDLBP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2922; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 10; + PlayerOfferingData offeringData = 14; +} diff --git a/proto/OfficialCustomDungeon.proto b/proto/OfficialCustomDungeon.proto index 4e550bde..493600da 100644 --- a/proto/OfficialCustomDungeon.proto +++ b/proto/OfficialCustomDungeon.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message OfficialCustomDungeon { - uint32 dungeon_id = 4; - uint32 win_times = 13; + uint32 dungeonId = 3; + uint32 winTimes = 14; } diff --git a/proto/OneoffGatherPointDetectorData.proto b/proto/OneoffGatherPointDetectorData.proto index c4aab554..023789f1 100644 --- a/proto/OneoffGatherPointDetectorData.proto +++ b/proto/OneoffGatherPointDetectorData.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message OneoffGatherPointDetectorData { diff --git a/proto/OneoffGatherPointDetectorDataNotify.proto b/proto/OneoffGatherPointDetectorDataNotify.proto new file mode 100644 index 00000000..1dce90b2 --- /dev/null +++ b/proto/OneoffGatherPointDetectorDataNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "DetectorData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message OneoffGatherPointDetectorDataNotify { + enum BBLGDHLPBJJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4257; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated DetectorData oneoffGatherPointDetectorDataList = 10; +} diff --git a/proto/OnlinePlayerInfo.proto b/proto/OnlinePlayerInfo.proto index 3ffe7831..ba84a919 100644 --- a/proto/OnlinePlayerInfo.proto +++ b/proto/OnlinePlayerInfo.proto @@ -1,39 +1,23 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "MpSettingType.proto"; import "ProfilePicture.proto"; - option java_package = "emu.grasscutter.net.proto"; 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; + uint32 uid = 1; + string nickname = 2; + uint32 playerLevel = 3; + uint32 avatarId = 4; + MpSettingType mpSettingType = 5; + uint32 curPlayerNumInWorld = 6; + uint32 worldLevel = 7; + string onlineId = 8; + uint32 nameCardId = 9; + repeated uint32 blacklistUidList = 10; + string signature = 11; + ProfilePicture profilePicture = 12; + string psnId = 13; } diff --git a/proto/OpActivityDataNotify.proto b/proto/OpActivityDataNotify.proto new file mode 100644 index 00000000..90d4e334 --- /dev/null +++ b/proto/OpActivityDataNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "OpActivityInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message OpActivityDataNotify { + enum HMEPGLFHAMI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5187; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated OpActivityInfo opActivityInfoList = 13; +} diff --git a/proto/OpActivityInfo.proto b/proto/OpActivityInfo.proto index 779c72b9..1a557873 100644 --- a/proto/OpActivityInfo.proto +++ b/proto/OpActivityInfo.proto @@ -1,33 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "BonusOpActivityInfo.proto"; + +import "BonusInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message OpActivityInfo { - uint32 activity_id = 15; - uint32 schedule_id = 14; - uint32 end_time = 4; - uint32 begin_time = 13; - bool is_has_change = 7; - oneof detail { - BonusOpActivityInfo bonus_info = 6; - } + uint32 scheduleId = 1; + uint32 beginTime = 8; + uint32 activityId = 15; + bool isHasChange = 3; + oneof LLDCBIMKJLJ { + BonusInfo bonus_info = 11; + } + uint32 endTime = 10; } diff --git a/proto/OpActivityStateNotify.proto b/proto/OpActivityStateNotify.proto new file mode 100644 index 00000000..d65acedc --- /dev/null +++ b/proto/OpActivityStateNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "OpActivityTagBriefInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message OpActivityStateNotify { + enum LCECIEJDFNC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2505; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 finishedBonusActivityIdList = 11; + repeated OpActivityTagBriefInfo openedOpActivityInfoList = 3; +} diff --git a/proto/OpActivityTagBriefInfo.proto b/proto/OpActivityTagBriefInfo.proto new file mode 100644 index 00000000..82e09a5a --- /dev/null +++ b/proto/OpActivityTagBriefInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message OpActivityTagBriefInfo { + uint32 configId = 10; + bool hasReward = 11; + uint32 opActivityType = 3; +} diff --git a/proto/OpActivityUpdateNotify.proto b/proto/OpActivityUpdateNotify.proto new file mode 100644 index 00000000..a63bacad --- /dev/null +++ b/proto/OpActivityUpdateNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "OpActivityInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message OpActivityUpdateNotify { + enum MBCLAKJJALC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5198; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + OpActivityInfo opActivityInfo = 15; +} diff --git a/proto/OpAttack.proto b/proto/OpAttack.proto new file mode 100644 index 00000000..cfb6027c --- /dev/null +++ b/proto/OpAttack.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message OpAttack { + uint32 skillId = 8; + repeated uint32 costDiceIndexList = 11; +} diff --git a/proto/OpPass.proto b/proto/OpPass.proto new file mode 100644 index 00000000..1ccb02da --- /dev/null +++ b/proto/OpPass.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message OpPass { +} diff --git a/proto/OpPlayCard.proto b/proto/OpPlayCard.proto new file mode 100644 index 00000000..ba4b07e7 --- /dev/null +++ b/proto/OpPlayCard.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message OpPlayCard { + uint32 replaceCardGuid = 6; + repeated uint32 targetCardGuidList = 11; + uint32 cardGuid = 14; + repeated uint32 costDiceIndexList = 13; +} diff --git a/proto/OpReboot.proto b/proto/OpReboot.proto new file mode 100644 index 00000000..53d34d1d --- /dev/null +++ b/proto/OpReboot.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message OpReboot { + repeated uint32 costCardGuidList = 9; + repeated uint32 diceIndexList = 10; +} diff --git a/proto/OpRedraw.proto b/proto/OpRedraw.proto new file mode 100644 index 00000000..8348fdb2 --- /dev/null +++ b/proto/OpRedraw.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message OpRedraw { + repeated uint32 cardList = 12; +} diff --git a/proto/OpReroll.proto b/proto/OpReroll.proto new file mode 100644 index 00000000..05c3c112 --- /dev/null +++ b/proto/OpReroll.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message OpReroll { + repeated uint32 diceIndexList = 3; +} diff --git a/proto/OpSelectOnStage.proto b/proto/OpSelectOnStage.proto new file mode 100644 index 00000000..b431ca31 --- /dev/null +++ b/proto/OpSelectOnStage.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message OpSelectOnStage { + uint32 cardGuid = 6; + repeated uint32 costDiceIndexList = 13; +} diff --git a/proto/OpSurrender.proto b/proto/OpSurrender.proto new file mode 100644 index 00000000..c3060c9c --- /dev/null +++ b/proto/OpSurrender.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message OpSurrender { +} diff --git a/proto/OpTimer.proto b/proto/OpTimer.proto new file mode 100644 index 00000000..a6546fb1 --- /dev/null +++ b/proto/OpTimer.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "GCGPhaseType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message OpTimer { + uint64 timeStamp = 9; + uint64 beginTime = 10; + uint32 controllerId = 6; + GCGPhaseType phase = 1; +} diff --git a/proto/OpType.proto b/proto/OpType.proto new file mode 100644 index 00000000..47b1f4b0 --- /dev/null +++ b/proto/OpType.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum OpType { + OP_TYPE_NONE = 0; + OP_TYPE_ACTIVATE = 1; + OP_TYPE_DEACTIVATE = 2; +} diff --git a/proto/OpenBlossomCircleCampGuideNotify.proto b/proto/OpenBlossomCircleCampGuideNotify.proto new file mode 100644 index 00000000..85c46c8d --- /dev/null +++ b/proto/OpenBlossomCircleCampGuideNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message OpenBlossomCircleCampGuideNotify { + enum IOAHHHEODOO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2780; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 circleCampIdList = 13; + uint32 refreshId = 5; +} diff --git a/proto/OpenStateChangeNotify.proto b/proto/OpenStateChangeNotify.proto index 7d989715..40673430 100644 --- a/proto/OpenStateChangeNotify.proto +++ b/proto/OpenStateChangeNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message OpenStateChangeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 117; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum COFNHLPKACO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 118; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - map open_state_map = 3; + map openStateMap = 15; } diff --git a/proto/OpenStateUpdateNotify.proto b/proto/OpenStateUpdateNotify.proto index 73a8772c..0046a6c5 100644 --- a/proto/OpenStateUpdateNotify.proto +++ b/proto/OpenStateUpdateNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message OpenStateUpdateNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 107; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum FPCOHDNDFFP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 158; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - map open_state_map = 12; + map openStateMap = 9; } diff --git a/proto/OperateType.proto b/proto/OperateType.proto new file mode 100644 index 00000000..ef507caf --- /dev/null +++ b/proto/OperateType.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +enum OperateType { + OPERATE_TYPE_NONE = 0; + OPERATE_TYPE_EFFECT = 1; +} diff --git a/proto/Operation.proto b/proto/Operation.proto new file mode 100644 index 00000000..2f16aaa6 --- /dev/null +++ b/proto/Operation.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +enum Operation { + OPERATION_ADD = 0; + OPERATION_MOD = 1; + OPERATION_DEL = 2; + OPERATION_GET = 3; +} diff --git a/proto/OptionType.proto b/proto/OptionType.proto new file mode 100644 index 00000000..c432f890 --- /dev/null +++ b/proto/OptionType.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum OptionType { + OPTION_TYPE_NONE = 0; + OPTION_TYPE_NORMAL = 1; + OPTION_TYPE_FIRST_CAN_GO = 2; +} diff --git a/proto/OrderDisplayNotify.proto b/proto/OrderDisplayNotify.proto new file mode 100644 index 00000000..8c653a15 --- /dev/null +++ b/proto/OrderDisplayNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message OrderDisplayNotify { + enum CCBJEGAAHKJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4143; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 orderId = 9; +} diff --git a/proto/OrderFinishNotify.proto b/proto/OrderFinishNotify.proto new file mode 100644 index 00000000..84578c0b --- /dev/null +++ b/proto/OrderFinishNotify.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message OrderFinishNotify { + enum MFFGOBEAMGF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4146; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 addMcoin = 4; + uint32 cardProductRemainDays = 3; + uint32 orderId = 5; + repeated ItemParam itemList = 8; + string productId = 13; +} diff --git a/proto/OtherCustomDungeonBrief.proto b/proto/OtherCustomDungeonBrief.proto new file mode 100644 index 00000000..10718235 --- /dev/null +++ b/proto/OtherCustomDungeonBrief.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +import "CustomDungeonAbstract.proto"; +import "CustomDungeonSocial.proto"; +import "CustomDungeonSetting.proto"; +import "SocialDetail.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message OtherCustomDungeonBrief { + uint64 dungeonGuid = 2; + CustomDungeonAbstract abstract = 15; + CustomDungeonSocial social = 11; + bool isPsnPlatform = 10; + uint32 dungeonId = 5; + bool isAdventureDungeon = 12; + repeated uint32 tagList = 6; + CustomDungeonSetting setting = 4; + uint32 battleMinCostTime = 7; + SocialDetail creatorDetail = 8; + bool isStored = 3; +} diff --git a/proto/OtherPlayerEnterHomeNotify.proto b/proto/OtherPlayerEnterHomeNotify.proto new file mode 100644 index 00000000..0c692de8 --- /dev/null +++ b/proto/OtherPlayerEnterHomeNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "Reason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message OtherPlayerEnterHomeNotify { + enum JHJIBDFHCDP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4582; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + Reason reason = 15; + string nickname = 11; +} diff --git a/proto/OutStuckCustomDungeonReq.proto b/proto/OutStuckCustomDungeonReq.proto new file mode 100644 index 00000000..b8ef719e --- /dev/null +++ b/proto/OutStuckCustomDungeonReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message OutStuckCustomDungeonReq { + enum HMANMBMFPND { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6239; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/OutStuckCustomDungeonRsp.proto b/proto/OutStuckCustomDungeonRsp.proto new file mode 100644 index 00000000..fb4b8e05 --- /dev/null +++ b/proto/OutStuckCustomDungeonRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message OutStuckCustomDungeonRsp { + enum FFOFAOEDIML { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6209; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + int32 retcode = 14; +} diff --git a/proto/PBCGIPFKDBD.proto b/proto/PBCGIPFKDBD.proto new file mode 100644 index 00000000..1becf870 --- /dev/null +++ b/proto/PBCGIPFKDBD.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "DKCAEHHPAGD.proto"; +import "MMJFCJAIBBG.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PBCGIPFKDBD { + string oiibnieamib = 1; + string entityId = 2; + string lang = 3; + string khjppnapjib = 4; + string fecoacjadfm = 5; + uint32 uid = 6; + repeated DKCAEHHPAGD fcjijbicndj = 7; + repeated MMJFCJAIBBG pmbjacpclfc = 8; +} diff --git a/proto/PBNavMeshPoly.proto b/proto/PBNavMeshPoly.proto new file mode 100644 index 00000000..20db44c8 --- /dev/null +++ b/proto/PBNavMeshPoly.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "EdgeType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PBNavMeshPoly { + repeated EdgeType edgeTypes = 1; + int32 area = 5; + repeated int32 vects = 14; +} diff --git a/proto/PBNavMeshTile.proto b/proto/PBNavMeshTile.proto new file mode 100644 index 00000000..f2b4a75a --- /dev/null +++ b/proto/PBNavMeshTile.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "PBNavMeshPoly.proto"; +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PBNavMeshTile { + repeated PBNavMeshPoly polys = 11; + repeated Rotation vecs = 1; +} diff --git a/proto/PCCGJPEIAOE.proto b/proto/PCCGJPEIAOE.proto new file mode 100644 index 00000000..851ff609 --- /dev/null +++ b/proto/PCCGJPEIAOE.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "DNEFMCCIFDH.proto"; +import "NMPKCMGANGK.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PCCGJPEIAOE { + string createTime = 1; + repeated NMPKCMGANGK ingcalgldlb = 2; + DNEFMCCIFDH jkfdibhoggm = 3; +} diff --git a/proto/PDKBCPLNAOJ.proto b/proto/PDKBCPLNAOJ.proto new file mode 100644 index 00000000..92d6a889 --- /dev/null +++ b/proto/PDKBCPLNAOJ.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PDKBCPLNAOJ { + float lfpempoopmd = 8; + float dfadhemafpn = 11; + uint32 elementType = 1; + uint32 bhgooledknh = 7; +} diff --git a/proto/PDOPJIGDNPF.proto b/proto/PDOPJIGDNPF.proto new file mode 100644 index 00000000..2f0b2ca1 --- /dev/null +++ b/proto/PDOPJIGDNPF.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "FFJPPIJOJLI.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PDOPJIGDNPF { + uint32 blockId = 1; + repeated FFJPPIJOJLI benoomjlmom = 2; +} diff --git a/proto/PEKDGMPDEBD.proto b/proto/PEKDGMPDEBD.proto new file mode 100644 index 00000000..9eabba61 --- /dev/null +++ b/proto/PEKDGMPDEBD.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PEKDGMPDEBD { + Rotation pos = 9; + Rotation rot = 5; +} diff --git a/proto/PGKPOJFAPPO.proto b/proto/PGKPOJFAPPO.proto new file mode 100644 index 00000000..3fc9d3fd --- /dev/null +++ b/proto/PGKPOJFAPPO.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "KCPPELGEJFE.proto"; +import "DBIBEJBEOEE.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PGKPOJFAPPO { + string createTime = 1; + repeated DBIBEJBEOEE value = 2; + KCPPELGEJFE jkfdibhoggm = 3; +} diff --git a/proto/PIDDMANONBK.proto b/proto/PIDDMANONBK.proto new file mode 100644 index 00000000..927a7aab --- /dev/null +++ b/proto/PIDDMANONBK.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "AbilityScalarValueEntry.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PIDDMANONBK { + repeated AbilityScalarValueEntry overrideMap = 2; +} diff --git a/proto/PIDFKDHMHKA.proto b/proto/PIDFKDHMHKA.proto new file mode 100644 index 00000000..b82154b7 --- /dev/null +++ b/proto/PIDFKDHMHKA.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PIDFKDHMHKA { + uint32 lfphpeioogl = 1; +} diff --git a/proto/PJBEIEJCEIG.proto b/proto/PJBEIEJCEIG.proto new file mode 100644 index 00000000..ab0c3f44 --- /dev/null +++ b/proto/PJBEIEJCEIG.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "GMJDGJIDDCI.proto"; +import "GJPHKJFFMOM.proto"; +import "NEPIEOLFECI.proto"; +import "PLDKICHAHEB.proto"; +import "KHIBIMBJOBK.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PJBEIEJCEIG { + string createTime = 1; + repeated NEPIEOLFECI klihkgbocdg = 2; + repeated PLDKICHAHEB jkfdibhoggm = 3; + string version = 4; + GMJDGJIDDCI ojmkoemmlpa = 5; + repeated KHIBIMBJOBK ddahbnggdhk = 6; + GJPHKJFFMOM idbdfgaalao = 7; +} diff --git a/proto/PKGIAOBKFDC.proto b/proto/PKGIAOBKFDC.proto new file mode 100644 index 00000000..1f1b3ede --- /dev/null +++ b/proto/PKGIAOBKFDC.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +enum PKGIAOBKFDC { + PPGJHILBMOO = 0; + OCLBHCJHJKM = 1; + MBJCKIMBKLO = 2; + KACANNNNAIP = 3; + JNHCKJLFBOH = 4; + KOFLABAGLBC = 5; + KBMIJHJJPBP = 6; + NOODOCIAMMP = 7; + ALKAMFOJIND = 8; + IMHABLPEFGJ = 9; + BJOCLHFPKGA = 10; + AAJAMLABMKA = 11; + MMNMGEKLBAH = 12; + EPLBJGOKHFG = 13; + EACPLJEMGBP = 14; + JEGMFLFLJHO = 15; +} diff --git a/proto/PKIIPCCAGAH.proto b/proto/PKIIPCCAGAH.proto new file mode 100644 index 00000000..1c89df98 --- /dev/null +++ b/proto/PKIIPCCAGAH.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PKIIPCCAGAH { + string fkncgjlkmef = 1; + uint32 gdeakhcppgc = 2; + uint32 lnlcfafpemp = 3; + string dkdbnljbgml = 4; + string oaaaldcjfak = 5; + string ldkcaaolmie = 6; + uint32 obdacilmepj = 7; + uint32 hnkkkglenlh = 8; + string agidilehddc = 9; +} diff --git a/proto/PLDKICHAHEB.proto b/proto/PLDKICHAHEB.proto new file mode 100644 index 00000000..bb9627d2 --- /dev/null +++ b/proto/PLDKICHAHEB.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "HPAKAIEAKFI.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PLDKICHAHEB { + string createTime = 1; + HPAKAIEAKFI value = 2; +} diff --git a/proto/PLNHNDNPFLG.proto b/proto/PLNHNDNPFLG.proto new file mode 100644 index 00000000..cb1bce43 --- /dev/null +++ b/proto/PLNHNDNPFLG.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PLNHNDNPFLG { + Rotation pos = 8; + Rotation rot = 11; +} diff --git a/proto/PMBHGINMKBK.proto b/proto/PMBHGINMKBK.proto new file mode 100644 index 00000000..6cab87ff --- /dev/null +++ b/proto/PMBHGINMKBK.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PMBHGINMKBK { + float lahjfbdcfko = 1; +} diff --git a/proto/PMBPGKEONAG.proto b/proto/PMBPGKEONAG.proto new file mode 100644 index 00000000..95808302 --- /dev/null +++ b/proto/PMBPGKEONAG.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PMBPGKEONAG { + Rotation aapdkabicbn = 10; + float damage = 4; +} diff --git a/proto/POEDEDPKGPH.proto b/proto/POEDEDPKGPH.proto new file mode 100644 index 00000000..3876b299 --- /dev/null +++ b/proto/POEDEDPKGPH.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "MGKFOCKHAHI.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message POEDEDPKGPH { + repeated MGKFOCKHAHI blnaldeiekj = 1; + string createTime = 2; +} diff --git a/proto/POHLFOGNPII.proto b/proto/POHLFOGNPII.proto new file mode 100644 index 00000000..fb3f653b --- /dev/null +++ b/proto/POHLFOGNPII.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "NNDIACOGJBL.proto"; +import "MPMJBKDBLNE.proto"; +import "IDOELHBANCP.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message POHLFOGNPII { + NNDIACOGJBL ilkmhdhocho = 1; + bool nihndjkngei = 2; + MPMJBKDBLNE fmbboaeleok = 6; + bool jfbkdomplkl = 5; + bool aicefchaici = 3; + bool ibllmkacilh = 10; + repeated IDOELHBANCP kcllbppiboo = 999; +} diff --git a/proto/PPLPKPFHKEN.proto b/proto/PPLPKPFHKEN.proto new file mode 100644 index 00000000..508603a5 --- /dev/null +++ b/proto/PPLPKPFHKEN.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PPLPKPFHKEN { + uint32 himcohkddah = 4; +} diff --git a/proto/PSNBlackListNotify.proto b/proto/PSNBlackListNotify.proto new file mode 100644 index 00000000..b0bec973 --- /dev/null +++ b/proto/PSNBlackListNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "FriendBrief.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PSNBlackListNotify { + enum AAFPAFGGMIE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4001; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated FriendBrief psnBlacklist = 10; +} diff --git a/proto/PSNFriendListNotify.proto b/proto/PSNFriendListNotify.proto new file mode 100644 index 00000000..b1f39eb3 --- /dev/null +++ b/proto/PSNFriendListNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "FriendBrief.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PSNFriendListNotify { + enum HOJKKMBIFMB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4067; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated FriendBrief psnFriendList = 11; +} diff --git a/proto/PSPlayerApplyEnterMpReq.proto b/proto/PSPlayerApplyEnterMpReq.proto index a8444297..d2fca3f0 100644 --- a/proto/PSPlayerApplyEnterMpReq.proto +++ b/proto/PSPlayerApplyEnterMpReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PSPlayerApplyEnterMpReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1808; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum GPNBHIBAOFM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1837; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - string target_psn_id = 9; + string targetPsnId = 6; } diff --git a/proto/PSPlayerApplyEnterMpRsp.proto b/proto/PSPlayerApplyEnterMpRsp.proto index 28db4b60..d5536fe7 100644 --- a/proto/PSPlayerApplyEnterMpRsp.proto +++ b/proto/PSPlayerApplyEnterMpRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PSPlayerApplyEnterMpRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1845; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum OPABIFINKIE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1814; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - string target_psn_id = 3; - int32 retcode = 5; - uint32 param = 10; + uint32 param = 14; + int32 retcode = 2; + string targetPsnId = 3; } diff --git a/proto/PacketHead.proto b/proto/PacketHead.proto index ae302a3e..c556ac88 100644 --- a/proto/PacketHead.proto +++ b/proto/PacketHead.proto @@ -17,6 +17,7 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message PacketHead { diff --git a/proto/ParamList.proto b/proto/ParamList.proto index 90482d98..73571250 100644 --- a/proto/ParamList.proto +++ b/proto/ParamList.proto @@ -1,24 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ParamList { - repeated uint32 param_list = 1; + repeated uint32 paramList = 1; } diff --git a/proto/ParentQuest.proto b/proto/ParentQuest.proto index 45070b18..444e7715 100644 --- a/proto/ParentQuest.proto +++ b/proto/ParentQuest.proto @@ -1,38 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + +import "ParentQuestRandomInfo.proto"; import "ChildQuest.proto"; import "InferencePageInfo.proto"; -import "ParentQuestRandomInfo.proto"; - option java_package = "emu.grasscutter.net.proto"; message ParentQuest { - repeated InferencePageInfo inference_page_list = 5; - repeated int32 quest_var = 7; - uint64 video_key = 11; - uint32 parent_quest_state = 15; - ParentQuestRandomInfo random_info = 9; - uint32 parent_quest_id = 3; - bool is_random = 12; - repeated ChildQuest child_quest_list = 8; - bool is_finished = 1; - map time_var_map = 2; - uint32 quest_var_seq = 14; + ParentQuestRandomInfo randomInfo = 7; + repeated int32 questVar = 8; + repeated ChildQuest childQuestList = 10; + bool isFinished = 9; + bool isRandom = 11; + uint32 parentQuestId = 1; + map timeVarMap = 12; + uint32 parentQuestState = 15; + uint64 videoKey = 2; + repeated InferencePageInfo inferencePageList = 5; + uint32 questVarSeq = 4; } diff --git a/proto/ParentQuestInferenceDataNotify.proto b/proto/ParentQuestInferenceDataNotify.proto index c1e8cc67..1a08fba0 100644 --- a/proto/ParentQuestInferenceDataNotify.proto +++ b/proto/ParentQuestInferenceDataNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "InferencePageInfo.proto"; + +import "InferencePageInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message ParentQuestInferenceDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 493; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum BJCFOHDNKDI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 463; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 parent_quest_id = 8; - repeated InferencePageInfo inference_page_list = 14; + uint32 parentQuestId = 8; + repeated InferencePageInfo inferencePageList = 11; } diff --git a/proto/ParentQuestRandomInfo.proto b/proto/ParentQuestRandomInfo.proto index b779fc9d..eb24fea9 100644 --- a/proto/ParentQuestRandomInfo.proto +++ b/proto/ParentQuestRandomInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ParentQuestRandomInfo { - repeated uint32 factor_list = 1; - uint32 entrance_id = 8; - uint32 template_id = 15; + uint32 entranceId = 1; + repeated uint32 factorList = 3; + uint32 templateId = 6; } diff --git a/proto/ParkourLevelInfo.proto b/proto/ParkourLevelInfo.proto index 73af6c1e..ec79ac55 100644 --- a/proto/ParkourLevelInfo.proto +++ b/proto/ParkourLevelInfo.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message ParkourLevelInfo { - Vector pos = 2; - bool is_open = 7; - uint32 best_record = 14; - uint32 open_time = 4; + uint32 openTime = 10; + Rotation pos = 5; + uint32 bestRecord = 1; + bool isOpen = 12; } diff --git a/proto/Pass.proto b/proto/Pass.proto new file mode 100644 index 00000000..22faff96 --- /dev/null +++ b/proto/Pass.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message Pass { + uint32 controllerId = 12; +} diff --git a/proto/PathStatusType.proto b/proto/PathStatusType.proto new file mode 100644 index 00000000..f219d57e --- /dev/null +++ b/proto/PathStatusType.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum PathStatusType { + PATH_STATUS_TYPE_FAIL = 0; + PATH_STATUS_TYPE_SUCC = 1; + PATH_STATUS_TYPE_PARTIAL = 2; +} diff --git a/proto/PathfindingEnterSceneReq.proto b/proto/PathfindingEnterSceneReq.proto index c513aac6..acc4be99 100644 --- a/proto/PathfindingEnterSceneReq.proto +++ b/proto/PathfindingEnterSceneReq.proto @@ -1,41 +1,25 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ObstacleInfo.proto"; + +import "ObstacleInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message PathfindingEnterSceneReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2400; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum PJNGAKBNNJL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2320; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 scene_id = 10; - uint32 Unk3300_MGGFOILELKH = 12; - uint32 Unk3300_JHLKDOHPIFB = 2; - repeated uint32 activity_id = 13; - uint32 version = 11; - bool is_editor = 8; - repeated ObstacleInfo obstacles = 5; + repeated uint32 activityId = 8; + uint32 Unk3300_JHLKDOHPIFB = 1; + uint32 sceneId = 11; + bool isEditor = 13; + uint32 version = 6; + uint32 Unk3300_MGGFOILELKH = 3; + repeated ObstacleInfo obstacles = 10; } diff --git a/proto/PathfindingEnterSceneRsp.proto b/proto/PathfindingEnterSceneRsp.proto index 26ab6b49..5b73bab8 100644 --- a/proto/PathfindingEnterSceneRsp.proto +++ b/proto/PathfindingEnterSceneRsp.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PathfindingEnterSceneRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2343; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum JJBPDHFOBKB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2374; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 7; + int32 retcode = 9; } diff --git a/proto/PathfindingPingNotify.proto b/proto/PathfindingPingNotify.proto new file mode 100644 index 00000000..0e440d4b --- /dev/null +++ b/proto/PathfindingPingNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PathfindingPingNotify { + enum KONJHJGINOP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2398; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/PbNavMeshStatsInfo.proto b/proto/PbNavMeshStatsInfo.proto new file mode 100644 index 00000000..a01cf221 --- /dev/null +++ b/proto/PbNavMeshStatsInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PbNavMeshStatsInfo { + int32 Unk3300_DHJKKJLKDHB = 1; + int32 Unk3300_EEONKADBJME = 11; + int32 Unk3300_IMLHLJAOBLF = 12; + int32 Unk3300_MOKPJBIPHNI = 2; +} diff --git a/proto/PerformOperationNotify.proto b/proto/PerformOperationNotify.proto new file mode 100644 index 00000000..a33a56e7 --- /dev/null +++ b/proto/PerformOperationNotify.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +import "OperateType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PerformOperationNotify { + enum GOAGPODAGOL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1139; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + Rotation rot = 1; + OperateType operateType = 5; + Rotation pos = 14; + uint32 index = 10; + uint32 entityId = 3; +} diff --git a/proto/PersistentDungeonSwitchAvatarReq.proto b/proto/PersistentDungeonSwitchAvatarReq.proto new file mode 100644 index 00000000..71a5b7b6 --- /dev/null +++ b/proto/PersistentDungeonSwitchAvatarReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PersistentDungeonSwitchAvatarReq { + enum GPLOFOJGMOA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1709; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint64 curAvatarGuid = 14; + repeated uint64 avatarTeamGuidList = 2; +} diff --git a/proto/PersistentDungeonSwitchAvatarRsp.proto b/proto/PersistentDungeonSwitchAvatarRsp.proto new file mode 100644 index 00000000..de4d4479 --- /dev/null +++ b/proto/PersistentDungeonSwitchAvatarRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PersistentDungeonSwitchAvatarRsp { + enum CMFLHIKOCJG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1774; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint64 curAvatarGuid = 9; + repeated uint64 avatarTeamGuidList = 13; + int32 retcode = 4; +} diff --git a/proto/PersonalLineAllDataReq.proto b/proto/PersonalLineAllDataReq.proto index 7258f91a..3a27888d 100644 --- a/proto/PersonalLineAllDataReq.proto +++ b/proto/PersonalLineAllDataReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PersonalLineAllDataReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 434; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum JDBMDCCOBCE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 430; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/PersonalLineAllDataRsp.proto b/proto/PersonalLineAllDataRsp.proto index 8b0147df..69c67bcd 100644 --- a/proto/PersonalLineAllDataRsp.proto +++ b/proto/PersonalLineAllDataRsp.proto @@ -1,39 +1,23 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "LockedPersonallineData.proto"; + +import "LockedPersonallineData.proto"; option java_package = "emu.grasscutter.net.proto"; message PersonalLineAllDataRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 495; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum EBBBEOODNOH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 443; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 cur_finished_daily_task_count = 12; - repeated LockedPersonallineData locked_personal_line_list = 10; - int32 retcode = 2; - repeated uint32 can_be_unlocked_personal_line_list = 1; - repeated uint32 ongoing_personal_line_list = 6; - uint32 legendary_key_count = 5; + repeated uint32 ongoingPersonalLineList = 5; + uint32 legendaryKeyCount = 7; + uint32 curFinishedDailyTaskCount = 2; + repeated uint32 canBeUnlockedPersonalLineList = 4; + int32 retcode = 11; + repeated LockedPersonallineData lockedPersonalLineList = 10; } diff --git a/proto/PersonalLineNewUnlockNotify.proto b/proto/PersonalLineNewUnlockNotify.proto new file mode 100644 index 00000000..47830235 --- /dev/null +++ b/proto/PersonalLineNewUnlockNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PersonalLineNewUnlockNotify { + enum EMJEKGLFMEG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 494; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 personalLineIdList = 11; +} diff --git a/proto/PersonalSceneJumpReq.proto b/proto/PersonalSceneJumpReq.proto index aa587a24..bf129671 100644 --- a/proto/PersonalSceneJumpReq.proto +++ b/proto/PersonalSceneJumpReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PersonalSceneJumpReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 252; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum HPGMLJDPNEE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 260; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 point_id = 14; + uint32 pointId = 13; } diff --git a/proto/PersonalSceneJumpRsp.proto b/proto/PersonalSceneJumpRsp.proto index f00477c9..6ce55c7e 100644 --- a/proto/PersonalSceneJumpRsp.proto +++ b/proto/PersonalSceneJumpRsp.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message PersonalSceneJumpRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 274; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum EGFJPPIMGPO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 204; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 dest_scene_id = 3; - Vector dest_pos = 8; - int32 retcode = 7; + uint32 destSceneId = 3; + Rotation destPos = 2; + int32 retcode = 12; } diff --git a/proto/PhaseChange.proto b/proto/PhaseChange.proto new file mode 100644 index 00000000..af8ec0ec --- /dev/null +++ b/proto/PhaseChange.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "GCGPhaseType.proto"; +import "Uint32Pair.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PhaseChange { + repeated Uint32Pair allowControllerMap = 7; + GCGPhaseType afterPhase = 13; + GCGPhaseType beforePhase = 8; +} diff --git a/proto/PhaseContinue.proto b/proto/PhaseContinue.proto new file mode 100644 index 00000000..58571b9c --- /dev/null +++ b/proto/PhaseContinue.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PhaseContinue { +} diff --git a/proto/PhotoActivityClientViewReq.proto b/proto/PhotoActivityClientViewReq.proto new file mode 100644 index 00000000..7bf1e720 --- /dev/null +++ b/proto/PhotoActivityClientViewReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PhotoActivityClientViewReq { + enum MAANDINGBJA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8687; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 posId = 14; +} diff --git a/proto/PhotoActivityClientViewRsp.proto b/proto/PhotoActivityClientViewRsp.proto new file mode 100644 index 00000000..2b755d51 --- /dev/null +++ b/proto/PhotoActivityClientViewRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PhotoActivityClientViewRsp { + enum PHHAENANKJK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8441; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 posId = 7; + int32 retcode = 12; +} diff --git a/proto/PhotoActivityDetailInfo.proto b/proto/PhotoActivityDetailInfo.proto index b5d5a6b6..067694dc 100644 --- a/proto/PhotoActivityDetailInfo.proto +++ b/proto/PhotoActivityDetailInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "PhotoPosData.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message PhotoActivityDetailInfo { diff --git a/proto/PhotoActivityFinishReq.proto b/proto/PhotoActivityFinishReq.proto new file mode 100644 index 00000000..5c9ddf10 --- /dev/null +++ b/proto/PhotoActivityFinishReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PhotoActivityFinishReq { + enum ONJKEMDAMHK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8021; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isSucc = 11; + uint32 checkRootId = 3; + uint32 posId = 5; +} diff --git a/proto/PhotoActivityFinishRsp.proto b/proto/PhotoActivityFinishRsp.proto new file mode 100644 index 00000000..ea525b1c --- /dev/null +++ b/proto/PhotoActivityFinishRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PhotoActivityFinishRsp { + enum COKOCOLPKHF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8044; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 posId = 10; + int32 retcode = 15; +} diff --git a/proto/PhotoInfo.proto b/proto/PhotoInfo.proto new file mode 100644 index 00000000..b930f464 --- /dev/null +++ b/proto/PhotoInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "PhotoPosData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PhotoInfo { + repeated PhotoPosData photoPosDataList = 13; + bool leftMonsters = 9; +} diff --git a/proto/PhotoPosData.proto b/proto/PhotoPosData.proto index 11523134..b92ce7e7 100644 --- a/proto/PhotoPosData.proto +++ b/proto/PhotoPosData.proto @@ -1,30 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message PhotoPosData { - uint32 open_time = 10; - uint32 pos_id = 9; - Vector center = 7; - bool is_view = 13; - bool is_open = 3; + bool isOpen = 2; + bool isView = 9; + uint32 posId = 10; + uint32 openTime = 1; + Rotation center = 3; } diff --git a/proto/PingReq.proto b/proto/PingReq.proto index 8fc9baf4..a009befa 100644 --- a/proto/PingReq.proto +++ b/proto/PingReq.proto @@ -1,37 +1,23 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + +import "bytes.proto"; option java_package = "emu.grasscutter.net.proto"; message PingReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 100; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum HCOPEMHOJKP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 client_time = 6; - double total_tick_time = 9; - float ue_time = 2; - uint32 seq = 12; - bytes sc_data = 3; + uint32 seq = 11; + bytes scData = 13; + double totalTickTime = 4; + float ueTime = 15; + uint32 clientTime = 8; } diff --git a/proto/PingRsp.proto b/proto/PingRsp.proto index 1a82acee..f1d8571e 100644 --- a/proto/PingRsp.proto +++ b/proto/PingRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PingRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 43; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum LOPAMPBPBIL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 74; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 7; - uint32 client_time = 10; - uint32 seq = 15; + uint32 seq = 4; + int32 retcode = 11; + uint32 clientTime = 1; } diff --git a/proto/PlaceInfo.proto b/proto/PlaceInfo.proto new file mode 100644 index 00000000..4274a757 --- /dev/null +++ b/proto/PlaceInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlaceInfo { + Rotation pos = 1; + Rotation rot = 2; +} diff --git a/proto/PlantFlowerAcceptAllGiveFlowerReq.proto b/proto/PlantFlowerAcceptAllGiveFlowerReq.proto new file mode 100644 index 00000000..44b406c7 --- /dev/null +++ b/proto/PlantFlowerAcceptAllGiveFlowerReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerAcceptAllGiveFlowerReq { + enum HHKPICONCOB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8195; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 scheduleId = 10; +} diff --git a/proto/PlantFlowerAcceptAllGiveFlowerRsp.proto b/proto/PlantFlowerAcceptAllGiveFlowerRsp.proto new file mode 100644 index 00000000..0a073bf1 --- /dev/null +++ b/proto/PlantFlowerAcceptAllGiveFlowerRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "PlantFlowerAcceptFlowerResultInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerAcceptAllGiveFlowerRsp { + enum EMOAEFOMFPA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8764; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 scheduleId = 14; + int32 retcode = 1; + repeated PlantFlowerAcceptFlowerResultInfo acceptFlowerResultInfoList = 7; +} diff --git a/proto/PlantFlowerAcceptFlowerResultInfo.proto b/proto/PlantFlowerAcceptFlowerResultInfo.proto new file mode 100644 index 00000000..635ca7b9 --- /dev/null +++ b/proto/PlantFlowerAcceptFlowerResultInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerAcceptFlowerResultInfo { + map Unk3300_PALEJEDIAJP = 9; + uint32 uid = 10; + map Unk3300_ILAADDCOPKE = 4; +} diff --git a/proto/PlantFlowerAcceptGiveFlowerReq.proto b/proto/PlantFlowerAcceptGiveFlowerReq.proto new file mode 100644 index 00000000..4194f75a --- /dev/null +++ b/proto/PlantFlowerAcceptGiveFlowerReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerAcceptGiveFlowerReq { + enum DPOAFADKFNH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8532; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 uid = 8; + uint32 scheduleId = 4; +} diff --git a/proto/PlantFlowerAcceptGiveFlowerRsp.proto b/proto/PlantFlowerAcceptGiveFlowerRsp.proto new file mode 100644 index 00000000..c484cdc9 --- /dev/null +++ b/proto/PlantFlowerAcceptGiveFlowerRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "PlantFlowerAcceptFlowerResultInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerAcceptGiveFlowerRsp { + enum OGIBDMNLBEK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8039; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 scheduleId = 4; + int32 retcode = 12; + PlantFlowerAcceptFlowerResultInfo acceptFlowerResultInfo = 14; +} diff --git a/proto/PlantFlowerActivityDetailInfo.proto b/proto/PlantFlowerActivityDetailInfo.proto index 0cb6f6dd..1f3ab1c2 100644 --- a/proto/PlantFlowerActivityDetailInfo.proto +++ b/proto/PlantFlowerActivityDetailInfo.proto @@ -1,29 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PlantFlowerActivityDetailInfo { - uint32 day_index = 1; - uint32 today_seed_reward_id = 15; - bool is_content_closed = 3; - map Unk3300_EPMKDFOBLFK = 9; - map Unk3300_ELAIBMDIBFJ = 5; - bool is_today_has_awarded = 8; + map Unk3300_ELAIBMDIBFJ = 14; + uint32 dayIndex = 8; + bool isTodayHasAwarded = 2; + bool leftMonsters = 1; + map Unk3300_EPMKDFOBLFK = 11; + uint32 todaySeedRewardId = 4; } diff --git a/proto/PlantFlowerEditFlowerCombinationReq.proto b/proto/PlantFlowerEditFlowerCombinationReq.proto new file mode 100644 index 00000000..2441e838 --- /dev/null +++ b/proto/PlantFlowerEditFlowerCombinationReq.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "CustomGadgetTreeInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerEditFlowerCombinationReq { + enum GCCOPPJKNDH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8837; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 scheduleId = 2; + CustomGadgetTreeInfo flowerCombinationInfo = 3; + uint32 entityId = 7; +} diff --git a/proto/PlantFlowerEditFlowerCombinationRsp.proto b/proto/PlantFlowerEditFlowerCombinationRsp.proto new file mode 100644 index 00000000..c337d99c --- /dev/null +++ b/proto/PlantFlowerEditFlowerCombinationRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerEditFlowerCombinationRsp { + enum GDJMEMKPBCA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8476; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 7; + uint32 scheduleId = 10; +} diff --git a/proto/PlantFlowerFriendFlowerWishData.proto b/proto/PlantFlowerFriendFlowerWishData.proto new file mode 100644 index 00000000..bcfc4d7e --- /dev/null +++ b/proto/PlantFlowerFriendFlowerWishData.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "ProfilePicture.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerFriendFlowerWishData { + ProfilePicture profilePicture = 15; + string nickname = 3; + uint32 uid = 6; + map flowerNumMap = 7; +} diff --git a/proto/PlantFlowerGetCanGiveFriendFlowerReq.proto b/proto/PlantFlowerGetCanGiveFriendFlowerReq.proto new file mode 100644 index 00000000..e8bb2b82 --- /dev/null +++ b/proto/PlantFlowerGetCanGiveFriendFlowerReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerGetCanGiveFriendFlowerReq { + enum BKPKIPFOKBA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8982; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 scheduleId = 15; +} diff --git a/proto/PlantFlowerGetCanGiveFriendFlowerRsp.proto b/proto/PlantFlowerGetCanGiveFriendFlowerRsp.proto new file mode 100644 index 00000000..c6a81feb --- /dev/null +++ b/proto/PlantFlowerGetCanGiveFriendFlowerRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerGetCanGiveFriendFlowerRsp { + enum OFNFHIGHGJD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8699; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 scheduleId = 13; + map flowerNumMap = 10; + int32 retcode = 1; +} diff --git a/proto/PlantFlowerGetFriendFlowerWishListReq.proto b/proto/PlantFlowerGetFriendFlowerWishListReq.proto new file mode 100644 index 00000000..76efb82a --- /dev/null +++ b/proto/PlantFlowerGetFriendFlowerWishListReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerGetFriendFlowerWishListReq { + enum PNHMNJCKFHN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8639; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 scheduleId = 2; +} diff --git a/proto/PlantFlowerGetFriendFlowerWishListRsp.proto b/proto/PlantFlowerGetFriendFlowerWishListRsp.proto new file mode 100644 index 00000000..64225570 --- /dev/null +++ b/proto/PlantFlowerGetFriendFlowerWishListRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "PlantFlowerFriendFlowerWishData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerGetFriendFlowerWishListRsp { + enum ONNNGBLEEFB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8025; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 15; + uint32 scheduleId = 7; + repeated PlantFlowerFriendFlowerWishData friendFlowerWishList = 1; +} diff --git a/proto/PlantFlowerGetRecvFlowerListReq.proto b/proto/PlantFlowerGetRecvFlowerListReq.proto new file mode 100644 index 00000000..a04d8132 --- /dev/null +++ b/proto/PlantFlowerGetRecvFlowerListReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerGetRecvFlowerListReq { + enum OJGODDJDDLB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8518; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 scheduleId = 8; +} diff --git a/proto/PlantFlowerGetRecvFlowerListRsp.proto b/proto/PlantFlowerGetRecvFlowerListRsp.proto new file mode 100644 index 00000000..1594d74c --- /dev/null +++ b/proto/PlantFlowerGetRecvFlowerListRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "PlantFlowerRecvFlowerData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerGetRecvFlowerListRsp { + enum JLLOMBNHGGC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8952; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated PlantFlowerRecvFlowerData recvFlowerList = 12; + int32 retcode = 10; + uint32 scheduleId = 11; +} diff --git a/proto/PlantFlowerGetSeedInfoReq.proto b/proto/PlantFlowerGetSeedInfoReq.proto new file mode 100644 index 00000000..62499381 --- /dev/null +++ b/proto/PlantFlowerGetSeedInfoReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerGetSeedInfoReq { + enum MPINFCKOOLF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8882; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 scheduleId = 13; +} diff --git a/proto/PlantFlowerGetSeedInfoRsp.proto b/proto/PlantFlowerGetSeedInfoRsp.proto new file mode 100644 index 00000000..9390292d --- /dev/null +++ b/proto/PlantFlowerGetSeedInfoRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerGetSeedInfoRsp { + enum FHCGEENMEGN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8249; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 seedRewardId = 3; + uint32 scheduleId = 8; + int32 retcode = 11; +} diff --git a/proto/PlantFlowerGiveFriendFlowerReq.proto b/proto/PlantFlowerGiveFriendFlowerReq.proto new file mode 100644 index 00000000..195cd4b2 --- /dev/null +++ b/proto/PlantFlowerGiveFriendFlowerReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerGiveFriendFlowerReq { + enum CIHJPANCNLH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8176; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 uid = 1; + map flowerNumMap = 14; + uint32 scheduleId = 5; +} diff --git a/proto/PlantFlowerGiveFriendFlowerRsp.proto b/proto/PlantFlowerGiveFriendFlowerRsp.proto new file mode 100644 index 00000000..3865fa09 --- /dev/null +++ b/proto/PlantFlowerGiveFriendFlowerRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerGiveFriendFlowerRsp { + enum MEPKGMEGDAI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8151; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 scheduleId = 9; + int32 retcode = 1; + repeated uint32 limitFlowerList = 13; +} diff --git a/proto/PlantFlowerHaveRecvFlowerNotify.proto b/proto/PlantFlowerHaveRecvFlowerNotify.proto new file mode 100644 index 00000000..ec6ee09c --- /dev/null +++ b/proto/PlantFlowerHaveRecvFlowerNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerHaveRecvFlowerNotify { + enum EMCAGFEAIGF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8405; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 scheduleId = 12; +} diff --git a/proto/PlantFlowerInfo.proto b/proto/PlantFlowerInfo.proto new file mode 100644 index 00000000..0ae86844 --- /dev/null +++ b/proto/PlantFlowerInfo.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerInfo { + map Unk3300_ELAIBMDIBFJ = 14; + uint32 dayIndex = 8; + bool isTodayHasAwarded = 2; + bool leftMonsters = 1; + map Unk3300_EPMKDFOBLFK = 11; + uint32 todaySeedRewardId = 4; +} diff --git a/proto/PlantFlowerRecvFlowerData.proto b/proto/PlantFlowerRecvFlowerData.proto new file mode 100644 index 00000000..ea984857 --- /dev/null +++ b/proto/PlantFlowerRecvFlowerData.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "ProfilePicture.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerRecvFlowerData { + string nickname = 12; + uint32 uid = 8; + ProfilePicture profilePicture = 3; + map flowerNumMap = 9; +} diff --git a/proto/PlantFlowerSetFlowerWishReq.proto b/proto/PlantFlowerSetFlowerWishReq.proto new file mode 100644 index 00000000..90f1d37d --- /dev/null +++ b/proto/PlantFlowerSetFlowerWishReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerSetFlowerWishReq { + enum GDDPAFLKDFJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8573; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + map flowerNumMap = 10; + uint32 scheduleId = 4; +} diff --git a/proto/PlantFlowerSetFlowerWishRsp.proto b/proto/PlantFlowerSetFlowerWishRsp.proto new file mode 100644 index 00000000..c9e415d0 --- /dev/null +++ b/proto/PlantFlowerSetFlowerWishRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerSetFlowerWishRsp { + enum LOPBLEECJKP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8902; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 scheduleId = 4; + int32 retcode = 15; +} diff --git a/proto/PlantFlowerTakeSeedRewardReq.proto b/proto/PlantFlowerTakeSeedRewardReq.proto new file mode 100644 index 00000000..c587c403 --- /dev/null +++ b/proto/PlantFlowerTakeSeedRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerTakeSeedRewardReq { + enum BJPFJHEFOAI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8963; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 scheduleId = 7; +} diff --git a/proto/PlantFlowerTakeSeedRewardRsp.proto b/proto/PlantFlowerTakeSeedRewardRsp.proto new file mode 100644 index 00000000..f6196c07 --- /dev/null +++ b/proto/PlantFlowerTakeSeedRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlantFlowerTakeSeedRewardRsp { + enum OFNKPCOGCCN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8727; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 1; + uint32 scheduleId = 14; +} diff --git a/proto/PlatformChangeRouteNotify.proto b/proto/PlatformChangeRouteNotify.proto index dde3f585..0846f3fe 100644 --- a/proto/PlatformChangeRouteNotify.proto +++ b/proto/PlatformChangeRouteNotify.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "PlatformInfo.proto"; + +import "PlatformInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message PlatformChangeRouteNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 288; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum FJMJAIJFBPI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 211; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 scene_time = 13; - PlatformInfo platform = 14; - uint32 entity_id = 8; + uint32 sceneTime = 9; + PlatformInfo platform = 6; + uint32 entityId = 1; } diff --git a/proto/PlatformInfo.proto b/proto/PlatformInfo.proto index 34a06e7d..445239bc 100644 --- a/proto/PlatformInfo.proto +++ b/proto/PlatformInfo.proto @@ -1,42 +1,26 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "MathQuaternion.proto"; + + +import "Rotation.proto"; +import "RotationSpeed.proto"; import "MovingPlatformType.proto"; import "Route.proto"; -import "Vector.proto"; - option java_package = "emu.grasscutter.net.proto"; message PlatformInfo { - uint32 route_id = 1; - int32 start_index = 2; - uint32 start_route_time = 3; - uint32 start_scene_time = 4; - Vector start_pos = 7; - bool is_started = 8; - MathQuaternion start_rot = 9; - uint32 stop_scene_time = 10; - Vector pos_offset = 11; - MathQuaternion rot_offset = 12; - MovingPlatformType moving_platform_type = 13; - bool is_active = 14; - Route route = 15; - uint32 point_id = 16; + uint32 routeId = 1; + int32 startIndex = 2; + uint32 startRouteTime = 3; + uint32 startSceneTime = 4; + Rotation startPos = 7; + bool isStarted = 8; + RotationSpeed startRot = 9; + uint32 stopSceneTime = 10; + Rotation posOffset = 11; + RotationSpeed rotOffset = 12; + MovingPlatformType movingPlatformType = 13; + bool isActive = 14; + Route route = 15; + uint32 pointId = 16; } diff --git a/proto/PlatformStartRouteNotify.proto b/proto/PlatformStartRouteNotify.proto index 92d4963a..f738ae18 100644 --- a/proto/PlatformStartRouteNotify.proto +++ b/proto/PlatformStartRouteNotify.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "PlatformInfo.proto"; + +import "PlatformInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message PlatformStartRouteNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 208; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum BJHMKILFBJB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 237; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 entity_id = 12; - uint32 scene_time = 7; - PlatformInfo platform = 2; + uint32 entityId = 2; + uint32 sceneTime = 6; + PlatformInfo platform = 7; } diff --git a/proto/PlatformStopRouteNotify.proto b/proto/PlatformStopRouteNotify.proto index 443f5d28..9f6de0b1 100644 --- a/proto/PlatformStopRouteNotify.proto +++ b/proto/PlatformStopRouteNotify.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "PlatformInfo.proto"; + +import "PlatformInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message PlatformStopRouteNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 209; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum NBIFFKAJKPP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 284; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - PlatformInfo platform = 7; - uint32 scene_time = 10; - uint32 entity_id = 6; + uint32 entityId = 12; + PlatformInfo platform = 6; + uint32 sceneTime = 3; } diff --git a/proto/PlatformType.proto b/proto/PlatformType.proto index 1bf40a14..fb8aeb1d 100644 --- a/proto/PlatformType.proto +++ b/proto/PlatformType.proto @@ -1,38 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum PlatformType { - PLATFORM_TYPE_EDITOR = 0; - PLATFORM_TYPE_IOS = 1; - PLATFORM_TYPE_ANDROID = 2; - PLATFORM_TYPE_PC = 3; - PLATFORM_TYPE_PS4 = 4; - PLATFORM_TYPE_SERVER = 5; - PLATFORM_TYPE_CLOUD_ANDROID = 6; - PLATFORM_TYPE_CLOUD_IOS = 7; - PLATFORM_TYPE_PS5 = 8; - PLATFORM_TYPE_CLOUD_WEB = 9; - PLATFORM_TYPE_CLOUD_TV = 10; - PLATFORM_TYPE_CLOUD_MAC = 11; - PLATFORM_TYPE_CLOUD_PC = 12; - PLATFORM_TYPE_CLOUD_THIRD_PARTY_MOBILE = 13; - PLATFORM_TYPE_CLOUD_THIRD_PARTY_PC = 14; + PLATFORM_TYPE_EDITOR = 0; + PLATFORM_TYPE_IOS = 1; + PLATFORM_TYPE_ANDROID = 2; + PLATFORM_TYPE_PC = 3; + PLATFORM_TYPE_PS4 = 4; + PLATFORM_TYPE_SERVER = 5; + PLATFORM_TYPE_CLOUD_ANDROID = 6; + PLATFORM_TYPE_CLOUD_IOS = 7; + PLATFORM_TYPE_PS5 = 8; + PLATFORM_TYPE_CLOUD_WEB = 9; + PLATFORM_TYPE_CLOUD_TV = 10; + PLATFORM_TYPE_CLOUD_MAC = 11; + PLATFORM_TYPE_CLOUD_PC = 12; + PLATFORM_TYPE_CLOUD_THIRD_PARTY_MOBILE = 13; + PLATFORM_TYPE_CLOUD_THIRD_PARTY_PC = 14; } diff --git a/proto/PlayProduct.proto b/proto/PlayProduct.proto new file mode 100644 index 00000000..a4681ca7 --- /dev/null +++ b/proto/PlayProduct.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayProduct { + string productId = 1; + string priceTier = 2; + uint32 scheduleId = 3; +} diff --git a/proto/PlaySoundType.proto b/proto/PlaySoundType.proto new file mode 100644 index 00000000..308428c6 --- /dev/null +++ b/proto/PlaySoundType.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum PlaySoundType { + PLAY_SOUND_TYPE_NONE = 0; + PLAY_SOUND_TYPE_START = 1; + PLAY_SOUND_TYPE_STOP = 2; +} diff --git a/proto/PlayTeamEntityInfo.proto b/proto/PlayTeamEntityInfo.proto index 5c2c3f46..97dd4a59 100644 --- a/proto/PlayTeamEntityInfo.proto +++ b/proto/PlayTeamEntityInfo.proto @@ -1,30 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AbilitySyncStateInfo.proto"; + +import "AbilitySyncStateInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message PlayTeamEntityInfo { - uint32 entity_id = 1; - uint32 player_uid = 2; - uint32 authority_peer_id = 3; - uint32 gadget_config_id = 5; - AbilitySyncStateInfo ability_info = 6; + uint32 entityId = 1; + uint32 playerUid = 2; + uint32 authorityPeerId = 3; + uint32 gadgetConfigId = 5; + AbilitySyncStateInfo abilityInfo = 6; } diff --git a/proto/PlayerAllowEnterMpAfterAgreeMatchNotify.proto b/proto/PlayerAllowEnterMpAfterAgreeMatchNotify.proto new file mode 100644 index 00000000..566d2f16 --- /dev/null +++ b/proto/PlayerAllowEnterMpAfterAgreeMatchNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerAllowEnterMpAfterAgreeMatchNotify { + enum JMPMDPDEAMP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4175; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 targetUid = 2; +} diff --git a/proto/PlayerApplyEnterHomeNotify.proto b/proto/PlayerApplyEnterHomeNotify.proto new file mode 100644 index 00000000..5d2b5c8d --- /dev/null +++ b/proto/PlayerApplyEnterHomeNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "OnlinePlayerInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerApplyEnterHomeNotify { + enum DDJPAJOBNFM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4771; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + OnlinePlayerInfo srcPlayerInfo = 7; + uint32 srcAppId = 13; +} diff --git a/proto/PlayerApplyEnterHomeResultNotify.proto b/proto/PlayerApplyEnterHomeResultNotify.proto new file mode 100644 index 00000000..ac1f6390 --- /dev/null +++ b/proto/PlayerApplyEnterHomeResultNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "Reason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerApplyEnterHomeResultNotify { + enum KEHLDHBMMFM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4642; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 targetUid = 2; + Reason reason = 3; + bool isAgreed = 10; + string targetNickname = 9; +} diff --git a/proto/PlayerApplyEnterHomeResultReq.proto b/proto/PlayerApplyEnterHomeResultReq.proto new file mode 100644 index 00000000..6bf0d8bf --- /dev/null +++ b/proto/PlayerApplyEnterHomeResultReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerApplyEnterHomeResultReq { + enum DDGPEDDGECN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4549; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 applyUid = 5; + bool isAgreed = 4; +} diff --git a/proto/PlayerApplyEnterHomeResultRsp.proto b/proto/PlayerApplyEnterHomeResultRsp.proto new file mode 100644 index 00000000..2cdd51ed --- /dev/null +++ b/proto/PlayerApplyEnterHomeResultRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerApplyEnterHomeResultRsp { + enum HLOGMCKBKGL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4869; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 applyUid = 12; + bool isAgreed = 10; + int32 retcode = 15; + uint32 param = 6; +} diff --git a/proto/PlayerApplyEnterMpAfterMatchAgreedNotify.proto b/proto/PlayerApplyEnterMpAfterMatchAgreedNotify.proto new file mode 100644 index 00000000..a6dcbd05 --- /dev/null +++ b/proto/PlayerApplyEnterMpAfterMatchAgreedNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "OnlinePlayerInfo.proto"; +import "MatchType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerApplyEnterMpAfterMatchAgreedNotify { + enum MJIKOBLKFGP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4190; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 matchserverId = 9; + OnlinePlayerInfo srcPlayerInfo = 8; + MatchType matchType = 2; +} diff --git a/proto/PlayerApplyEnterMpNotify.proto b/proto/PlayerApplyEnterMpNotify.proto index 7dab5151..82fc1d37 100644 --- a/proto/PlayerApplyEnterMpNotify.proto +++ b/proto/PlayerApplyEnterMpNotify.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "OnlinePlayerInfo.proto"; + +import "OnlinePlayerInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message PlayerApplyEnterMpNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1842; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum BALMBLBPAGP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1838; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - OnlinePlayerInfo src_player_info = 12; - uint32 src_thread_index = 9; - uint32 src_app_id = 13; + uint32 srcThreadIndex = 14; + OnlinePlayerInfo srcPlayerInfo = 11; + uint32 srcAppId = 12; } diff --git a/proto/PlayerApplyEnterMpReq.proto b/proto/PlayerApplyEnterMpReq.proto index a4f29aa1..60eaaabc 100644 --- a/proto/PlayerApplyEnterMpReq.proto +++ b/proto/PlayerApplyEnterMpReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PlayerApplyEnterMpReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1841; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum PKPLMMDNMCM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1845; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 target_uid = 2; + uint32 targetUid = 3; } diff --git a/proto/PlayerApplyEnterMpResultNotify.proto b/proto/PlayerApplyEnterMpResultNotify.proto index b3f45ee1..5712775d 100644 --- a/proto/PlayerApplyEnterMpResultNotify.proto +++ b/proto/PlayerApplyEnterMpResultNotify.proto @@ -1,52 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + +import "Reason.proto"; option java_package = "emu.grasscutter.net.proto"; message PlayerApplyEnterMpResultNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1835; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum AIAPBAMONIJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1841; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - enum Reason { - REASON_PLAYER_JUDGE = 0; - REASON_SCENE_CANNOT_ENTER = 1; - REASON_PLAYER_CANNOT_ENTER_MP = 2; - REASON_SYSTEM_JUDGE = 3; - REASON_ALLOW_ENTER_PLAYER_FULL = 4; - REASON_WORLD_LEVEL_LOWER_THAN_HOST = 5; - REASON_HOST_IN_MATCH = 6; - REASON_PLAYER_IN_BLACKLIST = 7; - REASON_PS_PLAYER_NOT_ACCEPT_OTHERS = 8; - REASON_HOST_IS_BLOCKED = 9; - REASON_OTHER_DATA_VERSION_NOT_LATEST = 10; - REASON_DATA_VERSION_NOT_LATEST = 11; - REASON_PLAYER_NOT_IN_PLAYER_WORLD = 12; - REASON_MAX_PLAYER = 13; - } - - Reason reason = 10; - string target_nickname = 5; - bool is_agreed = 2; - uint32 target_uid = 4; + bool isAgreed = 7; + string targetNickname = 14; + Reason reason = 10; + uint32 targetUid = 1; } diff --git a/proto/PlayerApplyEnterMpResultReq.proto b/proto/PlayerApplyEnterMpResultReq.proto index 82464f4e..f468f1fc 100644 --- a/proto/PlayerApplyEnterMpResultReq.proto +++ b/proto/PlayerApplyEnterMpResultReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PlayerApplyEnterMpResultReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1827; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum CCMCDMIKHEK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1819; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 apply_uid = 7; - bool is_agreed = 12; + uint32 applyUid = 4; + bool isAgreed = 6; } diff --git a/proto/PlayerApplyEnterMpResultRsp.proto b/proto/PlayerApplyEnterMpResultRsp.proto index fc4f6af6..10117e78 100644 --- a/proto/PlayerApplyEnterMpResultRsp.proto +++ b/proto/PlayerApplyEnterMpResultRsp.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PlayerApplyEnterMpResultRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1831; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum AGCOEANBGID { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1843; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 apply_uid = 8; - uint32 param = 9; - bool is_agreed = 13; - int32 retcode = 15; + uint32 applyUid = 10; + bool isAgreed = 9; + int32 retcode = 2; + uint32 param = 4; } diff --git a/proto/PlayerApplyEnterMpRsp.proto b/proto/PlayerApplyEnterMpRsp.proto index a89eefae..9ede7476 100644 --- a/proto/PlayerApplyEnterMpRsp.proto +++ b/proto/PlayerApplyEnterMpRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PlayerApplyEnterMpRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1822; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum PDHJJJJDBHJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1846; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 target_uid = 5; - int32 retcode = 9; - uint32 param = 14; + uint32 param = 5; + uint32 targetUid = 10; + int32 retcode = 11; } diff --git a/proto/PlayerCancelMatchReq.proto b/proto/PlayerCancelMatchReq.proto new file mode 100644 index 00000000..4d30e26f --- /dev/null +++ b/proto/PlayerCancelMatchReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "MatchType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerCancelMatchReq { + enum IAINFPHKCGC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4191; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + MatchType matchType = 1; +} diff --git a/proto/PlayerCancelMatchRsp.proto b/proto/PlayerCancelMatchRsp.proto new file mode 100644 index 00000000..58b3d642 --- /dev/null +++ b/proto/PlayerCancelMatchRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "MatchType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerCancelMatchRsp { + enum HDACLOEDLBJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4169; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + MatchType matchType = 1; + int32 retcode = 15; +} diff --git a/proto/PlayerChatCDNotify.proto b/proto/PlayerChatCDNotify.proto new file mode 100644 index 00000000..9b06783d --- /dev/null +++ b/proto/PlayerChatCDNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerChatCDNotify { + enum OLBDNBMEFPA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3277; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 overTime = 3; +} diff --git a/proto/PlayerChatNotify.proto b/proto/PlayerChatNotify.proto index 21ce7f68..6cf6ac11 100644 --- a/proto/PlayerChatNotify.proto +++ b/proto/PlayerChatNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ChatInfo.proto"; + +import "ChatInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message PlayerChatNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 3265; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum ODBGFHDCLMP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3092; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - ChatInfo chat_info = 11; - uint32 channel_id = 13; + uint32 channelId = 14; + ChatInfo chatInfo = 6; } diff --git a/proto/PlayerChatReq.proto b/proto/PlayerChatReq.proto index 49426f95..5c1e3346 100644 --- a/proto/PlayerChatReq.proto +++ b/proto/PlayerChatReq.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ChatInfo.proto"; + +import "ChatInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message PlayerChatReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 3305; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum AIEEGJADIAN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3242; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 channel_id = 3; - ChatInfo chat_info = 9; + uint32 channelId = 5; + ChatInfo chatInfo = 12; } diff --git a/proto/PlayerChatRsp.proto b/proto/PlayerChatRsp.proto index 36a35ec1..442bb50e 100644 --- a/proto/PlayerChatRsp.proto +++ b/proto/PlayerChatRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PlayerChatRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 3087; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum LKKMEKKIFAK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3480; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 chat_forbidden_endtime = 8; - int32 retcode = 12; + uint32 chatForbiddenEndtime = 2; + int32 retcode = 14; } diff --git a/proto/PlayerCompoundMaterialBoostReq.proto b/proto/PlayerCompoundMaterialBoostReq.proto index 6fc143ca..a9cd5f84 100644 --- a/proto/PlayerCompoundMaterialBoostReq.proto +++ b/proto/PlayerCompoundMaterialBoostReq.proto @@ -1,36 +1,23 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + +import "CompoundBoostTakeStatusType.proto"; +import "CompoundQueueData.proto"; +import "ItemParam.proto"; option java_package = "emu.grasscutter.net.proto"; message PlayerCompoundMaterialBoostReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 159; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum HAJAHDPJKBC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 119; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - bool is_boost_all = 13; - uint32 Unk3300_PPDDLODBIKG = 8; - uint32 Unk3300_BGHFBCLHCIG = 5; - uint32 Unk3300_FEGPHHFLFLM = 11; + repeated CompoundQueueData compoundQueueDataList = 6; + int32 retcode = 15; + repeated ItemParam ikceidbkdla = 14; + CompoundBoostTakeStatusType obkcgkalonf = 8; } diff --git a/proto/PlayerCompoundMaterialBoostRsp.proto b/proto/PlayerCompoundMaterialBoostRsp.proto index f9da4dd5..a044895e 100644 --- a/proto/PlayerCompoundMaterialBoostRsp.proto +++ b/proto/PlayerCompoundMaterialBoostRsp.proto @@ -1,39 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "CompoundBoostTakeStatusType.proto"; -import "CompoundQueueData.proto"; -import "ItemParam.proto"; + option java_package = "emu.grasscutter.net.proto"; message PlayerCompoundMaterialBoostRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 129; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MIMNLEBNAHI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 121; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated CompoundQueueData compound_queue_data_list = 10; - CompoundBoostTakeStatusType take_status = 4; - repeated ItemParam take_item_list = 3; - int32 retcode = 13; + uint32 uid = 9; + uint32 akkcmakdlck = 1; + uint32 gameTime = 8; } diff --git a/proto/PlayerCompoundMaterialReq.proto b/proto/PlayerCompoundMaterialReq.proto index 0a07786e..520d4825 100644 --- a/proto/PlayerCompoundMaterialReq.proto +++ b/proto/PlayerCompoundMaterialReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PlayerCompoundMaterialReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 146; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum DOKCKPLIHDM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 142; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 compound_id = 4; - uint32 count = 3; + uint32 count = 3; + uint32 compoundId = 2; } diff --git a/proto/PlayerCompoundMaterialRsp.proto b/proto/PlayerCompoundMaterialRsp.proto index 49d2932e..8aae97a9 100644 --- a/proto/PlayerCompoundMaterialRsp.proto +++ b/proto/PlayerCompoundMaterialRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "CompoundQueueData.proto"; + +import "CompoundQueueData.proto"; option java_package = "emu.grasscutter.net.proto"; message PlayerCompoundMaterialRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 175; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum OFCGANODLLA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 150; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - CompoundQueueData compound_queue_data = 9; - int32 retcode = 5; + CompoundQueueData compoundQueueData = 8; + int32 retcode = 15; } diff --git a/proto/PlayerConfirmMatchReq.proto b/proto/PlayerConfirmMatchReq.proto new file mode 100644 index 00000000..57bfefd7 --- /dev/null +++ b/proto/PlayerConfirmMatchReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "MatchType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerConfirmMatchReq { + enum LACEOAMEHJL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4185; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + MatchType matchType = 12; + bool isAgreed = 13; +} diff --git a/proto/PlayerConfirmMatchRsp.proto b/proto/PlayerConfirmMatchRsp.proto new file mode 100644 index 00000000..b3a4ddc1 --- /dev/null +++ b/proto/PlayerConfirmMatchRsp.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "MatchType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerConfirmMatchRsp { + enum PPEBDFMPGDO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4166; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isAgreed = 6; + MatchType matchType = 12; + uint32 matchId = 3; + int32 retcode = 1; +} diff --git a/proto/PlayerCookArgsReq.proto b/proto/PlayerCookArgsReq.proto index 2b10a7db..11bf4a0e 100644 --- a/proto/PlayerCookArgsReq.proto +++ b/proto/PlayerCookArgsReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PlayerCookArgsReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 109; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum HLKLMLGNJNP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 184; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 recipe_id = 13; - uint32 assist_avatar = 15; + uint32 recipeId = 5; + uint32 assistAvatar = 9; } diff --git a/proto/PlayerCookArgsRsp.proto b/proto/PlayerCookArgsRsp.proto index 8b1311df..02d9114e 100644 --- a/proto/PlayerCookArgsRsp.proto +++ b/proto/PlayerCookArgsRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PlayerCookArgsRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 188; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum IJMEJEMNCBM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 111; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 6; - float qte_range_ratio = 3; + int32 retcode = 15; + float qteRangeRatio = 6; } diff --git a/proto/PlayerCookReq.proto b/proto/PlayerCookReq.proto index 39ca8659..e5a25872 100644 --- a/proto/PlayerCookReq.proto +++ b/proto/PlayerCookReq.proto @@ -1,36 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PlayerCookReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 105; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum IKLLJNNFHEM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 175; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 recipe_id = 1; - uint32 qte_quality = 5; - uint32 cook_count = 7; - uint32 assist_avatar = 12; + uint32 recipeId = 15; + uint32 assistAvatar = 6; + uint32 qteQuality = 13; + uint32 cookCount = 3; } diff --git a/proto/PlayerCookRsp.proto b/proto/PlayerCookRsp.proto index fa59d97a..afa303e2 100644 --- a/proto/PlayerCookRsp.proto +++ b/proto/PlayerCookRsp.proto @@ -1,40 +1,24 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "CookRecipeData.proto"; import "ItemParam.proto"; - option java_package = "emu.grasscutter.net.proto"; message PlayerCookRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 194; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum FPFCHMGMNFC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 128; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 4; - CookRecipeData recipe_data = 12; - repeated ItemParam item_list = 5; - uint32 qte_quality = 1; - repeated ItemParam extra_item_list = 3; - uint32 cook_count = 11; + int32 retcode = 7; + repeated ItemParam extraItemList = 13; + repeated ItemParam itemList = 9; + CookRecipeData recipeData = 5; + uint32 cookCount = 12; + uint32 qteQuality = 4; } diff --git a/proto/PlayerDataNotify.proto b/proto/PlayerDataNotify.proto index 70132485..7a7e445e 100644 --- a/proto/PlayerDataNotify.proto +++ b/proto/PlayerDataNotify.proto @@ -1,38 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "PropValue.proto"; + +import "PropValue.proto"; option java_package = "emu.grasscutter.net.proto"; message PlayerDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 147; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum OKEHMENIGCG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 170; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - bool is_first_login_today = 12; - string nick_name = 9; - uint64 server_time = 1; - map prop_map = 4; - uint32 region_id = 2; + string nickName = 11; + uint32 regionId = 9; + uint64 serverTime = 3; + bool isFirstLoginToday = 7; + map propMap = 5; } diff --git a/proto/PlayerDeathZoneNotify.proto b/proto/PlayerDeathZoneNotify.proto new file mode 100644 index 00000000..be6cb4eb --- /dev/null +++ b/proto/PlayerDeathZoneNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerDeathZoneNotify { + enum IGJOFKIKAAG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6296; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 curDeathZoneId = 11; +} diff --git a/proto/PlayerDieOption.proto b/proto/PlayerDieOption.proto new file mode 100644 index 00000000..9ab54a69 --- /dev/null +++ b/proto/PlayerDieOption.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +enum PlayerDieOption { + PLAYER_DIE_OPTION_OPT_NONE = 0; + PLAYER_DIE_OPTION_OPT_REPLAY = 1; + PLAYER_DIE_OPTION_OPT_CANCEL = 2; + PLAYER_DIE_OPTION_OPT_REVIVE = 3; +} diff --git a/proto/PlayerDieType.proto b/proto/PlayerDieType.proto index fa656099..c014db94 100644 --- a/proto/PlayerDieType.proto +++ b/proto/PlayerDieType.proto @@ -1,32 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum PlayerDieType { - PLAYER_DIE_TYPE_NONE = 0; - PLAYER_DIE_TYPE_KILL_BY_MONSTER = 1; - PLAYER_DIE_TYPE_KILL_BY_GEAR = 2; - PLAYER_DIE_TYPE_FALL = 3; - PLAYER_DIE_TYPE_DRAWN = 4; - PLAYER_DIE_TYPE_ABYSS = 5; - PLAYER_DIE_TYPE_GM = 6; - PLAYER_DIE_TYPE_CLIMATE_COLD = 7; - PLAYER_DIE_TYPE_STORM_LIGHTING = 8; + PLAYER_DIE_TYPE_NONE = 0; + PLAYER_DIE_TYPE_KILL_BY_MONSTER = 1; + PLAYER_DIE_TYPE_KILL_BY_GEAR = 2; + PLAYER_DIE_TYPE_FALL = 3; + PLAYER_DIE_TYPE_DRAWN = 4; + PLAYER_DIE_TYPE_ABYSS = 5; + PLAYER_DIE_TYPE_GM = 6; + PLAYER_DIE_TYPE_CLIMATE_COLD = 7; + PLAYER_DIE_TYPE_STORM_LIGHTING = 8; } diff --git a/proto/PlayerEnterDungeonReq.proto b/proto/PlayerEnterDungeonReq.proto index bbae9087..9a35a174 100644 --- a/proto/PlayerEnterDungeonReq.proto +++ b/proto/PlayerEnterDungeonReq.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "DungeonEnterPosInfo.proto"; + +import "DungeonEnterPosInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message PlayerEnterDungeonReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 956; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum IGBPMBLKBOF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 987; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 dungeon_id = 4; - DungeonEnterPosInfo enter_pos_info = 9; - uint32 point_id = 1; + uint32 dungeonId = 2; + uint32 pointId = 9; + DungeonEnterPosInfo enterPosInfo = 4; } diff --git a/proto/PlayerEnterDungeonRsp.proto b/proto/PlayerEnterDungeonRsp.proto index 5f00ed78..0f493ddf 100644 --- a/proto/PlayerEnterDungeonRsp.proto +++ b/proto/PlayerEnterDungeonRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PlayerEnterDungeonRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 919; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum IJHCMILABEE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 998; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 5; - uint32 point_id = 6; - uint32 dungeon_id = 1; + uint32 pointId = 1; + uint32 dungeonId = 11; + int32 retcode = 3; } diff --git a/proto/PlayerEnterSceneInfoNotify.proto b/proto/PlayerEnterSceneInfoNotify.proto index e049ed00..3a17ca6e 100644 --- a/proto/PlayerEnterSceneInfoNotify.proto +++ b/proto/PlayerEnterSceneInfoNotify.proto @@ -1,41 +1,25 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AvatarEnterSceneInfo.proto"; + + import "MPLevelEntityInfo.proto"; import "TeamEnterSceneInfo.proto"; - +import "AvatarEnterSceneInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message PlayerEnterSceneInfoNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 241; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum EGMIDNPFPJB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 212; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - TeamEnterSceneInfo team_enter_info = 6; - repeated AvatarEnterSceneInfo avatar_enter_info = 10; - uint32 cur_avatar_entity_id = 4; - MPLevelEntityInfo mp_level_entity_info = 15; - uint32 enter_scene_token = 1; + MPLevelEntityInfo mpLevelEntityInfo = 7; + TeamEnterSceneInfo teamEnterInfo = 5; + uint32 curAvatarEntityId = 8; + uint32 enterSceneToken = 13; + repeated AvatarEnterSceneInfo avatarEnterInfo = 12; } diff --git a/proto/PlayerEnterSceneNotify.proto b/proto/PlayerEnterSceneNotify.proto index 5632fd5e..d28eda2b 100644 --- a/proto/PlayerEnterSceneNotify.proto +++ b/proto/PlayerEnterSceneNotify.proto @@ -1,50 +1,34 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "EnterType.proto"; -import "Vector.proto"; + +import "Rotation.proto"; +import "EnterType.proto"; option java_package = "emu.grasscutter.net.proto"; message PlayerEnterSceneNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 279; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum JPDEBPGMBPE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 205; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 world_type = 1224; - bool is_skip_ui = 32; - uint32 world_level = 4; - Vector pos = 1; - bool is_first_login_enter_scene = 3; - uint32 prev_scene_id = 13; - uint32 enter_scene_token = 6; - uint32 dungeon_id = 2; - uint32 scene_id = 11; - EnterType type = 12; - repeated uint32 scene_tag_id_list = 5; - uint64 scene_begin_time = 9; - uint32 enter_reason = 287; - uint32 target_uid = 8; - Vector prev_pos = 10; - string scene_transaction = 370; + bool isFirstLoginEnterScene = 10; + uint32 enterSceneToken = 2; + uint32 prevSceneId = 4; + uint32 worldType = 1090; + bool isSkipUi = 317; + uint32 sceneId = 3; + Rotation pos = 13; + uint32 worldLevel = 5; + string sceneTransaction = 647; + uint32 enterReason = 74; + EnterType type = 9; + uint32 dungeonId = 11; + repeated uint32 sceneTagIdList = 8; + Rotation prevPos = 12; + uint64 sceneBeginTime = 15; + uint32 targetUid = 1; } diff --git a/proto/PlayerEyePointStateNotify.proto b/proto/PlayerEyePointStateNotify.proto new file mode 100644 index 00000000..e77f1cfe --- /dev/null +++ b/proto/PlayerEyePointStateNotify.proto @@ -0,0 +1,33 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +import "CylinderSize.proto"; +import "PolygonSize.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerEyePointStateNotify { + enum NIOAOMGFLHJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3435; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool Unk3300_KFOHOBLMMLB = 1; + Rotation eyePointPos = 14; + uint32 Unk3300_EOPFNBBBGPK = 11; + uint32 Unk3300_GNFJIOEGHOE = 2; + uint32 Unk3300_BIHEKNFDDDI = 4; + int32 fixLodLevel = 6; + uint32 Unk3300_JGEMKKJAHKA = 5; + bool Unk3300_NIPFCFCBFAE = 10; + oneof CHJHCIGJOLJ { + float sphere_radius = 152; + Rotation cubic_size = 879; + CylinderSize cylinder_size = 1320; + PolygonSize polygon_size = 1996; + } +} diff --git a/proto/PlayerFishingDataNotify.proto b/proto/PlayerFishingDataNotify.proto new file mode 100644 index 00000000..d050accc --- /dev/null +++ b/proto/PlayerFishingDataNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerFishingDataNotify { + enum LBBDPDFKHED { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5810; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 lastFishRodId = 4; +} diff --git a/proto/PlayerForceExitReq.proto b/proto/PlayerForceExitReq.proto new file mode 100644 index 00000000..1a183d10 --- /dev/null +++ b/proto/PlayerForceExitReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerForceExitReq { + enum GEFPAHPAINA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 161; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/PlayerForceExitRsp.proto b/proto/PlayerForceExitRsp.proto index 629178a8..c87a247c 100644 --- a/proto/PlayerForceExitRsp.proto +++ b/proto/PlayerForceExitRsp.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PlayerForceExitRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 177; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum NOKJEIGHPAP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 165; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 10; + int32 retcode = 13; } diff --git a/proto/PlayerGCGMatchConfirmNotify.proto b/proto/PlayerGCGMatchConfirmNotify.proto new file mode 100644 index 00000000..e85642d3 --- /dev/null +++ b/proto/PlayerGCGMatchConfirmNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerGCGMatchConfirmNotify { + enum CHFJHDNIIHH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4160; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isAgree = 6; + uint32 matchId = 8; + uint32 uid = 7; +} diff --git a/proto/PlayerGCGMatchDismissNotify.proto b/proto/PlayerGCGMatchDismissNotify.proto new file mode 100644 index 00000000..d36ef53b --- /dev/null +++ b/proto/PlayerGCGMatchDismissNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "MatchReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerGCGMatchDismissNotify { + enum GPKMBGCPIIA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4153; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + MatchReason reason = 8; + repeated uint32 uidList = 7; + uint32 matchId = 3; +} diff --git a/proto/PlayerGameTimeByLuaNotify.proto b/proto/PlayerGameTimeByLuaNotify.proto new file mode 100644 index 00000000..67977415 --- /dev/null +++ b/proto/PlayerGameTimeByLuaNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerGameTimeByLuaNotify { + enum GPPBGJGNDHA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 171; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + string gpbkdlaodce = 6; +} diff --git a/proto/PlayerGameTimeNotify.proto b/proto/PlayerGameTimeNotify.proto index 2418599a..edcbfb85 100644 --- a/proto/PlayerGameTimeNotify.proto +++ b/proto/PlayerGameTimeNotify.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PlayerGameTimeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 127; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum FAMEPMJBHAJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 124; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 uid = 15; - bool is_home = 10; - uint32 game_time = 4; + uint32 gameTime = 1; + bool isHome = 3; + uint32 uid = 14; } diff --git a/proto/PlayerGeneralMatchConfirmNotify.proto b/proto/PlayerGeneralMatchConfirmNotify.proto new file mode 100644 index 00000000..cdd53fbd --- /dev/null +++ b/proto/PlayerGeneralMatchConfirmNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerGeneralMatchConfirmNotify { + enum JDFJECJBAFL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4164; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isAgree = 7; + uint32 matchId = 14; + uint32 uid = 8; +} diff --git a/proto/PlayerGeneralMatchDismissNotify.proto b/proto/PlayerGeneralMatchDismissNotify.proto new file mode 100644 index 00000000..b2be9f5e --- /dev/null +++ b/proto/PlayerGeneralMatchDismissNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "MatchReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerGeneralMatchDismissNotify { + enum MNCJNENMIJP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4187; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 matchId = 6; + MatchReason reason = 13; + repeated uint32 uidList = 5; +} diff --git a/proto/PlayerGetForceQuitBanInfoReq.proto b/proto/PlayerGetForceQuitBanInfoReq.proto index 4797a2ff..c5467ee7 100644 --- a/proto/PlayerGetForceQuitBanInfoReq.proto +++ b/proto/PlayerGetForceQuitBanInfoReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PlayerGetForceQuitBanInfoReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4152; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum LGMENEIOADM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4192; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/PlayerGetForceQuitBanInfoRsp.proto b/proto/PlayerGetForceQuitBanInfoRsp.proto index a6acf33c..31a3a3d8 100644 --- a/proto/PlayerGetForceQuitBanInfoRsp.proto +++ b/proto/PlayerGetForceQuitBanInfoRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PlayerGetForceQuitBanInfoRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4193; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum FEAMOCGDCOF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4157; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 match_id = 13; - uint32 expire_time = 2; - int32 retcode = 4; + int32 retcode = 7; + uint32 expireTime = 9; + uint32 matchId = 10; } diff --git a/proto/PlayerHomeCompInfo.proto b/proto/PlayerHomeCompInfo.proto index b2c1b108..70e1ae20 100644 --- a/proto/PlayerHomeCompInfo.proto +++ b/proto/PlayerHomeCompInfo.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "FriendEnterHomeOption.proto"; + +import "FriendEnterHomeOption.proto"; option java_package = "emu.grasscutter.net.proto"; message PlayerHomeCompInfo { - FriendEnterHomeOption friend_enter_home_option = 13; - repeated uint32 seen_module_id_list = 5; - repeated uint32 unlocked_module_id_list = 2; - repeated uint32 levelup_reward_got_level_list = 11; + repeated uint32 seenModuleIdList = 2; + FriendEnterHomeOption friendEnterHomeOption = 4; + repeated uint32 unlockedModuleIdList = 10; + repeated uint32 levelupRewardGotLevelList = 12; } diff --git a/proto/PlayerHomeCompInfoNotify.proto b/proto/PlayerHomeCompInfoNotify.proto index 22098723..2569c146 100644 --- a/proto/PlayerHomeCompInfoNotify.proto +++ b/proto/PlayerHomeCompInfoNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "PlayerHomeCompInfo.proto"; + +import "PlayerHomeCompInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message PlayerHomeCompInfoNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4818; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum KECOKOCMONG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4844; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - PlayerHomeCompInfo comp_info = 2; + PlayerHomeCompInfo compInfo = 5; } diff --git a/proto/PlayerInjectFixNotify.proto b/proto/PlayerInjectFixNotify.proto new file mode 100644 index 00000000..cba2f451 --- /dev/null +++ b/proto/PlayerInjectFixNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "bytes.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerInjectFixNotify { + enum FDKLNPOPKPI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 126; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 id = 14; + bytes injectFix = 6; +} diff --git a/proto/PlayerInvestigationAllInfoNotify.proto b/proto/PlayerInvestigationAllInfoNotify.proto new file mode 100644 index 00000000..6aa17e91 --- /dev/null +++ b/proto/PlayerInvestigationAllInfoNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "InvestigationTarget.proto"; +import "Investigation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerInvestigationAllInfoNotify { + enum IFINCGBMAFA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1917; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated InvestigationTarget investigationTargetList = 6; + repeated Investigation investigationList = 2; +} diff --git a/proto/PlayerInvestigationNotify.proto b/proto/PlayerInvestigationNotify.proto new file mode 100644 index 00000000..457d10e2 --- /dev/null +++ b/proto/PlayerInvestigationNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "Investigation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerInvestigationNotify { + enum OFJHHHCCEGN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1911; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated Investigation investigationList = 12; +} diff --git a/proto/PlayerInvestigationTargetNotify.proto b/proto/PlayerInvestigationTargetNotify.proto new file mode 100644 index 00000000..8d131753 --- /dev/null +++ b/proto/PlayerInvestigationTargetNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "InvestigationTarget.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerInvestigationTargetNotify { + enum LPONNFCCGLL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1930; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated InvestigationTarget investigationTargetList = 12; +} diff --git a/proto/PlayerIpRegionNotify.proto b/proto/PlayerIpRegionNotify.proto new file mode 100644 index 00000000..c3545141 --- /dev/null +++ b/proto/PlayerIpRegionNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerIpRegionNotify { + enum PPJDKEJDOGN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 108; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isForceSet = 3; + uint32 clientGameTime = 1; + uint32 gameTime = 15; +} diff --git a/proto/PlayerLevelRewardUpdateNotify.proto b/proto/PlayerLevelRewardUpdateNotify.proto index 624e9c59..30674cb6 100644 --- a/proto/PlayerLevelRewardUpdateNotify.proto +++ b/proto/PlayerLevelRewardUpdateNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PlayerLevelRewardUpdateNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 104; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum NIBNCFJCBPP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 154; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 level_list = 9; + repeated uint32 levelList = 5; } diff --git a/proto/PlayerLocationInfo.proto b/proto/PlayerLocationInfo.proto index 4954e919..6efdb675 100644 --- a/proto/PlayerLocationInfo.proto +++ b/proto/PlayerLocationInfo.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message PlayerLocationInfo { - uint32 uid = 7; - Vector rot = 13; - Vector pos = 3; + Rotation rot = 7; + Rotation pos = 4; + uint32 uid = 9; } diff --git a/proto/PlayerLoginReq.proto b/proto/PlayerLoginReq.proto index 612ebd1b..a1c50eb6 100644 --- a/proto/PlayerLoginReq.proto +++ b/proto/PlayerLoginReq.proto @@ -1,77 +1,62 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AdjustTrackingInfo.proto"; -import "TrackingIOInfo.proto"; + +import "bytes.proto"; +import "TrackingIOInfo.proto"; +import "AdjustTrackingInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message PlayerLoginReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 156; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum EBCJABNOFCB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 187; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - string device_uuid = 5; - uint32 target_uid = 10; - bytes extra_bin_data = 2046; - string platform = 4; - string checksum = 1334; - uint32 channel_id = 1565; - string client_verison_hash = 2040; - uint32 language_type = 11; - uint32 client_data_version = 847; - uint32 account_type = 7; - string security_library_md5 = 868; - string online_id = 577; - uint32 Unk3300_PMGFBMJNNCL = 82; - string device_name = 12; - string birthday = 875; - uint32 tag = 525; - string account_uid = 14; - string device_info = 15; - uint32 sub_channel_id = 1458; - bool is_editor = 1; - string token = 8; - uint32 reg_platform = 424; - string checksum_client_version = 581; - uint32 Unk3300_OOBHAIIIPHH = 85; - uint32 Unk3300_NDLANBEIGEG = 1320; - string country_code = 104; - uint32 gm_uid = 1790; - TrackingIOInfo tracking_io_info = 1713; - bool is_transfer = 624; - string security_library_version = 828; - string client_version = 2; - bool is_guest = 13; - string system_version = 6; - uint32 target_home_owner_uid = 899; - string psn_id = 1146; - bytes security_cmd_reply = 874; - uint32 Unk3300_OFFHPAFIFGD = 1028; - uint64 login_rand = 9; - AdjustTrackingInfo adjust_tracking_info = 64; - bytes environment_error_code = 256; - uint32 platform_type = 3; - string cps = 1983; + string token = 6; + uint32 Unk3300_NDLANBEIGEG = 323; + uint32 targetUid = 4; + string checksumClientVersion = 1738; + string accountUid = 9; + bool isEditor = 13; + string birthday = 1280; + bytes extraBinData = 78; + uint32 regPlatform = 119; + uint32 gmUid = 246; + string checksum = 1715; + uint32 platformType = 12; + TrackingIOInfo trackingIoInfo = 710; + uint32 Unk3300_OFFHPAFIFGD = 1762; + string deviceInfo = 14; + uint32 targetHomeOwnerUid = 216; + string platform = 2; + uint32 channelId = 324; + string countryCode = 1616; + uint64 loginRand = 8; + string onlineId = 54; + uint32 subChannelId = 1709; + string deviceUuid = 15; + uint32 Unk3300_OOBHAIIIPHH = 2024; + string clientVerisonHash = 1765; + AdjustTrackingInfo adjustTrackingInfo = 442; + uint32 accountType = 7; + string psnId = 1568; + uint32 tag = 1223; + uint32 Unk3300_PMGFBMJNNCL = 1394; + string systemVersion = 3; + bool isGuest = 10; + string clientVersion = 11; + bool isTransfer = 2037; + bytes environmentErrorCode = 1015; + string deviceName = 1; + string securityLibraryMd5 = 378; + uint32 languageType = 5; + bytes securityCmdReply = 907; + string securityLibraryVersion = 684; + uint32 clientDataVersion = 426; + string cps = 821; } diff --git a/proto/PlayerLoginRsp.proto b/proto/PlayerLoginRsp.proto index 85be5faf..21b7a9dd 100644 --- a/proto/PlayerLoginRsp.proto +++ b/proto/PlayerLoginRsp.proto @@ -1,71 +1,56 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "BlockInfo.proto"; -import "FeatureBlockInfo.proto"; -import "ResVersionConfig.proto"; -import "ShortAbilityHashPair.proto"; + +import "bytes.proto"; +import "ResVersionConfig.proto"; +import "FeatureBlockInfo.proto"; +import "BlockInfo.proto"; +import "ShortAbilityHashPair.proto"; option java_package = "emu.grasscutter.net.proto"; message PlayerLoginRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 119; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum BGKOKMCEJHK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 198; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint64 login_rand = 9; - bytes player_data = 2; - string client_silence_md5 = 16; - double total_tick_time = 530; - bool is_use_ability_hash = 5; - bool is_audit = 930; - string birthday = 1387; - bool Unk3300_HGFNECIJDLN = 13; - string client_silence_version_suffix = 908; - string client_version_suffix = 1845; - string next_resource_url = 1324; - bool Unk3300_EJKCNNDFAAI = 196; - repeated ShortAbilityHashPair short_ability_hash_map = 1373; - bool is_data_need_relogin = 1119; - ResVersionConfig res_version_config = 808; - uint32 client_silence_data_version = 1; - uint32 target_uid = 15; - string register_cps = 99; - bool is_sc_open = 1522; - bool Unk3300_IIHDKKNJPGD = 8; - uint32 player_data_version = 14; - bytes sc_info = 1888; - string country_code = 360; - ResVersionConfig next_res_version_config = 1688; - bool Unk3300_IADLIIMGDMC = 17; - map block_info_map = 2018; - bool is_transfer = 295; - uint32 target_home_owner_uid = 446; - string game_biz = 4; - map ability_hash_map = 3; - int32 ability_hash_code = 12; - uint32 client_data_version = 10; - string client_md5 = 1299; - int32 retcode = 7; - repeated FeatureBlockInfo feature_block_info_list = 138; + bool isAudit = 201; + bool Unk3300_IIHDKKNJPGD = 6; + string clientMd5 = 1070; + uint32 playerDataVersion = 9; + string clientVersionSuffix = 624; + uint64 loginRand = 8; + repeated FeatureBlockInfo featureBlockInfoList = 2035; + bool isUseAbilityHash = 15; + bool isScOpen = 1852; + bytes playerData = 14; + double totalTickTime = 1769; + map blockInfoMap = 982; + string countryCode = 238; + ResVersionConfig resVersionConfig = 777; + uint32 clientSilenceDataVersion = 2; + string clientSilenceVersionSuffix = 935; + bool Unk3300_EJKCNNDFAAI = 1254; + string clientSilenceMd5 = 979; + bool isDataNeedRelogin = 1021; + repeated ShortAbilityHashPair shortAbilityHashMap = 1199; + uint32 targetUid = 3; + string gameBiz = 4; + bool isTransfer = 956; + int32 retcode = 1; + map abilityHashMap = 5; + bool Unk3300_IADLIIMGDMC = 1435; + bytes scInfo = 151; + bool Unk3300_HGFNECIJDLN = 10; + uint32 clientDataVersion = 7; + uint32 targetHomeOwnerUid = 787; + string registerCps = 552; + string birthday = 163; + ResVersionConfig nextResVersionConfig = 1331; + int32 abilityHashCode = 13; + string nextResourceUrl = 1095; } diff --git a/proto/PlayerLogoutNotify.proto b/proto/PlayerLogoutNotify.proto new file mode 100644 index 00000000..c0a43c5a --- /dev/null +++ b/proto/PlayerLogoutNotify.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerLogoutNotify { + enum OIGPFFCHNAJ { + NONE = 0; + PEPPOHPHJOJ = 180; + } + + int32 retcode = 7; +} diff --git a/proto/PlayerLogoutReq.proto b/proto/PlayerLogoutReq.proto new file mode 100644 index 00000000..2cd639cd --- /dev/null +++ b/proto/PlayerLogoutReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "Reason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerLogoutReq { + enum HGECFPJJINL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 120; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + Reason reason = 1; +} diff --git a/proto/PlayerLogoutRsp.proto b/proto/PlayerLogoutRsp.proto new file mode 100644 index 00000000..25059d34 --- /dev/null +++ b/proto/PlayerLogoutRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerLogoutRsp { + enum JHLHIPLCPJC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 174; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 5; +} diff --git a/proto/PlayerLuaShellNotify.proto b/proto/PlayerLuaShellNotify.proto new file mode 100644 index 00000000..f10ebd67 --- /dev/null +++ b/proto/PlayerLuaShellNotify.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "bytes.proto"; +import "LuaShellType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerLuaShellNotify { + enum FOIMLLNJHAJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 191; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bytes luaShell = 5; + uint32 useType = 8; + LuaShellType shellType = 7; + uint32 id = 12; +} diff --git a/proto/PlayerMatchAgreedResultNotify.proto b/proto/PlayerMatchAgreedResultNotify.proto new file mode 100644 index 00000000..7ad825f3 --- /dev/null +++ b/proto/PlayerMatchAgreedResultNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "Reason.proto"; +import "MatchType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerMatchAgreedResultNotify { + enum KDDMDKGHIHK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4152; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + Reason reason = 5; + MatchType matchType = 12; + uint32 targetUid = 7; +} diff --git a/proto/PlayerMatchInfoNotify.proto b/proto/PlayerMatchInfoNotify.proto new file mode 100644 index 00000000..c61bbfbb --- /dev/null +++ b/proto/PlayerMatchInfoNotify.proto @@ -0,0 +1,26 @@ +syntax = "proto3"; + + + +import "MatchType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerMatchInfoNotify { + enum EJPKEBHFAHD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4196; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 hostUid = 1; + uint32 estimateMatchCostTime = 13; + uint32 mechanicusDifficultLevel = 2; + repeated uint32 matchParamList = 10; + uint32 matchBeginTime = 14; + uint32 mpPlayId = 6; + MatchType matchType = 5; + uint32 matchId = 8; + uint32 dungeonId = 7; +} diff --git a/proto/PlayerMatchStopNotify.proto b/proto/PlayerMatchStopNotify.proto new file mode 100644 index 00000000..41400ee3 --- /dev/null +++ b/proto/PlayerMatchStopNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "MatchReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerMatchStopNotify { + enum NGMMLPPJBPC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4193; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 hostUid = 4; + MatchReason reason = 9; +} diff --git a/proto/PlayerMatchSuccNotify.proto b/proto/PlayerMatchSuccNotify.proto new file mode 100644 index 00000000..f0a612b6 --- /dev/null +++ b/proto/PlayerMatchSuccNotify.proto @@ -0,0 +1,27 @@ +syntax = "proto3"; + + + +import "GeneralMatchInfo.proto"; +import "MatchType.proto"; +import "GCGMatchInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerMatchSuccNotify { + enum AGKCBEDCJOK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4181; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + GeneralMatchInfo generalMatchInfo = 10; + uint32 mechanicusDifficultLevel = 7; + uint32 hostUid = 5; + uint32 dungeonId = 8; + uint32 confirmEndTime = 9; + uint32 mpPlayId = 14; + MatchType matchType = 12; + GCGMatchInfo gcgMatchInfo = 4; +} diff --git a/proto/PlayerNicknameAuditDataNotify.proto b/proto/PlayerNicknameAuditDataNotify.proto new file mode 100644 index 00000000..c9713628 --- /dev/null +++ b/proto/PlayerNicknameAuditDataNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerNicknameAuditDataNotify { + enum KIGNJGEJPDO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 133; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + string nickname = 11; +} diff --git a/proto/PlayerNicknameNotify.proto b/proto/PlayerNicknameNotify.proto new file mode 100644 index 00000000..d09e5043 --- /dev/null +++ b/proto/PlayerNicknameNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerNicknameNotify { + enum HBCAGBLGJMI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 186; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 submitLimit = 7; + bool isOpen = 5; +} diff --git a/proto/PlayerOfferingData.proto b/proto/PlayerOfferingData.proto new file mode 100644 index 00000000..e841f77d --- /dev/null +++ b/proto/PlayerOfferingData.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerOfferingData { + bool isNewMaxLevel = 11; + uint32 offeringId = 8; + bool isFirstInteract = 4; + repeated uint32 takenLevelRewardList = 7; + uint32 level = 1; +} diff --git a/proto/PlayerOfferingDataNotify.proto b/proto/PlayerOfferingDataNotify.proto new file mode 100644 index 00000000..6906cee9 --- /dev/null +++ b/proto/PlayerOfferingDataNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "PlayerOfferingData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerOfferingDataNotify { + enum OPEPKCGEOBI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2915; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated PlayerOfferingData offeringDataList = 8; +} diff --git a/proto/PlayerOfferingReq.proto b/proto/PlayerOfferingReq.proto new file mode 100644 index 00000000..c8ef5eff --- /dev/null +++ b/proto/PlayerOfferingReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerOfferingReq { + enum PIJNKEKKJBH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2908; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 offeringId = 9; +} diff --git a/proto/PlayerOfferingRsp.proto b/proto/PlayerOfferingRsp.proto new file mode 100644 index 00000000..3d68e56c --- /dev/null +++ b/proto/PlayerOfferingRsp.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "PlayerOfferingData.proto"; +import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerOfferingRsp { + enum JFLDLMDOMJI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2916; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 1; + PlayerOfferingData offeringData = 15; + repeated ItemParam itemList = 14; +} diff --git a/proto/PlayerPreEnterMpNotify.proto b/proto/PlayerPreEnterMpNotify.proto new file mode 100644 index 00000000..7a298dc2 --- /dev/null +++ b/proto/PlayerPreEnterMpNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "State.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerPreEnterMpNotify { + enum GJAPOFHOFMD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1835; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + State state = 7; + uint32 uid = 10; + string nickname = 15; +} diff --git a/proto/PlayerPropChangeNotify.proto b/proto/PlayerPropChangeNotify.proto index 58821347..57b6a23b 100644 --- a/proto/PlayerPropChangeNotify.proto +++ b/proto/PlayerPropChangeNotify.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PlayerPropChangeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 116; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum NHOMLNBEJIC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 146; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 prop_delta = 4; - uint32 prop_type = 13; + uint32 propDelta = 8; + uint32 propType = 12; } diff --git a/proto/PlayerPropChangeReasonNotify.proto b/proto/PlayerPropChangeReasonNotify.proto index e07a1e2d..e09cba6a 100644 --- a/proto/PlayerPropChangeReasonNotify.proto +++ b/proto/PlayerPropChangeReasonNotify.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "PropChangeReason.proto"; + +import "PropChangeReason.proto"; option java_package = "emu.grasscutter.net.proto"; message PlayerPropChangeReasonNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1257; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum FKHLDBGKFKK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1214; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - float old_value = 10; - float cur_value = 11; - PropChangeReason reason = 2; - uint32 prop_type = 5; + uint32 propType = 6; + float oldValue = 12; + float curValue = 9; + PropChangeReason reason = 1; } diff --git a/proto/PlayerPropNotify.proto b/proto/PlayerPropNotify.proto index feb20e49..3fd7d72e 100644 --- a/proto/PlayerPropNotify.proto +++ b/proto/PlayerPropNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "PropValue.proto"; + +import "PropValue.proto"; option java_package = "emu.grasscutter.net.proto"; message PlayerPropNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 139; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HIDGILMLJLO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 129; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - map prop_map = 1; + map propMap = 5; } diff --git a/proto/PlayerQuitDungeonReq.proto b/proto/PlayerQuitDungeonReq.proto index ecb9e1f1..8b75533f 100644 --- a/proto/PlayerQuitDungeonReq.proto +++ b/proto/PlayerQuitDungeonReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PlayerQuitDungeonReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1000; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum HACCGPMBNMB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 920; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - bool is_quit_immediately = 3; - uint32 point_id = 8; + uint32 pointId = 6; + bool isQuitImmediately = 5; } diff --git a/proto/PlayerQuitDungeonRsp.proto b/proto/PlayerQuitDungeonRsp.proto new file mode 100644 index 00000000..78500c74 --- /dev/null +++ b/proto/PlayerQuitDungeonRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerQuitDungeonRsp { + enum OMBKLGCJLEM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 974; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 pointId = 11; + int32 retcode = 9; +} diff --git a/proto/PlayerQuitFromHomeNotify.proto b/proto/PlayerQuitFromHomeNotify.proto new file mode 100644 index 00000000..c305906c --- /dev/null +++ b/proto/PlayerQuitFromHomeNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "QuitReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerQuitFromHomeNotify { + enum LKGCNDNMJPH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4835; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + QuitReason reason = 10; +} diff --git a/proto/PlayerQuitFromMpNotify.proto b/proto/PlayerQuitFromMpNotify.proto new file mode 100644 index 00000000..2cb0e363 --- /dev/null +++ b/proto/PlayerQuitFromMpNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "QuitReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerQuitFromMpNotify { + enum KFIEONAKIJH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1831; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + QuitReason reason = 1; +} diff --git a/proto/PlayerRTTInfo.proto b/proto/PlayerRTTInfo.proto index 2b4d05b7..60bb94dc 100644 --- a/proto/PlayerRTTInfo.proto +++ b/proto/PlayerRTTInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PlayerRTTInfo { - uint32 rtt = 12; - uint32 uid = 14; + uint32 rtt = 7; + uint32 uid = 13; } diff --git a/proto/PlayerRandomCookReq.proto b/proto/PlayerRandomCookReq.proto new file mode 100644 index 00000000..66451048 --- /dev/null +++ b/proto/PlayerRandomCookReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerRandomCookReq { + enum GEMGLHAAMGI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 173; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated ItemParam materialList = 2; +} diff --git a/proto/PlayerRandomCookRsp.proto b/proto/PlayerRandomCookRsp.proto new file mode 100644 index 00000000..140fa526 --- /dev/null +++ b/proto/PlayerRandomCookRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerRandomCookRsp { + enum APCDMKOIEGL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 122; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 13; +} diff --git a/proto/PlayerRechargeDataNotify.proto b/proto/PlayerRechargeDataNotify.proto new file mode 100644 index 00000000..d1535c2f --- /dev/null +++ b/proto/PlayerRechargeDataNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "ProductPriceTier.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerRechargeDataNotify { + enum CAKFIOPGIKF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4119; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 cardProductRemainDays = 14; + repeated ProductPriceTier productPriceTierList = 10; +} diff --git a/proto/PlayerReportReq.proto b/proto/PlayerReportReq.proto new file mode 100644 index 00000000..9f37d04e --- /dev/null +++ b/proto/PlayerReportReq.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +import "ReportReasonType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerReportReq { + enum APBPFDIOFNH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4053; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + string content = 10; + ReportReasonType reason = 8; + uint32 targetUid = 6; + uint32 targetHomeModuleId = 12; + string targetHomeModuleName = 2; +} diff --git a/proto/PlayerReportRsp.proto b/proto/PlayerReportRsp.proto new file mode 100644 index 00000000..7daaac02 --- /dev/null +++ b/proto/PlayerReportRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerReportRsp { + enum MFGOBMMECCA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4036; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 9; + uint32 cdTime = 13; + uint32 targetUid = 4; +} diff --git a/proto/PlayerRoutineDataNotify.proto b/proto/PlayerRoutineDataNotify.proto new file mode 100644 index 00000000..7e87b455 --- /dev/null +++ b/proto/PlayerRoutineDataNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "PlayerRoutineInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerRoutineDataNotify { + enum EEONOMLKLOK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3538; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated PlayerRoutineInfo routineInfoList = 12; +} diff --git a/proto/PlayerRoutineInfo.proto b/proto/PlayerRoutineInfo.proto new file mode 100644 index 00000000..2acdbb94 --- /dev/null +++ b/proto/PlayerRoutineInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerRoutineInfo { + uint32 routineType = 2; + uint32 finishedNum = 13; +} diff --git a/proto/PlayerSetLanguageReq.proto b/proto/PlayerSetLanguageReq.proto new file mode 100644 index 00000000..a6b90c37 --- /dev/null +++ b/proto/PlayerSetLanguageReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerSetLanguageReq { + enum GDLEOILKCDD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 194; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 languageType = 3; +} diff --git a/proto/PlayerSetLanguageRsp.proto b/proto/PlayerSetLanguageRsp.proto new file mode 100644 index 00000000..bbe2950f --- /dev/null +++ b/proto/PlayerSetLanguageRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerSetLanguageRsp { + enum IJMNADFNPIM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 181; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 6; +} diff --git a/proto/PlayerSetOnlyMPWithPSPlayerReq.proto b/proto/PlayerSetOnlyMPWithPSPlayerReq.proto new file mode 100644 index 00000000..37d53434 --- /dev/null +++ b/proto/PlayerSetOnlyMPWithPSPlayerReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerSetOnlyMPWithPSPlayerReq { + enum DFIFOODJINK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1802; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isOnly = 6; +} diff --git a/proto/PlayerSetOnlyMPWithPSPlayerRsp.proto b/proto/PlayerSetOnlyMPWithPSPlayerRsp.proto new file mode 100644 index 00000000..f9b3d8c2 --- /dev/null +++ b/proto/PlayerSetOnlyMPWithPSPlayerRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerSetOnlyMPWithPSPlayerRsp { + enum GIOGPHLONAP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1840; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isOnly = 10; + int32 retcode = 2; +} diff --git a/proto/PlayerSetPauseReq.proto b/proto/PlayerSetPauseReq.proto index 3ec9d000..92666704 100644 --- a/proto/PlayerSetPauseReq.proto +++ b/proto/PlayerSetPauseReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PlayerSetPauseReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 122; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum OHGOMKFOANB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 153; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - bool is_paused = 15; + bool isPaused = 11; } diff --git a/proto/PlayerSetPauseRsp.proto b/proto/PlayerSetPauseRsp.proto index fca14daf..44c34cd7 100644 --- a/proto/PlayerSetPauseRsp.proto +++ b/proto/PlayerSetPauseRsp.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PlayerSetPauseRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 182; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum PLGNLBDEJDM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 136; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 10; + int32 retcode = 4; } diff --git a/proto/PlayerSignatureAuditDataNotify.proto b/proto/PlayerSignatureAuditDataNotify.proto new file mode 100644 index 00000000..efe3d36a --- /dev/null +++ b/proto/PlayerSignatureAuditDataNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "ContentAuditInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerSignatureAuditDataNotify { + enum OLOILIEAIFG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4077; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + ContentAuditInfo info = 4; +} diff --git a/proto/PlayerSignatureNotify.proto b/proto/PlayerSignatureNotify.proto new file mode 100644 index 00000000..4e1f35bd --- /dev/null +++ b/proto/PlayerSignatureNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PlayerSignatureNotify { + enum AFOHEGLBCHK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4012; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + string signature = 3; +} diff --git a/proto/PlayerStartMatchReq.proto b/proto/PlayerStartMatchReq.proto new file mode 100644 index 00000000..c8f00fb7 --- /dev/null +++ b/proto/PlayerStartMatchReq.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; + + + +import "MatchType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerStartMatchReq { + enum AAPENNCPBLI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4188; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 mechanicusDifficultLevel = 10; + repeated uint32 matchParamList = 15; + uint32 mpPlayId = 5; + uint32 dungeonId = 12; + uint32 matchId = 11; + MatchType matchType = 13; +} diff --git a/proto/PlayerStartMatchRsp.proto b/proto/PlayerStartMatchRsp.proto new file mode 100644 index 00000000..a91a538d --- /dev/null +++ b/proto/PlayerStartMatchRsp.proto @@ -0,0 +1,25 @@ +syntax = "proto3"; + + + +import "MatchType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PlayerStartMatchRsp { + enum LOCNBAMKKHI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4195; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + MatchType matchType = 7; + uint32 dungeonId = 3; + uint32 punishEndTime = 11; + int32 retcode = 6; + uint32 param = 5; + uint32 matchId = 2; + uint32 mpPlayId = 9; + uint32 mechanicusDifficultLevel = 12; +} diff --git a/proto/PlayerStoreNotify.proto b/proto/PlayerStoreNotify.proto index 387d06a9..51056e6e 100644 --- a/proto/PlayerStoreNotify.proto +++ b/proto/PlayerStoreNotify.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Item.proto"; -import "StoreType.proto"; + +import "StoreType.proto"; +import "TrifleItem.proto"; option java_package = "emu.grasscutter.net.proto"; message PlayerStoreNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 679; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum EKFHNFLEJJC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 605; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - StoreType store_type = 1; - uint32 weight_limit = 14; - repeated Item item_list = 10; + repeated TrifleItem itemList = 5; + uint32 weightLimit = 6; + StoreType storeType = 10; } diff --git a/proto/PlayerTimeNotify.proto b/proto/PlayerTimeNotify.proto index 10723d05..4be34d89 100644 --- a/proto/PlayerTimeNotify.proto +++ b/proto/PlayerTimeNotify.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PlayerTimeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 121; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum GABKEMDLGGF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 103; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - bool is_paused = 12; - uint64 player_time = 11; - uint64 server_time = 5; + uint64 playerTime = 13; + uint64 serverTime = 15; + bool isPaused = 7; } diff --git a/proto/PlayerWidgetInfo.proto b/proto/PlayerWidgetInfo.proto index 9b3a6674..8fd37f15 100644 --- a/proto/PlayerWidgetInfo.proto +++ b/proto/PlayerWidgetInfo.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "WidgetSlotData.proto"; + +import "WidgetSlotData.proto"; option java_package = "emu.grasscutter.net.proto"; message PlayerWidgetInfo { - uint32 uid = 6; - repeated WidgetSlotData slot_list = 4; + repeated WidgetSlotData slotList = 15; + uint32 uid = 10; } diff --git a/proto/PlayerWorldLocationInfo.proto b/proto/PlayerWorldLocationInfo.proto index 95a50a6a..33186815 100644 --- a/proto/PlayerWorldLocationInfo.proto +++ b/proto/PlayerWorldLocationInfo.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "PlayerLocationInfo.proto"; + +import "PlayerLocationInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message PlayerWorldLocationInfo { - PlayerLocationInfo player_loc = 3; - uint32 scene_id = 11; + uint32 sceneId = 4; + PlayerLocationInfo playerLoc = 1; } diff --git a/proto/PlayerWorldSceneInfo.proto b/proto/PlayerWorldSceneInfo.proto index 4411cb40..7555afe8 100644 --- a/proto/PlayerWorldSceneInfo.proto +++ b/proto/PlayerWorldSceneInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PlayerWorldSceneInfo { - bool is_locked = 3; - uint32 scene_id = 8; - repeated uint32 scene_tag_id_list = 11; + repeated uint32 sceneTagIdList = 13; + bool isLocked = 5; + uint32 sceneId = 11; } diff --git a/proto/PlayerWorldSceneInfoListNotify.proto b/proto/PlayerWorldSceneInfoListNotify.proto index 9d7aa04f..67d72b38 100644 --- a/proto/PlayerWorldSceneInfoListNotify.proto +++ b/proto/PlayerWorldSceneInfoListNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "PlayerWorldSceneInfo.proto"; + +import "PlayerWorldSceneInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message PlayerWorldSceneInfoListNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 3059; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HIHENIKFKIH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3198; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated PlayerWorldSceneInfo info_list = 2; + repeated PlayerWorldSceneInfo infoList = 5; } diff --git a/proto/PolygonRegionSize.proto b/proto/PolygonRegionSize.proto new file mode 100644 index 00000000..03836100 --- /dev/null +++ b/proto/PolygonRegionSize.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "VectorPlane.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PolygonRegionSize { + float height = 13; + repeated VectorPlane pointList = 15; +} diff --git a/proto/PolygonSize.proto b/proto/PolygonSize.proto new file mode 100644 index 00000000..aef3e2aa --- /dev/null +++ b/proto/PolygonSize.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "VectorPlane.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PolygonSize { + float height = 13; + repeated VectorPlane pointList = 15; +} diff --git a/proto/PostEnterSceneReq.proto b/proto/PostEnterSceneReq.proto index 7d2fb0c4..105784cd 100644 --- a/proto/PostEnterSceneReq.proto +++ b/proto/PostEnterSceneReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PostEnterSceneReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 3286; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum CHODOJJFKBH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3212; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 enter_scene_token = 3; + uint32 enterSceneToken = 1; } diff --git a/proto/PostEnterSceneRsp.proto b/proto/PostEnterSceneRsp.proto index 113c3145..abc6c554 100644 --- a/proto/PostEnterSceneRsp.proto +++ b/proto/PostEnterSceneRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PostEnterSceneRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 3094; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum ONPBEEGOCAB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3303; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 9; - uint32 enter_scene_token = 12; + uint32 enterSceneToken = 3; + int32 retcode = 13; } diff --git a/proto/PotionActivityDetailInfo.proto b/proto/PotionActivityDetailInfo.proto index b499b400..f1403ee2 100644 --- a/proto/PotionActivityDetailInfo.proto +++ b/proto/PotionActivityDetailInfo.proto @@ -1,26 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "PotionStageData.proto"; + +import "PotionStageData.proto"; option java_package = "emu.grasscutter.net.proto"; message PotionActivityDetailInfo { - repeated PotionStageData stage_list = 4; + repeated PotionStageData stageList = 11; } diff --git a/proto/PotionAvatarInfo.proto b/proto/PotionAvatarInfo.proto index 8dcc9ebf..1fe01f85 100644 --- a/proto/PotionAvatarInfo.proto +++ b/proto/PotionAvatarInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PotionAvatarInfo { - bool is_trial = 15; - uint64 avatar_id = 1; + uint64 avatarId = 10; + bool isTrial = 3; } diff --git a/proto/PotionDungeonAvatar.proto b/proto/PotionDungeonAvatar.proto new file mode 100644 index 00000000..95b10858 --- /dev/null +++ b/proto/PotionDungeonAvatar.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PotionDungeonAvatar { + uint64 avatarGuid = 13; + bool isTrial = 7; +} diff --git a/proto/PotionDungeonResultInfo.proto b/proto/PotionDungeonResultInfo.proto index 5e49a9a9..453c183e 100644 --- a/proto/PotionDungeonResultInfo.proto +++ b/proto/PotionDungeonResultInfo.proto @@ -1,29 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PotionDungeonResultInfo { - uint32 left_time = 7; - uint32 mode_id = 13; - uint32 stage_id = 1; - uint32 level_id = 2; - uint32 final_score = 15; - uint32 difficulty_level = 8; + uint32 modeId = 12; + uint32 difficultyLevel = 1; + uint32 leftTime = 6; + uint32 levelId = 2; + uint32 finalScore = 10; + uint32 stageId = 9; } diff --git a/proto/PotionEnterDungeonNotify.proto b/proto/PotionEnterDungeonNotify.proto new file mode 100644 index 00000000..abe2f729 --- /dev/null +++ b/proto/PotionEnterDungeonNotify.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "PotionDungeonAvatar.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PotionEnterDungeonNotify { + enum HPMDGJJPEDC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8043; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 difficultyLevel = 5; + uint32 stageId = 8; + repeated PotionDungeonAvatar dungeonAvatarList = 1; + uint32 levelId = 14; + uint32 modeId = 6; +} diff --git a/proto/PotionEnterDungeonReq.proto b/proto/PotionEnterDungeonReq.proto new file mode 100644 index 00000000..1bc018f5 --- /dev/null +++ b/proto/PotionEnterDungeonReq.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +import "PotionAvatarInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PotionEnterDungeonReq { + enum MOHGCCGKGPE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8571; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 modeId = 14; + repeated PotionAvatarInfo avatarInfoList = 8; + uint32 levelId = 6; + repeated uint32 buffIdList = 11; + uint32 stageId = 1; +} diff --git a/proto/PotionEnterDungeonRsp.proto b/proto/PotionEnterDungeonRsp.proto new file mode 100644 index 00000000..41b69111 --- /dev/null +++ b/proto/PotionEnterDungeonRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PotionEnterDungeonRsp { + enum KGKDMBIPPFO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8770; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 12; +} diff --git a/proto/PotionInfo.proto b/proto/PotionInfo.proto new file mode 100644 index 00000000..61a69310 --- /dev/null +++ b/proto/PotionInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "PotionStageData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PotionInfo { + repeated PotionStageData stageList = 11; +} diff --git a/proto/PotionLevelData.proto b/proto/PotionLevelData.proto index 446db414..dc047868 100644 --- a/proto/PotionLevelData.proto +++ b/proto/PotionLevelData.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PotionLevelData { - uint32 difficulty_level = 3; - uint32 mode_id = 7; - uint32 score = 1; - uint32 level_id = 9; + uint32 score = 12; + uint32 levelId = 6; + uint32 difficultyLevel = 10; + uint32 modeId = 11; } diff --git a/proto/PotionResetChallengeReq.proto b/proto/PotionResetChallengeReq.proto new file mode 100644 index 00000000..2e341bb6 --- /dev/null +++ b/proto/PotionResetChallengeReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PotionResetChallengeReq { + enum AEFKLBHHAOO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8097; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 stageId = 5; +} diff --git a/proto/PotionResetChallengeRsp.proto b/proto/PotionResetChallengeRsp.proto new file mode 100644 index 00000000..37de5773 --- /dev/null +++ b/proto/PotionResetChallengeRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "PotionStageData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PotionResetChallengeRsp { + enum EAOPBMNGAPB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8220; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + PotionStageData stageData = 7; + int32 retcode = 13; +} diff --git a/proto/PotionRestartDungeonReq.proto b/proto/PotionRestartDungeonReq.proto new file mode 100644 index 00000000..98c099c4 --- /dev/null +++ b/proto/PotionRestartDungeonReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PotionRestartDungeonReq { + enum KHEIGENDDGP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8104; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/PotionRestartDungeonRsp.proto b/proto/PotionRestartDungeonRsp.proto new file mode 100644 index 00000000..c693a4e0 --- /dev/null +++ b/proto/PotionRestartDungeonRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PotionRestartDungeonRsp { + enum MKKCAFHLAOH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8864; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 11; +} diff --git a/proto/PotionSaveDungeonResultReq.proto b/proto/PotionSaveDungeonResultReq.proto new file mode 100644 index 00000000..ea561453 --- /dev/null +++ b/proto/PotionSaveDungeonResultReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PotionSaveDungeonResultReq { + enum IDPHFPPMIGP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8862; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 stageId = 14; + uint32 levelId = 5; +} diff --git a/proto/PotionSaveDungeonResultRsp.proto b/proto/PotionSaveDungeonResultRsp.proto new file mode 100644 index 00000000..d797f51e --- /dev/null +++ b/proto/PotionSaveDungeonResultRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PotionSaveDungeonResultRsp { + enum HFIECPNIDOP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8112; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 5; +} diff --git a/proto/PotionStageData.proto b/proto/PotionStageData.proto index 5ad482e5..94c30fb4 100644 --- a/proto/PotionStageData.proto +++ b/proto/PotionStageData.proto @@ -1,30 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "PotionLevelData.proto"; + +import "PotionLevelData.proto"; option java_package = "emu.grasscutter.net.proto"; message PotionStageData { - repeated uint32 Unk3300_BMEHJHFCPMA = 7; - repeated uint32 Unk3300_NLMEPPPMCKI = 9; - uint32 stage_id = 13; - bool is_open = 8; - repeated PotionLevelData level_list = 11; + repeated uint32 Unk3300_NLMEPPPMCKI = 9; + uint32 stageId = 14; + repeated uint32 Unk3300_BMEHJHFCPMA = 12; + repeated PotionLevelData levelList = 1; + bool isOpen = 15; } diff --git a/proto/PrivateChatNotify.proto b/proto/PrivateChatNotify.proto index 5fcc9e1a..d540b93a 100644 --- a/proto/PrivateChatNotify.proto +++ b/proto/PrivateChatNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ChatInfo.proto"; + +import "ChatInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message PrivateChatNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 5006; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum NIGEJLOFMAO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5037; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - ChatInfo chat_info = 9; + ChatInfo chatInfo = 15; } diff --git a/proto/PrivateChatReq.proto b/proto/PrivateChatReq.proto index db67fde0..5b7f1cfc 100644 --- a/proto/PrivateChatReq.proto +++ b/proto/PrivateChatReq.proto @@ -1,37 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PrivateChatReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 5029; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum MFGNPEHDMAI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4955; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 target_uid = 5; - oneof content { - string text = 1; - uint32 icon = 13; - } + uint32 targetUid = 11; + oneof NBOOJBANJHJ { + string text = 15; + uint32 icon = 9; + } } diff --git a/proto/PrivateChatRsp.proto b/proto/PrivateChatRsp.proto new file mode 100644 index 00000000..6d770618 --- /dev/null +++ b/proto/PrivateChatRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PrivateChatRsp { + enum GKEBGHAEIBO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5005; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 chatForbiddenEndtime = 8; + int32 retcode = 5; +} diff --git a/proto/ProductPriceTier.proto b/proto/ProductPriceTier.proto new file mode 100644 index 00000000..39de9d08 --- /dev/null +++ b/proto/ProductPriceTier.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ProductPriceTier { + string productId = 10; + string priceTier = 6; +} diff --git a/proto/ProfilePicture.proto b/proto/ProfilePicture.proto index 60244751..5206a239 100644 --- a/proto/ProfilePicture.proto +++ b/proto/ProfilePicture.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ProfilePicture { - uint32 avatar_id = 1; - uint32 costume_id = 2; + uint32 avatarId = 1; + uint32 costumeId = 2; } diff --git a/proto/ProfilePictureChangeNotify.proto b/proto/ProfilePictureChangeNotify.proto index 6709b029..5c714cb8 100644 --- a/proto/ProfilePictureChangeNotify.proto +++ b/proto/ProfilePictureChangeNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ProfilePicture.proto"; + +import "ProfilePicture.proto"; option java_package = "emu.grasscutter.net.proto"; message ProfilePictureChangeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4023; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum AEOJDGMPKMB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4095; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - ProfilePicture profile_picture = 12; + ProfilePicture profilePicture = 13; } diff --git a/proto/ProjectorOptionReq.proto b/proto/ProjectorOptionReq.proto new file mode 100644 index 00000000..dfc82b2f --- /dev/null +++ b/proto/ProjectorOptionReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ProjectorOptionReq { + enum ADKMILDGNIF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 822; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 opType = 15; + uint32 entityId = 12; +} diff --git a/proto/ProjectorOptionRsp.proto b/proto/ProjectorOptionRsp.proto new file mode 100644 index 00000000..fd30fdd1 --- /dev/null +++ b/proto/ProjectorOptionRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ProjectorOptionRsp { + enum OHFBNGAEAJM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 845; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 11; + uint32 entityId = 10; + uint32 opType = 3; +} diff --git a/proto/PropChangeReason.proto b/proto/PropChangeReason.proto index c78501f6..928c9fd4 100644 --- a/proto/PropChangeReason.proto +++ b/proto/PropChangeReason.proto @@ -1,37 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum PropChangeReason { - PROP_CHANGE_REASON_NONE = 0; - PROP_CHANGE_REASON_STATUE_RECOVER = 1; - PROP_CHANGE_REASON_ENERGY_BALL = 2; - PROP_CHANGE_REASON_ABILITY = 3; - PROP_CHANGE_REASON_LEVELUP = 4; - PROP_CHANGE_REASON_ITEM = 5; - PROP_CHANGE_REASON_AVATAR_CARD = 6; - PROP_CHANGE_REASON_CITY_LEVELUP = 7; - PROP_CHANGE_REASON_AVATAR_UPGRADE = 8; - PROP_CHANGE_REASON_AVATAR_PROMOTE = 9; - PROP_CHANGE_REASON_PLAYER_ADD_EXP = 10; - PROP_CHANGE_REASON_FINISH_QUEST = 11; - PROP_CHANGE_REASON_GM = 12; - PROP_CHANGE_REASON_MANUAL_ADJUST_WORLD_LEVEL = 13; + PROP_CHANGE_REASON_NONE = 0; + PROP_CHANGE_REASON_STATUE_RECOVER = 1; + PROP_CHANGE_REASON_ENERGY_BALL = 2; + PROP_CHANGE_REASON_ABILITY = 3; + PROP_CHANGE_REASON_LEVELUP = 4; + PROP_CHANGE_REASON_ITEM = 5; + PROP_CHANGE_REASON_AVATAR_CARD = 6; + PROP_CHANGE_REASON_CITY_LEVELUP = 7; + PROP_CHANGE_REASON_AVATAR_UPGRADE = 8; + PROP_CHANGE_REASON_AVATAR_PROMOTE = 9; + PROP_CHANGE_REASON_PLAYER_ADD_EXP = 10; + PROP_CHANGE_REASON_FINISH_QUEST = 11; + PROP_CHANGE_REASON_GM = 12; + PROP_CHANGE_REASON_MANUAL_ADJUST_WORLD_LEVEL = 13; } diff --git a/proto/PropPair.proto b/proto/PropPair.proto index c251ed18..27c99135 100644 --- a/proto/PropPair.proto +++ b/proto/PropPair.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "PropValue.proto"; + +import "PropValue.proto"; option java_package = "emu.grasscutter.net.proto"; message PropPair { - uint32 type = 1; - PropValue prop_value = 2; + uint32 type = 1; + PropValue propValue = 2; } diff --git a/proto/PropValue.proto b/proto/PropValue.proto index 6dd23f5a..045a39e9 100644 --- a/proto/PropValue.proto +++ b/proto/PropValue.proto @@ -1,29 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PropValue { - uint32 type = 1; - int64 val = 4; - oneof value { - int64 ival = 2; - float fval = 3; - } + uint32 type = 1; + oneof CAPPJMGFHDP { + int64 ival = 2; + float fval = 3; + } + int64 val = 4; } diff --git a/proto/ProtEntityType.proto b/proto/ProtEntityType.proto index dace05cb..9c03b332 100644 --- a/proto/ProtEntityType.proto +++ b/proto/ProtEntityType.proto @@ -1,38 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum ProtEntityType { - PROT_ENTITY_TYPE_NONE = 0; - PROT_ENTITY_TYPE_AVATAR = 1; - PROT_ENTITY_TYPE_MONSTER = 2; - PROT_ENTITY_TYPE_NPC = 3; - PROT_ENTITY_TYPE_GADGET = 4; - PROT_ENTITY_TYPE_REGION = 5; - PROT_ENTITY_TYPE_WEAPON = 6; - PROT_ENTITY_TYPE_WEATHER = 7; - PROT_ENTITY_TYPE_SCENE = 8; - PROT_ENTITY_TYPE_TEAM = 9; - PROT_ENTITY_TYPE_MASSIVE_ENTITY = 10; - PROT_ENTITY_TYPE_MP_LEVEL = 11; - PROT_ENTITY_TYPE_PLAY_TEAM_ENTITY = 12; - PROT_ENTITY_TYPE_EYE_POINT = 13; - PROT_ENTITY_TYPE_MAX = 14; + PROT_ENTITY_TYPE_NONE = 0; + PROT_ENTITY_TYPE_AVATAR = 1; + PROT_ENTITY_TYPE_MONSTER = 2; + PROT_ENTITY_TYPE_NPC = 3; + PROT_ENTITY_TYPE_GADGET = 4; + PROT_ENTITY_TYPE_REGION = 5; + PROT_ENTITY_TYPE_WEAPON = 6; + PROT_ENTITY_TYPE_WEATHER = 7; + PROT_ENTITY_TYPE_SCENE = 8; + PROT_ENTITY_TYPE_TEAM = 9; + PROT_ENTITY_TYPE_MASSIVE_ENTITY = 10; + PROT_ENTITY_TYPE_MP_LEVEL = 11; + PROT_ENTITY_TYPE_PLAY_TEAM_ENTITY = 12; + PROT_ENTITY_TYPE_EYE_POINT = 13; + PROT_ENTITY_TYPE_MAX = 14; } diff --git a/proto/ProudSkillChangeNotify.proto b/proto/ProudSkillChangeNotify.proto index 72556653..533dad60 100644 --- a/proto/ProudSkillChangeNotify.proto +++ b/proto/ProudSkillChangeNotify.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ProudSkillChangeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1027; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HEDMPOEHHBO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1024; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint64 avatar_guid = 13; - repeated uint32 proud_skill_list = 5; - uint32 skill_depot_id = 12; - uint32 entity_id = 3; + uint32 entityId = 14; + uint64 avatarGuid = 6; + repeated uint32 proudSkillList = 10; + uint32 skillDepotId = 15; } diff --git a/proto/ProudSkillExtraLevelNotify.proto b/proto/ProudSkillExtraLevelNotify.proto index c7cd57d7..511afed6 100644 --- a/proto/ProudSkillExtraLevelNotify.proto +++ b/proto/ProudSkillExtraLevelNotify.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ProudSkillExtraLevelNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1025; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum IKHGCHFMBBO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1013; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint64 avatar_guid = 13; - uint32 extra_level = 4; - uint32 talent_type = 8; - uint32 talent_index = 2; + uint32 talentIndex = 4; + uint64 avatarGuid = 2; + uint32 talentType = 5; + uint32 extraLevel = 13; } diff --git a/proto/ProudSkillUpgradeReq.proto b/proto/ProudSkillUpgradeReq.proto new file mode 100644 index 00000000..7262916a --- /dev/null +++ b/proto/ProudSkillUpgradeReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ProudSkillUpgradeReq { + enum IODHMOBIFAM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1062; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint64 avatarGuid = 2; + uint32 proudSkillId = 8; + uint32 oldProudSkillLevel = 6; +} diff --git a/proto/ProudSkillUpgradeRsp.proto b/proto/ProudSkillUpgradeRsp.proto new file mode 100644 index 00000000..c3741e6e --- /dev/null +++ b/proto/ProudSkillUpgradeRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ProudSkillUpgradeRsp { + enum PIKNHMPCPCH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1014; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 proudSkillId = 8; + uint64 avatarGuid = 11; + int32 retcode = 5; +} diff --git a/proto/PublishCustomDungeonReq.proto b/proto/PublishCustomDungeonReq.proto new file mode 100644 index 00000000..62d069f1 --- /dev/null +++ b/proto/PublishCustomDungeonReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PublishCustomDungeonReq { + enum LACNJCBKHHM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6214; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint64 dungeonGuid = 10; + repeated uint32 tagList = 1; +} diff --git a/proto/PublishCustomDungeonRsp.proto b/proto/PublishCustomDungeonRsp.proto new file mode 100644 index 00000000..22985cf9 --- /dev/null +++ b/proto/PublishCustomDungeonRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PublishCustomDungeonRsp { + enum JFHKPDMINCL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6242; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 5; +} diff --git a/proto/PublishUgcReq.proto b/proto/PublishUgcReq.proto new file mode 100644 index 00000000..41a501c5 --- /dev/null +++ b/proto/PublishUgcReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "UgcType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PublishUgcReq { + enum CLKAHKIDCND { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6316; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + UgcType ugcType = 9; + uint64 ugcGuid = 14; +} diff --git a/proto/PublishUgcRsp.proto b/proto/PublishUgcRsp.proto new file mode 100644 index 00000000..5e61fe97 --- /dev/null +++ b/proto/PublishUgcRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "UgcType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PublishUgcRsp { + enum HKGPLKNPMED { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6325; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + UgcType ugcType = 8; + int32 retcode = 14; + uint64 ugcGuid = 4; +} diff --git a/proto/PullPrivateChatReq.proto b/proto/PullPrivateChatReq.proto index 4437a341..76020f63 100644 --- a/proto/PullPrivateChatReq.proto +++ b/proto/PullPrivateChatReq.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PullPrivateChatReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4993; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum NIJLIODNKPO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5024; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 from_sequence = 5; - uint32 target_uid = 12; - uint32 pull_num = 11; + uint32 targetUid = 1; + uint32 fromSequence = 4; + uint32 pullNum = 6; } diff --git a/proto/PullPrivateChatRsp.proto b/proto/PullPrivateChatRsp.proto index bbf343ee..3db03a9b 100644 --- a/proto/PullPrivateChatRsp.proto +++ b/proto/PullPrivateChatRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ChatInfo.proto"; + +import "ChatInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message PullPrivateChatRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 5011; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum FFFKECIMKNA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5030; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated ChatInfo chat_info = 6; - int32 retcode = 1; + repeated ChatInfo chatInfo = 9; + int32 retcode = 11; } diff --git a/proto/PullRecentChatReq.proto b/proto/PullRecentChatReq.proto index 81be2ff2..7a24953e 100644 --- a/proto/PullRecentChatReq.proto +++ b/proto/PullRecentChatReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message PullRecentChatReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4997; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum FLCIFLGGJON { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5020; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 pull_num = 3; - uint32 begin_sequence = 15; + uint32 beginSequence = 14; + uint32 pullNum = 2; } diff --git a/proto/PullRecentChatRsp.proto b/proto/PullRecentChatRsp.proto index 746fe2f9..7adcdc7b 100644 --- a/proto/PullRecentChatRsp.proto +++ b/proto/PullRecentChatRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ChatInfo.proto"; + +import "ChatInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message PullRecentChatRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 5028; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum JIGIFODBEAL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5012; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated ChatInfo chat_info = 13; - int32 retcode = 11; + repeated ChatInfo chatInfo = 6; + int32 retcode = 12; } diff --git a/proto/PushTipsAllDataNotify.proto b/proto/PushTipsAllDataNotify.proto new file mode 100644 index 00000000..9efe400f --- /dev/null +++ b/proto/PushTipsAllDataNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "PushTipsData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PushTipsAllDataNotify { + enum FLBILIICCBC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2292; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated PushTipsData pushTipsList = 12; +} diff --git a/proto/PushTipsChangeNotify.proto b/proto/PushTipsChangeNotify.proto new file mode 100644 index 00000000..8f08e9c8 --- /dev/null +++ b/proto/PushTipsChangeNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "PushTipsData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PushTipsChangeNotify { + enum IFMPDLIDGPD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2288; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated PushTipsData pushTipsList = 4; +} diff --git a/proto/PushTipsData.proto b/proto/PushTipsData.proto new file mode 100644 index 00000000..70a87351 --- /dev/null +++ b/proto/PushTipsData.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PushTipsData { + uint32 pushTipsId = 13; + uint32 state = 8; +} diff --git a/proto/PushTipsReadFinishReq.proto b/proto/PushTipsReadFinishReq.proto new file mode 100644 index 00000000..99e8f124 --- /dev/null +++ b/proto/PushTipsReadFinishReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PushTipsReadFinishReq { + enum MHKMPJEMKOH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2225; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 pushTipsId = 2; +} diff --git a/proto/PushTipsReadFinishRsp.proto b/proto/PushTipsReadFinishRsp.proto new file mode 100644 index 00000000..39e5e4ee --- /dev/null +++ b/proto/PushTipsReadFinishRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message PushTipsReadFinishRsp { + enum DOCKMEJNFDA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2258; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 1; + uint32 pushTipsId = 15; +} diff --git a/proto/PveIntentionChange.proto b/proto/PveIntentionChange.proto new file mode 100644 index 00000000..660bf974 --- /dev/null +++ b/proto/PveIntentionChange.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "GCGIntentionChangeType.proto"; +import "GCGMsgPVEIntention.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PveIntentionChange { + GCGIntentionChangeType changeType = 6; + repeated GCGMsgPVEIntention changeIntentionList = 2; +} diff --git a/proto/PveIntentionInfo.proto b/proto/PveIntentionInfo.proto new file mode 100644 index 00000000..7fcfd61f --- /dev/null +++ b/proto/PveIntentionInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "GCGMsgPVEIntention.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message PveIntentionInfo { + map intentionMap = 15; +} diff --git a/proto/QueryCodexMonsterBeKilledNumReq.proto b/proto/QueryCodexMonsterBeKilledNumReq.proto index a0dac106..d5e01255 100644 --- a/proto/QueryCodexMonsterBeKilledNumReq.proto +++ b/proto/QueryCodexMonsterBeKilledNumReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message QueryCodexMonsterBeKilledNumReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4204; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum DGAJPOAKFEP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4206; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated uint32 codex_id_list = 3; + repeated uint32 codexIdList = 1; } diff --git a/proto/QueryCodexMonsterBeKilledNumRsp.proto b/proto/QueryCodexMonsterBeKilledNumRsp.proto index faaa21dc..094e7393 100644 --- a/proto/QueryCodexMonsterBeKilledNumRsp.proto +++ b/proto/QueryCodexMonsterBeKilledNumRsp.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message QueryCodexMonsterBeKilledNumRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4202; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum LLBEEMAAILO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4205; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 be_killed_num_list = 11; - repeated uint32 be_captured_num_list = 5; - int32 retcode = 2; - repeated uint32 codex_id_list = 10; + repeated uint32 beKilledNumList = 14; + int32 retcode = 6; + repeated uint32 codexIdList = 4; + repeated uint32 beCapturedNumList = 5; } diff --git a/proto/QueryCurrRegionHttpRsp.proto b/proto/QueryCurrRegionHttpRsp.proto index 3edad7ac..39ea2f66 100644 --- a/proto/QueryCurrRegionHttpRsp.proto +++ b/proto/QueryCurrRegionHttpRsp.proto @@ -21,6 +21,7 @@ import "ForceUpdateInfo.proto"; import "RegionInfo.proto"; import "StopServerInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message QueryCurrRegionHttpRsp { diff --git a/proto/QueryFilter.proto b/proto/QueryFilter.proto index 3bd1fc6c..d57179f6 100644 --- a/proto/QueryFilter.proto +++ b/proto/QueryFilter.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message QueryFilter { - int32 area_mask = 4; - int32 type_id = 3; + int32 areaMask = 9; + int32 typeId = 3; } diff --git a/proto/QueryPathReq.proto b/proto/QueryPathReq.proto index 02658d97..74f3c8d4 100644 --- a/proto/QueryPathReq.proto +++ b/proto/QueryPathReq.proto @@ -1,50 +1,29 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "QueryFilter.proto"; -import "Vector.proto"; -import "Vector3Int.proto"; + +import "Vector3Int.proto"; +import "OptionType.proto"; +import "QueryFilter.proto"; +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message QueryPathReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2379; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum OIOAGLJGAJP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2305; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - enum OptionType { - OPTION_TYPE_NONE = 0; - OPTION_TYPE_NORMAL = 1; - OPTION_TYPE_FIRST_CAN_GO = 2; - } - - QueryFilter filter = 7; - int32 query_id = 3; - repeated Vector destination_pos = 6; - OptionType query_type = 11; - Vector3Int Unk3300_LHNGPJFOMIK = 4; - uint32 scene_id = 2; - Vector source_pos = 8; - Vector3Int Unk3300_CLGJBBJDOLN = 5; + int32 queryId = 13; + repeated Rotation destinationPos = 4; + Vector3Int Unk3300_LHNGPJFOMIK = 5; + OptionType queryType = 12; + QueryFilter filter = 2; + Vector3Int Unk3300_CLGJBBJDOLN = 15; + uint32 sceneId = 7; + Rotation sourcePos = 10; } diff --git a/proto/QueryPathRsp.proto b/proto/QueryPathRsp.proto index abe73ee0..9e6eef90 100644 --- a/proto/QueryPathRsp.proto +++ b/proto/QueryPathRsp.proto @@ -1,43 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "PathStatusType.proto"; +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message QueryPathRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2330; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum PKKNJCEPAHM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2355; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - enum PathStatusType { - PATH_STATUS_TYPE_FAIL = 0; - PATH_STATUS_TYPE_SUCC = 1; - PATH_STATUS_TYPE_PARTIAL = 2; - } - - PathStatusType query_status = 3; - int32 retcode = 10; - int32 query_id = 8; - repeated Vector corners = 1; + int32 retcode = 13; + repeated Rotation corners = 11; + PathStatusType queryStatus = 6; + int32 queryId = 15; } diff --git a/proto/QueryRegionListHttpRsp.proto b/proto/QueryRegionListHttpRsp.proto index 8845cf11..c6abcc1e 100644 --- a/proto/QueryRegionListHttpRsp.proto +++ b/proto/QueryRegionListHttpRsp.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "RegionSimpleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message QueryRegionListHttpRsp { diff --git a/proto/Quest.proto b/proto/Quest.proto index 2edc76b5..eb91b5a7 100644 --- a/proto/Quest.proto +++ b/proto/Quest.proto @@ -1,37 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message Quest { - uint32 quest_id = 1; - uint32 state = 2; - uint32 start_time = 4; - bool is_random = 5; - uint32 parent_quest_id = 6; - uint32 quest_config_id = 7; - uint32 start_game_time = 8; - uint32 accept_time = 9; - repeated uint32 lacked_npc_list = 10; - repeated uint32 finish_progress_list = 11; - repeated uint32 fail_progress_list = 12; - map lacked_npc_map = 13; - repeated uint32 lacked_place_list = 14; - map lacked_place_map = 15; + uint32 questId = 1; + uint32 state = 2; + uint32 startTime = 4; + bool isRandom = 5; + uint32 parentQuestId = 6; + uint32 questConfigId = 7; + uint32 startGameTime = 8; + uint32 acceptTime = 9; + repeated uint32 lackedNpcList = 10; + repeated uint32 finishProgressList = 11; + repeated uint32 failProgressList = 12; + map lackedNpcMap = 13; + repeated uint32 lackedPlaceList = 14; + map lackedPlaceMap = 15; } diff --git a/proto/QuestCreateEntityReq.proto b/proto/QuestCreateEntityReq.proto index 12c19ec7..aea5e11c 100644 --- a/proto/QuestCreateEntityReq.proto +++ b/proto/QuestCreateEntityReq.proto @@ -1,38 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "CreateEntityInfo.proto"; + +import "CreateEntityInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message QuestCreateEntityReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 457; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum MKFMDGNPOMH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 414; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 parent_quest_id = 14; - CreateEntityInfo entity = 3; - uint32 quest_id = 5; - bool is_rewind = 11; + uint32 parentQuestId = 4; + bool isRewind = 12; + CreateEntityInfo entity = 11; + uint32 questId = 10; } diff --git a/proto/QuestCreateEntityRsp.proto b/proto/QuestCreateEntityRsp.proto index 6b92cd36..06654ef2 100644 --- a/proto/QuestCreateEntityRsp.proto +++ b/proto/QuestCreateEntityRsp.proto @@ -1,39 +1,23 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "CreateEntityInfo.proto"; + +import "CreateEntityInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message QuestCreateEntityRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 427; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum LKNGENJJKNO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 424; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - CreateEntityInfo entity = 11; - uint32 entity_id = 3; - bool is_rewind = 9; - uint32 parent_quest_id = 2; - int32 retcode = 7; - uint32 quest_id = 1; + bool isRewind = 14; + uint32 parentQuestId = 7; + CreateEntityInfo entity = 12; + uint32 entityId = 6; + uint32 questId = 3; + int32 retcode = 13; } diff --git a/proto/QuestDelNotify.proto b/proto/QuestDelNotify.proto index b103b95e..cdb0c90c 100644 --- a/proto/QuestDelNotify.proto +++ b/proto/QuestDelNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message QuestDelNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 456; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum OIGLHNOJFMH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 487; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 quest_id = 8; + uint32 questId = 15; } diff --git a/proto/QuestDestroyEntityReq.proto b/proto/QuestDestroyEntityReq.proto index de3acda6..c4062068 100644 --- a/proto/QuestDestroyEntityReq.proto +++ b/proto/QuestDestroyEntityReq.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message QuestDestroyEntityReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 439; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum FEFNFHNBBPN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 429; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 entity_id = 8; - uint32 quest_id = 5; - uint32 scene_id = 6; + uint32 entityId = 10; + uint32 questId = 12; + uint32 sceneId = 13; } diff --git a/proto/QuestDestroyEntityRsp.proto b/proto/QuestDestroyEntityRsp.proto index 144669d5..72655ae6 100644 --- a/proto/QuestDestroyEntityRsp.proto +++ b/proto/QuestDestroyEntityRsp.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message QuestDestroyEntityRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 448; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum OALCMNAFOJE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 478; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 3; - uint32 scene_id = 6; - uint32 entity_id = 8; - uint32 quest_id = 9; + uint32 entityId = 9; + uint32 sceneId = 15; + int32 retcode = 8; + uint32 questId = 13; } diff --git a/proto/QuestDestroyNpcReq.proto b/proto/QuestDestroyNpcReq.proto index 2186bcbf..0f761d25 100644 --- a/proto/QuestDestroyNpcReq.proto +++ b/proto/QuestDestroyNpcReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message QuestDestroyNpcReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 437; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum PIIKIELCKPI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 492; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 npc_id = 15; - uint32 parent_quest_id = 2; + uint32 parentQuestId = 4; + uint32 npcId = 7; } diff --git a/proto/QuestDestroyNpcRsp.proto b/proto/QuestDestroyNpcRsp.proto index 3b550f53..1d92271e 100644 --- a/proto/QuestDestroyNpcRsp.proto +++ b/proto/QuestDestroyNpcRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message QuestDestroyNpcRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 489; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum DAONEJGHPDM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 488; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 npc_id = 14; - uint32 parent_quest_id = 8; - int32 retcode = 13; + uint32 npcId = 4; + uint32 parentQuestId = 6; + int32 retcode = 2; } diff --git a/proto/QuestGlobalVar.proto b/proto/QuestGlobalVar.proto index d05dff76..1f7efe53 100644 --- a/proto/QuestGlobalVar.proto +++ b/proto/QuestGlobalVar.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message QuestGlobalVar { - int32 value = 4; - uint32 key = 9; + int32 value = 14; + uint32 key = 9; } diff --git a/proto/QuestGlobalVarNotify.proto b/proto/QuestGlobalVarNotify.proto index 0f90a5cc..d267b92b 100644 --- a/proto/QuestGlobalVarNotify.proto +++ b/proto/QuestGlobalVarNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "QuestGlobalVar.proto"; + +import "QuestGlobalVar.proto"; option java_package = "emu.grasscutter.net.proto"; message QuestGlobalVarNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 480; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum JPMJBPBHBDK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 451; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated QuestGlobalVar var_list = 8; + repeated QuestGlobalVar varList = 12; } diff --git a/proto/QuestListNotify.proto b/proto/QuestListNotify.proto index 3036602a..ca9ad488 100644 --- a/proto/QuestListNotify.proto +++ b/proto/QuestListNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Quest.proto"; + +import "Quest.proto"; option java_package = "emu.grasscutter.net.proto"; message QuestListNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 479; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum DIGKMOIBFKF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 405; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated Quest quest_list = 13; + repeated Quest questList = 13; } diff --git a/proto/QuestListUpdateNotify.proto b/proto/QuestListUpdateNotify.proto index df249f35..997bee9a 100644 --- a/proto/QuestListUpdateNotify.proto +++ b/proto/QuestListUpdateNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Quest.proto"; + +import "Quest.proto"; option java_package = "emu.grasscutter.net.proto"; message QuestListUpdateNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 430; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum GJIKBHHMHAC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 455; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated Quest quest_list = 7; + repeated Quest questList = 13; } diff --git a/proto/QuestProgressUpdateNotify.proto b/proto/QuestProgressUpdateNotify.proto index f34c787b..805642ad 100644 --- a/proto/QuestProgressUpdateNotify.proto +++ b/proto/QuestProgressUpdateNotify.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message QuestProgressUpdateNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 490; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum OCENGLNIMJG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 406; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 quest_id = 9; - repeated uint32 finish_progress_list = 12; - repeated uint32 fail_progress_list = 15; + uint32 questId = 9; + repeated uint32 failProgressList = 11; + repeated uint32 finishProgressList = 1; } diff --git a/proto/QuestRenameAvatarReq.proto b/proto/QuestRenameAvatarReq.proto index dc2a298d..45604596 100644 --- a/proto/QuestRenameAvatarReq.proto +++ b/proto/QuestRenameAvatarReq.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message QuestRenameAvatarReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 487; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum AMBGOMJIBBP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 467; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - string avatar_name = 11; - uint32 rename_id = 12; - bool is_check = 4; + bool isCheck = 6; + uint32 renameId = 9; + string avatarName = 11; } diff --git a/proto/QuestRenameAvatarRsp.proto b/proto/QuestRenameAvatarRsp.proto index c64b11a6..778f1000 100644 --- a/proto/QuestRenameAvatarRsp.proto +++ b/proto/QuestRenameAvatarRsp.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message QuestRenameAvatarRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 485; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum LLGBKAMNLLC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 401; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 11; - bool is_check = 4; - uint32 rename_id = 15; - string avatar_name = 8; + string avatarName = 15; + bool isCheck = 2; + uint32 renameId = 13; + int32 retcode = 10; } diff --git a/proto/QuestTransmitReq.proto b/proto/QuestTransmitReq.proto index 329a8d69..6efea248 100644 --- a/proto/QuestTransmitReq.proto +++ b/proto/QuestTransmitReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message QuestTransmitReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 446; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum GJCEGNFNEPB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 442; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 quest_id = 12; - uint32 point_id = 1; + uint32 questId = 10; + uint32 pointId = 3; } diff --git a/proto/QuestTransmitRsp.proto b/proto/QuestTransmitRsp.proto index 50ed3c49..ee0451cf 100644 --- a/proto/QuestTransmitRsp.proto +++ b/proto/QuestTransmitRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message QuestTransmitRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 475; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum OOCCCNBNFDE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 450; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 quest_id = 2; - int32 retcode = 14; - uint32 point_id = 6; + uint32 pointId = 8; + int32 retcode = 7; + uint32 questId = 5; } diff --git a/proto/QuestUpdateQuestTimeVarNotify.proto b/proto/QuestUpdateQuestTimeVarNotify.proto index 845aaa11..8aed6dfe 100644 --- a/proto/QuestUpdateQuestTimeVarNotify.proto +++ b/proto/QuestUpdateQuestTimeVarNotify.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message QuestUpdateQuestTimeVarNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 482; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum EMCOBKDGJNG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 436; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - map time_var_map = 1; - uint32 parent_quest_id = 14; + uint32 parentQuestId = 5; + map timeVarMap = 8; } diff --git a/proto/QuestUpdateQuestVarNotify.proto b/proto/QuestUpdateQuestVarNotify.proto index ecf6dafe..07d3805b 100644 --- a/proto/QuestUpdateQuestVarNotify.proto +++ b/proto/QuestUpdateQuestVarNotify.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message QuestUpdateQuestVarNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 473; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum KBDLKENNPFL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 500; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 parent_quest_var_seq = 9; - repeated int32 quest_var = 3; - uint32 parent_quest_id = 7; + uint32 parentQuestId = 11; + uint32 parentQuestVarSeq = 14; + repeated int32 questVar = 7; } diff --git a/proto/QuestUpdateQuestVarReq.proto b/proto/QuestUpdateQuestVarReq.proto index bb689c3b..09612b1a 100644 --- a/proto/QuestUpdateQuestVarReq.proto +++ b/proto/QuestUpdateQuestVarReq.proto @@ -1,38 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "QuestVarOp.proto"; + +import "QuestVarOp.proto"; option java_package = "emu.grasscutter.net.proto"; message QuestUpdateQuestVarReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 476; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum OAKICGPFBIK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 439; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 parent_quest_var_seq = 7; - repeated QuestVarOp quest_var_op_list = 11; - uint32 quest_id = 5; - uint32 parent_quest_id = 2; + uint32 parentQuestVarSeq = 9; + uint32 parentQuestId = 12; + repeated QuestVarOp questVarOpList = 4; + uint32 questId = 3; } diff --git a/proto/QuestUpdateQuestVarRsp.proto b/proto/QuestUpdateQuestVarRsp.proto index cfbc2a9e..292aa38c 100644 --- a/proto/QuestUpdateQuestVarRsp.proto +++ b/proto/QuestUpdateQuestVarRsp.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message QuestUpdateQuestVarRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 416; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HDLOCGAKGOM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 446; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 7; - uint32 parent_quest_var_seq = 1; - uint32 parent_quest_id = 8; - uint32 quest_id = 11; + int32 retcode = 2; + uint32 parentQuestVarSeq = 15; + uint32 parentQuestId = 4; + uint32 questId = 9; } diff --git a/proto/QuestVarOp.proto b/proto/QuestVarOp.proto index a9d75ed1..a38af929 100644 --- a/proto/QuestVarOp.proto +++ b/proto/QuestVarOp.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message QuestVarOp { - uint32 index = 9; - bool is_add = 3; - int32 value = 8; + uint32 index = 14; + int32 value = 6; + bool isAdd = 5; } diff --git a/proto/QuickOpenActivityReq.proto b/proto/QuickOpenActivityReq.proto new file mode 100644 index 00000000..bc8e2a67 --- /dev/null +++ b/proto/QuickOpenActivityReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message QuickOpenActivityReq { + enum EAJJJBPANHM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8999; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 activityId = 14; +} diff --git a/proto/QuickOpenActivityRsp.proto b/proto/QuickOpenActivityRsp.proto new file mode 100644 index 00000000..4dbba217 --- /dev/null +++ b/proto/QuickOpenActivityRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message QuickOpenActivityRsp { + enum LFCFFEBFOAC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8108; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 activityId = 7; + int32 retcode = 6; +} diff --git a/proto/QuickUseWidgetReq.proto b/proto/QuickUseWidgetReq.proto new file mode 100644 index 00000000..2f178550 --- /dev/null +++ b/proto/QuickUseWidgetReq.proto @@ -0,0 +1,27 @@ +syntax = "proto3"; + + + +import "LocationInfo.proto"; +import "CameraInfo.proto"; +import "CreatorInfo.proto"; +import "ThunderBirdFeatherInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message QuickUseWidgetReq { + enum LFAFKGPLPOP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4275; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + oneof DMBEEBDIJGG { + LocationInfo location_info = 1542; + CameraInfo camera_info = 1754; + CreatorInfo creator_info = 825; + ThunderBirdFeatherInfo thunder_bird_feather_info = 1365; + } +} diff --git a/proto/QuickUseWidgetRsp.proto b/proto/QuickUseWidgetRsp.proto index e5bdeee4..e6626715 100644 --- a/proto/QuickUseWidgetRsp.proto +++ b/proto/QuickUseWidgetRsp.proto @@ -1,42 +1,26 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ClientCollectorData.proto"; -import "OneoffGatherPointDetectorData.proto"; -import "SkyCrystalDetectorQuickUseResult.proto"; + +import "DetectorData.proto"; +import "ClientCollectorData.proto"; +import "SkyCrystalDetectorQuickUseResult.proto"; option java_package = "emu.grasscutter.net.proto"; message QuickUseWidgetRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4265; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum FPAIPJHLNFF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4252; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 material_id = 11; - int32 retcode = 12; - oneof param { - OneoffGatherPointDetectorData detector_data = 14; - ClientCollectorData client_collector_data = 10; - SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 172322; - } + int32 retcode = 8; + uint32 materialId = 6; + oneof BDMFCFAMHJK { + DetectorData detector_data = 1; + ClientCollectorData client_collector_data = 7; + SkyCrystalDetectorQuickUseResult sky_crystal_detector_quick_use_result = 139827; + } } diff --git a/proto/QuitReason.proto b/proto/QuitReason.proto new file mode 100644 index 00000000..f9b673c0 --- /dev/null +++ b/proto/QuitReason.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +enum QuitReason { + QUIT_REASON_INVALID = 0; + QUIT_REASON_HOST_NO_OTHER_PLAYER = 1; + QUIT_REASON_KICK_BY_HOST = 2; + QUIT_REASON_BACK_TO_MY_WORLD = 3; + QUIT_REASON_KICK_BY_HOST_LOGOUT = 4; + QUIT_REASON_KICK_BY_HOST_BLOCK = 5; + QUIT_REASON_BE_BLOCKED = 6; +} diff --git a/proto/RacingGalleryInfo.proto b/proto/RacingGalleryInfo.proto new file mode 100644 index 00000000..0b3e33c0 --- /dev/null +++ b/proto/RacingGalleryInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "HomeRacingGalleryRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RacingGalleryInfo { + repeated HomeRacingGalleryRecord recordList = 2; +} diff --git a/proto/RacingGallerySettleInfo.proto b/proto/RacingGallerySettleInfo.proto new file mode 100644 index 00000000..f77c152a --- /dev/null +++ b/proto/RacingGallerySettleInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "GalleryStopReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RacingGallerySettleInfo { + uint32 useTime = 9; + GalleryStopReason reason = 3; + uint32 winnerUid = 10; +} diff --git a/proto/ReactionBegin.proto b/proto/ReactionBegin.proto new file mode 100644 index 00000000..c3300d1d --- /dev/null +++ b/proto/ReactionBegin.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ReactionBegin { + uint32 skillId = 8; + uint32 cardGuid = 3; +} diff --git a/proto/ReactionEnd.proto b/proto/ReactionEnd.proto new file mode 100644 index 00000000..cd6bf5cd --- /dev/null +++ b/proto/ReactionEnd.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ReactionEnd { + uint32 skillId = 15; +} diff --git a/proto/ReadMailNotify.proto b/proto/ReadMailNotify.proto index be719da8..dfe96bb0 100644 --- a/proto/ReadMailNotify.proto +++ b/proto/ReadMailNotify.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ReadMailNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1456; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum LGJJGCAHHCD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1487; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated uint32 mail_id_list = 7; + repeated uint32 mailIdList = 15; } diff --git a/proto/ReadNicknameAuditReq.proto b/proto/ReadNicknameAuditReq.proto new file mode 100644 index 00000000..16f3c91b --- /dev/null +++ b/proto/ReadNicknameAuditReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ReadNicknameAuditReq { + enum AHPDJIFHIIF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 197; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 1; +} diff --git a/proto/ReadNicknameAuditRsp.proto b/proto/ReadNicknameAuditRsp.proto new file mode 100644 index 00000000..c2c067ad --- /dev/null +++ b/proto/ReadNicknameAuditRsp.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ReadNicknameAuditRsp { + enum OKPDCPFCLNP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 102; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 mbbjhalknla = 13; + bool fdabeplffil = 8; + uint32 nnnnclfpean = 9; + uint32 ejkmamgnbgj = 3; +} diff --git a/proto/ReadPrivateChatReq.proto b/proto/ReadPrivateChatReq.proto index c230a84b..b9898c2b 100644 --- a/proto/ReadPrivateChatReq.proto +++ b/proto/ReadPrivateChatReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ReadPrivateChatReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 5007; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum PKHBCNNLAGH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4964; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 target_uid = 15; + uint32 targetUid = 5; } diff --git a/proto/ReadPrivateChatRsp.proto b/proto/ReadPrivateChatRsp.proto new file mode 100644 index 00000000..d9848059 --- /dev/null +++ b/proto/ReadPrivateChatRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ReadPrivateChatRsp { + enum LCAJCJNALAH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4974; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 7; +} diff --git a/proto/ReadSignatureAuditReq.proto b/proto/ReadSignatureAuditReq.proto new file mode 100644 index 00000000..5ab87c1d --- /dev/null +++ b/proto/ReadSignatureAuditReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ReadSignatureAuditReq { + enum KACDAECBPFN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4089; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/ReadSignatureAuditRsp.proto b/proto/ReadSignatureAuditRsp.proto new file mode 100644 index 00000000..a85a88ca --- /dev/null +++ b/proto/ReadSignatureAuditRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ReadSignatureAuditRsp { + enum GEPKHMAMPEO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4038; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 6; +} diff --git a/proto/Reason.proto b/proto/Reason.proto new file mode 100644 index 00000000..b6ddb3a1 --- /dev/null +++ b/proto/Reason.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +enum Reason { + REASON_SUCC = 0; + REASON_TARGET_SCENE_CANNOT_ENTER = 1; + REASON_SELF_MP_UNAVAILABLE = 2; + REASON_OTHER_DATA_VERSION_NOT_LATEST = 3; + REASON_DATA_VERSION_NOT_LATEST = 4; + REASON_GM_CLEAR = 5; + REASON_PLAYER_TRANSFER = 6; + REASON_CLIENT_CHECKSUM_INVALID = 7; + NHMKGJGLHPO = 8; +} diff --git a/proto/ReceivedTrialAvatarActivityRewardReq.proto b/proto/ReceivedTrialAvatarActivityRewardReq.proto new file mode 100644 index 00000000..237777fc --- /dev/null +++ b/proto/ReceivedTrialAvatarActivityRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ReceivedTrialAvatarActivityRewardReq { + enum GKNKKEOBOJO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2106; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 trialAvatarIndexId = 3; +} diff --git a/proto/ReceivedTrialAvatarActivityRewardRsp.proto b/proto/ReceivedTrialAvatarActivityRewardRsp.proto new file mode 100644 index 00000000..c6a7ad1b --- /dev/null +++ b/proto/ReceivedTrialAvatarActivityRewardRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ReceivedTrialAvatarActivityRewardRsp { + enum OFLGHCIPFDA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2074; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 activityId = 12; + int32 retcode = 5; + uint32 trialAvatarIndexId = 4; +} diff --git a/proto/RechargeReq.proto b/proto/RechargeReq.proto new file mode 100644 index 00000000..4e68293a --- /dev/null +++ b/proto/RechargeReq.proto @@ -0,0 +1,25 @@ +syntax = "proto3"; + + + +import "ShopMcoinProduct.proto"; +import "ShopCardProduct.proto"; +import "PlayProduct.proto"; +import "ShopConcertProduct.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RechargeReq { + enum LLEAGGMKINK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4138; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + ShopMcoinProduct mcoinProduct = 11; + ShopCardProduct cardProduct = 5; + PlayProduct playProduct = 6; + ShopConcertProduct concertProduct = 3; +} diff --git a/proto/RechargeRsp.proto b/proto/RechargeRsp.proto new file mode 100644 index 00000000..39de73ea --- /dev/null +++ b/proto/RechargeRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RechargeRsp { + enum JCFDBGGBEOO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4145; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 8; + string productId = 11; + bool isShowMinorsHint = 5; +} diff --git a/proto/RecordUsage.proto b/proto/RecordUsage.proto index 4a4848ed..fc7a6248 100644 --- a/proto/RecordUsage.proto +++ b/proto/RecordUsage.proto @@ -1,28 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum RecordUsage { - RECORD_USAGE_UGC_RECORD_USAGE_NONE = 0; - RECORD_USAGE_UGC_RECORD_USAGE_IMPORT = 1; - RECORD_USAGE_UGC_RECORD_USAGE_PLAY = 2; - RECORD_USAGE_UGC_RECORD_USAGE_TRIAL = 3; - RECORD_USAGE_UGC_RECORD_USAGE_COMPARE = 4; + RECORD_USAGE_UGC_RECORD_USAGE_NONE = 0; + RECORD_USAGE_UGC_RECORD_USAGE_IMPORT = 1; + RECORD_USAGE_UGC_RECORD_USAGE_PLAY = 2; + RECORD_USAGE_UGC_RECORD_USAGE_TRIAL = 3; + RECORD_USAGE_UGC_RECORD_USAGE_COMPARE = 4; } diff --git a/proto/RedPointData.proto b/proto/RedPointData.proto new file mode 100644 index 00000000..c8d1b356 --- /dev/null +++ b/proto/RedPointData.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RedPointData { + uint32 redPointType = 1; + bool isShow = 2; + uint32 contentId = 3; +} diff --git a/proto/RedeemLegendaryKeyReq.proto b/proto/RedeemLegendaryKeyReq.proto new file mode 100644 index 00000000..f9c65d43 --- /dev/null +++ b/proto/RedeemLegendaryKeyReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RedeemLegendaryKeyReq { + enum CKJCFMCDEAN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 435; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/RedeemLegendaryKeyRsp.proto b/proto/RedeemLegendaryKeyRsp.proto new file mode 100644 index 00000000..c9d5ed35 --- /dev/null +++ b/proto/RedeemLegendaryKeyRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RedeemLegendaryKeyRsp { + enum DDKHKKJJAJH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 407; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 legendaryKeyCount = 4; + int32 retcode = 6; +} diff --git a/proto/ReformFireworksReq.proto b/proto/ReformFireworksReq.proto new file mode 100644 index 00000000..b348e47d --- /dev/null +++ b/proto/ReformFireworksReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "FireworksReformData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ReformFireworksReq { + enum KPLMIHEDFMI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5941; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + FireworksReformData fireworksReformData = 8; +} diff --git a/proto/ReformFireworksRsp.proto b/proto/ReformFireworksRsp.proto new file mode 100644 index 00000000..c0779960 --- /dev/null +++ b/proto/ReformFireworksRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ReformFireworksRsp { + enum GKFGBPJEJOE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6008; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 15; +} diff --git a/proto/RefreshBackgroundAvatarReq.proto b/proto/RefreshBackgroundAvatarReq.proto new file mode 100644 index 00000000..fa53f349 --- /dev/null +++ b/proto/RefreshBackgroundAvatarReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RefreshBackgroundAvatarReq { + enum MAOFFBIMEBN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1629; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/RefreshBackgroundAvatarRsp.proto b/proto/RefreshBackgroundAvatarRsp.proto new file mode 100644 index 00000000..118562ad --- /dev/null +++ b/proto/RefreshBackgroundAvatarRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RefreshBackgroundAvatarRsp { + enum CIHAMKMFODI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1720; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 13; + map hpFullTimeMap = 4; +} diff --git a/proto/RefreshEntityAuthNotify.proto b/proto/RefreshEntityAuthNotify.proto new file mode 100644 index 00000000..0951beda --- /dev/null +++ b/proto/RefreshEntityAuthNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RefreshEntityAuthNotify { + enum DAAFMJIGPNM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3280; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 entityIdList = 11; +} diff --git a/proto/RefreshRogueDiaryCardReq.proto b/proto/RefreshRogueDiaryCardReq.proto new file mode 100644 index 00000000..316888ff --- /dev/null +++ b/proto/RefreshRogueDiaryCardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RefreshRogueDiaryCardReq { + enum NJKGLABMMEM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8157; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 refreshCardList = 4; +} diff --git a/proto/RefreshRogueDiaryCardRsp.proto b/proto/RefreshRogueDiaryCardRsp.proto new file mode 100644 index 00000000..d10a52c3 --- /dev/null +++ b/proto/RefreshRogueDiaryCardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RefreshRogueDiaryCardRsp { + enum HMELOBEOBBE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8910; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 randCardList = 9; + int32 retcode = 3; +} diff --git a/proto/RefreshRoguelikeDungeonCardReq.proto b/proto/RefreshRoguelikeDungeonCardReq.proto new file mode 100644 index 00000000..2a0112cc --- /dev/null +++ b/proto/RefreshRoguelikeDungeonCardReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RefreshRoguelikeDungeonCardReq { + enum GNGAOEIDAMP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8070; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/RefreshRoguelikeDungeonCardRsp.proto b/proto/RefreshRoguelikeDungeonCardRsp.proto new file mode 100644 index 00000000..0bea4da5 --- /dev/null +++ b/proto/RefreshRoguelikeDungeonCardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RefreshRoguelikeDungeonCardRsp { + enum AAJMJJMPNAN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8302; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 9; + repeated uint32 resCardList = 12; +} diff --git a/proto/RegionEvent.proto b/proto/RegionEvent.proto new file mode 100644 index 00000000..2f36e191 --- /dev/null +++ b/proto/RegionEvent.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum RegionEvent { + REGION_EVENT_NONE = 0; + REGION_EVENT_ENTER = 1; + REGION_EVENT_LEAVE = 2; +} diff --git a/proto/RegionInfo.proto b/proto/RegionInfo.proto index 1ad781d3..3c7effe0 100644 --- a/proto/RegionInfo.proto +++ b/proto/RegionInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "ResVersionConfig.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message RegionInfo { diff --git a/proto/RegionSearch.proto b/proto/RegionSearch.proto new file mode 100644 index 00000000..d38db461 --- /dev/null +++ b/proto/RegionSearch.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "RegionSearchState.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RegionSearch { + uint32 regionSearchId = 1; + RegionSearchState state = 15; + bool isEntered = 6; + uint32 progress = 8; +} diff --git a/proto/RegionSearchChangeRegionNotify.proto b/proto/RegionSearchChangeRegionNotify.proto new file mode 100644 index 00000000..a0a6a659 --- /dev/null +++ b/proto/RegionSearchChangeRegionNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "RegionEvent.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RegionSearchChangeRegionNotify { + enum JDELBHMKBLN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5645; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 regionId = 8; + RegionEvent event = 12; +} diff --git a/proto/RegionSearchInfo.proto b/proto/RegionSearchInfo.proto new file mode 100644 index 00000000..9151fb4f --- /dev/null +++ b/proto/RegionSearchInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "RegionSearch.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RegionSearchInfo { + uint32 id = 7; + repeated RegionSearch regionSearchList = 4; + bool isEntered = 14; +} diff --git a/proto/RegionSearchNotify.proto b/proto/RegionSearchNotify.proto new file mode 100644 index 00000000..a5a0a484 --- /dev/null +++ b/proto/RegionSearchNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "RegionSearchInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RegionSearchNotify { + enum GPJGABMLJOJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5638; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 uid = 1; + repeated RegionSearchInfo regionSearchList = 15; +} diff --git a/proto/RegionSearchState.proto b/proto/RegionSearchState.proto new file mode 100644 index 00000000..3aee8bd6 --- /dev/null +++ b/proto/RegionSearchState.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +enum RegionSearchState { + REGION_SEARCH_STATE_NONE = 0; + REGION_SEARCH_STATE_UNSTARTED = 1; + REGION_SEARCH_STATE_STARTED = 2; + REGION_SEARCH_STATE_WAIT_REWARD = 3; + REGION_SEARCH_STATE_FINISHED = 4; +} diff --git a/proto/RegionSimpleInfo.proto b/proto/RegionSimpleInfo.proto index 6d48b932..8700bdcd 100644 --- a/proto/RegionSimpleInfo.proto +++ b/proto/RegionSimpleInfo.proto @@ -17,6 +17,7 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message RegionSimpleInfo { diff --git a/proto/RegionalPlayInfoNotify.proto b/proto/RegionalPlayInfoNotify.proto new file mode 100644 index 00000000..16b3d001 --- /dev/null +++ b/proto/RegionalPlayInfoNotify.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "RegionalPlayVar.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RegionalPlayInfoNotify { + enum GBOBFCLEGEI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6288; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + string playName = 8; + repeated RegionalPlayVar varList = 11; + uint32 playType = 14; + bool isEnabled = 2; + bool isInRegion = 7; +} diff --git a/proto/RegionalPlayVar.proto b/proto/RegionalPlayVar.proto new file mode 100644 index 00000000..88414ced --- /dev/null +++ b/proto/RegionalPlayVar.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RegionalPlayVar { + float baseValue = 4; + float maxValue = 15; + uint32 type = 8; + float value = 12; +} diff --git a/proto/Reliquary.proto b/proto/Reliquary.proto index cef3d7f1..d67cea56 100644 --- a/proto/Reliquary.proto +++ b/proto/Reliquary.proto @@ -1,28 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message Reliquary { - uint32 level = 1; - uint32 exp = 2; - uint32 promote_level = 3; - uint32 main_prop_id = 4; - repeated uint32 append_prop_id_list = 5; + uint32 level = 1; + uint32 exp = 2; + uint32 promoteLevel = 3; + uint32 mainPropId = 4; + repeated uint32 appendPropIdList = 5; } diff --git a/proto/ReliquaryDecomposeReq.proto b/proto/ReliquaryDecomposeReq.proto index 398334ca..b43e9c81 100644 --- a/proto/ReliquaryDecomposeReq.proto +++ b/proto/ReliquaryDecomposeReq.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ReliquaryDecomposeReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 631; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum EPEIECCGNGJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 640; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 config_id = 4; - uint32 target_count = 15; - repeated uint64 guid_list = 13; + uint32 targetCount = 5; + uint32 configId = 13; + repeated uint64 guidList = 2; } diff --git a/proto/ReliquaryDecomposeRsp.proto b/proto/ReliquaryDecomposeRsp.proto index 431cb1f9..2b551803 100644 --- a/proto/ReliquaryDecomposeRsp.proto +++ b/proto/ReliquaryDecomposeRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ReliquaryDecomposeRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 601; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum NPPDIIDIBDH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 682; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated uint64 guid_list = 6; - int32 retcode = 11; + int32 retcode = 13; + repeated uint64 guidList = 12; } diff --git a/proto/ReliquaryFilterStateNotify.proto b/proto/ReliquaryFilterStateNotify.proto index f47c1017..5d0f12cd 100644 --- a/proto/ReliquaryFilterStateNotify.proto +++ b/proto/ReliquaryFilterStateNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ReliquaryFilterStateNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 669; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum OEOHONEIBDO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 631; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - map reliquary_filter_state_map = 10; + map reliquaryFilterStateMap = 11; } diff --git a/proto/ReliquaryFilterStateSaveNotify.proto b/proto/ReliquaryFilterStateSaveNotify.proto index e3a42f48..c1abfcc7 100644 --- a/proto/ReliquaryFilterStateSaveNotify.proto +++ b/proto/ReliquaryFilterStateSaveNotify.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ReliquaryFilterStateSaveNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 638; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum LBCPMMCKAIH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 672; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - map reliquary_filter_state_map = 4; + map reliquaryFilterStateMap = 3; } diff --git a/proto/ReliquaryPromoteReq.proto b/proto/ReliquaryPromoteReq.proto index 3303c41b..4d6b09ad 100644 --- a/proto/ReliquaryPromoteReq.proto +++ b/proto/ReliquaryPromoteReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ReliquaryPromoteReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 617; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum LADFFFPIACA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 618; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint64 target_guid = 3; - uint64 item_guid = 2; + uint64 itemGuid = 10; + uint64 targetGuid = 12; } diff --git a/proto/ReliquaryPromoteRsp.proto b/proto/ReliquaryPromoteRsp.proto index e48585e3..5a123aed 100644 --- a/proto/ReliquaryPromoteRsp.proto +++ b/proto/ReliquaryPromoteRsp.proto @@ -1,37 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ReliquaryPromoteRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 605; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum PLLBDKLOIEH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 675; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 old_append_prop_list = 8; - uint32 old_promote_level = 9; - repeated uint32 cur_append_prop_list = 13; - int32 retcode = 10; - uint64 target_reliquary_guid = 6; - uint32 cur_promote_level = 4; + repeated uint32 curAppendPropList = 12; + uint64 targetReliquaryGuid = 2; + int32 retcode = 6; + repeated uint32 oldAppendPropList = 11; + uint32 oldPromoteLevel = 7; + uint32 curPromoteLevel = 15; } diff --git a/proto/ReliquaryRequest.proto b/proto/ReliquaryRequest.proto index 39e7e895..fb06f97a 100644 --- a/proto/ReliquaryRequest.proto +++ b/proto/ReliquaryRequest.proto @@ -1,24 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ReliquaryRequest { - uint32 equip_type = 6; + uint32 equipType = 7; } diff --git a/proto/ReliquaryResponse.proto b/proto/ReliquaryResponse.proto index 5a674104..6ed7b0e6 100644 --- a/proto/ReliquaryResponse.proto +++ b/proto/ReliquaryResponse.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Unk2700_GBBDJMDIDEI.proto"; + +import "GameplayRecommendationReliquaryMainPropData.proto"; option java_package = "emu.grasscutter.net.proto"; message ReliquaryResponse { - repeated Unk2700_GBBDJMDIDEI Unk2700_DMDHDIHGPFA = 8; - uint32 equip_type = 3; + repeated GameplayRecommendationReliquaryMainPropData nbbpegfkpac = 12; + uint32 equipType = 15; } diff --git a/proto/ReliquaryUpgradeReq.proto b/proto/ReliquaryUpgradeReq.proto index d35d4337..7cfab1d0 100644 --- a/proto/ReliquaryUpgradeReq.proto +++ b/proto/ReliquaryUpgradeReq.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ItemParam.proto"; + +import "ItemParam.proto"; option java_package = "emu.grasscutter.net.proto"; message ReliquaryUpgradeReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 644; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum HPFACEEFIAE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 625; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated uint64 food_reliquary_guid_list = 3; - repeated ItemParam item_param_list = 15; - uint64 target_reliquary_guid = 8; + repeated uint64 foodReliquaryGuidList = 13; + uint64 targetReliquaryGuid = 14; + repeated ItemParam itemParamList = 8; } diff --git a/proto/ReliquaryUpgradeRsp.proto b/proto/ReliquaryUpgradeRsp.proto index 5b0b8091..63b40c75 100644 --- a/proto/ReliquaryUpgradeRsp.proto +++ b/proto/ReliquaryUpgradeRsp.proto @@ -1,38 +1,23 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ReliquaryUpgradeRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 607; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum ANKKJBOKGBM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 658; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 cur_append_prop_list = 13; - int32 retcode = 11; - uint64 target_reliquary_guid = 14; - uint32 cur_level = 2; - uint32 old_level = 6; - repeated uint32 old_append_prop_list = 10; - uint32 power_up_rate = 1; + repeated uint32 oldAppendPropList = 14; + int32 retcode = 8; + uint32 powerUpRate = 9; + uint64 targetReliquaryGuid = 12; + repeated uint32 curAppendPropList = 4; + uint32 oldLevel = 15; + uint32 curLevel = 13; } diff --git a/proto/RemotePlayerWidgetNotify.proto b/proto/RemotePlayerWidgetNotify.proto new file mode 100644 index 00000000..00f8f390 --- /dev/null +++ b/proto/RemotePlayerWidgetNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "PlayerWidgetInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RemotePlayerWidgetNotify { + enum EEINCMFJCDI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5996; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated PlayerWidgetInfo playerWidgetInfoList = 8; +} diff --git a/proto/RemoveBlacklistReq.proto b/proto/RemoveBlacklistReq.proto new file mode 100644 index 00000000..fe351f2a --- /dev/null +++ b/proto/RemoveBlacklistReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RemoveBlacklistReq { + enum KPGCDJGNKFH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4022; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 targetUid = 11; +} diff --git a/proto/RemoveBlacklistRsp.proto b/proto/RemoveBlacklistRsp.proto new file mode 100644 index 00000000..c6b004f7 --- /dev/null +++ b/proto/RemoveBlacklistRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RemoveBlacklistRsp { + enum OFGNGOKABNB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4045; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 targetUid = 7; + int32 retcode = 1; +} diff --git a/proto/RemoveCards.proto b/proto/RemoveCards.proto new file mode 100644 index 00000000..d30ff799 --- /dev/null +++ b/proto/RemoveCards.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "GCGZoneType.proto"; +import "GCGReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RemoveCards { + repeated uint32 cardGuidList = 14; + GCGZoneType zone = 9; + uint32 controllerId = 4; + GCGReason reason = 6; +} diff --git a/proto/RemoveCustomDungeonReq.proto b/proto/RemoveCustomDungeonReq.proto new file mode 100644 index 00000000..8b5b8763 --- /dev/null +++ b/proto/RemoveCustomDungeonReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RemoveCustomDungeonReq { + enum BJOEAFPMMMB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6225; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint64 dungeonGuid = 1; +} diff --git a/proto/RemoveCustomDungeonRsp.proto b/proto/RemoveCustomDungeonRsp.proto new file mode 100644 index 00000000..14049cbc --- /dev/null +++ b/proto/RemoveCustomDungeonRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RemoveCustomDungeonRsp { + enum LFCMGJEEGCI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6202; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint64 dungeonGuid = 9; + int32 retcode = 6; +} diff --git a/proto/RemoveRandTaskInfoNotify.proto b/proto/RemoveRandTaskInfoNotify.proto new file mode 100644 index 00000000..813285d1 --- /dev/null +++ b/proto/RemoveRandTaskInfoNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "FinishReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RemoveRandTaskInfoNotify { + enum DJBDIIHBLKC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 115; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 randTaskId = 9; + bool isSucc = 7; + FinishReason reason = 2; +} diff --git a/proto/ReplayCustomDungeonReq.proto b/proto/ReplayCustomDungeonReq.proto new file mode 100644 index 00000000..20c163cc --- /dev/null +++ b/proto/ReplayCustomDungeonReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ReplayCustomDungeonReq { + enum OBHBBKAEMGA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6250; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/ReplayCustomDungeonRsp.proto b/proto/ReplayCustomDungeonRsp.proto new file mode 100644 index 00000000..f6370e71 --- /dev/null +++ b/proto/ReplayCustomDungeonRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ReplayCustomDungeonRsp { + enum HFCFBNPLPIP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6217; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + int32 retcode = 7; +} diff --git a/proto/ReportFightAntiCheatNotify.proto b/proto/ReportFightAntiCheatNotify.proto new file mode 100644 index 00000000..28f86f29 --- /dev/null +++ b/proto/ReportFightAntiCheatNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ReportFightAntiCheatNotify { + enum CHDMMCOEHDK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 311; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 Unk3300_ABCKMPPMNCH = 12; + uint32 Unk3300_MIFNAAADBBP = 8; +} diff --git a/proto/ReportReasonType.proto b/proto/ReportReasonType.proto new file mode 100644 index 00000000..e20bb48d --- /dev/null +++ b/proto/ReportReasonType.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +enum ReportReasonType { + REPORT_REASON_TYPE_NONE = 0; + REPORT_REASON_TYPE_DECEPTIVE_ADS = 1; + REPORT_REASON_TYPE_ABUSING = 2; + REPORT_REASON_TYPE_CHEAT = 3; + REPORT_REASON_TYPE_POLITICAL = 4; + REPORT_REASON_TYPE_OTHER = 5; + REPORT_REASON_TYPE_HOME = 6; +} diff --git a/proto/ReportTrackingIOInfoNotify.proto b/proto/ReportTrackingIOInfoNotify.proto new file mode 100644 index 00000000..fffcf960 --- /dev/null +++ b/proto/ReportTrackingIOInfoNotify.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ReportTrackingIOInfoNotify { + enum JFLNOJGPPOC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4131; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + string Unk3300_CNPIGDOEJPB = 5; + string rydevicetype = 8; + string Unk3300_DJHKHEFPCDK = 3; + string clientTz = 2; + string Unk3300_PIBFPDAMJLE = 9; +} diff --git a/proto/RequestLiveInfoReq.proto b/proto/RequestLiveInfoReq.proto new file mode 100644 index 00000000..eb5ebf22 --- /dev/null +++ b/proto/RequestLiveInfoReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RequestLiveInfoReq { + enum OMBPGOCMMNK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 875; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 liveId = 10; +} diff --git a/proto/RequestLiveInfoRsp.proto b/proto/RequestLiveInfoRsp.proto new file mode 100644 index 00000000..13c1b409 --- /dev/null +++ b/proto/RequestLiveInfoRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RequestLiveInfoRsp { + enum DDFGFFBNGHD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 828; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + string Unk3300_DNGGIOIKLHC = 3; + int32 retcode = 15; + uint32 liveId = 11; + string Unk3300_BDOGCPKPLOK = 1; +} diff --git a/proto/ResVersionConfig.proto b/proto/ResVersionConfig.proto index 328dfd00..1ff83c4a 100644 --- a/proto/ResVersionConfig.proto +++ b/proto/ResVersionConfig.proto @@ -1,30 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ResVersionConfig { - uint32 version = 1; - bool relogin = 2; - string md5 = 3; - string release_total_size = 4; - string version_suffix = 5; - string branch = 6; - string next_script_version = 7; + uint32 version = 1; + bool relogin = 2; + string md5 = 3; + string releaseTotalSize = 4; + string versionSuffix = 5; + string branch = 6; + string nextScriptVersion = 7; } diff --git a/proto/ReserveRogueDiaryAvatarReq.proto b/proto/ReserveRogueDiaryAvatarReq.proto new file mode 100644 index 00000000..0cc6b255 --- /dev/null +++ b/proto/ReserveRogueDiaryAvatarReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "RogueDiaryAvatar.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ReserveRogueDiaryAvatarReq { + enum GJMGKLDHJBF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8607; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated RogueDiaryAvatar reserveAvatarList = 1; +} diff --git a/proto/ReserveRogueDiaryAvatarRsp.proto b/proto/ReserveRogueDiaryAvatarRsp.proto new file mode 100644 index 00000000..ccb71c3f --- /dev/null +++ b/proto/ReserveRogueDiaryAvatarRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ReserveRogueDiaryAvatarRsp { + enum CMJHJPMFJIH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8800; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; +} diff --git a/proto/ResetRogueDiaryPlayReq.proto b/proto/ResetRogueDiaryPlayReq.proto new file mode 100644 index 00000000..d42c3dac --- /dev/null +++ b/proto/ResetRogueDiaryPlayReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ResetRogueDiaryPlayReq { + enum KCBMEGELPBF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8702; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 stageId = 10; +} diff --git a/proto/ResetRogueDiaryPlayRsp.proto b/proto/ResetRogueDiaryPlayRsp.proto new file mode 100644 index 00000000..192c0725 --- /dev/null +++ b/proto/ResetRogueDiaryPlayRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ResetRogueDiaryPlayRsp { + enum BENNENFHCLM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8282; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 15; +} diff --git a/proto/ResinCardData.proto b/proto/ResinCardData.proto new file mode 100644 index 00000000..b7ac40a6 --- /dev/null +++ b/proto/ResinCardData.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ResinCardData { + uint32 configId = 14; + uint32 remainRewardDays = 10; + uint32 expireTime = 5; + uint32 lastDailyRewardTime = 7; +} diff --git a/proto/ResinCardDataUpdateNotify.proto b/proto/ResinCardDataUpdateNotify.proto new file mode 100644 index 00000000..f54503ec --- /dev/null +++ b/proto/ResinCardDataUpdateNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "ResinCardData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ResinCardDataUpdateNotify { + enum EDCMHABBIJK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4125; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 todayStartTime = 15; + repeated ResinCardData cardDataList = 10; +} diff --git a/proto/ResinChangeNotify.proto b/proto/ResinChangeNotify.proto index 41d1f1a0..2942cb4b 100644 --- a/proto/ResinChangeNotify.proto +++ b/proto/ResinChangeNotify.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ResinChangeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 611; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum AJMGAALGPGO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 694; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 cur_buy_count = 11; - uint32 next_add_timestamp = 13; - uint32 cur_value = 10; + uint32 curValue = 12; + uint32 nextAddTimestamp = 4; + uint32 curBuyCount = 5; } diff --git a/proto/ResinCostType.proto b/proto/ResinCostType.proto index 49ee4864..1d97c32b 100644 --- a/proto/ResinCostType.proto +++ b/proto/ResinCostType.proto @@ -1,29 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum ResinCostType { - RESIN_COST_TYPE_NONE = 0; - RESIN_COST_TYPE_NORMAL = 1; - RESIN_COST_TYPE_CONDENSE = 2; - RESIN_COST_TYPE_REUNION_PRIVILEGE = 3; - RESIN_COST_TYPE_OP_ACTIVITY = 4; - RESIN_COST_TYPE_MATERIAL = 5; + RESIN_COST_TYPE_NONE = 0; + RESIN_COST_TYPE_NORMAL = 1; + RESIN_COST_TYPE_CONDENSE = 2; + RESIN_COST_TYPE_REUNION_PRIVILEGE = 3; + RESIN_COST_TYPE_OP_ACTIVITY = 4; + RESIN_COST_TYPE_MATERIAL = 5; } diff --git a/proto/RestartCoinCollectPlaySingleModeReq.proto b/proto/RestartCoinCollectPlaySingleModeReq.proto new file mode 100644 index 00000000..f5a051b0 --- /dev/null +++ b/proto/RestartCoinCollectPlaySingleModeReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RestartCoinCollectPlaySingleModeReq { + enum HMOLHOLNNMC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 22217; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 levelId = 13; + uint32 multistagePlayIndex = 4; +} diff --git a/proto/RestartCoinCollectPlaySingleModeRsp.proto b/proto/RestartCoinCollectPlaySingleModeRsp.proto new file mode 100644 index 00000000..3831e96b --- /dev/null +++ b/proto/RestartCoinCollectPlaySingleModeRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RestartCoinCollectPlaySingleModeRsp { + enum HAHFJFJOCLD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 22874; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 9; + uint32 levelId = 14; +} diff --git a/proto/RestartEffigyChallengeReq.proto b/proto/RestartEffigyChallengeReq.proto new file mode 100644 index 00000000..854c48bf --- /dev/null +++ b/proto/RestartEffigyChallengeReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RestartEffigyChallengeReq { + enum PODHHKIFPAF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2131; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/RestartEffigyChallengeRsp.proto b/proto/RestartEffigyChallengeRsp.proto new file mode 100644 index 00000000..43e23901 --- /dev/null +++ b/proto/RestartEffigyChallengeRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RestartEffigyChallengeRsp { + enum LCMIGACEOJK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2077; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; +} diff --git a/proto/ResumeRogueDiaryDungeonReq.proto b/proto/ResumeRogueDiaryDungeonReq.proto new file mode 100644 index 00000000..f00ebab2 --- /dev/null +++ b/proto/ResumeRogueDiaryDungeonReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ResumeRogueDiaryDungeonReq { + enum OGMPHLKCCBD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8406; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 stageId = 11; +} diff --git a/proto/ResumeRogueDiaryDungeonRsp.proto b/proto/ResumeRogueDiaryDungeonRsp.proto new file mode 100644 index 00000000..b95e411b --- /dev/null +++ b/proto/ResumeRogueDiaryDungeonRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ResumeRogueDiaryDungeonRsp { + enum CICFHMEPACN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8382; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 5; +} diff --git a/proto/RetryCurRogueDiaryDungeonReq.proto b/proto/RetryCurRogueDiaryDungeonReq.proto new file mode 100644 index 00000000..ebd1efb7 --- /dev/null +++ b/proto/RetryCurRogueDiaryDungeonReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RetryCurRogueDiaryDungeonReq { + enum MAFJJFABHDL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8009; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/RetryCurRogueDiaryDungeonRsp.proto b/proto/RetryCurRogueDiaryDungeonRsp.proto new file mode 100644 index 00000000..d19ed3f9 --- /dev/null +++ b/proto/RetryCurRogueDiaryDungeonRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RetryCurRogueDiaryDungeonRsp { + enum MHEJHIHKFFE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8523; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 12; +} diff --git a/proto/ReunionActivateNotify.proto b/proto/ReunionActivateNotify.proto new file mode 100644 index 00000000..e0cadcca --- /dev/null +++ b/proto/ReunionActivateNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "ReunionBriefInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ReunionActivateNotify { + enum JBANEJLHMMC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5060; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + ReunionBriefInfo reunionBriefInfo = 7; + bool isActivate = 5; +} diff --git a/proto/ReunionBriefInfo.proto b/proto/ReunionBriefInfo.proto new file mode 100644 index 00000000..e41d39a6 --- /dev/null +++ b/proto/ReunionBriefInfo.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "ReunionPrivilegeInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ReunionBriefInfo { + uint32 privilegeId = 15; + uint32 finishTime = 5; + uint32 missionId = 11; + bool Unk3300_ODKLPOMKKPD = 14; + ReunionPrivilegeInfo privilegeInfo = 8; + bool Unk3300_MHHLEJIFFIM = 13; + string version = 7; + uint32 firstGiftRewardId = 9; + uint32 firstDayStartTime = 1; + uint32 startTime = 10; + uint32 signInConfigId = 6; + bool Unk3300_OKGAAEDENEI = 2; +} diff --git a/proto/ReunionBriefInfoReq.proto b/proto/ReunionBriefInfoReq.proto new file mode 100644 index 00000000..b6fc14ca --- /dev/null +++ b/proto/ReunionBriefInfoReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ReunionBriefInfoReq { + enum CELEGDOJAAO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5088; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/ReunionBriefInfoRsp.proto b/proto/ReunionBriefInfoRsp.proto new file mode 100644 index 00000000..2899eaae --- /dev/null +++ b/proto/ReunionBriefInfoRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "ReunionBriefInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ReunionBriefInfoRsp { + enum CODFOMKNMLB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5095; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 3; + bool isActivate = 11; + ReunionBriefInfo reunionBriefInfo = 8; +} diff --git a/proto/ReunionDailyRefreshNotify.proto b/proto/ReunionDailyRefreshNotify.proto new file mode 100644 index 00000000..281445f5 --- /dev/null +++ b/proto/ReunionDailyRefreshNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "ReunionBriefInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ReunionDailyRefreshNotify { + enum BDDMAMGBIHB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5098; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + ReunionBriefInfo reunionBriefInfo = 13; +} diff --git a/proto/ReunionMissionInfo.proto b/proto/ReunionMissionInfo.proto new file mode 100644 index 00000000..3b86f1a5 --- /dev/null +++ b/proto/ReunionMissionInfo.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +import "ReunionWatcherInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ReunionMissionInfo { + uint32 missionId = 7; + repeated bool isTakenRewardList = 15; + bool isTakenReward = 3; + uint32 curScore = 4; + bool isFinished = 2; + repeated ReunionWatcherInfo watcherList = 13; + repeated ReunionWatcherInfo curDayWatcherList = 1; + uint32 nextRefreshTime = 6; +} diff --git a/proto/ReunionPrivilegeChangeNotify.proto b/proto/ReunionPrivilegeChangeNotify.proto new file mode 100644 index 00000000..701d1ad8 --- /dev/null +++ b/proto/ReunionPrivilegeChangeNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "ReunionPrivilegeInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ReunionPrivilegeChangeNotify { + enum HMLPJMJGLNB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5056; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + ReunionPrivilegeInfo privilegeInfo = 13; +} diff --git a/proto/ReunionPrivilegeInfo.proto b/proto/ReunionPrivilegeInfo.proto new file mode 100644 index 00000000..2e7a18a6 --- /dev/null +++ b/proto/ReunionPrivilegeInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ReunionPrivilegeInfo { + uint32 Unk3300_ALOLACFGMHI = 7; + uint32 privilegeId = 12; + uint32 Unk3300_GJBEAFPMFAA = 8; +} diff --git a/proto/ReunionSettleNotify.proto b/proto/ReunionSettleNotify.proto new file mode 100644 index 00000000..16e6850c --- /dev/null +++ b/proto/ReunionSettleNotify.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ReunionSettleNotify { + enum OBGKGLDEFPP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5053; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + +} diff --git a/proto/ReunionSignInInfo.proto b/proto/ReunionSignInInfo.proto new file mode 100644 index 00000000..84b0a4ee --- /dev/null +++ b/proto/ReunionSignInInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ReunionSignInInfo { + uint32 Unk3300_NFNOKBNBLGE = 9; + uint32 configId = 13; + repeated uint32 rewardDayList = 5; + uint32 Unk3300_MNJELIDKMCF = 14; +} diff --git a/proto/ReunionWatcherInfo.proto b/proto/ReunionWatcherInfo.proto new file mode 100644 index 00000000..b9542fa1 --- /dev/null +++ b/proto/ReunionWatcherInfo.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ReunionWatcherInfo { + uint32 rewardUnlockTime = 7; + uint32 curProgress = 11; + uint32 watcherId = 12; + uint32 totalProgress = 10; + bool isTakenReward = 5; +} diff --git a/proto/Reward.proto b/proto/Reward.proto new file mode 100644 index 00000000..d7061745 --- /dev/null +++ b/proto/Reward.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message Reward { + uint32 rewardId = 1; + repeated ItemParam itemList = 2; +} diff --git a/proto/RobotPushPlayerDataNotify.proto b/proto/RobotPushPlayerDataNotify.proto index 11f3d404..7914763d 100644 --- a/proto/RobotPushPlayerDataNotify.proto +++ b/proto/RobotPushPlayerDataNotify.proto @@ -1,32 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + +import "bytes.proto"; option java_package = "emu.grasscutter.net.proto"; message RobotPushPlayerDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 99; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum DELIFMCIALG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 16; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - bytes bin = 7; + bytes bin = 6; } diff --git a/proto/RockBoardExploreDetailInfo.proto b/proto/RockBoardExploreDetailInfo.proto index 18ab77cd..c7328efd 100644 --- a/proto/RockBoardExploreDetailInfo.proto +++ b/proto/RockBoardExploreDetailInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "RockBoardExploreStageData.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message RockBoardExploreDetailInfo { diff --git a/proto/RockBoardExploreInfo.proto b/proto/RockBoardExploreInfo.proto new file mode 100644 index 00000000..9bf15641 --- /dev/null +++ b/proto/RockBoardExploreInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "RockBoardExploreStageData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RockBoardExploreInfo { + repeated RockBoardExploreStageData stageDataList = 10; +} diff --git a/proto/RockBoardExploreStageData.proto b/proto/RockBoardExploreStageData.proto index f1f3e843..3be7e43e 100644 --- a/proto/RockBoardExploreStageData.proto +++ b/proto/RockBoardExploreStageData.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message RockBoardExploreStageData { - bool is_finish = 8; - bool is_open = 9; - uint32 open_time = 12; - uint32 stage_id = 13; + bool isFinish = 1; + uint32 stageId = 9; + bool isOpen = 6; + uint32 openTime = 7; } diff --git a/proto/RogueAvatarInfo.proto b/proto/RogueAvatarInfo.proto index 0d27b2db..e306ef93 100644 --- a/proto/RogueAvatarInfo.proto +++ b/proto/RogueAvatarInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message RogueAvatarInfo { - bool is_onstage = 2; - bool is_alive = 8; - uint32 avatar_id = 5; + uint32 avatarId = 15; + bool isAlive = 5; + bool egkmacmbgbe = 1; } diff --git a/proto/RogueCellInfo.proto b/proto/RogueCellInfo.proto new file mode 100644 index 00000000..8d4b7b62 --- /dev/null +++ b/proto/RogueCellInfo.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "RogueCellState.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RogueCellInfo { + uint32 cellConfigId = 8; + RogueCellState state = 2; + uint32 cellId = 4; + uint32 cellType = 3; + uint32 dungeonId = 1; +} diff --git a/proto/RogueCellState.proto b/proto/RogueCellState.proto new file mode 100644 index 00000000..aa255fa9 --- /dev/null +++ b/proto/RogueCellState.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +enum RogueCellState { + ROGUE_CELL_STATE_NONE = 0; + ROGUE_CELL_STATE_BATTLE = 1; + ROGUE_CELL_STATE_SUCCESS = 2; + ROGUE_CELL_STATE_FINISH = 3; + ROGUE_CELL_STATE_TAKEN_CHEST = 4; +} diff --git a/proto/RogueCellUpdateNotify.proto b/proto/RogueCellUpdateNotify.proto new file mode 100644 index 00000000..e10fcca6 --- /dev/null +++ b/proto/RogueCellUpdateNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "RogueCellInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RogueCellUpdateNotify { + enum BBAMALKNIEP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8067; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + RogueCellInfo cellInfo = 15; +} diff --git a/proto/RogueDiaryActivityDetailInfo.proto b/proto/RogueDiaryActivityDetailInfo.proto index 2cbb184e..f742e89c 100644 --- a/proto/RogueDiaryActivityDetailInfo.proto +++ b/proto/RogueDiaryActivityDetailInfo.proto @@ -20,6 +20,7 @@ syntax = "proto3"; import "RogueDiaryProgress.proto"; import "RogueDiaryStageInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message RogueDiaryActivityDetailInfo { diff --git a/proto/RogueDiaryAvatar.proto b/proto/RogueDiaryAvatar.proto new file mode 100644 index 00000000..9ca3078f --- /dev/null +++ b/proto/RogueDiaryAvatar.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "ActivityDungeonAvatar.proto"; +import "RogueDiaryAvatarDisableStatus.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RogueDiaryAvatar { + repeated RogueDiaryAvatarDisableStatus disableStatusList = 4; + uint32 level = 2; + uint32 tiredRound = 9; + ActivityDungeonAvatar avatar = 6; +} diff --git a/proto/RogueDiaryAvatarDisableStatus.proto b/proto/RogueDiaryAvatarDisableStatus.proto new file mode 100644 index 00000000..2e1afb97 --- /dev/null +++ b/proto/RogueDiaryAvatarDisableStatus.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +enum RogueDiaryAvatarDisableStatus { + ROGUE_DIARY_AVATAR_DISABLE_STATUS_NONE = 0; + ROGUE_DIARY_AVATAR_DISABLE_STATUS_DEATH = 1; + ROGUE_DIARY_AVATAR_DISABLE_STATUS_TIRED = 2; + ROGUE_DIARY_AVATAR_DISABLE_STATUS_DUPLICATED = 3; +} diff --git a/proto/RogueDiaryCoinAddNotify.proto b/proto/RogueDiaryCoinAddNotify.proto new file mode 100644 index 00000000..949f6f9c --- /dev/null +++ b/proto/RogueDiaryCoinAddNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RogueDiaryCoinAddNotify { + enum OGHOEHPLMNI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8264; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 num = 7; +} diff --git a/proto/RogueDiaryDungeonInfoNotify.proto b/proto/RogueDiaryDungeonInfoNotify.proto new file mode 100644 index 00000000..d467ce0a --- /dev/null +++ b/proto/RogueDiaryDungeonInfoNotify.proto @@ -0,0 +1,28 @@ +syntax = "proto3"; + + + +import "RogueDiaryRoomInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RogueDiaryDungeonInfoNotify { + enum DEBOCJIIDDJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8695; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 stageId = 6; + repeated uint32 Unk3300_MMBEJGDFCGE = 13; + uint32 time = 7; + uint32 curRound = 12; + uint32 coin = 14; + repeated uint32 Unk3300_DKCFGLAKPJL = 11; + uint32 difficulty = 4; + repeated RogueDiaryRoomInfo roomList = 5; + uint32 dungeonId = 15; + uint32 curRoom = 1; +} diff --git a/proto/RogueDiaryDungeonRecord.proto b/proto/RogueDiaryDungeonRecord.proto index cb58dbf9..f6bac725 100644 --- a/proto/RogueDiaryDungeonRecord.proto +++ b/proto/RogueDiaryDungeonRecord.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message RogueDiaryDungeonRecord { - uint32 finish_time = 14; - bool is_finish = 10; - uint32 difficulty = 5; - uint32 max_round = 7; + uint32 finishTime = 9; + uint32 maxRound = 12; + bool isFinish = 7; + uint32 difficulty = 13; } diff --git a/proto/RogueDiaryDungeonSettleNotify.proto b/proto/RogueDiaryDungeonSettleNotify.proto index 56d2b866..d51cecc1 100644 --- a/proto/RogueDiaryDungeonSettleNotify.proto +++ b/proto/RogueDiaryDungeonSettleNotify.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message RogueDiaryDungeonSettleNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 8726; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum PBPFGDHOOMD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8224; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - bool is_finish = 14; - uint32 cur_round = 11; - uint32 explore_time = 4; + bool isFinish = 2; + uint32 exploreTime = 3; + uint32 curRound = 12; } diff --git a/proto/RogueDiaryInfo.proto b/proto/RogueDiaryInfo.proto new file mode 100644 index 00000000..afd7debe --- /dev/null +++ b/proto/RogueDiaryInfo.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "RogueDiaryProgress.proto"; +import "RogueDiaryStageInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RogueDiaryInfo { + RogueDiaryProgress curProgress = 5; + repeated RogueDiaryStageInfo stageList = 8; + bool leftMonsters = 1; + bool isHaveProgress = 13; +} diff --git a/proto/RogueDiaryProgress.proto b/proto/RogueDiaryProgress.proto index 86ff9504..62766411 100644 --- a/proto/RogueDiaryProgress.proto +++ b/proto/RogueDiaryProgress.proto @@ -1,28 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message RogueDiaryProgress { - uint32 difficulty = 10; - bool is_enter_dungeon = 3; - uint32 stage_id = 6; - repeated uint32 optional_card_list = 5; - uint32 cur_round = 4; + bool isEnterDungeon = 5; + repeated uint32 optionalCardList = 12; + uint32 curRound = 7; + uint32 stageId = 3; + uint32 difficulty = 11; } diff --git a/proto/RogueDiaryRepairInfoNotify.proto b/proto/RogueDiaryRepairInfoNotify.proto new file mode 100644 index 00000000..8f968f51 --- /dev/null +++ b/proto/RogueDiaryRepairInfoNotify.proto @@ -0,0 +1,27 @@ +syntax = "proto3"; + + + +import "RogueDiaryAvatar.proto"; +import "RogueDiaryRoomInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RogueDiaryRepairInfoNotify { + enum HHDFAEBLEMA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8681; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 stageId = 10; + repeated RogueDiaryAvatar avatarList = 13; + repeated RogueDiaryAvatar selectAvatarList = 7; + repeated uint32 randCardList = 12; + repeated uint32 selectCardList = 1; + repeated uint32 chosenCardList = 8; + repeated RogueDiaryAvatar trialAvatarList = 3; + repeated RogueDiaryRoomInfo roomList = 5; +} diff --git a/proto/RogueDiaryReviveAvatarReq.proto b/proto/RogueDiaryReviveAvatarReq.proto new file mode 100644 index 00000000..40d690ca --- /dev/null +++ b/proto/RogueDiaryReviveAvatarReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "RogueDiaryAvatar.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RogueDiaryReviveAvatarReq { + enum DNLLFNJJMLP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8076; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + RogueDiaryAvatar reviveAvatar = 13; +} diff --git a/proto/RogueDiaryReviveAvatarRsp.proto b/proto/RogueDiaryReviveAvatarRsp.proto new file mode 100644 index 00000000..9af50d72 --- /dev/null +++ b/proto/RogueDiaryReviveAvatarRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RogueDiaryReviveAvatarRsp { + enum GENOBAGJAHM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8434; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 10; +} diff --git a/proto/RogueDiaryRoomInfo.proto b/proto/RogueDiaryRoomInfo.proto new file mode 100644 index 00000000..356c32f3 --- /dev/null +++ b/proto/RogueDiaryRoomInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "Uint32Pair.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RogueDiaryRoomInfo { + repeated Uint32Pair Unk3300_EEBEOCMAIKN = 8; + bool isBoss = 4; + uint32 configId = 14; +} diff --git a/proto/RogueDiaryStageInfo.proto b/proto/RogueDiaryStageInfo.proto index e52e08a1..83f0ee15 100644 --- a/proto/RogueDiaryStageInfo.proto +++ b/proto/RogueDiaryStageInfo.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "RogueDiaryDungeonRecord.proto"; + +import "RogueDiaryDungeonRecord.proto"; option java_package = "emu.grasscutter.net.proto"; message RogueDiaryStageInfo { - uint32 stage_id = 15; - RogueDiaryDungeonRecord best_record = 9; - bool is_have_try = 11; + uint32 stageId = 3; + RogueDiaryDungeonRecord bestRecord = 4; + bool isHaveTry = 9; } diff --git a/proto/RogueDiaryTiredAvatarNotify.proto b/proto/RogueDiaryTiredAvatarNotify.proto new file mode 100644 index 00000000..374e83e5 --- /dev/null +++ b/proto/RogueDiaryTiredAvatarNotify.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "RogueDiaryAvatar.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RogueDiaryTiredAvatarNotify { + enum NLFHPEBNOMD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8243; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isNeedShow = 12; + uint32 Unk3300_BGEJGLBMFII = 10; + uint32 Unk3300_DMEMBBPEIGK = 8; + repeated RogueDiaryAvatar optionalTiredAvatarList = 15; +} diff --git a/proto/RogueDungeonPlayerCellChangeNotify.proto b/proto/RogueDungeonPlayerCellChangeNotify.proto new file mode 100644 index 00000000..6464cb85 --- /dev/null +++ b/proto/RogueDungeonPlayerCellChangeNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RogueDungeonPlayerCellChangeNotify { + enum AAGMOJDDJJC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8954; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 cellId = 9; + uint32 oldCellId = 1; +} diff --git a/proto/RogueEffectRecord.proto b/proto/RogueEffectRecord.proto new file mode 100644 index 00000000..96a1c40e --- /dev/null +++ b/proto/RogueEffectRecord.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RogueEffectRecord { + bool isNew = 3; + uint32 sourceId = 5; + uint32 count = 1; + repeated uint32 extraParamList = 9; +} diff --git a/proto/RogueEliteCellDifficultyType.proto b/proto/RogueEliteCellDifficultyType.proto new file mode 100644 index 00000000..45c267cd --- /dev/null +++ b/proto/RogueEliteCellDifficultyType.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +enum RogueEliteCellDifficultyType { + ROGUE_ELITE_CELL_DIFFICULTY_TYPE_NORMAL = 0; + ROGUE_ELITE_CELL_DIFFICULTY_TYPE_HARD = 1; +} diff --git a/proto/RogueFinishRepairReq.proto b/proto/RogueFinishRepairReq.proto new file mode 100644 index 00000000..2236c64e --- /dev/null +++ b/proto/RogueFinishRepairReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "RogueDiaryAvatar.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RogueFinishRepairReq { + enum NPJAENKOPMP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8049; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 chosenCardList = 4; + repeated RogueDiaryAvatar chosenAvatarList = 13; +} diff --git a/proto/RogueFinishRepairRsp.proto b/proto/RogueFinishRepairRsp.proto new file mode 100644 index 00000000..a9c528f2 --- /dev/null +++ b/proto/RogueFinishRepairRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RogueFinishRepairRsp { + enum LPIFHDJBKOK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8860; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; +} diff --git a/proto/RogueHealAvatarsReq.proto b/proto/RogueHealAvatarsReq.proto new file mode 100644 index 00000000..300b8545 --- /dev/null +++ b/proto/RogueHealAvatarsReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RogueHealAvatarsReq { + enum CDKEECDIKMP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8538; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 dungeonId = 12; + uint32 cellId = 11; +} diff --git a/proto/RogueHealAvatarsRsp.proto b/proto/RogueHealAvatarsRsp.proto new file mode 100644 index 00000000..0e6d21fa --- /dev/null +++ b/proto/RogueHealAvatarsRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RogueHealAvatarsRsp { + enum MBKBADEACKP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8803; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; + uint32 cellId = 12; + uint32 dungeonId = 11; +} diff --git a/proto/RogueResumeDungeonReq.proto b/proto/RogueResumeDungeonReq.proto new file mode 100644 index 00000000..e148a2b1 --- /dev/null +++ b/proto/RogueResumeDungeonReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RogueResumeDungeonReq { + enum EFAEJJCDALM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8422; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 stageId = 1; +} diff --git a/proto/RogueResumeDungeonRsp.proto b/proto/RogueResumeDungeonRsp.proto new file mode 100644 index 00000000..df20b9dc --- /dev/null +++ b/proto/RogueResumeDungeonRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RogueResumeDungeonRsp { + enum EAPHCIOIAAK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8241; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 stageId = 1; + int32 retcode = 11; +} diff --git a/proto/RogueShowAvatarTeamInfo.proto b/proto/RogueShowAvatarTeamInfo.proto index 18d57d46..cf9aca17 100644 --- a/proto/RogueShowAvatarTeamInfo.proto +++ b/proto/RogueShowAvatarTeamInfo.proto @@ -1,26 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "RogueAvatarInfo.proto"; + +import "RogueAvatarInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message RogueShowAvatarTeamInfo { - repeated RogueAvatarInfo avatar_list = 13; + repeated RogueAvatarInfo avatarList = 3; } diff --git a/proto/RogueStageInfo.proto b/proto/RogueStageInfo.proto index 6639cdbf..7834986e 100644 --- a/proto/RogueStageInfo.proto +++ b/proto/RogueStageInfo.proto @@ -1,41 +1,25 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "RogueShowAvatarTeamInfo.proto"; import "RoguelikeRuneRecord.proto"; - option java_package = "emu.grasscutter.net.proto"; message RogueStageInfo { - uint32 revise_monster_level = 1966; - bool is_passed = 11; - uint32 Unk3300_GGHMFKNHPAJ = 2; - RogueShowAvatarTeamInfo avatar_team = 8; - bool is_taken_reward = 9; - bool is_explored = 14; - repeated RoguelikeRuneRecord rune_record_list = 5; - bool is_in_combat = 6; - uint32 coin_c_num = 3; - bool is_open = 13; - uint32 stage_id = 7; - uint32 max_passed_level = 4; - uint32 cur_level = 12; - uint32 Unk3300_OHHBEPOICLI = 1; - uint32 Unk3300_HPKFHLLCJBM = 275; + uint32 Unk3300_OHHBEPOICLI = 8; + repeated RoguelikeRuneRecord runeRecordList = 3; + uint32 maxPassedLevel = 4; + uint32 coinCNum = 14; + uint32 Unk3300_GGHMFKNHPAJ = 15; + uint32 reviseMonsterLevel = 520; + RogueShowAvatarTeamInfo avatarTeam = 10; + uint32 Unk3300_HPKFHLLCJBM = 1765; + bool isExplored = 12; + bool isPassed = 9; + bool isInCombat = 2; + bool isTakenReward = 7; + uint32 stageId = 13; + uint32 curLevel = 6; + bool isOpen = 11; } diff --git a/proto/RogueSwitchAvatarReq.proto b/proto/RogueSwitchAvatarReq.proto new file mode 100644 index 00000000..fcd519af --- /dev/null +++ b/proto/RogueSwitchAvatarReq.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RogueSwitchAvatarReq { + enum ILOKDHFKNLC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8262; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint64 curAvatarGuid = 15; + repeated uint64 onstageAvatarGuidList = 14; + uint32 cellId = 8; + uint32 dungeonId = 1; +} diff --git a/proto/RogueSwitchAvatarRsp.proto b/proto/RogueSwitchAvatarRsp.proto new file mode 100644 index 00000000..2bba466a --- /dev/null +++ b/proto/RogueSwitchAvatarRsp.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RogueSwitchAvatarRsp { + enum MKPKFLIICJC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8548; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint64 backstageAvatarGuidList = 2; + repeated uint64 onstageAvatarGuidList = 13; + uint32 cellId = 12; + uint64 curAvatarGuid = 3; + int32 retcode = 15; + uint32 dungeonId = 7; +} diff --git a/proto/RoguelikeCardGachaNotify.proto b/proto/RoguelikeCardGachaNotify.proto new file mode 100644 index 00000000..1078c5c5 --- /dev/null +++ b/proto/RoguelikeCardGachaNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RoguelikeCardGachaNotify { + enum FGAHDKIJFNP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8033; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isCanRefresh = 9; + repeated uint32 cardList = 5; +} diff --git a/proto/RoguelikeDungeonActivityDetailInfo.proto b/proto/RoguelikeDungeonActivityDetailInfo.proto index 4d21bdd2..7764c011 100644 --- a/proto/RoguelikeDungeonActivityDetailInfo.proto +++ b/proto/RoguelikeDungeonActivityDetailInfo.proto @@ -20,6 +20,7 @@ syntax = "proto3"; import "RogueStageInfo.proto"; import "RoguelikeShikigamiRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message RoguelikeDungeonActivityDetailInfo { diff --git a/proto/RoguelikeDungeonSettleInfo.proto b/proto/RoguelikeDungeonSettleInfo.proto index 2986a18c..65ffa567 100644 --- a/proto/RoguelikeDungeonSettleInfo.proto +++ b/proto/RoguelikeDungeonSettleInfo.proto @@ -1,32 +1,16 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "RoguelikeSettleCoinInfo.proto"; + +import "RoguelikeSettleCoinInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message RoguelikeDungeonSettleInfo { - uint32 stage_id = 9; - uint32 Unk3300_GMMECMPDJMI = 8; - uint32 Unk3300_PBELMOJKKHP = 4; - uint32 cur_level = 14; - bool Unk3300_AHIEENGKPFA = 10; - bool Unk3300_BPLKJMIOKHM = 15; - map finished_challenge_cell_num_map = 6; + bool Unk3300_BPLKJMIOKHM = 5; + uint32 Unk3300_PBELMOJKKHP = 11; + uint32 curLevel = 7; + bool Unk3300_AHIEENGKPFA = 15; + uint32 stageId = 10; + uint32 Unk3300_GMMECMPDJMI = 13; + map finishedChallengeCellNumMap = 2; } diff --git a/proto/RoguelikeDungoenInfo.proto b/proto/RoguelikeDungoenInfo.proto new file mode 100644 index 00000000..60c4087d --- /dev/null +++ b/proto/RoguelikeDungoenInfo.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "RogueStageInfo.proto"; +import "RoguelikeShikigamiRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RoguelikeDungoenInfo { + repeated RogueStageInfo stageList = 6; + repeated uint32 equippedRuneList = 12; + repeated RoguelikeShikigamiRecord shikigamiList = 1; + repeated uint32 runeList = 11; + bool leftMonsters = 10; + uint32 contentCloseTime = 8; +} diff --git a/proto/RoguelikeEffectDataNotify.proto b/proto/RoguelikeEffectDataNotify.proto new file mode 100644 index 00000000..cbad4e20 --- /dev/null +++ b/proto/RoguelikeEffectDataNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "RogueEffectRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RoguelikeEffectDataNotify { + enum GHMFENDLIGB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8256; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated RogueEffectRecord curseList = 11; + repeated RogueEffectRecord cardList = 1; +} diff --git a/proto/RoguelikeEffectViewReq.proto b/proto/RoguelikeEffectViewReq.proto new file mode 100644 index 00000000..ee32a0ec --- /dev/null +++ b/proto/RoguelikeEffectViewReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RoguelikeEffectViewReq { + enum BBHPJNGOLFL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8207; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 Unk3300_LMIIAEPBKNB = 12; + repeated uint32 Unk3300_FKGJGIJHKJI = 10; +} diff --git a/proto/RoguelikeEffectViewRsp.proto b/proto/RoguelikeEffectViewRsp.proto new file mode 100644 index 00000000..db9420e2 --- /dev/null +++ b/proto/RoguelikeEffectViewRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RoguelikeEffectViewRsp { + enum PGIACLFDDDB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8645; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + int32 retcode = 1; +} diff --git a/proto/RoguelikeGadgetInfo.proto b/proto/RoguelikeGadgetInfo.proto index 6afff2de..82f7b899 100644 --- a/proto/RoguelikeGadgetInfo.proto +++ b/proto/RoguelikeGadgetInfo.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message RoguelikeGadgetInfo { - uint32 cell_config_id = 1; - uint32 cell_type = 2; - uint32 cell_state = 3; - uint32 cell_id = 4; + uint32 cellConfigId = 1; + uint32 cellType = 2; + uint32 cellState = 3; + uint32 cellId = 4; } diff --git a/proto/RoguelikeGiveUpReq.proto b/proto/RoguelikeGiveUpReq.proto new file mode 100644 index 00000000..876d76e3 --- /dev/null +++ b/proto/RoguelikeGiveUpReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RoguelikeGiveUpReq { + enum HADKNNOIJAB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8140; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 stageId = 14; +} diff --git a/proto/RoguelikeGiveUpRsp.proto b/proto/RoguelikeGiveUpRsp.proto new file mode 100644 index 00000000..e2f723f0 --- /dev/null +++ b/proto/RoguelikeGiveUpRsp.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "RoguelikeDungeonSettleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RoguelikeGiveUpRsp { + enum MNDLHCDPFJE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8799; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 stageId = 10; + int32 retcode = 14; + oneof JIIHKHKINIK { + RoguelikeDungeonSettleInfo settle_info = 2; + } +} diff --git a/proto/RoguelikeMistClearNotify.proto b/proto/RoguelikeMistClearNotify.proto new file mode 100644 index 00000000..20778618 --- /dev/null +++ b/proto/RoguelikeMistClearNotify.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RoguelikeMistClearNotify { + enum AHJLJOADPAK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8670; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + +} diff --git a/proto/RoguelikeRefreshCardCostUpdateNotify.proto b/proto/RoguelikeRefreshCardCostUpdateNotify.proto new file mode 100644 index 00000000..719907eb --- /dev/null +++ b/proto/RoguelikeRefreshCardCostUpdateNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RoguelikeRefreshCardCostUpdateNotify { + enum GLNIHGDMFBO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8164; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 itemId = 4; + uint32 itemCount = 8; +} diff --git a/proto/RoguelikeResourceBonusPropUpdateNotify.proto b/proto/RoguelikeResourceBonusPropUpdateNotify.proto new file mode 100644 index 00000000..bcf485d7 --- /dev/null +++ b/proto/RoguelikeResourceBonusPropUpdateNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RoguelikeResourceBonusPropUpdateNotify { + enum HMCGAAGGLCJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8858; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + float bonusResourceProp = 2; +} diff --git a/proto/RoguelikeRuneRecord.proto b/proto/RoguelikeRuneRecord.proto index 95ff79a4..e44953eb 100644 --- a/proto/RoguelikeRuneRecord.proto +++ b/proto/RoguelikeRuneRecord.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message RoguelikeRuneRecord { - uint32 rune_id = 10; - uint32 Unk3300_JLOLMLFAPHH = 1; - uint32 Unk3300_IGBOJLPPKON = 11; + uint32 Unk3300_JLOLMLFAPHH = 7; + uint32 Unk3300_IGBOJLPPKON = 12; + uint32 runeId = 6; } diff --git a/proto/RoguelikeRuneRecordUpdateNotify.proto b/proto/RoguelikeRuneRecordUpdateNotify.proto new file mode 100644 index 00000000..60d47cf5 --- /dev/null +++ b/proto/RoguelikeRuneRecordUpdateNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "RoguelikeRuneRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message RoguelikeRuneRecordUpdateNotify { + enum AGGCPEIHMCC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8401; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated RoguelikeRuneRecord runeRecordList = 7; +} diff --git a/proto/RoguelikeSelectAvatarAndEnterDungeonReq.proto b/proto/RoguelikeSelectAvatarAndEnterDungeonReq.proto new file mode 100644 index 00000000..aae3ee93 --- /dev/null +++ b/proto/RoguelikeSelectAvatarAndEnterDungeonReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RoguelikeSelectAvatarAndEnterDungeonReq { + enum HPEFHLOPDFH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8281; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint64 onstageAvatarGuidList = 5; + uint32 stageId = 12; + repeated uint64 backstageAvatarGuidList = 1; +} diff --git a/proto/RoguelikeSelectAvatarAndEnterDungeonRsp.proto b/proto/RoguelikeSelectAvatarAndEnterDungeonRsp.proto new file mode 100644 index 00000000..136b75e4 --- /dev/null +++ b/proto/RoguelikeSelectAvatarAndEnterDungeonRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RoguelikeSelectAvatarAndEnterDungeonRsp { + enum BOHLJLHFIEE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8932; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; + uint32 stageId = 4; +} diff --git a/proto/RoguelikeSettleCoinInfo.proto b/proto/RoguelikeSettleCoinInfo.proto index 14a3c32c..b87e1ce0 100644 --- a/proto/RoguelikeSettleCoinInfo.proto +++ b/proto/RoguelikeSettleCoinInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message RoguelikeSettleCoinInfo { - uint32 Unk3300_MFKOIMONCLA = 10; - uint32 Unk3300_LFEKGBBAMHE = 12; - uint32 coin_c = 6; + uint32 Unk3300_MFKOIMONCLA = 12; + uint32 coinC = 7; + uint32 Unk3300_LFEKGBBAMHE = 15; } diff --git a/proto/RoguelikeShikigamiRecord.proto b/proto/RoguelikeShikigamiRecord.proto index ec6c8a04..9232eea8 100644 --- a/proto/RoguelikeShikigamiRecord.proto +++ b/proto/RoguelikeShikigamiRecord.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message RoguelikeShikigamiRecord { - uint32 id = 2; - uint32 level = 10; + uint32 id = 8; + uint32 level = 4; } diff --git a/proto/RoguelikeTakeStageFirstPassRewardReq.proto b/proto/RoguelikeTakeStageFirstPassRewardReq.proto new file mode 100644 index 00000000..4cbbf69e --- /dev/null +++ b/proto/RoguelikeTakeStageFirstPassRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RoguelikeTakeStageFirstPassRewardReq { + enum PIHCHEHAEFM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8887; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 stageId = 14; +} diff --git a/proto/RoguelikeTakeStageFirstPassRewardRsp.proto b/proto/RoguelikeTakeStageFirstPassRewardRsp.proto new file mode 100644 index 00000000..746bd84b --- /dev/null +++ b/proto/RoguelikeTakeStageFirstPassRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RoguelikeTakeStageFirstPassRewardRsp { + enum EFJAEPHHCDN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8650; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 stageId = 2; + int32 retcode = 13; +} diff --git a/proto/Rotation.proto b/proto/Rotation.proto new file mode 100644 index 00000000..be6a2fa9 --- /dev/null +++ b/proto/Rotation.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message Rotation { + float x = 1; + float y = 2; + float z = 3; +} diff --git a/proto/RotationSpeed.proto b/proto/RotationSpeed.proto new file mode 100644 index 00000000..1ba4b044 --- /dev/null +++ b/proto/RotationSpeed.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message RotationSpeed { + float x = 1; + float y = 2; + float z = 3; + float w = 4; +} diff --git a/proto/Route.proto b/proto/Route.proto index 5e2d58a3..fd949951 100644 --- a/proto/Route.proto +++ b/proto/Route.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "RoutePoint.proto"; + +import "RoutePoint.proto"; option java_package = "emu.grasscutter.net.proto"; message Route { - repeated RoutePoint route_points = 1; - uint32 route_type = 2; + repeated RoutePoint routePoints = 1; + uint32 routeType = 2; } diff --git a/proto/RoutePoint.proto b/proto/RoutePoint.proto index bce0d609..ce695cba 100644 --- a/proto/RoutePoint.proto +++ b/proto/RoutePoint.proto @@ -1,38 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "MathQuaternion.proto"; -import "Vector.proto"; + +import "Rotation.proto"; +import "RotationSpeed.proto"; option java_package = "emu.grasscutter.net.proto"; message RoutePoint { - Vector position = 1; - float arrive_range = 2; - bool has_reach_event = 3; - oneof move_params { - float velocity = 11; - float time = 12; - } - oneof rotate_params { - Vector rotation = 21; - MathQuaternion rotation_speed = 22; - MathQuaternion axis_speed = 23; - } + Rotation position = 1; + float arriveRange = 2; + bool hasReachEvent = 3; + oneof APGGKOIICFF { + float velocity = 11; + float time = 12; + } + oneof DLHLONCCBNN { + Rotation rotation = 21; + RotationSpeed rotation_speed = 22; + RotationSpeed axis_speed = 23; + } } diff --git a/proto/RoutePointChangeInfo.proto b/proto/RoutePointChangeInfo.proto index 9b65795b..2594f455 100644 --- a/proto/RoutePointChangeInfo.proto +++ b/proto/RoutePointChangeInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message RoutePointChangeInfo { - float target_velocity = 12; - float wait_time = 14; - uint32 point_index = 4; + float targetVelocity = 7; + uint32 pointIndex = 11; + float waitTime = 15; } diff --git a/proto/SalesmanActivityDetailInfo.proto b/proto/SalesmanActivityDetailInfo.proto index 761a8b0a..d5911a2a 100644 --- a/proto/SalesmanActivityDetailInfo.proto +++ b/proto/SalesmanActivityDetailInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "SalesmanStatusType.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message SalesmanActivityDetailInfo { diff --git a/proto/SalesmanDeliverItemReq.proto b/proto/SalesmanDeliverItemReq.proto index d9f0fb13..81796f6d 100644 --- a/proto/SalesmanDeliverItemReq.proto +++ b/proto/SalesmanDeliverItemReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SalesmanDeliverItemReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2057; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum EBJCNBHNGHJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2117; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 schedule_id = 4; + uint32 scheduleId = 9; } diff --git a/proto/SalesmanDeliverItemRsp.proto b/proto/SalesmanDeliverItemRsp.proto index 69c2f2f5..796646fb 100644 --- a/proto/SalesmanDeliverItemRsp.proto +++ b/proto/SalesmanDeliverItemRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SalesmanDeliverItemRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2151; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum GGKOGIPNKPI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2096; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 4; - uint32 schedule_id = 8; + uint32 scheduleId = 1; + int32 retcode = 10; } diff --git a/proto/SalesmanInfo.proto b/proto/SalesmanInfo.proto new file mode 100644 index 00000000..abe0cfbe --- /dev/null +++ b/proto/SalesmanInfo.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "SalesmanStatusType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SalesmanInfo { + SalesmanStatusType status = 4; + uint32 Unk3300_FOFFAEEBBNP = 7; + uint32 Unk3300_DIJFOCBGIAM = 6; + uint32 dayIndex = 8; + bool Unk3300_JNALBACFNFN = 15; + map selectedRewardIdMap = 13; + uint32 Unk3300_KNJCBGFKLFD = 11; + bool Unk3300_DJFCEFKGKPI = 5; + uint32 dayRewardId = 2; + uint32 Unk3300_LPABHMOPFCE = 9; +} diff --git a/proto/SalesmanStatusType.proto b/proto/SalesmanStatusType.proto index 995bf6ad..5e8c2dfc 100644 --- a/proto/SalesmanStatusType.proto +++ b/proto/SalesmanStatusType.proto @@ -1,27 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum SalesmanStatusType { - SALESMAN_STATUS_TYPE_NONE = 0; - SALESMAN_STATUS_TYPE_UNSTARTED = 1; - SALESMAN_STATUS_TYPE_STARTED = 2; - SALESMAN_STATUS_TYPE_DELIVERED = 3; + SALESMAN_STATUS_TYPE_NONE = 0; + SALESMAN_STATUS_TYPE_UNSTARTED = 1; + SALESMAN_STATUS_TYPE_STARTED = 2; + SALESMAN_STATUS_TYPE_DELIVERED = 3; } diff --git a/proto/SalesmanTakeRewardReq.proto b/proto/SalesmanTakeRewardReq.proto new file mode 100644 index 00000000..a0de8476 --- /dev/null +++ b/proto/SalesmanTakeRewardReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SalesmanTakeRewardReq { + enum IFIJNALCPID { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2060; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 scheduleId = 7; + uint32 position = 10; +} diff --git a/proto/SalesmanTakeRewardRsp.proto b/proto/SalesmanTakeRewardRsp.proto new file mode 100644 index 00000000..df6932bf --- /dev/null +++ b/proto/SalesmanTakeRewardRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SalesmanTakeRewardRsp { + enum KFAEGMMBJMN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2034; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 rewardId = 14; + uint32 scheduleId = 5; + int32 retcode = 7; + uint32 position = 6; +} diff --git a/proto/SalesmanTakeSpecialRewardReq.proto b/proto/SalesmanTakeSpecialRewardReq.proto new file mode 100644 index 00000000..5dcc52d2 --- /dev/null +++ b/proto/SalesmanTakeSpecialRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SalesmanTakeSpecialRewardReq { + enum OEIIPKKGJIH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2182; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 scheduleId = 15; +} diff --git a/proto/SalesmanTakeSpecialRewardRsp.proto b/proto/SalesmanTakeSpecialRewardRsp.proto new file mode 100644 index 00000000..4b7a3d65 --- /dev/null +++ b/proto/SalesmanTakeSpecialRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SalesmanTakeSpecialRewardRsp { + enum KIOEPIJBBOB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2103; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 1; + uint32 scheduleId = 7; +} diff --git a/proto/SalvageBundleChallengeInfo.proto b/proto/SalvageBundleChallengeInfo.proto index ff787a06..d957900b 100644 --- a/proto/SalvageBundleChallengeInfo.proto +++ b/proto/SalvageBundleChallengeInfo.proto @@ -17,6 +17,7 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message SalvageBundleChallengeInfo { diff --git a/proto/SalvageChallengeInfo.proto b/proto/SalvageChallengeInfo.proto index 6ebe79fa..2501900d 100644 --- a/proto/SalvageChallengeInfo.proto +++ b/proto/SalvageChallengeInfo.proto @@ -1,33 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "SalvageBundleChallengeInfo.proto"; -import "SalvageScoreChallengeInfo.proto"; + +import "BundleInfo.proto"; +import "ScoreChallengeInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message SalvageChallengeInfo { - uint32 challenge_type = 11; - bool is_unlock = 14; - oneof challenge_detail { - SalvageBundleChallengeInfo bundle_info = 2; - SalvageScoreChallengeInfo score_challenge_info = 9; - uint32 boss_challenge_id = 12; - } + bool isUnlock = 2; + uint32 challengeType = 14; + oneof CLJGLJPJCIN { + BundleInfo bundle_info = 8; + ScoreChallengeInfo score_challenge_info = 5; + uint32 boss_challenge_id = 1; + } } diff --git a/proto/SalvageEscortGallerySettleInfo.proto b/proto/SalvageEscortGallerySettleInfo.proto new file mode 100644 index 00000000..74f293ff --- /dev/null +++ b/proto/SalvageEscortGallerySettleInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "SalvageEscortStopReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SalvageEscortGallerySettleInfo { + SalvageEscortStopReason reason = 6; + uint32 timeRemain = 8; +} diff --git a/proto/SalvageEscortInfo.proto b/proto/SalvageEscortInfo.proto new file mode 100644 index 00000000..81cf1c19 --- /dev/null +++ b/proto/SalvageEscortInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SalvageEscortInfo { + uint32 Unk3300_FGDPFNPENNC = 6; + uint32 Unk3300_HDMPOAJLPED = 2; + uint32 maxMonsterCount = 4; + uint32 monsterCount = 1; +} diff --git a/proto/SalvageEscortRestartReq.proto b/proto/SalvageEscortRestartReq.proto new file mode 100644 index 00000000..b0131495 --- /dev/null +++ b/proto/SalvageEscortRestartReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SalvageEscortRestartReq { + enum DIFCANBFCIE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8100; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 galleryId = 6; +} diff --git a/proto/SalvageEscortRestartRsp.proto b/proto/SalvageEscortRestartRsp.proto new file mode 100644 index 00000000..3f6185e2 --- /dev/null +++ b/proto/SalvageEscortRestartRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SalvageEscortRestartRsp { + enum NKPAGGECOKJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8107; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 galleryId = 6; + int32 retcode = 12; +} diff --git a/proto/SalvageEscortSettleInfo.proto b/proto/SalvageEscortSettleInfo.proto new file mode 100644 index 00000000..98d55fbe --- /dev/null +++ b/proto/SalvageEscortSettleInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "SalvageEscortGallerySettleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SalvageEscortSettleInfo { + SalvageEscortGallerySettleInfo settleInfo = 8; + bool isNewRecord = 9; +} diff --git a/proto/SalvageEscortSettleNotify.proto b/proto/SalvageEscortSettleNotify.proto new file mode 100644 index 00000000..cb1d4919 --- /dev/null +++ b/proto/SalvageEscortSettleNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "SalvageEscortSettleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SalvageEscortSettleNotify { + enum FAEKIIGMFBN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8967; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 galleryId = 5; + SalvageEscortSettleInfo settleInfo = 2; +} diff --git a/proto/SalvageEscortStopReason.proto b/proto/SalvageEscortStopReason.proto new file mode 100644 index 00000000..dc0e6b2c --- /dev/null +++ b/proto/SalvageEscortStopReason.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +enum SalvageEscortStopReason { + SALVAGE_ESCORT_STOP_REASON_NONE = 0; + SALVAGE_ESCORT_STOP_REASON_SUCCESS = 1; + SALVAGE_ESCORT_STOP_REASON_DUMP = 2; + SALVAGE_ESCORT_STOP_REASON_TIME = 3; + SALVAGE_ESCORT_STOP_REASON_INTERRUPT = 4; + SALVAGE_ESCORT_STOP_REASON_LEAVE = 5; + SALVAGE_ESCORT_STOP_REASON_FULL = 6; +} diff --git a/proto/SalvagePreventGallerySettleInfo.proto b/proto/SalvagePreventGallerySettleInfo.proto new file mode 100644 index 00000000..e06794cb --- /dev/null +++ b/proto/SalvagePreventGallerySettleInfo.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "SalvagePreventStopReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SalvagePreventGallerySettleInfo { + uint32 timeRemain = 10; + uint32 finalScore = 6; + SalvagePreventStopReason reason = 2; + uint32 monsterCount = 3; +} diff --git a/proto/SalvagePreventInfo.proto b/proto/SalvagePreventInfo.proto new file mode 100644 index 00000000..893f8226 --- /dev/null +++ b/proto/SalvagePreventInfo.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SalvagePreventInfo { + uint32 monsterCount = 2; +} diff --git a/proto/SalvagePreventRestartReq.proto b/proto/SalvagePreventRestartReq.proto new file mode 100644 index 00000000..76be25fa --- /dev/null +++ b/proto/SalvagePreventRestartReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SalvagePreventRestartReq { + enum JKJMAONDPFO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8595; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 galleryId = 10; +} diff --git a/proto/SalvagePreventRestartRsp.proto b/proto/SalvagePreventRestartRsp.proto new file mode 100644 index 00000000..6e1bde38 --- /dev/null +++ b/proto/SalvagePreventRestartRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SalvagePreventRestartRsp { + enum OPAAPDBJHII { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8904; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 12; + uint32 galleryId = 3; +} diff --git a/proto/SalvagePreventSettleInfo.proto b/proto/SalvagePreventSettleInfo.proto new file mode 100644 index 00000000..daa54c5c --- /dev/null +++ b/proto/SalvagePreventSettleInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "SalvagePreventGallerySettleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SalvagePreventSettleInfo { + bool isNewRecord = 4; + SalvagePreventGallerySettleInfo settleInfo = 6; +} diff --git a/proto/SalvagePreventSettleNotify.proto b/proto/SalvagePreventSettleNotify.proto new file mode 100644 index 00000000..b27c682c --- /dev/null +++ b/proto/SalvagePreventSettleNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "SalvagePreventSettleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SalvagePreventSettleNotify { + enum KFGCNIPCNCN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8036; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 galleryId = 5; + SalvagePreventSettleInfo settleInfo = 6; +} diff --git a/proto/SalvagePreventStopReason.proto b/proto/SalvagePreventStopReason.proto new file mode 100644 index 00000000..07b00ca3 --- /dev/null +++ b/proto/SalvagePreventStopReason.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +enum SalvagePreventStopReason { + SALVAGE_PREVENT_STOP_REASON_NONE = 0; + SALVAGE_PREVENT_STOP_REASON_SUCCESS = 1; + SALVAGE_PREVENT_STOP_REASON_ARRIVAL = 2; + SALVAGE_PREVENT_STOP_REASON_INTERRUPT = 3; + SALVAGE_PREVENT_STOP_REASON_LEAVE = 4; + SALVAGE_PREVENT_STOP_REASON_FULL = 5; + SALVAGE_PREVENT_STOP_REASON_AWAY = 6; +} diff --git a/proto/SalvageScoreChallengeInfo.proto b/proto/SalvageScoreChallengeInfo.proto index a9125a50..db6d6f41 100644 --- a/proto/SalvageScoreChallengeInfo.proto +++ b/proto/SalvageScoreChallengeInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SalvageScoreChallengeInfo { - uint32 max_score = 8; - uint32 salvage_challenge_id = 10; + uint32 oichdaoampp = 13; + uint32 maxScore = 4; } diff --git a/proto/SalvageStageInfo.proto b/proto/SalvageStageInfo.proto index 6bfd82e8..af7aec16 100644 --- a/proto/SalvageStageInfo.proto +++ b/proto/SalvageStageInfo.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "SalvageChallengeInfo.proto"; + +import "SalvageChallengeInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message SalvageStageInfo { - uint32 stage_id = 13; - repeated SalvageChallengeInfo challenge_info_list = 3; - bool is_open = 7; + bool isOpen = 10; + uint32 stageId = 15; + repeated SalvageChallengeInfo exceededItemTypeList = 6; } diff --git a/proto/SamLampInfo.proto b/proto/SamLampInfo.proto new file mode 100644 index 00000000..2c4a0eb9 --- /dev/null +++ b/proto/SamLampInfo.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SamLampInfo { + uint32 days = 11; + uint32 progress = 3; + uint32 factor = 10; + uint32 contribution = 9; + uint32 phaseId = 7; + repeated uint32 Unk3300_ODBFFAIIPMB = 14; + repeated uint32 Unk3300_FGHDJJCLNFN = 15; +} diff --git a/proto/SaveCoopDialogReq.proto b/proto/SaveCoopDialogReq.proto new file mode 100644 index 00000000..ba1e6ae2 --- /dev/null +++ b/proto/SaveCoopDialogReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SaveCoopDialogReq { + enum ALFHBLGPEME { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1998; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 Unk3300_AMKDDJEPAKM = 1; + uint32 Unk3300_KMBGNIICNAF = 6; +} diff --git a/proto/SaveCoopDialogRsp.proto b/proto/SaveCoopDialogRsp.proto new file mode 100644 index 00000000..ce03ade6 --- /dev/null +++ b/proto/SaveCoopDialogRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SaveCoopDialogRsp { + enum MOFHJJDAHPC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1962; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 10; + uint32 Unk3300_KMBGNIICNAF = 2; + uint32 Unk3300_AMKDDJEPAKM = 14; +} diff --git a/proto/SaveCustomDungeonRoomReq.proto b/proto/SaveCustomDungeonRoomReq.proto new file mode 100644 index 00000000..76eee027 --- /dev/null +++ b/proto/SaveCustomDungeonRoomReq.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "CustomDungeonSetting.proto"; +import "CustomDungeonRoom.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SaveCustomDungeonRoomReq { + enum GGFGKDOPBOK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6246; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + CustomDungeonSetting setting = 14; + CustomDungeonRoom customDungeonRoom = 15; + bool isUpdateSetting = 3; +} diff --git a/proto/SaveCustomDungeonRoomRsp.proto b/proto/SaveCustomDungeonRoomRsp.proto new file mode 100644 index 00000000..2dbc55e6 --- /dev/null +++ b/proto/SaveCustomDungeonRoomRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "CustomDungeonBlock.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SaveCustomDungeonRoomRsp { + enum PHPPAFEAGKG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6241; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated CustomDungeonBlock errorBlockList = 4; + int32 retcode = 8; + uint32 roomId = 9; +} diff --git a/proto/SaveMainCoopReq.proto b/proto/SaveMainCoopReq.proto new file mode 100644 index 00000000..93265ee0 --- /dev/null +++ b/proto/SaveMainCoopReq.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SaveMainCoopReq { + enum BEKKPIAEBOF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1996; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 id = 4; + map normalVarMap = 15; + uint32 savePointId = 13; + map tempVarMap = 10; + uint32 selfConfidence = 1; +} diff --git a/proto/SaveMainCoopRsp.proto b/proto/SaveMainCoopRsp.proto new file mode 100644 index 00000000..c180128f --- /dev/null +++ b/proto/SaveMainCoopRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SaveMainCoopRsp { + enum HJIOLPBNFLN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1991; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 savePointIdList = 4; + int32 retcode = 10; + uint32 id = 9; +} diff --git a/proto/SaveUgcReq.proto b/proto/SaveUgcReq.proto new file mode 100644 index 00000000..b7880408 --- /dev/null +++ b/proto/SaveUgcReq.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +import "UgcType.proto"; +import "MusicRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SaveUgcReq { + enum CLDBFNOIKJC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6331; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + UgcType ugcType = 1; + oneof NFPKCPCEEGO { + MusicRecord music_record = 15; + } +} diff --git a/proto/SaveUgcRsp.proto b/proto/SaveUgcRsp.proto new file mode 100644 index 00000000..e7d10589 --- /dev/null +++ b/proto/SaveUgcRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "UgcType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SaveUgcRsp { + enum CGOPFPIJLMN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6335; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 8; + uint64 ugcGuid = 12; + UgcType ugcType = 15; +} diff --git a/proto/SceneAreaUnlockNotify.proto b/proto/SceneAreaUnlockNotify.proto index 100d8967..db476b35 100644 --- a/proto/SceneAreaUnlockNotify.proto +++ b/proto/SceneAreaUnlockNotify.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SceneAreaUnlockNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 207; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum NNAMMJFKKCB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 258; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 scene_id = 1; - repeated uint32 area_list = 5; + repeated uint32 areaList = 12; + uint32 sceneId = 11; } diff --git a/proto/SceneAreaWeatherNotify.proto b/proto/SceneAreaWeatherNotify.proto index c4c4b132..b51e8ae7 100644 --- a/proto/SceneAreaWeatherNotify.proto +++ b/proto/SceneAreaWeatherNotify.proto @@ -1,36 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SceneAreaWeatherNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 250; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum PEMEIIJFBMA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 281; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 weather_gadget_id = 6; - map weather_value_map = 11; - uint32 climate_type = 7; - float trans_duration = 10; - uint32 weather_area_id = 15; + uint32 climateType = 10; + float transDuration = 5; + uint32 weatherGadgetId = 15; + map weatherValueMap = 7; + uint32 weatherAreaId = 13; } diff --git a/proto/SceneAudioNotify.proto b/proto/SceneAudioNotify.proto new file mode 100644 index 00000000..f50e46f4 --- /dev/null +++ b/proto/SceneAudioNotify.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SceneAudioNotify { + enum KGDMCLELPAN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3132; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + int32 type = 14; + repeated string param3 = 12; + repeated float param2 = 4; + uint32 sourceUid = 5; + repeated uint32 param1 = 9; +} diff --git a/proto/SceneAvatarInfo.proto b/proto/SceneAvatarInfo.proto index 79417301..53d29570 100644 --- a/proto/SceneAvatarInfo.proto +++ b/proto/SceneAvatarInfo.proto @@ -1,50 +1,34 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AvatarExcelInfo.proto"; -import "CurVehicleInfo.proto"; -import "SceneReliquaryInfo.proto"; -import "SceneWeaponInfo.proto"; -import "ServerBuff.proto"; + +import "SceneWeaponInfo.proto"; +import "CurVehicleInfo.proto"; +import "AvatarExcelInfo.proto"; +import "SceneReliquaryInfo.proto"; +import "ServerBuff.proto"; option java_package = "emu.grasscutter.net.proto"; message SceneAvatarInfo { - uint32 uid = 1; - uint32 avatar_id = 2; - uint64 guid = 3; - uint32 peer_id = 4; - repeated uint32 equip_id_list = 5; - uint32 skill_depot_id = 6; - repeated uint32 talent_id_list = 7; - SceneWeaponInfo weapon = 8; - repeated SceneReliquaryInfo reliquary_list = 9; - uint32 core_proud_skill_level = 11; - repeated uint32 inherent_proud_skill_list = 12; - map skill_level_map = 13; - map proud_skill_extra_level_map = 14; - repeated ServerBuff server_buff_list = 15; - repeated uint32 team_resonance_list = 16; - uint32 wearing_flycloak_id = 17; - uint32 born_time = 18; - uint32 costume_id = 19; - CurVehicleInfo cur_vehicle_info = 20; - AvatarExcelInfo excel_info = 21; - uint32 anim_hash = 22; + uint32 uid = 1; + uint32 avatarId = 2; + uint64 guid = 3; + uint32 peerId = 4; + repeated uint32 equipIdList = 5; + uint32 skillDepotId = 6; + repeated uint32 talentIdList = 7; + SceneWeaponInfo weapon = 8; + repeated SceneReliquaryInfo reliquaryList = 9; + uint32 coreProudSkillLevel = 11; + repeated uint32 inherentProudSkillList = 12; + map skillLevelMap = 13; + map proudSkillExtraLevelMap = 14; + repeated ServerBuff serverBuffList = 15; + repeated uint32 teamResonanceList = 16; + uint32 wearingFlycloakId = 17; + uint32 bornTime = 18; + uint32 costumeId = 19; + CurVehicleInfo curVehicleInfo = 20; + AvatarExcelInfo excelInfo = 21; + uint32 animHash = 22; } diff --git a/proto/SceneAvatarStaminaStepReq.proto b/proto/SceneAvatarStaminaStepReq.proto new file mode 100644 index 00000000..6409f31b --- /dev/null +++ b/proto/SceneAvatarStaminaStepReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SceneAvatarStaminaStepReq { + enum KFGCHKJNBBC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 214; + DCDNILFDFLB = 1; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + Rotation rot = 4; + bool useClientRot = 9; +} diff --git a/proto/SceneAvatarStaminaStepRsp.proto b/proto/SceneAvatarStaminaStepRsp.proto new file mode 100644 index 00000000..0b5ee26c --- /dev/null +++ b/proto/SceneAvatarStaminaStepRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SceneAvatarStaminaStepRsp { + enum MAIIJDEAFIH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 224; + DCDNILFDFLB = 1; + NNBKOLMPOEA = 1; + } + + int32 retcode = 8; + bool useClientRot = 3; + Rotation rot = 6; +} diff --git a/proto/SceneCreateEntityReq.proto b/proto/SceneCreateEntityReq.proto new file mode 100644 index 00000000..a57a24c4 --- /dev/null +++ b/proto/SceneCreateEntityReq.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "CreateEntityInfo.proto"; +import "CreateReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SceneCreateEntityReq { + enum MPFHGJCFEAF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 228; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isDestroyWhenDisconnect = 13; + CreateEntityInfo entity = 9; + CreateReason reason = 1; +} diff --git a/proto/SceneCreateEntityRsp.proto b/proto/SceneCreateEntityRsp.proto new file mode 100644 index 00000000..39278ea5 --- /dev/null +++ b/proto/SceneCreateEntityRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "CreateEntityInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SceneCreateEntityRsp { + enum MDAIMAJAHBL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 273; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 entityId = 2; + CreateEntityInfo entity = 4; + int32 retcode = 1; +} diff --git a/proto/SceneDataNotify.proto b/proto/SceneDataNotify.proto new file mode 100644 index 00000000..48a2bf5e --- /dev/null +++ b/proto/SceneDataNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SceneDataNotify { + enum CBEIJHHHJEA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3295; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated string levelConfigNameList = 6; + repeated uint32 sceneTagIdList = 8; +} diff --git a/proto/SceneDestroyEntityReq.proto b/proto/SceneDestroyEntityReq.proto new file mode 100644 index 00000000..32172cdc --- /dev/null +++ b/proto/SceneDestroyEntityReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SceneDestroyEntityReq { + enum EKIFOOHOBCM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 222; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 entityId = 9; +} diff --git a/proto/SceneDestroyEntityRsp.proto b/proto/SceneDestroyEntityRsp.proto new file mode 100644 index 00000000..5096ae11 --- /dev/null +++ b/proto/SceneDestroyEntityRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SceneDestroyEntityRsp { + enum DECBCMPFAPJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 245; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 10; + uint32 entityId = 4; +} diff --git a/proto/SceneEntitiesMoveCombineNotify.proto b/proto/SceneEntitiesMoveCombineNotify.proto new file mode 100644 index 00000000..3373dc04 --- /dev/null +++ b/proto/SceneEntitiesMoveCombineNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "EntityMoveInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SceneEntitiesMoveCombineNotify { + enum JACHFFDDKEI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3025; + DCDNILFDFLB = 1; + NNBKOLMPOEA = 0; + } + + repeated EntityMoveInfo entityMoveInfoList = 9; +} diff --git a/proto/SceneEntitiesMovesReq.proto b/proto/SceneEntitiesMovesReq.proto new file mode 100644 index 00000000..a7900472 --- /dev/null +++ b/proto/SceneEntitiesMovesReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "EntityMoveInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SceneEntitiesMovesReq { + enum KBGBPHDLNCF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 241; + DCDNILFDFLB = 1; + NNBKOLMPOEA = 0; + EAJIABGAOCI = 1; + } + + repeated EntityMoveInfo entityMoveInfoList = 8; +} diff --git a/proto/SceneEntitiesMovesRsp.proto b/proto/SceneEntitiesMovesRsp.proto new file mode 100644 index 00000000..f6bdf037 --- /dev/null +++ b/proto/SceneEntitiesMovesRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "EntityMoveFailInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SceneEntitiesMovesRsp { + enum DNNOMKBNFGA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 293; + DCDNILFDFLB = 1; + NNBKOLMPOEA = 0; + } + + repeated EntityMoveFailInfo entityMoveFailInfoList = 5; +} diff --git a/proto/SceneEntityAiInfo.proto b/proto/SceneEntityAiInfo.proto index ccb40420..2510f2d1 100644 --- a/proto/SceneEntityAiInfo.proto +++ b/proto/SceneEntityAiInfo.proto @@ -1,33 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ServantInfo.proto"; -import "Vector.proto"; + +import "Rotation.proto"; +import "ServantInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message SceneEntityAiInfo { - bool is_ai_open = 1; - Vector born_pos = 2; - map skill_cd_map = 3; - ServantInfo servant_info = 4; - map ai_threat_map = 5; - map skill_group_cd_map = 6; - uint32 cur_tactic = 7; + bool isAiOpen = 1; + Rotation bornPos = 2; + map skillCdMap = 3; + ServantInfo servantInfo = 4; + map aiThreatMap = 5; + map skillGroupCdMap = 6; + uint32 curTactic = 7; } diff --git a/proto/SceneEntityAppearNotify.proto b/proto/SceneEntityAppearNotify.proto index 77f979b2..110571e9 100644 --- a/proto/SceneEntityAppearNotify.proto +++ b/proto/SceneEntityAppearNotify.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "SceneEntityInfo.proto"; -import "VisionType.proto"; + +import "VisionType.proto"; +import "SceneEntityInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message SceneEntityAppearNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 243; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HHOJIPLPJCP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 274; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated SceneEntityInfo entity_list = 15; - VisionType appear_type = 1; - uint32 param = 7; + repeated SceneEntityInfo entityList = 10; + VisionType appearType = 3; + uint32 param = 14; } diff --git a/proto/SceneEntityDisappearNotify.proto b/proto/SceneEntityDisappearNotify.proto index 45fc260a..7e952644 100644 --- a/proto/SceneEntityDisappearNotify.proto +++ b/proto/SceneEntityDisappearNotify.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "VisionType.proto"; + +import "VisionType.proto"; option java_package = "emu.grasscutter.net.proto"; message SceneEntityDisappearNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 261; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum JBIJGLIONLH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 280; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 param = 15; - VisionType disappear_type = 12; - repeated uint32 entity_list = 13; + repeated uint32 entityList = 13; + uint32 param = 10; + VisionType disappearType = 7; } diff --git a/proto/SceneEntityDrownReq.proto b/proto/SceneEntityDrownReq.proto index 59c35adc..3ec6d9eb 100644 --- a/proto/SceneEntityDrownReq.proto +++ b/proto/SceneEntityDrownReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SceneEntityDrownReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 217; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum GOIADJICFEC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 218; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 entity_id = 14; + uint32 entityId = 14; } diff --git a/proto/SceneEntityDrownRsp.proto b/proto/SceneEntityDrownRsp.proto index ea45b711..ce7fdfb6 100644 --- a/proto/SceneEntityDrownRsp.proto +++ b/proto/SceneEntityDrownRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SceneEntityDrownRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 205; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum BDPGJMMMEBO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 275; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 9; - uint32 entity_id = 5; + uint32 entityId = 15; + int32 retcode = 13; } diff --git a/proto/SceneEntityInfo.proto b/proto/SceneEntityInfo.proto index d5180d76..178f8fd6 100644 --- a/proto/SceneEntityInfo.proto +++ b/proto/SceneEntityInfo.proto @@ -1,58 +1,42 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AnimatorParameterValueInfoPair.proto"; -import "EntityAuthorityInfo.proto"; -import "EntityClientData.proto"; -import "EntityEnvironmentInfo.proto"; -import "FightPropPair.proto"; -import "MotionInfo.proto"; -import "PropPair.proto"; -import "ProtEntityType.proto"; -import "SceneAvatarInfo.proto"; -import "SceneGadgetInfo.proto"; -import "SceneMonsterInfo.proto"; -import "SceneNpcInfo.proto"; -import "ServerBuff.proto"; + +import "ProtEntityType.proto"; +import "MotionInfo.proto"; +import "Avatar.proto"; +import "Monster.proto"; +import "Npc.proto"; +import "Gadget.proto"; +import "EntityClientData.proto"; +import "EntityAuthorityInfo.proto"; +import "PropPair.proto"; +import "FightPropPair.proto"; +import "AnimatorParameterValueInfoPair.proto"; +import "EntityEnvironmentInfo.proto"; +import "ServerBuff.proto"; option java_package = "emu.grasscutter.net.proto"; message SceneEntityInfo { - ProtEntityType entity_type = 1; - uint32 entity_id = 2; - string name = 3; - MotionInfo motion_info = 4; - repeated PropPair prop_list = 5; - repeated FightPropPair fight_prop_list = 6; - uint32 life_state = 7; - repeated AnimatorParameterValueInfoPair animator_para_list = 9; - uint32 last_move_scene_time_ms = 17; - uint32 last_move_reliable_seq = 18; - EntityClientData entity_client_data = 19; - repeated EntityEnvironmentInfo entity_environment_info_list = 20; - EntityAuthorityInfo entity_authority_info = 21; - repeated string tag_list = 22; - repeated ServerBuff server_buff_list = 23; - oneof entity { - SceneAvatarInfo avatar = 10; - SceneMonsterInfo monster = 11; - SceneNpcInfo npc = 12; - SceneGadgetInfo gadget = 13; - } + ProtEntityType entityType = 1; + uint32 entityId = 2; + string createTime = 3; + MotionInfo motionInfo = 4; + repeated PropPair propList = 5; + repeated FightPropPair fightPropList = 6; + uint32 lifeState = 7; + repeated AnimatorParameterValueInfoPair animatorParaList = 9; + oneof EJICMKHBLIJ { + Avatar avatar = 10; + Monster monster = 11; + Npc npc = 12; + Gadget gadget = 13; + } + uint32 lastMoveSceneTimeMs = 17; + uint32 lastMoveReliableSeq = 18; + EntityClientData entityClientData = 19; + repeated EntityEnvironmentInfo entityEnvironmentInfoList = 20; + EntityAuthorityInfo entityAuthorityInfo = 21; + repeated string tagList = 22; + repeated ServerBuff serverBuffList = 23; } diff --git a/proto/SceneEntityMoveNotify.proto b/proto/SceneEntityMoveNotify.proto index 3cc11e9a..68820c0d 100644 --- a/proto/SceneEntityMoveNotify.proto +++ b/proto/SceneEntityMoveNotify.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "MotionInfo.proto"; + +import "MotionInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message SceneEntityMoveNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 239; - // ENET_CHANNEL_ID = 1; - // ENET_IS_RELIABLE = 1; - // } + enum ENCAJIHPKHA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 229; + DCDNILFDFLB = 1; + NNBKOLMPOEA = 1; + } - uint32 reliable_seq = 3; - uint32 scene_time = 15; - uint32 entity_id = 11; - MotionInfo motion_info = 14; + MotionInfo motionInfo = 14; + uint32 entityId = 1; + uint32 sceneTime = 7; + uint32 reliableSeq = 12; } diff --git a/proto/SceneEntityMoveReq.proto b/proto/SceneEntityMoveReq.proto new file mode 100644 index 00000000..0f6c7615 --- /dev/null +++ b/proto/SceneEntityMoveReq.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "MotionInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SceneEntityMoveReq { + enum AEAPJEKMADO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 270; + DCDNILFDFLB = 1; + NNBKOLMPOEA = 0; + EAJIABGAOCI = 1; + } + + MotionInfo motionInfo = 5; + uint32 reliableSeq = 3; + uint32 entityId = 1; + uint32 sceneTime = 14; +} diff --git a/proto/SceneEntityMoveRsp.proto b/proto/SceneEntityMoveRsp.proto new file mode 100644 index 00000000..190772a2 --- /dev/null +++ b/proto/SceneEntityMoveRsp.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "MotionInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SceneEntityMoveRsp { + enum IOHGOBCNHIK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 262; + DCDNILFDFLB = 1; + NNBKOLMPOEA = 1; + } + + uint32 sceneTime = 4; + uint32 entityId = 10; + uint32 reliableSeq = 11; + int32 retcode = 15; + MotionInfo failMotion = 6; +} diff --git a/proto/SceneEntityUpdateNotify.proto b/proto/SceneEntityUpdateNotify.proto new file mode 100644 index 00000000..17325031 --- /dev/null +++ b/proto/SceneEntityUpdateNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "VisionType.proto"; +import "SceneEntityInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SceneEntityUpdateNotify { + enum JGJBEEKIPIN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3388; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + VisionType appearType = 10; + uint32 param = 2; + repeated SceneEntityInfo entityList = 7; +} diff --git a/proto/SceneFishInfo.proto b/proto/SceneFishInfo.proto index f3ee3106..8f79beeb 100644 --- a/proto/SceneFishInfo.proto +++ b/proto/SceneFishInfo.proto @@ -1,30 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message SceneFishInfo { - uint32 fish_id = 1; - uint32 fish_pool_entity_id = 2; - Vector fish_pool_pos = 3; - uint32 fish_pool_gadget_id = 4; - uint32 last_shock_time = 5; + uint32 fishId = 1; + uint32 fishPoolEntityId = 2; + Rotation fishPoolPos = 3; + uint32 fishPoolGadgetId = 4; + uint32 lastShockTime = 5; } diff --git a/proto/SceneForceLockNotify.proto b/proto/SceneForceLockNotify.proto index 43600df2..c75c25e2 100644 --- a/proto/SceneForceLockNotify.proto +++ b/proto/SceneForceLockNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SceneForceLockNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 280; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum KFGBLLFKPFJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 251; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 force_id_list = 1; + repeated uint32 forceIdList = 6; } diff --git a/proto/SceneForceUnlockNotify.proto b/proto/SceneForceUnlockNotify.proto index 27633e9a..22fcdc20 100644 --- a/proto/SceneForceUnlockNotify.proto +++ b/proto/SceneForceUnlockNotify.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SceneForceUnlockNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 210; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum CIAEKBLPKBJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 285; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - bool is_add = 15; - repeated uint32 force_id_list = 11; + bool isAdd = 8; + repeated uint32 forceIdList = 14; } diff --git a/proto/SceneGadgetInfo.proto b/proto/SceneGadgetInfo.proto index 3a99ef15..12606833 100644 --- a/proto/SceneGadgetInfo.proto +++ b/proto/SceneGadgetInfo.proto @@ -1,91 +1,75 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AbilityGadgetInfo.proto"; -import "BlossomChestInfo.proto"; -import "BossChestInfo.proto"; -import "ClientGadgetInfo.proto"; -import "CoinCollectOperatorInfo.proto"; -import "CustomGadgetTreeInfo.proto"; -import "DeshretObeliskGadgetInfo.proto"; -import "EchoShellInfo.proto"; -import "FishPoolInfo.proto"; -import "FoundationInfo.proto"; -import "GadgetBornType.proto"; -import "GadgetGeneralRewardInfo.proto"; -import "GadgetPlayInfo.proto"; -import "GatherGadgetInfo.proto"; -import "Item.proto"; -import "MpPlayRewardInfo.proto"; -import "NightCrowGadgetInfo.proto"; -import "OfferingInfo.proto"; -import "PlatformInfo.proto"; -import "RoguelikeGadgetInfo.proto"; -import "ScreenInfo.proto"; -import "StatueGadgetInfo.proto"; -import "VehicleInfo.proto"; -import "WeatherInfo.proto"; -import "WorktopInfo.proto"; + +import "GadgetBornType.proto"; +import "TrifleItem.proto"; +import "GatherGadget.proto"; +import "Worktop.proto"; +import "ClientGadget.proto"; +import "Weather.proto"; +import "AbilityGadget.proto"; +import "StatueGadget.proto"; +import "BossChest.proto"; +import "BlossomChest.proto"; +import "MpPlayReward.proto"; +import "GeneralReward.proto"; +import "OfferingInfo.proto"; +import "FoundationInfo.proto"; +import "VehicleInfo.proto"; +import "ShellInfo.proto"; +import "ScreenInfo.proto"; +import "FishPoolInfo.proto"; +import "CustomGadgetTreeInfo.proto"; +import "RoguelikeGadgetInfo.proto"; +import "NightCrowGadgetInfo.proto"; +import "DeshretObeliskGadgetInfo.proto"; +import "CoinCollectOperatorInfo.proto"; +import "PlatformInfo.proto"; +import "GadgetPlayInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message SceneGadgetInfo { - uint32 gadget_id = 1; - uint32 group_id = 2; - uint32 config_id = 3; - uint32 owner_entity_id = 4; - GadgetBornType born_type = 5; - uint32 gadget_state = 6; - uint32 gadget_type = 7; - bool is_show_cutscene = 8; - uint32 authority_peer_id = 9; - bool is_enable_interact = 10; - uint32 interact_id = 11; - uint32 mark_flag = 21; - uint32 prop_owner_entity_id = 22; - PlatformInfo platform = 23; - repeated uint32 interact_uid_list = 24; - uint32 draft_id = 25; - uint32 gadget_talk_state = 26; - GadgetPlayInfo play_info = 100; - oneof content { - Item trifle_item = 12; - GatherGadgetInfo gather_gadget = 13; - WorktopInfo worktop = 14; - ClientGadgetInfo client_gadget = 15; - WeatherInfo weather = 17; - AbilityGadgetInfo ability_gadget = 18; - StatueGadgetInfo statue_gadget = 19; - BossChestInfo boss_chest = 20; - BlossomChestInfo blossom_chest = 41; - MpPlayRewardInfo mp_play_reward = 42; - GadgetGeneralRewardInfo general_reward = 43; - OfferingInfo offering_info = 44; - FoundationInfo foundation_info = 45; - VehicleInfo vehicle_info = 46; - EchoShellInfo shell_info = 47; - ScreenInfo screen_info = 48; - FishPoolInfo fish_pool_info = 59; - CustomGadgetTreeInfo custom_gadget_tree_info = 60; - RoguelikeGadgetInfo roguelike_gadget_info = 61; - NightCrowGadgetInfo night_crow_gadget_info = 62; - DeshretObeliskGadgetInfo deshret_obelisk_gadget_info = 63; - CoinCollectOperatorInfo coin_collect_operator_info = 64; - } + uint32 gadgetId = 1; + uint32 groupId = 2; + uint32 configId = 3; + uint32 ownerEntityId = 4; + GadgetBornType bornType = 5; + uint32 gadgetState = 6; + uint32 gadgetType = 7; + bool isShowCutscene = 8; + uint32 authorityPeerId = 9; + bool isEnableInteract = 10; + uint32 interactId = 11; + oneof ANBMFHJHBJM { + TrifleItem trifle_item = 12; + GatherGadget gather_gadget = 13; + Worktop worktop = 14; + ClientGadget client_gadget = 15; + Weather weather = 17; + AbilityGadget ability_gadget = 18; + StatueGadget statue_gadget = 19; + BossChest boss_chest = 20; + BlossomChest blossom_chest = 41; + MpPlayReward mp_play_reward = 42; + GeneralReward general_reward = 43; + OfferingInfo offering_info = 44; + FoundationInfo foundation_info = 45; + VehicleInfo vehicle_info = 46; + ShellInfo shell_info = 47; + ScreenInfo screen_info = 48; + FishPoolInfo fish_pool_info = 59; + CustomGadgetTreeInfo custom_gadget_tree_info = 60; + RoguelikeGadgetInfo roguelike_gadget_info = 61; + NightCrowGadgetInfo night_crow_gadget_info = 62; + DeshretObeliskGadgetInfo deshret_obelisk_gadget_info = 63; + CoinCollectOperatorInfo coin_collect_operator_info = 64; + } + uint32 markFlag = 21; + uint32 propOwnerEntityId = 22; + PlatformInfo platform = 23; + repeated uint32 interactUidList = 24; + uint32 draftId = 25; + uint32 gadgetTalkState = 26; + GadgetPlayInfo playInfo = 100; } diff --git a/proto/SceneGalleryHomeSeekFurnitureInfo.proto b/proto/SceneGalleryHomeSeekFurnitureInfo.proto index e5aca0db..7c87d95f 100644 --- a/proto/SceneGalleryHomeSeekFurnitureInfo.proto +++ b/proto/SceneGalleryHomeSeekFurnitureInfo.proto @@ -17,6 +17,7 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message SceneGalleryHomeSeekFurnitureInfo { diff --git a/proto/SceneGalleryInfo.proto b/proto/SceneGalleryInfo.proto new file mode 100644 index 00000000..475ca7bc --- /dev/null +++ b/proto/SceneGalleryInfo.proto @@ -0,0 +1,88 @@ +syntax = "proto3"; + + + +import "BalloonInfo.proto"; +import "FallInfo.proto"; +import "FlowerInfo.proto"; +import "BulletInfo.proto"; +import "BrokenFloorInfo.proto"; +import "HideAndSeekInfo.proto"; +import "BuoyantCombatInfo.proto"; +import "BounceConjuringInfo.proto"; +import "HandballInfo.proto"; +import "SumoInfo.proto"; +import "SalvagePreventInfo.proto"; +import "SalvageEscortInfo.proto"; +import "HomeBalloonInfo.proto"; +import "CrystalLinkInfo.proto"; +import "IrodoriMasterInfo.proto"; +import "LuminanceStoneChallengeInfo.proto"; +import "HomeSeekFurnitureInfo.proto"; +import "IslandPartyDownHillInfo.proto"; +import "SummerTimeV2BoatInfo.proto"; +import "IslandPartyRaftInfo.proto"; +import "IslandPartySailInfo.proto"; +import "InstableSprayInfo.proto"; +import "MuqadasPotionInfo.proto"; +import "TreasureSeelieInfo.proto"; +import "VintageHuntingInfo.proto"; +import "WindFieldInfo.proto"; +import "FungusFighterTrainingInfo.proto"; +import "EffigyChallengeInfo.proto"; +import "FungusFighterCaptureInfo.proto"; +import "CharAmusementInfo.proto"; +import "CoinCollectInfo.proto"; +import "TeamChainInfo.proto"; +import "DuelHeartInfo.proto"; +import "BoatMultiInfo.proto"; +import "GalleryStageType.proto"; +import "SceneGalleryProgressInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SceneGalleryInfo { + uint32 endTime = 15; + uint32 startTime = 5; + oneof DKICJHKACPA { + BalloonInfo balloon_info = 14; + FallInfo fall_info = 1; + FlowerInfo flower_info = 6; + BulletInfo bullet_info = 10; + BrokenFloorInfo broken_floor_info = 9; + HideAndSeekInfo hide_and_seek_info = 13; + BuoyantCombatInfo buoyant_combat_info = 461; + BounceConjuringInfo bounce_conjuring_info = 403; + HandballInfo handball_info = 1637; + SumoInfo sumo_info = 1000; + SalvagePreventInfo salvage_prevent_info = 521; + SalvageEscortInfo salvage_escort_info = 33; + HomeBalloonInfo home_balloon_info = 1858; + CrystalLinkInfo crystal_link_info = 177; + IrodoriMasterInfo irodori_master_info = 1317; + LuminanceStoneChallengeInfo luminance_stone_challenge_info = 401; + HomeSeekFurnitureInfo home_seek_furniture_info = 530; + IslandPartyDownHillInfo island_party_down_hill_info = 1026; + SummerTimeV2BoatInfo summer_time_v2boat_info = 1460; + IslandPartyRaftInfo island_party_raft_info = 294; + IslandPartySailInfo island_party_sail_info = 592; + InstableSprayInfo instable_spray_info = 127; + MuqadasPotionInfo muqadas_potion_info = 615; + TreasureSeelieInfo treasure_seelie_info = 1420; + VintageHuntingInfo vintage_hunting_info = 1361; + WindFieldInfo wind_field_info = 1448; + FungusFighterTrainingInfo fungus_fighter_training_info = 291; + EffigyChallengeInfo effigy_challenge_info = 290; + FungusFighterCaptureInfo fungus_fighter_capture_info = 1362; + CharAmusementInfo char_amusement_info = 1649; + CoinCollectInfo coin_collect_info = 963; + TeamChainInfo team_chain_info = 990; + DuelHeartInfo duel_heart_info = 789; + BoatMultiInfo boat_multi_info = 1222; + } + GalleryStageType stage = 2; + uint32 ownerUid = 7; + uint32 galleryId = 3; + uint32 preStartEndTime = 8; + uint32 playerCount = 11; + repeated SceneGalleryProgressInfo progressInfoList = 12; +} diff --git a/proto/SceneGalleryInfoNotify.proto b/proto/SceneGalleryInfoNotify.proto new file mode 100644 index 00000000..d60c55ad --- /dev/null +++ b/proto/SceneGalleryInfoNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "SceneGalleryInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SceneGalleryInfoNotify { + enum KHBMFBHDECI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5513; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + SceneGalleryInfo galleryInfo = 7; +} diff --git a/proto/SceneGalleryInstableSprayBuffInfo.proto b/proto/SceneGalleryInstableSprayBuffInfo.proto new file mode 100644 index 00000000..77e3d320 --- /dev/null +++ b/proto/SceneGalleryInstableSprayBuffInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SceneGalleryInstableSprayBuffInfo { + uint32 buffId = 9; + uint64 Unk3300_EPHAABKNLHC = 3; + uint64 Unk3300_KKDFLBMKGEF = 8; +} diff --git a/proto/SceneGalleryProgressInfo.proto b/proto/SceneGalleryProgressInfo.proto new file mode 100644 index 00000000..e69be386 --- /dev/null +++ b/proto/SceneGalleryProgressInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SceneGalleryProgressInfo { + repeated uint32 progressStageList = 8; + string key = 1; + uint32 progress = 13; + uint32 uiForm = 2; +} diff --git a/proto/SceneGalleryVintageHuntingSettleNotify.proto b/proto/SceneGalleryVintageHuntingSettleNotify.proto new file mode 100644 index 00000000..0e29b137 --- /dev/null +++ b/proto/SceneGalleryVintageHuntingSettleNotify.proto @@ -0,0 +1,29 @@ +syntax = "proto3"; + + + +import "FirstStageInfo.proto"; +import "SecondStageInfo.proto"; +import "ThirdStageInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SceneGalleryVintageHuntingSettleNotify { + enum MPFAKBDJLDA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21852; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool hasNewWatcher = 1; + uint32 stageId = 2; + uint32 Unk3300_KOAKHMLFPGM = 9; + bool isNewRecord = 6; + uint32 Unk3300_EHGDIKOGLKL = 5; + oneof EPDFPKFNGNM { + FirstStageInfo first_stage_info = 15; + SecondStageInfo second_stage_info = 8; + ThirdStageInfo third_stage_info = 4; + } +} diff --git a/proto/SceneInitFinishReq.proto b/proto/SceneInitFinishReq.proto new file mode 100644 index 00000000..4cd07d90 --- /dev/null +++ b/proto/SceneInitFinishReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SceneInitFinishReq { + enum GHHNPOILHNM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 298; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 enterSceneToken = 10; +} diff --git a/proto/SceneInitFinishRsp.proto b/proto/SceneInitFinishRsp.proto index 52c1c380..0fcfb6ee 100644 --- a/proto/SceneInitFinishRsp.proto +++ b/proto/SceneInitFinishRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SceneInitFinishRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 300; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum OLIDDPBLNPH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 220; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - int32 retcode = 7; - uint32 enter_scene_token = 4; + uint32 enterSceneToken = 9; + int32 retcode = 8; } diff --git a/proto/SceneKickPlayerNotify.proto b/proto/SceneKickPlayerNotify.proto new file mode 100644 index 00000000..04682035 --- /dev/null +++ b/proto/SceneKickPlayerNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SceneKickPlayerNotify { + enum COJLAMJEPEM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 282; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 kickerUid = 8; + uint32 targetUid = 15; +} diff --git a/proto/SceneKickPlayerReq.proto b/proto/SceneKickPlayerReq.proto index 108e8cb5..d45f8517 100644 --- a/proto/SceneKickPlayerReq.proto +++ b/proto/SceneKickPlayerReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SceneKickPlayerReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 212; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum FMGEDDDHLNE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 238; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 target_uid = 5; + uint32 targetUid = 2; } diff --git a/proto/SceneKickPlayerRsp.proto b/proto/SceneKickPlayerRsp.proto index cda3240a..0f142314 100644 --- a/proto/SceneKickPlayerRsp.proto +++ b/proto/SceneKickPlayerRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SceneKickPlayerRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 231; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum KCBEAACBEPG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 240; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 8; - uint32 target_uid = 11; + int32 retcode = 13; + uint32 targetUid = 3; } diff --git a/proto/SceneMonsterInfo.proto b/proto/SceneMonsterInfo.proto index f4125bc2..59910bf7 100644 --- a/proto/SceneMonsterInfo.proto +++ b/proto/SceneMonsterInfo.proto @@ -23,6 +23,7 @@ import "MonsterRoute.proto"; import "SceneFishInfo.proto"; import "SceneWeaponInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message SceneMonsterInfo { diff --git a/proto/SceneNpcInfo.proto b/proto/SceneNpcInfo.proto index e4d7d2c6..4354898b 100644 --- a/proto/SceneNpcInfo.proto +++ b/proto/SceneNpcInfo.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SceneNpcInfo { - uint32 npc_id = 1; - uint32 room_id = 2; - uint32 parent_quest_id = 3; - uint32 block_id = 4; + uint32 npcId = 1; + uint32 roomId = 2; + uint32 parentQuestId = 3; + uint32 blockId = 4; } diff --git a/proto/ScenePlayBattleInfo.proto b/proto/ScenePlayBattleInfo.proto new file mode 100644 index 00000000..4937d5fe --- /dev/null +++ b/proto/ScenePlayBattleInfo.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ScenePlayBattleInfo { + uint32 prepareEndTime = 11; + uint32 type = 1; + uint32 mode = 8; + uint32 progress = 6; + uint32 startTime = 15; + uint32 playType = 14; + uint32 duration = 2; + repeated uint32 progressStageList = 9; + uint32 state = 4; + uint32 playId = 10; +} diff --git a/proto/ScenePlayBattleInfoListNotify.proto b/proto/ScenePlayBattleInfoListNotify.proto new file mode 100644 index 00000000..828c7b31 --- /dev/null +++ b/proto/ScenePlayBattleInfoListNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "ScenePlayBattleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ScenePlayBattleInfoListNotify { + enum DNCCKICNIPN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4363; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated ScenePlayBattleInfo battleInfoList = 13; +} diff --git a/proto/ScenePlayBattleInfoNotify.proto b/proto/ScenePlayBattleInfoNotify.proto new file mode 100644 index 00000000..20432a72 --- /dev/null +++ b/proto/ScenePlayBattleInfoNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "ScenePlayBattleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ScenePlayBattleInfoNotify { + enum FKEPBKKIGPP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4355; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + ScenePlayBattleInfo battleInfo = 3; +} diff --git a/proto/ScenePlayBattleInterruptNotify.proto b/proto/ScenePlayBattleInterruptNotify.proto new file mode 100644 index 00000000..a6e460fc --- /dev/null +++ b/proto/ScenePlayBattleInterruptNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ScenePlayBattleInterruptNotify { + enum ECOKOFIAKGO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4379; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 playType = 4; + uint32 interruptState = 12; + uint32 playId = 14; +} diff --git a/proto/ScenePlayBattleResultNotify.proto b/proto/ScenePlayBattleResultNotify.proto new file mode 100644 index 00000000..37624be8 --- /dev/null +++ b/proto/ScenePlayBattleResultNotify.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; + + + +import "ScenePlayBattleSettleRewardInfo.proto"; +import "ScenePlayBattleSettlePlayerInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ScenePlayBattleResultNotify { + enum CJACBKLILNN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4428; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated ScenePlayBattleSettleRewardInfo settleRewardInfoList = 9; + uint32 playId = 2; + repeated ScenePlayBattleSettlePlayerInfo settlePlayerInfoList = 4; + uint32 costTime = 8; + uint32 playType = 13; + bool isWin = 12; +} diff --git a/proto/ScenePlayBattleSettlePlayerInfo.proto b/proto/ScenePlayBattleSettlePlayerInfo.proto new file mode 100644 index 00000000..4e3fecaa --- /dev/null +++ b/proto/ScenePlayBattleSettlePlayerInfo.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "ProfilePicture.proto"; +import "ExhibitionDisplayInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ScenePlayBattleSettlePlayerInfo { + string nickname = 9; + string onlineId = 11; + uint32 statisticId = 3; + repeated ExhibitionDisplayInfo cardList = 1; + uint32 uid = 6; + ProfilePicture profilePicture = 13; + uint32 headImage = 4; + int64 param = 12; +} diff --git a/proto/ScenePlayBattleSettleRewardInfo.proto b/proto/ScenePlayBattleSettleRewardInfo.proto new file mode 100644 index 00000000..447c107b --- /dev/null +++ b/proto/ScenePlayBattleSettleRewardInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ScenePlayBattleSettleRewardInfo { + uint32 uid = 8; + repeated ItemParam rewardItemList = 5; +} diff --git a/proto/ScenePlayBattleUidOpNotify.proto b/proto/ScenePlayBattleUidOpNotify.proto new file mode 100644 index 00000000..ad4ba6d7 --- /dev/null +++ b/proto/ScenePlayBattleUidOpNotify.proto @@ -0,0 +1,26 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ScenePlayBattleUidOpNotify { + enum BNPMGOGKBNK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4366; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 entityId = 4; + uint32 paramIndex = 7; + repeated uint32 paramTargetList = 9; + repeated uint32 uidList = 1; + uint32 playId = 11; + repeated uint32 paramList = 2; + uint32 playType = 5; + uint32 op = 13; + string paramStr = 12; + uint32 paramDuration = 8; +} diff --git a/proto/ScenePlayGuestReplyInviteReq.proto b/proto/ScenePlayGuestReplyInviteReq.proto new file mode 100644 index 00000000..252f00f9 --- /dev/null +++ b/proto/ScenePlayGuestReplyInviteReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ScenePlayGuestReplyInviteReq { + enum FCILALKLJLJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4430; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 playId = 9; + bool isAgree = 1; +} diff --git a/proto/ScenePlayGuestReplyInviteRsp.proto b/proto/ScenePlayGuestReplyInviteRsp.proto new file mode 100644 index 00000000..f0fd0196 --- /dev/null +++ b/proto/ScenePlayGuestReplyInviteRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ScenePlayGuestReplyInviteRsp { + enum BPHMAFINOKN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4420; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isAgree = 1; + int32 retcode = 7; + uint32 playId = 6; +} diff --git a/proto/ScenePlayGuestReplyNotify.proto b/proto/ScenePlayGuestReplyNotify.proto new file mode 100644 index 00000000..ff2889ff --- /dev/null +++ b/proto/ScenePlayGuestReplyNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ScenePlayGuestReplyNotify { + enum GBDFLIFJGLH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4412; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 guestUid = 15; + uint32 playId = 12; + bool isAgree = 10; +} diff --git a/proto/ScenePlayInfo.proto b/proto/ScenePlayInfo.proto new file mode 100644 index 00000000..22cee3c1 --- /dev/null +++ b/proto/ScenePlayInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ScenePlayInfo { + uint32 entryId = 1; + uint32 playId = 8; + bool isOpen = 2; + uint32 playType = 12; +} diff --git a/proto/ScenePlayInfoListNotify.proto b/proto/ScenePlayInfoListNotify.proto new file mode 100644 index 00000000..79211f29 --- /dev/null +++ b/proto/ScenePlayInfoListNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "ScenePlayInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ScenePlayInfoListNotify { + enum KEJFJAJHFKM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4374; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated ScenePlayInfo playInfoList = 9; +} diff --git a/proto/ScenePlayInviteResultNotify.proto b/proto/ScenePlayInviteResultNotify.proto new file mode 100644 index 00000000..434d6b0d --- /dev/null +++ b/proto/ScenePlayInviteResultNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ScenePlayInviteResultNotify { + enum LPKLIONOBLC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4364; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 playId = 10; + bool isAllAgree = 4; +} diff --git a/proto/ScenePlayOutofRegionNotify.proto b/proto/ScenePlayOutofRegionNotify.proto new file mode 100644 index 00000000..9ae07fa7 --- /dev/null +++ b/proto/ScenePlayOutofRegionNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ScenePlayOutofRegionNotify { + enum AHNKMFIMMDH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4419; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 playId = 5; +} diff --git a/proto/ScenePlayOwnerCheckReq.proto b/proto/ScenePlayOwnerCheckReq.proto new file mode 100644 index 00000000..a36d3aa8 --- /dev/null +++ b/proto/ScenePlayOwnerCheckReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ScenePlayOwnerCheckReq { + enum CCDIKJCJFKC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4405; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 playId = 13; + bool isSkipMatch = 8; +} diff --git a/proto/ScenePlayOwnerCheckRsp.proto b/proto/ScenePlayOwnerCheckRsp.proto new file mode 100644 index 00000000..1da2a154 --- /dev/null +++ b/proto/ScenePlayOwnerCheckRsp.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ScenePlayOwnerCheckRsp { + enum LFJEPKAIKOD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4437; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 5; + repeated uint32 paramList = 14; + bool isSkipMatch = 7; + uint32 playId = 8; + uint32 wrongUid = 6; +} diff --git a/proto/ScenePlayOwnerInviteNotify.proto b/proto/ScenePlayOwnerInviteNotify.proto new file mode 100644 index 00000000..f613354e --- /dev/null +++ b/proto/ScenePlayOwnerInviteNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ScenePlayOwnerInviteNotify { + enum CGBPMCDEPAA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4424; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isRemainReward = 13; + uint32 inviteCd = 3; + uint32 playId = 10; +} diff --git a/proto/ScenePlayOwnerStartInviteReq.proto b/proto/ScenePlayOwnerStartInviteReq.proto new file mode 100644 index 00000000..2b083ffa --- /dev/null +++ b/proto/ScenePlayOwnerStartInviteReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ScenePlayOwnerStartInviteReq { + enum PCLABBOFBHB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4448; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isSkipMatch = 11; + uint32 playId = 7; +} diff --git a/proto/ScenePlayOwnerStartInviteRsp.proto b/proto/ScenePlayOwnerStartInviteRsp.proto new file mode 100644 index 00000000..8cab3582 --- /dev/null +++ b/proto/ScenePlayOwnerStartInviteRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ScenePlayOwnerStartInviteRsp { + enum LIEFCLIHNHA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4370; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 8; + uint32 playId = 7; + bool isSkipMatch = 11; +} diff --git a/proto/ScenePlayerBackgroundAvatarRefreshNotify.proto b/proto/ScenePlayerBackgroundAvatarRefreshNotify.proto new file mode 100644 index 00000000..ab355ac4 --- /dev/null +++ b/proto/ScenePlayerBackgroundAvatarRefreshNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "VisionType.proto"; +import "SceneEntityInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ScenePlayerBackgroundAvatarRefreshNotify { + enum ABMJKMHPLAD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3464; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 param = 1; + repeated SceneEntityInfo entityList = 14; + VisionType appearType = 2; +} diff --git a/proto/ScenePlayerInfo.proto b/proto/ScenePlayerInfo.proto index a7ff3178..d9d1793c 100644 --- a/proto/ScenePlayerInfo.proto +++ b/proto/ScenePlayerInfo.proto @@ -1,31 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "OnlinePlayerInfo.proto"; + +import "OnlinePlayerInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message ScenePlayerInfo { - uint32 uid = 2; - uint32 scene_id = 7; - uint32 peer_id = 15; - OnlinePlayerInfo online_player_info = 9; - bool is_connected = 3; - string name = 1; + string createTime = 10; + uint32 uid = 13; + uint32 peerId = 5; + uint32 sceneId = 4; + bool isConnected = 7; + OnlinePlayerInfo onlinePlayerInfo = 2; } diff --git a/proto/ScenePlayerInfoNotify.proto b/proto/ScenePlayerInfoNotify.proto index c8710ff2..b7294bf8 100644 --- a/proto/ScenePlayerInfoNotify.proto +++ b/proto/ScenePlayerInfoNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ScenePlayerInfo.proto"; + +import "ScenePlayerInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message ScenePlayerInfoNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 253; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum IOKKMFKCAAI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 264; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated ScenePlayerInfo player_info_list = 11; + repeated ScenePlayerInfo playerInfoList = 11; } diff --git a/proto/ScenePlayerLocationNotify.proto b/proto/ScenePlayerLocationNotify.proto index cf04fd6f..07da712d 100644 --- a/proto/ScenePlayerLocationNotify.proto +++ b/proto/ScenePlayerLocationNotify.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "PlayerLocationInfo.proto"; -import "VehicleLocationInfo.proto"; + +import "VehicleLocationInfo.proto"; +import "PlayerLocationInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message ScenePlayerLocationNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 248; - // ENET_CHANNEL_ID = 1; - // ENET_IS_RELIABLE = 1; - // } + enum LFLJGBMLKKD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 278; + DCDNILFDFLB = 1; + NNBKOLMPOEA = 1; + } - uint32 scene_id = 11; - repeated VehicleLocationInfo vehicle_loc_list = 6; - repeated PlayerLocationInfo player_loc_list = 4; + uint32 sceneId = 1; + repeated VehicleLocationInfo vehicleLocList = 3; + repeated PlayerLocationInfo playerLocList = 12; } diff --git a/proto/ScenePlayerSoundNotify.proto b/proto/ScenePlayerSoundNotify.proto new file mode 100644 index 00000000..f8fed836 --- /dev/null +++ b/proto/ScenePlayerSoundNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +import "PlaySoundType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ScenePlayerSoundNotify { + enum IMHOJGHBFGB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 291; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + string soundName = 11; + Rotation playPos = 6; + PlaySoundType playType = 10; +} diff --git a/proto/ScenePointUnlockNotify.proto b/proto/ScenePointUnlockNotify.proto index cfc32344..ba8353b1 100644 --- a/proto/ScenePointUnlockNotify.proto +++ b/proto/ScenePointUnlockNotify.proto @@ -1,36 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ScenePointUnlockNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 276; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum AOHDAKILNED { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 239; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 hide_point_list = 10; - repeated uint32 locked_point_list = 5; - uint32 scene_id = 11; - repeated uint32 point_list = 6; - repeated uint32 unhide_point_list = 1; + repeated uint32 lockedPointList = 5; + uint32 sceneId = 12; + repeated uint32 pointList = 9; + repeated uint32 hidePointList = 15; + repeated uint32 unhidePointList = 7; } diff --git a/proto/SceneReliquaryInfo.proto b/proto/SceneReliquaryInfo.proto index 73b43a7b..fecb08fb 100644 --- a/proto/SceneReliquaryInfo.proto +++ b/proto/SceneReliquaryInfo.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SceneReliquaryInfo { - uint32 item_id = 1; - uint64 guid = 2; - uint32 level = 3; - uint32 promote_level = 4; + uint32 itemId = 1; + uint64 guid = 2; + uint32 level = 3; + uint32 promoteLevel = 4; } diff --git a/proto/SceneRouteChangeInfo.proto b/proto/SceneRouteChangeInfo.proto index 3318af58..dfbcacf9 100644 --- a/proto/SceneRouteChangeInfo.proto +++ b/proto/SceneRouteChangeInfo.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "RoutePointChangeInfo.proto"; + +import "RoutePointChangeInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message SceneRouteChangeInfo { - bool is_forward = 15; - uint32 type = 11; - repeated RoutePointChangeInfo point_list = 10; - uint32 route_id = 12; + bool isForward = 7; + repeated RoutePointChangeInfo pointList = 14; + uint32 type = 11; + uint32 routeId = 6; } diff --git a/proto/SceneRouteChangeNotify.proto b/proto/SceneRouteChangeNotify.proto index ac7ece16..93fd42c0 100644 --- a/proto/SceneRouteChangeNotify.proto +++ b/proto/SceneRouteChangeNotify.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "SceneRouteChangeInfo.proto"; + +import "SceneRouteChangeInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message SceneRouteChangeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 285; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum IJOCHFEAPBP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 201; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 scene_time = 3; - repeated SceneRouteChangeInfo route_list = 4; - uint32 scene_id = 11; + uint32 sceneId = 10; + repeated SceneRouteChangeInfo routeList = 12; + uint32 sceneTime = 6; } diff --git a/proto/SceneTeamAvatar.proto b/proto/SceneTeamAvatar.proto index a6c3d0b6..3dec876a 100644 --- a/proto/SceneTeamAvatar.proto +++ b/proto/SceneTeamAvatar.proto @@ -1,46 +1,30 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "AbilityControlBlock.proto"; import "AbilitySyncStateInfo.proto"; +import "Avatar.proto"; import "AvatarInfo.proto"; -import "SceneAvatarInfo.proto"; import "SceneEntityInfo.proto"; import "ServerBuff.proto"; - option java_package = "emu.grasscutter.net.proto"; message SceneTeamAvatar { - SceneAvatarInfo scene_avatar_info = 14; - AvatarInfo avatar_info = 15; - uint32 entity_id = 10; - AbilitySyncStateInfo weapon_ability_info = 6; - AbilityControlBlock ability_control_block = 2; - bool is_reconnect = 8; - AbilitySyncStateInfo avatar_ability_info = 4; - uint64 weapon_guid = 12; - uint32 player_uid = 1; - SceneEntityInfo scene_entity_info = 11; - uint32 weapon_entity_id = 5; - uint32 scene_id = 9; - bool is_on_scene = 625; - uint64 avatar_guid = 3; - bool is_player_cur_avatar = 13; - repeated ServerBuff server_buff_list = 7; + bool isReconnect = 8; + AbilityControlBlock abilityControlBlock = 10; + uint32 entityId = 13; + uint32 weaponEntityId = 15; + bool isOnScene = 776; + uint64 weaponGuid = 3; + repeated ServerBuff serverBuffList = 14; + AbilitySyncStateInfo weaponAbilityInfo = 6; + uint32 sceneId = 4; + bool isPlayerCurAvatar = 7; + uint64 avatarGuid = 9; + Avatar sceneAvatarInfo = 5; + AvatarInfo avatarInfo = 2; + SceneEntityInfo sceneEntityInfo = 1; + uint32 playerUid = 11; + AbilitySyncStateInfo avatarAbilityInfo = 12; } diff --git a/proto/SceneTeamUpdateNotify.proto b/proto/SceneTeamUpdateNotify.proto index fdbaa7eb..5c7afaa1 100644 --- a/proto/SceneTeamUpdateNotify.proto +++ b/proto/SceneTeamUpdateNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "SceneTeamAvatar.proto"; + +import "SceneTeamAvatar.proto"; option java_package = "emu.grasscutter.net.proto"; message SceneTeamUpdateNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1728; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum BPGGDIIAGAD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1623; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated SceneTeamAvatar scene_team_avatar_list = 11; - bool is_in_mp = 7; + bool isInMp = 15; + repeated SceneTeamAvatar sceneTeamAvatarList = 12; } diff --git a/proto/SceneTimeNotify.proto b/proto/SceneTimeNotify.proto index 5a27359a..3920d8bd 100644 --- a/proto/SceneTimeNotify.proto +++ b/proto/SceneTimeNotify.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SceneTimeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 296; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum CHDHNBMCGCK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 232; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint64 scene_time = 10; - uint32 scene_id = 14; - bool is_paused = 5; + bool isPaused = 4; + uint64 sceneTime = 10; + uint32 sceneId = 13; } diff --git a/proto/SceneTransToPointReq.proto b/proto/SceneTransToPointReq.proto index 4054e93c..18fbfde4 100644 --- a/proto/SceneTransToPointReq.proto +++ b/proto/SceneTransToPointReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SceneTransToPointReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 216; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum CFBGFIOIPFB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 246; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 point_id = 9; - uint32 scene_id = 7; + uint32 sceneId = 3; + uint32 pointId = 10; } diff --git a/proto/SceneTransToPointRsp.proto b/proto/SceneTransToPointRsp.proto index bd6b2ade..21d17891 100644 --- a/proto/SceneTransToPointRsp.proto +++ b/proto/SceneTransToPointRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SceneTransToPointRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 273; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum CMLEKCNMFJM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 300; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 8; - uint32 point_id = 4; - uint32 scene_id = 10; + uint32 sceneId = 2; + int32 retcode = 4; + uint32 pointId = 12; } diff --git a/proto/SceneWeaponInfo.proto b/proto/SceneWeaponInfo.proto index 147312e2..d8d92e7e 100644 --- a/proto/SceneWeaponInfo.proto +++ b/proto/SceneWeaponInfo.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "AbilitySyncStateInfo.proto"; import "EntityRendererChangedInfo.proto"; - option java_package = "emu.grasscutter.net.proto"; message SceneWeaponInfo { - uint32 entity_id = 1; - uint32 gadget_id = 2; - uint32 item_id = 3; - uint64 guid = 4; - uint32 level = 5; - uint32 promote_level = 6; - AbilitySyncStateInfo ability_info = 7; - map affix_map = 8; - EntityRendererChangedInfo renderer_changed_info = 9; + uint32 entityId = 1; + uint32 gadgetId = 2; + uint32 itemId = 3; + uint64 guid = 4; + uint32 level = 5; + uint32 promoteLevel = 6; + AbilitySyncStateInfo abilityInfo = 7; + map affixMap = 8; + EntityRendererChangedInfo rendererChangedInfo = 9; } diff --git a/proto/SceneWeatherForcastReq.proto b/proto/SceneWeatherForcastReq.proto new file mode 100644 index 00000000..9ef0533c --- /dev/null +++ b/proto/SceneWeatherForcastReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SceneWeatherForcastReq { + enum AHMIFOEHDDO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3406; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 weatherAreaId = 1; +} diff --git a/proto/SceneWeatherForcastRsp.proto b/proto/SceneWeatherForcastRsp.proto new file mode 100644 index 00000000..9e53e3af --- /dev/null +++ b/proto/SceneWeatherForcastRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SceneWeatherForcastRsp { + enum EACGICPLMMH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3500; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 oefhbiaidaa = 13; + uint64 kcclfhokmpp = 10; + int32 retcode = 4; +} diff --git a/proto/ScoreChallengeInfo.proto b/proto/ScoreChallengeInfo.proto new file mode 100644 index 00000000..33917951 --- /dev/null +++ b/proto/ScoreChallengeInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ScoreChallengeInfo { + uint32 oichdaoampp = 13; + uint32 maxScore = 4; +} diff --git a/proto/ScreenInfo.proto b/proto/ScreenInfo.proto index c91a63e4..53355573 100644 --- a/proto/ScreenInfo.proto +++ b/proto/ScreenInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ScreenInfo { - uint32 live_id = 1; - uint32 projector_entity_id = 2; + uint32 liveId = 1; + uint32 projectorEntityId = 2; } diff --git a/proto/SeaLampActivityDetailInfo.proto b/proto/SeaLampActivityDetailInfo.proto index 8eba1087..cdea199b 100644 --- a/proto/SeaLampActivityDetailInfo.proto +++ b/proto/SeaLampActivityDetailInfo.proto @@ -17,6 +17,7 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message SeaLampActivityDetailInfo { diff --git a/proto/SeaLampActivityInfo.proto b/proto/SeaLampActivityInfo.proto index 20c89a5f..450875ce 100644 --- a/proto/SeaLampActivityInfo.proto +++ b/proto/SeaLampActivityInfo.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "SeaLampSectionInfo.proto"; + +import "SeaLampSectionInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message SeaLampActivityInfo { - uint32 day_index = 14; - bool is_content_closed = 15; - repeated SeaLampSectionInfo section_info_list = 1; - uint32 mechanicus_id = 7; - uint32 first_day_start_time = 6; - uint32 sea_lamp_coin = 11; - uint32 popularity = 2; - bool Unk3300_JMPCJGJHPIH = 13; - bool Unk3300_BAJIGNGJALG = 9; + bool leftMonsters = 1; + bool Unk3300_BAJIGNGJALG = 3; + repeated SeaLampSectionInfo sectionInfoList = 2; + uint32 firstDayStartTime = 10; + uint32 popularity = 5; + bool Unk3300_JMPCJGJHPIH = 14; + uint32 dayIndex = 4; + uint32 mechanicusId = 12; + uint32 seaLampCoin = 6; } diff --git a/proto/SeaLampCoinNotify.proto b/proto/SeaLampCoinNotify.proto new file mode 100644 index 00000000..7ca18c4f --- /dev/null +++ b/proto/SeaLampCoinNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SeaLampCoinNotify { + enum CHFKEEOPMPA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2197; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 seaLampCoin = 6; +} diff --git a/proto/SeaLampContributeItemReq.proto b/proto/SeaLampContributeItemReq.proto index 25cd87fb..46c2c22b 100644 --- a/proto/SeaLampContributeItemReq.proto +++ b/proto/SeaLampContributeItemReq.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ItemParam.proto"; + +import "ItemParam.proto"; option java_package = "emu.grasscutter.net.proto"; message SeaLampContributeItemReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2133; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum NFJOBJLOODK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2110; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated ItemParam item_list = 11; - uint32 activity_id = 2; + repeated ItemParam itemList = 13; + uint32 activityId = 12; } diff --git a/proto/SeaLampContributeItemRsp.proto b/proto/SeaLampContributeItemRsp.proto index ca1abd56..3aabfdb5 100644 --- a/proto/SeaLampContributeItemRsp.proto +++ b/proto/SeaLampContributeItemRsp.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SeaLampContributeItemRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2116; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum EDBJBDCJHCL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2166; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 4; - uint32 Unk3300_AIINHBHNHOI = 11; - uint32 add_progress = 5; - uint32 Unk3300_LPHALOGLGAL = 9; + uint32 addProgress = 4; + uint32 Unk3300_AIINHBHNHOI = 9; + int32 retcode = 12; + uint32 Unk3300_LPHALOGLGAL = 2; } diff --git a/proto/SeaLampFlyLampNotify.proto b/proto/SeaLampFlyLampNotify.proto new file mode 100644 index 00000000..7df5e948 --- /dev/null +++ b/proto/SeaLampFlyLampNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SeaLampFlyLampNotify { + enum CMJFJOJJKLN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2014; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 itemNum = 7; + Rotation pos = 5; + int32 param = 10; + uint32 itemId = 3; +} diff --git a/proto/SeaLampFlyLampReq.proto b/proto/SeaLampFlyLampReq.proto new file mode 100644 index 00000000..ceb3b13c --- /dev/null +++ b/proto/SeaLampFlyLampReq.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SeaLampFlyLampReq { + enum MPIPICKJIGA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2193; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + Rotation pos = 14; + uint32 itemId = 4; + uint32 itemNum = 1; + int32 param = 15; +} diff --git a/proto/SeaLampFlyLampRsp.proto b/proto/SeaLampFlyLampRsp.proto new file mode 100644 index 00000000..98fc3d9e --- /dev/null +++ b/proto/SeaLampFlyLampRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SeaLampFlyLampRsp { + enum AOFHNJCFDOM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2127; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 itemNum = 13; + int32 retcode = 3; + uint32 itemId = 2; +} diff --git a/proto/SeaLampInfo.proto b/proto/SeaLampInfo.proto new file mode 100644 index 00000000..0563416c --- /dev/null +++ b/proto/SeaLampInfo.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "SeaLampSectionInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SeaLampInfo { + bool leftMonsters = 1; + bool Unk3300_BAJIGNGJALG = 3; + repeated SeaLampSectionInfo sectionInfoList = 2; + uint32 firstDayStartTime = 10; + uint32 popularity = 5; + bool Unk3300_JMPCJGJHPIH = 14; + uint32 dayIndex = 4; + uint32 mechanicusId = 12; + uint32 seaLampCoin = 6; +} diff --git a/proto/SeaLampPopularityNotify.proto b/proto/SeaLampPopularityNotify.proto new file mode 100644 index 00000000..4edebb73 --- /dev/null +++ b/proto/SeaLampPopularityNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SeaLampPopularityNotify { + enum HGEHKKLPMHA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2076; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 popularity = 2; +} diff --git a/proto/SeaLampSectionInfo.proto b/proto/SeaLampSectionInfo.proto index 87c7b589..032d365f 100644 --- a/proto/SeaLampSectionInfo.proto +++ b/proto/SeaLampSectionInfo.proto @@ -1,24 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SeaLampSectionInfo { - uint32 section_id = 8; + uint32 sectionId = 13; } diff --git a/proto/SeaLampTakeContributionRewardReq.proto b/proto/SeaLampTakeContributionRewardReq.proto new file mode 100644 index 00000000..7d9e7c0e --- /dev/null +++ b/proto/SeaLampTakeContributionRewardReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SeaLampTakeContributionRewardReq { + enum JHACAPOGFON { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2022; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 activityId = 12; + uint32 configId = 7; +} diff --git a/proto/SeaLampTakeContributionRewardRsp.proto b/proto/SeaLampTakeContributionRewardRsp.proto new file mode 100644 index 00000000..f155ba90 --- /dev/null +++ b/proto/SeaLampTakeContributionRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SeaLampTakeContributionRewardRsp { + enum JEMBIKJOJCG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2101; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 13; + uint32 configId = 14; +} diff --git a/proto/SeaLampTakePhaseRewardReq.proto b/proto/SeaLampTakePhaseRewardReq.proto new file mode 100644 index 00000000..ca540157 --- /dev/null +++ b/proto/SeaLampTakePhaseRewardReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SeaLampTakePhaseRewardReq { + enum OKJNDPGMFKH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2119; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 activityId = 1; + uint32 phaseId = 4; +} diff --git a/proto/SeaLampTakePhaseRewardRsp.proto b/proto/SeaLampTakePhaseRewardRsp.proto new file mode 100644 index 00000000..45c39cca --- /dev/null +++ b/proto/SeaLampTakePhaseRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SeaLampTakePhaseRewardRsp { + enum LKCOHHHEHCF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2187; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 phaseId = 8; + int32 retcode = 3; +} diff --git a/proto/SeaLampV3Info.proto b/proto/SeaLampV3Info.proto new file mode 100644 index 00000000..80d7541d --- /dev/null +++ b/proto/SeaLampV3Info.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "BDKPJAMLNCL.proto"; +import "MEIDIANHEDD.proto"; +import "FKJCFGLHNPM.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SeaLampV3Info { + BDKPJAMLNCL raceInfo = 4; + MEIDIANHEDD campInfo = 11; + FKJCFGLHNPM jpegcngalgi = 3; +} diff --git a/proto/SealBattleBeginNotify.proto b/proto/SealBattleBeginNotify.proto new file mode 100644 index 00000000..66fe97f1 --- /dev/null +++ b/proto/SealBattleBeginNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "SealBattleType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SealBattleBeginNotify { + enum AOFHDLCECNH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 261; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 sealRadius = 12; + uint32 sealMaxProgress = 2; + uint32 sealEntityId = 15; + SealBattleType battleType = 4; +} diff --git a/proto/SealBattleEndNotify.proto b/proto/SealBattleEndNotify.proto new file mode 100644 index 00000000..e1839bc1 --- /dev/null +++ b/proto/SealBattleEndNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SealBattleEndNotify { + enum GLJNBKMHOJI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 265; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 sealEntityId = 3; + bool isWin = 13; +} diff --git a/proto/SealBattleProgressNotify.proto b/proto/SealBattleProgressNotify.proto new file mode 100644 index 00000000..5c71ac82 --- /dev/null +++ b/proto/SealBattleProgressNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SealBattleProgressNotify { + enum POGEHCCIKLC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 226; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 maxProgress = 15; + uint32 sealRadius = 8; + uint32 progress = 4; + uint32 endTime = 14; + uint32 sealEntityId = 7; +} diff --git a/proto/SealBattleType.proto b/proto/SealBattleType.proto new file mode 100644 index 00000000..038207d2 --- /dev/null +++ b/proto/SealBattleType.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum SealBattleType { + SEAL_BATTLE_TYPE_KEEP_ALIVE = 0; + SEAL_BATTLE_TYPE_KILL_MONSTER = 1; + SEAL_BATTLE_TYPE_ENERGY_CHARGE = 2; +} diff --git a/proto/SearchCustomDungeonReq.proto b/proto/SearchCustomDungeonReq.proto new file mode 100644 index 00000000..8d29e87c --- /dev/null +++ b/proto/SearchCustomDungeonReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SearchCustomDungeonReq { + enum BCCAOMNFMGM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6222; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + string dungeonCode = 12; +} diff --git a/proto/SearchCustomDungeonRsp.proto b/proto/SearchCustomDungeonRsp.proto new file mode 100644 index 00000000..5950d8f7 --- /dev/null +++ b/proto/SearchCustomDungeonRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "OtherCustomDungeonBrief.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SearchCustomDungeonRsp { + enum PBOGKMIAOKK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6224; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + OtherCustomDungeonBrief customDungeonBrief = 6; + int32 retcode = 5; +} diff --git a/proto/SecondStageInfo.proto b/proto/SecondStageInfo.proto new file mode 100644 index 00000000..30066465 --- /dev/null +++ b/proto/SecondStageInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SecondStageInfo { + map animalCountMap = 7; + uint32 totalNum = 14; + uint32 captureAnimalNum = 1; +} diff --git a/proto/SeeMonsterReq.proto b/proto/SeeMonsterReq.proto new file mode 100644 index 00000000..7fb0933d --- /dev/null +++ b/proto/SeeMonsterReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SeeMonsterReq { + enum ODFEGLOMANE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 259; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 monsterId = 9; +} diff --git a/proto/SeeMonsterRsp.proto b/proto/SeeMonsterRsp.proto new file mode 100644 index 00000000..8dc631ae --- /dev/null +++ b/proto/SeeMonsterRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SeeMonsterRsp { + enum DIACHCHADNF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 249; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 3; +} diff --git a/proto/SeekFurnitureGalleryInfo.proto b/proto/SeekFurnitureGalleryInfo.proto index 8c8ebac0..cab147ac 100644 --- a/proto/SeekFurnitureGalleryInfo.proto +++ b/proto/SeekFurnitureGalleryInfo.proto @@ -1,26 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "HomeSeekFurnitureOneRecord.proto"; + +import "HomeSeekFurnitureOneRecord.proto"; option java_package = "emu.grasscutter.net.proto"; message SeekFurnitureGalleryInfo { - repeated HomeSeekFurnitureOneRecord record_list = 5; + repeated HomeSeekFurnitureOneRecord recordList = 5; } diff --git a/proto/SegmentCRCInfo.proto b/proto/SegmentCRCInfo.proto new file mode 100644 index 00000000..c4d0de80 --- /dev/null +++ b/proto/SegmentCRCInfo.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SegmentCRCInfo { + int32 retcode = 10; + string crc = 12; + uint32 offset = 5; + uint32 module = 14; + uint32 size = 8; +} diff --git a/proto/SegmentInfo.proto b/proto/SegmentInfo.proto new file mode 100644 index 00000000..a8754b2d --- /dev/null +++ b/proto/SegmentInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SegmentInfo { + uint32 size = 6; + uint32 offset = 9; + uint32 module = 12; +} diff --git a/proto/SelectAsterMidDifficultyReq.proto b/proto/SelectAsterMidDifficultyReq.proto new file mode 100644 index 00000000..0889e28f --- /dev/null +++ b/proto/SelectAsterMidDifficultyReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SelectAsterMidDifficultyReq { + enum CJNECBCPBEH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2128; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 gadgetEntityId = 7; + uint32 scheduleId = 2; + uint32 difficultyId = 14; +} diff --git a/proto/SelectAsterMidDifficultyRsp.proto b/proto/SelectAsterMidDifficultyRsp.proto new file mode 100644 index 00000000..a5ad5cde --- /dev/null +++ b/proto/SelectAsterMidDifficultyRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SelectAsterMidDifficultyRsp { + enum IFGLHGKBJKN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2139; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 gadgetEntityId = 11; + int32 retcode = 1; + uint32 difficultyId = 3; + uint32 scheduleId = 8; +} diff --git a/proto/SelectEffigyChallengeConditionReq.proto b/proto/SelectEffigyChallengeConditionReq.proto new file mode 100644 index 00000000..c85bb63c --- /dev/null +++ b/proto/SelectEffigyChallengeConditionReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SelectEffigyChallengeConditionReq { + enum GEBHGPMLGLG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2115; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 difficultyId = 11; + uint32 challengeId = 2; + repeated uint32 conditionIdList = 3; +} diff --git a/proto/SelectEffigyChallengeConditionRsp.proto b/proto/SelectEffigyChallengeConditionRsp.proto new file mode 100644 index 00000000..cb4d11d9 --- /dev/null +++ b/proto/SelectEffigyChallengeConditionRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SelectEffigyChallengeConditionRsp { + enum GMDMNGELPBF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2068; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 12; + repeated uint32 conditionIdList = 1; + uint32 challengeId = 11; + uint32 difficultyId = 10; +} diff --git a/proto/SelectOnStage.proto b/proto/SelectOnStage.proto new file mode 100644 index 00000000..c92041c3 --- /dev/null +++ b/proto/SelectOnStage.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "GCGReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SelectOnStage { + GCGReason reason = 13; + uint32 cardGuid = 5; + uint32 controllerId = 2; +} diff --git a/proto/SelectOnStageByEffect.proto b/proto/SelectOnStageByEffect.proto new file mode 100644 index 00000000..a29671af --- /dev/null +++ b/proto/SelectOnStageByEffect.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SelectOnStageByEffect { + uint32 skillId = 4; + uint32 cardGuid = 2; + uint32 controllerId = 13; +} diff --git a/proto/SelectRoguelikeDungeonCardReq.proto b/proto/SelectRoguelikeDungeonCardReq.proto new file mode 100644 index 00000000..66f4e668 --- /dev/null +++ b/proto/SelectRoguelikeDungeonCardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SelectRoguelikeDungeonCardReq { + enum CKLMPMDMONH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8572; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 cardId = 8; +} diff --git a/proto/SelectRoguelikeDungeonCardRsp.proto b/proto/SelectRoguelikeDungeonCardRsp.proto new file mode 100644 index 00000000..c17694c9 --- /dev/null +++ b/proto/SelectRoguelikeDungeonCardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SelectRoguelikeDungeonCardRsp { + enum BDPGDIKPFBO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8445; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 13; + uint32 cardId = 4; +} diff --git a/proto/SelectWorktopOptionReq.proto b/proto/SelectWorktopOptionReq.proto index e48d3171..dbffac33 100644 --- a/proto/SelectWorktopOptionReq.proto +++ b/proto/SelectWorktopOptionReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SelectWorktopOptionReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 900; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum DBBFFAADANP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 820; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 option_id = 7; - uint32 gadget_entity_id = 5; + uint32 optionId = 1; + uint32 gadgetEntityId = 15; } diff --git a/proto/SelectWorktopOptionRsp.proto b/proto/SelectWorktopOptionRsp.proto index 238fbfa9..52731523 100644 --- a/proto/SelectWorktopOptionRsp.proto +++ b/proto/SelectWorktopOptionRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SelectWorktopOptionRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 843; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HJPALAPGEBM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 874; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 option_id = 10; - int32 retcode = 4; - uint32 gadget_entity_id = 12; + int32 retcode = 11; + uint32 gadgetEntityId = 3; + uint32 optionId = 4; } diff --git a/proto/ServantInfo.proto b/proto/ServantInfo.proto index ed2421de..120f04d6 100644 --- a/proto/ServantInfo.proto +++ b/proto/ServantInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ServantInfo { - uint32 master_entity_id = 1; - uint32 born_slot_index = 2; + uint32 masterEntityId = 1; + uint32 bornSlotIndex = 2; } diff --git a/proto/ServerAnnounceNotify.proto b/proto/ServerAnnounceNotify.proto index f6450a5b..cdc63e2b 100644 --- a/proto/ServerAnnounceNotify.proto +++ b/proto/ServerAnnounceNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AnnounceData.proto"; + +import "AnnounceData.proto"; option java_package = "emu.grasscutter.net.proto"; message ServerAnnounceNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2129; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum LGCEIPJMBJB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2148; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated AnnounceData announce_data_list = 14; + repeated AnnounceData announceDataList = 1; } diff --git a/proto/ServerAnnounceRevokeNotify.proto b/proto/ServerAnnounceRevokeNotify.proto index 2e2b37cc..0b498137 100644 --- a/proto/ServerAnnounceRevokeNotify.proto +++ b/proto/ServerAnnounceRevokeNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ServerAnnounceRevokeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2064; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum JAAICAGMEPA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2140; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 config_id_list = 9; + repeated uint32 configIdList = 12; } diff --git a/proto/ServerBuff.proto b/proto/ServerBuff.proto index 0b49125b..b9406284 100644 --- a/proto/ServerBuff.proto +++ b/proto/ServerBuff.proto @@ -1,28 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ServerBuff { - uint32 server_buff_uid = 1; - uint32 server_buff_id = 2; - uint32 server_buff_type = 3; - uint32 instanced_modifier_id = 4; - bool is_modifier_added = 5; + uint32 serverBuffUid = 1; + uint32 serverBuffId = 2; + uint32 serverBuffType = 3; + uint32 instancedModifierId = 4; + bool isModifierAdded = 5; } diff --git a/proto/ServerBuffChangeNotify.proto b/proto/ServerBuffChangeNotify.proto index 3767e40c..490417b7 100644 --- a/proto/ServerBuffChangeNotify.proto +++ b/proto/ServerBuffChangeNotify.proto @@ -1,43 +1,23 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ServerBuff.proto"; + +import "ServerBuffChangeType.proto"; +import "ServerBuff.proto"; option java_package = "emu.grasscutter.net.proto"; message ServerBuffChangeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 398; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum OHMNCGAGOPH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 315; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - enum ServerBuffChangeType { - SERVER_BUFF_CHANGE_TYPE_ADD_SERVER_BUFF = 0; - SERVER_BUFF_CHANGE_TYPE_DEL_SERVER_BUFF = 1; - } - - repeated ServerBuff server_buff_list = 4; - bool is_creature_buff = 8; - repeated uint32 entity_id_list = 6; - ServerBuffChangeType server_buff_change_type = 9; - repeated uint64 avatar_guid_list = 5; + repeated ServerBuff serverBuffList = 12; + repeated uint64 avatarGuidList = 10; + ServerBuffChangeType serverBuffChangeType = 4; + repeated uint32 entityIdList = 1; + bool isCreatureBuff = 5; } diff --git a/proto/ServerBuffChangeType.proto b/proto/ServerBuffChangeType.proto new file mode 100644 index 00000000..a6a20269 --- /dev/null +++ b/proto/ServerBuffChangeType.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +enum ServerBuffChangeType { + SERVER_BUFF_CHANGE_TYPE_ADD_SERVER_BUFF = 0; + SERVER_BUFF_CHANGE_TYPE_DEL_SERVER_BUFF = 1; +} diff --git a/proto/ServerCombatEndNotify.proto b/proto/ServerCombatEndNotify.proto new file mode 100644 index 00000000..7a1ed88a --- /dev/null +++ b/proto/ServerCombatEndNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ServerCombatEndNotify { + enum FFKFNGAOEHI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1169; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 combatEndTypeList = 15; +} diff --git a/proto/ServerCondMeetQuestListUpdateNotify.proto b/proto/ServerCondMeetQuestListUpdateNotify.proto index fb7275d4..e285f415 100644 --- a/proto/ServerCondMeetQuestListUpdateNotify.proto +++ b/proto/ServerCondMeetQuestListUpdateNotify.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ServerCondMeetQuestListUpdateNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 410; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum KJABEOMBHGK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 485; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 add_quest_id_list = 10; - repeated uint32 del_quest_id_list = 4; + repeated uint32 addQuestIdList = 2; + repeated uint32 delQuestIdList = 7; } diff --git a/proto/ServerDisconnectClientNotify.proto b/proto/ServerDisconnectClientNotify.proto new file mode 100644 index 00000000..c1691411 --- /dev/null +++ b/proto/ServerDisconnectClientNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ServerDisconnectClientNotify { + enum GNJGNNEBAHE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 160; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 data = 10; +} diff --git a/proto/ServerGlobalValueChangeNotify.proto b/proto/ServerGlobalValueChangeNotify.proto new file mode 100644 index 00000000..dfb77a01 --- /dev/null +++ b/proto/ServerGlobalValueChangeNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ServerGlobalValueChangeNotify { + enum JPDJFOKAGBD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1116; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + float value = 10; + uint32 keyHash = 6; + uint32 entityId = 11; +} diff --git a/proto/ServerLogLevel.proto b/proto/ServerLogLevel.proto new file mode 100644 index 00000000..948ad180 --- /dev/null +++ b/proto/ServerLogLevel.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +enum ServerLogLevel { + SERVER_LOG_LEVEL_NONE = 0; + SERVER_LOG_LEVEL_DEBUG = 1; + SERVER_LOG_LEVEL_INFO = 2; + SERVER_LOG_LEVEL_WARNING = 3; + SERVER_LOG_LEVEL_ERROR = 4; +} diff --git a/proto/ServerLogNotify.proto b/proto/ServerLogNotify.proto new file mode 100644 index 00000000..f5e93549 --- /dev/null +++ b/proto/ServerLogNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "ServerLogLevel.proto"; +import "ServerLogType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ServerLogNotify { + enum OGLOGLBDDLC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 24; + DCDNILFDFLB = 1; + NNBKOLMPOEA = 1; + } + + string serverLog = 10; + ServerLogLevel logLevel = 15; + ServerLogType logType = 9; +} diff --git a/proto/ServerLogType.proto b/proto/ServerLogType.proto new file mode 100644 index 00000000..3ecae524 --- /dev/null +++ b/proto/ServerLogType.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +enum ServerLogType { + SERVER_LOG_TYPE_NONE = 0; + SERVER_LOG_TYPE_ABILITY = 1; + SERVER_LOG_TYPE_LEVEL = 2; + SERVER_LOG_TYPE_ENTITY = 3; + SERVER_LOG_TYPE_LUA = 4; +} diff --git a/proto/ServerMassiveEntity.proto b/proto/ServerMassiveEntity.proto new file mode 100644 index 00000000..8017381f --- /dev/null +++ b/proto/ServerMassiveEntity.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "WaterInfo.proto"; +import "GrassInfo.proto"; +import "BoxInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ServerMassiveEntity { + uint32 entityType = 1; + uint32 configId = 2; + uint32 runtimeId = 3; + uint32 authorityPeerId = 4; + int64 objId = 5; + oneof NLOICAFCJEC { + WaterInfo water_info = 6; + GrassInfo grass_info = 7; + BoxInfo box_info = 8; + } +} diff --git a/proto/ServerMessageNotify.proto b/proto/ServerMessageNotify.proto new file mode 100644 index 00000000..c2c3cf98 --- /dev/null +++ b/proto/ServerMessageNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ServerMessageNotify { + enum EEGNCJDFCFM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5745; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 index = 6; +} diff --git a/proto/ServerTimeNotify.proto b/proto/ServerTimeNotify.proto index 12416794..bb5c185c 100644 --- a/proto/ServerTimeNotify.proto +++ b/proto/ServerTimeNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ServerTimeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 57; - // ENET_CHANNEL_ID = 1; - // ENET_IS_RELIABLE = 1; - // } + enum ODMLPFBCGNH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 14; + DCDNILFDFLB = 1; + NNBKOLMPOEA = 1; + } - uint64 server_time = 13; + uint64 serverTime = 12; } diff --git a/proto/ServerTryCancelGeneralMatchNotify.proto b/proto/ServerTryCancelGeneralMatchNotify.proto new file mode 100644 index 00000000..83681ca5 --- /dev/null +++ b/proto/ServerTryCancelGeneralMatchNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ServerTryCancelGeneralMatchNotify { + enum CFGNCGGAJNF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4165; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 matchId = 1; +} diff --git a/proto/ServerUpdateGlobalValueNotify.proto b/proto/ServerUpdateGlobalValueNotify.proto new file mode 100644 index 00000000..7297fa02 --- /dev/null +++ b/proto/ServerUpdateGlobalValueNotify.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "UpdateType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ServerUpdateGlobalValueNotify { + enum BCKNOBMAGJA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1178; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + float value = 2; + UpdateType updateType = 8; + uint32 keyHash = 10; + uint32 entityId = 3; + float delta = 12; +} diff --git a/proto/SetBattlePassViewedReq.proto b/proto/SetBattlePassViewedReq.proto index 5b208dc6..e37e911a 100644 --- a/proto/SetBattlePassViewedReq.proto +++ b/proto/SetBattlePassViewedReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SetBattlePassViewedReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2608; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum PAPGOGGAKFL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2637; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 schedule_id = 9; + uint32 scheduleId = 10; } diff --git a/proto/SetBattlePassViewedRsp.proto b/proto/SetBattlePassViewedRsp.proto index f972ba8a..4621a019 100644 --- a/proto/SetBattlePassViewedRsp.proto +++ b/proto/SetBattlePassViewedRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SetBattlePassViewedRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2645; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum CNDABMPJENO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2614; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 schedule_id = 13; - int32 retcode = 6; + int32 retcode = 8; + uint32 scheduleId = 2; } diff --git a/proto/SetChatEmojiCollectionReq.proto b/proto/SetChatEmojiCollectionReq.proto index 433ac426..791cd0d4 100644 --- a/proto/SetChatEmojiCollectionReq.proto +++ b/proto/SetChatEmojiCollectionReq.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ChatEmojiCollectionData.proto"; + +import "ChatEmojiCollectionData.proto"; option java_package = "emu.grasscutter.net.proto"; message SetChatEmojiCollectionReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4052; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum AMDGEFGHKLC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4060; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - ChatEmojiCollectionData chat_emoji_collection_data = 13; + ChatEmojiCollectionData chatEmojiCollectionData = 11; } diff --git a/proto/SetChatEmojiCollectionRsp.proto b/proto/SetChatEmojiCollectionRsp.proto index 2825e023..b792e4ee 100644 --- a/proto/SetChatEmojiCollectionRsp.proto +++ b/proto/SetChatEmojiCollectionRsp.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SetChatEmojiCollectionRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4074; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HLDBKOFBNHD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4004; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 15; + int32 retcode = 12; } diff --git a/proto/SetCodexPushtipsReadReq.proto b/proto/SetCodexPushtipsReadReq.proto new file mode 100644 index 00000000..ea2f5173 --- /dev/null +++ b/proto/SetCodexPushtipsReadReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SetCodexPushtipsReadReq { + enum AJCLCJMELPF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4204; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 typeId = 10; + uint32 codexId = 2; +} diff --git a/proto/SetCodexPushtipsReadRsp.proto b/proto/SetCodexPushtipsReadRsp.proto new file mode 100644 index 00000000..d96f73ab --- /dev/null +++ b/proto/SetCodexPushtipsReadRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SetCodexPushtipsReadRsp { + enum CLOBHCDJANA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4210; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 codexId = 14; + uint32 typeId = 4; + int32 retcode = 11; +} diff --git a/proto/SetCoopChapterViewedReq.proto b/proto/SetCoopChapterViewedReq.proto new file mode 100644 index 00000000..a5ef9998 --- /dev/null +++ b/proto/SetCoopChapterViewedReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SetCoopChapterViewedReq { + enum LNCBLKCCNLH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1974; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 chapterId = 1; +} diff --git a/proto/SetCoopChapterViewedRsp.proto b/proto/SetCoopChapterViewedRsp.proto new file mode 100644 index 00000000..e940fe01 --- /dev/null +++ b/proto/SetCoopChapterViewedRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SetCoopChapterViewedRsp { + enum CGAKKBPECNI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1961; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 8; + uint32 chapterId = 9; +} diff --git a/proto/SetCurExpeditionChallengeIdReq.proto b/proto/SetCurExpeditionChallengeIdReq.proto new file mode 100644 index 00000000..9d9e6c6a --- /dev/null +++ b/proto/SetCurExpeditionChallengeIdReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SetCurExpeditionChallengeIdReq { + enum FONEAKCIFKE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2081; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 id = 6; +} diff --git a/proto/SetCurExpeditionChallengeIdRsp.proto b/proto/SetCurExpeditionChallengeIdRsp.proto new file mode 100644 index 00000000..6314475d --- /dev/null +++ b/proto/SetCurExpeditionChallengeIdRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SetCurExpeditionChallengeIdRsp { + enum EMEKHIDCEEP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2050; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 4; + uint32 id = 5; +} diff --git a/proto/SetEntityClientDataNotify.proto b/proto/SetEntityClientDataNotify.proto index 5135b089..d26c0bcd 100644 --- a/proto/SetEntityClientDataNotify.proto +++ b/proto/SetEntityClientDataNotify.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "EntityClientData.proto"; + +import "EntityClientData.proto"; option java_package = "emu.grasscutter.net.proto"; message SetEntityClientDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 3318; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum GNHKCMJAMMF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3149; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 entity_id = 15; - EntityClientData entity_client_data = 5; + uint32 entityId = 15; + EntityClientData entityClientData = 13; } diff --git a/proto/SetEquipLockStateReq.proto b/proto/SetEquipLockStateReq.proto index 1405718c..f839f0b6 100644 --- a/proto/SetEquipLockStateReq.proto +++ b/proto/SetEquipLockStateReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SetEquipLockStateReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 609; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum OHOCDDBFFKA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 684; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint64 target_equip_guid = 10; - bool is_locked = 5; + uint64 targetEquipGuid = 10; + bool isLocked = 3; } diff --git a/proto/SetEquipLockStateRsp.proto b/proto/SetEquipLockStateRsp.proto index 10fb51a5..77759f84 100644 --- a/proto/SetEquipLockStateRsp.proto +++ b/proto/SetEquipLockStateRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SetEquipLockStateRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 688; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum BNEKIBKAHMK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 611; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint64 target_equip_guid = 1; - bool is_locked = 3; - int32 retcode = 12; + int32 retcode = 8; + bool isLocked = 4; + uint64 targetEquipGuid = 11; } diff --git a/proto/SetFriendEnterHomeOptionReq.proto b/proto/SetFriendEnterHomeOptionReq.proto index 9361dd19..52629b9c 100644 --- a/proto/SetFriendEnterHomeOptionReq.proto +++ b/proto/SetFriendEnterHomeOptionReq.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "FriendEnterHomeOption.proto"; + +import "FriendEnterHomeOption.proto"; option java_package = "emu.grasscutter.net.proto"; message SetFriendEnterHomeOptionReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4853; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum KFBAHFLDCJE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4830; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - FriendEnterHomeOption option = 8; + FriendEnterHomeOption option = 12; } diff --git a/proto/SetFriendEnterHomeOptionRsp.proto b/proto/SetFriendEnterHomeOptionRsp.proto index ddcd1dde..f23870c7 100644 --- a/proto/SetFriendEnterHomeOptionRsp.proto +++ b/proto/SetFriendEnterHomeOptionRsp.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SetFriendEnterHomeOptionRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4526; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum KABHJDLEHCE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4581; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 11; + int32 retcode = 13; } diff --git a/proto/SetFriendRemarkNameReq.proto b/proto/SetFriendRemarkNameReq.proto new file mode 100644 index 00000000..ae204ab6 --- /dev/null +++ b/proto/SetFriendRemarkNameReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SetFriendRemarkNameReq { + enum MDIEJHHFJDD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4094; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 uid = 11; + string remarkName = 15; +} diff --git a/proto/SetFriendRemarkNameRsp.proto b/proto/SetFriendRemarkNameRsp.proto new file mode 100644 index 00000000..e55cc662 --- /dev/null +++ b/proto/SetFriendRemarkNameRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SetFriendRemarkNameRsp { + enum NDICEJFAIGO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4081; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + string remarkName = 12; + uint32 uid = 14; + bool isClearRemark = 6; + int32 retcode = 1; +} diff --git a/proto/SetH5ActivityRedDotTimestampReq.proto b/proto/SetH5ActivityRedDotTimestampReq.proto new file mode 100644 index 00000000..c90c5b2e --- /dev/null +++ b/proto/SetH5ActivityRedDotTimestampReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SetH5ActivityRedDotTimestampReq { + enum OCMJAJJIFFG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5691; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 clientRedDotTimestamp = 10; +} diff --git a/proto/SetH5ActivityRedDotTimestampRsp.proto b/proto/SetH5ActivityRedDotTimestampRsp.proto new file mode 100644 index 00000000..6bc330c6 --- /dev/null +++ b/proto/SetH5ActivityRedDotTimestampRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SetH5ActivityRedDotTimestampRsp { + enum AAGMAJAFGEE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5669; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 4; +} diff --git a/proto/SetIsAutoUnlockSpecificEquipReq.proto b/proto/SetIsAutoUnlockSpecificEquipReq.proto index 02cd34fd..4f5bca7b 100644 --- a/proto/SetIsAutoUnlockSpecificEquipReq.proto +++ b/proto/SetIsAutoUnlockSpecificEquipReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SetIsAutoUnlockSpecificEquipReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 602; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum CAHDIFFNDGH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 689; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - bool is_auto_unlock_specific_equip = 8; + bool isAutoUnlockSpecificEquip = 3; } diff --git a/proto/SetIsAutoUnlockSpecificEquipRsp.proto b/proto/SetIsAutoUnlockSpecificEquipRsp.proto index f44cbcc3..65b65aa6 100644 --- a/proto/SetIsAutoUnlockSpecificEquipRsp.proto +++ b/proto/SetIsAutoUnlockSpecificEquipRsp.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SetIsAutoUnlockSpecificEquipRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 612; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum DNPEDMFMCLL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 638; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 13; + int32 retcode = 8; } diff --git a/proto/SetLimitOptimizationNotify.proto b/proto/SetLimitOptimizationNotify.proto new file mode 100644 index 00000000..6600c531 --- /dev/null +++ b/proto/SetLimitOptimizationNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SetLimitOptimizationNotify { + enum NEIGJFHOBKP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8763; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isActive = 10; +} diff --git a/proto/SetNameCardReq.proto b/proto/SetNameCardReq.proto index ef2dd869..54ba1314 100644 --- a/proto/SetNameCardReq.proto +++ b/proto/SetNameCardReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SetNameCardReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4044; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum CBFBPJBKJPD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4025; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 name_card_id = 11; + uint32 nameCardId = 7; } diff --git a/proto/SetNameCardRsp.proto b/proto/SetNameCardRsp.proto index f549b14a..3f368a59 100644 --- a/proto/SetNameCardRsp.proto +++ b/proto/SetNameCardRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SetNameCardRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4007; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum ICIPJFFEHFM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4058; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 name_card_id = 9; - int32 retcode = 4; + uint32 nameCardId = 14; + int32 retcode = 7; } diff --git a/proto/SetOpenStateReq.proto b/proto/SetOpenStateReq.proto index 0d2e67a1..1280de37 100644 --- a/proto/SetOpenStateReq.proto +++ b/proto/SetOpenStateReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SetOpenStateReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 189; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum GLFJEJCADED { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 188; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 key = 10; - uint32 value = 12; + uint32 value = 14; + uint32 key = 7; } diff --git a/proto/SetOpenStateRsp.proto b/proto/SetOpenStateRsp.proto index 2c40a1d0..d3d27885 100644 --- a/proto/SetOpenStateRsp.proto +++ b/proto/SetOpenStateRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SetOpenStateRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 144; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum CLODPODDKLK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 125; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 4; - uint32 value = 5; - uint32 key = 12; + int32 retcode = 9; + uint32 value = 15; + uint32 key = 10; } diff --git a/proto/SetPlayerBirthdayReq.proto b/proto/SetPlayerBirthdayReq.proto index 3f5c62ab..7ea9b10d 100644 --- a/proto/SetPlayerBirthdayReq.proto +++ b/proto/SetPlayerBirthdayReq.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Birthday.proto"; + +import "Birthday.proto"; option java_package = "emu.grasscutter.net.proto"; message SetPlayerBirthdayReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4048; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum HIPLJKMFJAC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4078; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - Birthday birthday = 8; + Birthday birthday = 15; } diff --git a/proto/SetPlayerBirthdayRsp.proto b/proto/SetPlayerBirthdayRsp.proto index 68958976..16dc4354 100644 --- a/proto/SetPlayerBirthdayRsp.proto +++ b/proto/SetPlayerBirthdayRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Birthday.proto"; + +import "Birthday.proto"; option java_package = "emu.grasscutter.net.proto"; message SetPlayerBirthdayRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4099; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum NEBEAFHDGOM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4016; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - Birthday birthday = 1; - int32 retcode = 4; + Birthday birthday = 13; + int32 retcode = 7; } diff --git a/proto/SetPlayerBornDataReq.proto b/proto/SetPlayerBornDataReq.proto index 1b4e2a4c..ee645e65 100644 --- a/proto/SetPlayerBornDataReq.proto +++ b/proto/SetPlayerBornDataReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SetPlayerBornDataReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 142; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum JJMALAPLECC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 169; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - string nick_name = 4; - uint32 avatar_id = 14; + string nickName = 10; + uint32 avatarId = 15; } diff --git a/proto/SetPlayerBornDataRsp.proto b/proto/SetPlayerBornDataRsp.proto index 227bfbd1..9010a242 100644 --- a/proto/SetPlayerBornDataRsp.proto +++ b/proto/SetPlayerBornDataRsp.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SetPlayerBornDataRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 190; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HPFMLAMLFBB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 106; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 15; + int32 retcode = 5; } diff --git a/proto/SetPlayerHeadImageReq.proto b/proto/SetPlayerHeadImageReq.proto index 85a73c4f..52c2f10e 100644 --- a/proto/SetPlayerHeadImageReq.proto +++ b/proto/SetPlayerHeadImageReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SetPlayerHeadImageReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4090; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum CFPMHBLKGJM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4006; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 avatar_id = 5; + uint32 avatarId = 10; } diff --git a/proto/SetPlayerHeadImageRsp.proto b/proto/SetPlayerHeadImageRsp.proto index 75f5c4b9..c24831f8 100644 --- a/proto/SetPlayerHeadImageRsp.proto +++ b/proto/SetPlayerHeadImageRsp.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ProfilePicture.proto"; + +import "ProfilePicture.proto"; option java_package = "emu.grasscutter.net.proto"; message SetPlayerHeadImageRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4076; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum EDBGDNODIJJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4039; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - ProfilePicture profile_picture = 14; - uint32 avatar_id = 7; - int32 retcode = 15; + int32 retcode = 5; + uint32 avatarId = 2; + ProfilePicture profilePicture = 9; } diff --git a/proto/SetPlayerNameReq.proto b/proto/SetPlayerNameReq.proto index 77945d21..abc2c14f 100644 --- a/proto/SetPlayerNameReq.proto +++ b/proto/SetPlayerNameReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SetPlayerNameReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 173; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum OGLEBIEPALE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 200; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - string nick_name = 13; + string nickName = 3; } diff --git a/proto/SetPlayerNameRsp.proto b/proto/SetPlayerNameRsp.proto index 6e1514ff..87a41aca 100644 --- a/proto/SetPlayerNameRsp.proto +++ b/proto/SetPlayerNameRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SetPlayerNameRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 137; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum BIHLPOPNHMC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 192; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - string nick_name = 4; - int32 retcode = 11; + int32 retcode = 11; + string nickName = 13; } diff --git a/proto/SetPlayerPropReq.proto b/proto/SetPlayerPropReq.proto index b3cb5be0..38be50c3 100644 --- a/proto/SetPlayerPropReq.proto +++ b/proto/SetPlayerPropReq.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "PropValue.proto"; + +import "PropValue.proto"; option java_package = "emu.grasscutter.net.proto"; message SetPlayerPropReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 199; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum OBGPOKKCHKC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 116; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated PropValue prop_list = 3; + repeated PropValue propList = 8; } diff --git a/proto/SetPlayerPropRsp.proto b/proto/SetPlayerPropRsp.proto index a30b472c..05e5d653 100644 --- a/proto/SetPlayerPropRsp.proto +++ b/proto/SetPlayerPropRsp.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SetPlayerPropRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 125; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MJGMBECEPOM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 113; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 8; + int32 retcode = 13; } diff --git a/proto/SetPlayerSignatureReq.proto b/proto/SetPlayerSignatureReq.proto index 931874a3..6131de2d 100644 --- a/proto/SetPlayerSignatureReq.proto +++ b/proto/SetPlayerSignatureReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SetPlayerSignatureReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4025; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum BCBOELNAOJK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4013; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - string signature = 15; + string signature = 15; } diff --git a/proto/SetPlayerSignatureRsp.proto b/proto/SetPlayerSignatureRsp.proto index 3defe276..8814051e 100644 --- a/proto/SetPlayerSignatureRsp.proto +++ b/proto/SetPlayerSignatureRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SetPlayerSignatureRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4042; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum FBIHDAIKAAC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4069; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 6; - string signature = 12; + string signature = 13; + int32 retcode = 10; } diff --git a/proto/SetSceneWeatherAreaReq.proto b/proto/SetSceneWeatherAreaReq.proto new file mode 100644 index 00000000..8c89ce71 --- /dev/null +++ b/proto/SetSceneWeatherAreaReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SetSceneWeatherAreaReq { + enum LADCPIFMGCD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 208; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 weatherGadgetId = 15; + map weatherValueMap = 6; +} diff --git a/proto/SetSceneWeatherAreaRsp.proto b/proto/SetSceneWeatherAreaRsp.proto new file mode 100644 index 00000000..1f2a7ecf --- /dev/null +++ b/proto/SetSceneWeatherAreaRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SetSceneWeatherAreaRsp { + enum HEKIMOLFFBE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 266; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 1; +} diff --git a/proto/SetUpAvatarTeamReq.proto b/proto/SetUpAvatarTeamReq.proto index e7086791..93bcc0a3 100644 --- a/proto/SetUpAvatarTeamReq.proto +++ b/proto/SetUpAvatarTeamReq.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SetUpAvatarTeamReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1713; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum OCPFNMGFCPF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1764; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 team_id = 13; - uint64 cur_avatar_guid = 5; - repeated uint64 avatar_team_guid_list = 14; + uint64 curAvatarGuid = 9; + uint32 teamId = 4; + repeated uint64 avatarTeamGuidList = 15; } diff --git a/proto/SetUpAvatarTeamRsp.proto b/proto/SetUpAvatarTeamRsp.proto index ed52d7f2..3bfe81f7 100644 --- a/proto/SetUpAvatarTeamRsp.proto +++ b/proto/SetUpAvatarTeamRsp.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SetUpAvatarTeamRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1622; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MFHIBKFMHMF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1745; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 team_id = 10; - repeated uint64 avatar_team_guid_list = 9; - int32 retcode = 5; - uint64 cur_avatar_guid = 11; + uint32 teamId = 5; + repeated uint64 avatarTeamGuidList = 6; + uint64 curAvatarGuid = 2; + int32 retcode = 3; } diff --git a/proto/SetUpLunchBoxWidgetReq.proto b/proto/SetUpLunchBoxWidgetReq.proto index a1e91fc9..9f130ec5 100644 --- a/proto/SetUpLunchBoxWidgetReq.proto +++ b/proto/SetUpLunchBoxWidgetReq.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "LunchBoxData.proto"; + +import "LunchBoxData.proto"; option java_package = "emu.grasscutter.net.proto"; message SetUpLunchBoxWidgetReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4267; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum HFHLKGOKGOE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4285; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - LunchBoxData lunch_box_data = 7; + LunchBoxData lunchBoxData = 14; } diff --git a/proto/SetUpLunchBoxWidgetRsp.proto b/proto/SetUpLunchBoxWidgetRsp.proto index f30dcbc7..15a0b8c8 100644 --- a/proto/SetUpLunchBoxWidgetRsp.proto +++ b/proto/SetUpLunchBoxWidgetRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "LunchBoxData.proto"; + +import "LunchBoxData.proto"; option java_package = "emu.grasscutter.net.proto"; message SetUpLunchBoxWidgetRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4262; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MEJCKKOKEFL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4266; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 7; - LunchBoxData lunch_box_data = 2; + LunchBoxData lunchBoxData = 15; + int32 retcode = 3; } diff --git a/proto/SetWidgetSlotReq.proto b/proto/SetWidgetSlotReq.proto index 66c3c312..cf93e368 100644 --- a/proto/SetWidgetSlotReq.proto +++ b/proto/SetWidgetSlotReq.proto @@ -1,38 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "WidgetSlotOp.proto"; import "WidgetSlotTag.proto"; - option java_package = "emu.grasscutter.net.proto"; message SetWidgetSlotReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4255; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum GHKMOLPEJPE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4299; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 material_id = 2; - repeated WidgetSlotTag tag_list = 13; - WidgetSlotOp op = 14; + repeated WidgetSlotTag tagList = 13; + WidgetSlotOp op = 3; + uint32 materialId = 4; } diff --git a/proto/SetWidgetSlotRsp.proto b/proto/SetWidgetSlotRsp.proto index d51d86d9..2ee7b3ab 100644 --- a/proto/SetWidgetSlotRsp.proto +++ b/proto/SetWidgetSlotRsp.proto @@ -1,38 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "WidgetSlotOp.proto"; import "WidgetSlotTag.proto"; - option java_package = "emu.grasscutter.net.proto"; message SetWidgetSlotRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4261; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum KDEJOBDFODP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4284; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 material_id = 4; - int32 retcode = 1; - repeated WidgetSlotTag tag_list = 15; - WidgetSlotOp op = 5; + repeated WidgetSlotTag tagList = 7; + int32 retcode = 5; + uint32 materialId = 12; + WidgetSlotOp op = 9; } diff --git a/proto/SettleReason.proto b/proto/SettleReason.proto new file mode 100644 index 00000000..3c64b017 --- /dev/null +++ b/proto/SettleReason.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +enum SettleReason { + SETTLE_REASON_TIME_OUT = 0; + SETTLE_REASON_PLAY_END = 1; + SETTLE_REASON_PLAYER_QUIT = 2; + SETTLE_REASON_LIFE_COUNT = 3; +} diff --git a/proto/ShapeBox.proto b/proto/ShapeBox.proto new file mode 100644 index 00000000..945e4972 --- /dev/null +++ b/proto/ShapeBox.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ShapeBox { + Rotation center = 1; + Rotation axis0 = 2; + Rotation axis1 = 3; + Rotation axis2 = 4; + Rotation extents = 5; +} diff --git a/proto/ShapeSphere.proto b/proto/ShapeSphere.proto new file mode 100644 index 00000000..01a3cfcf --- /dev/null +++ b/proto/ShapeSphere.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ShapeSphere { + Rotation center = 1; + float radius = 2; +} diff --git a/proto/ShapeType.proto b/proto/ShapeType.proto new file mode 100644 index 00000000..c7e7b181 --- /dev/null +++ b/proto/ShapeType.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +enum ShapeType { + SHAPE_TYPE_OBSTACLE_SHAPE_CAPSULE = 0; + SHAPE_TYPE_OBSTACLE_SHAPE_BOX = 1; +} diff --git a/proto/ShareCDInfo.proto b/proto/ShareCDInfo.proto new file mode 100644 index 00000000..4666da17 --- /dev/null +++ b/proto/ShareCDInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ShareCDInfo { + uint32 shareCdId = 13; + uint64 cdStartTime = 1; + uint32 index = 11; +} diff --git a/proto/ShellInfo.proto b/proto/ShellInfo.proto new file mode 100644 index 00000000..ba547ee2 --- /dev/null +++ b/proto/ShellInfo.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ShellInfo { + uint32 shellId = 1; +} diff --git a/proto/Shop.proto b/proto/Shop.proto index 86489858..9b935579 100644 --- a/proto/Shop.proto +++ b/proto/Shop.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ShopCardProduct.proto"; -import "ShopConcertProduct.proto"; -import "ShopGoods.proto"; -import "ShopMcoinProduct.proto"; + +import "ShopMcoinProduct.proto"; +import "ShopConcertProduct.proto"; +import "ShopCardProduct.proto"; +import "ShopGoods.proto"; option java_package = "emu.grasscutter.net.proto"; message Shop { - uint32 shop_type = 1; - uint32 next_refresh_time = 5; - uint32 city_id = 12; - uint32 city_reputation_level = 8; - repeated ShopGoods goods_list = 3; - repeated ShopCardProduct card_product_list = 11; - repeated ShopConcertProduct concert_product_list = 9; - repeated ShopMcoinProduct mcoin_product_list = 7; + repeated ShopMcoinProduct mcoinProductList = 6; + uint32 cityId = 10; + repeated ShopConcertProduct concertProductList = 13; + uint32 nextRefreshTime = 14; + repeated ShopCardProduct cardProductList = 9; + uint32 cityReputationLevel = 4; + uint32 shopType = 5; + repeated ShopGoods goodsList = 15; } diff --git a/proto/ShopCardProduct.proto b/proto/ShopCardProduct.proto index b0fcb13d..d4ac5f5c 100644 --- a/proto/ShopCardProduct.proto +++ b/proto/ShopCardProduct.proto @@ -1,40 +1,24 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ItemParam.proto"; + +import "ItemParam.proto"; option java_package = "emu.grasscutter.net.proto"; message ShopCardProduct { - message ResinCard { - repeated ItemParam base_item_list = 1; - repeated ItemParam per_day_item_list = 2; - } + message ResinCard { + repeated ItemParam baseItemList = 1; + repeated ItemParam perDayItemList = 2; + } - string product_id = 1; - string price_tier = 2; - uint32 mcoin_base = 3; - uint32 hcoin_per_day = 4; - uint32 days = 5; - uint32 remain_reward_days = 6; - uint32 card_product_type = 7; - oneof extra_card_data { - ResinCard resin_card = 101; - } + string productId = 1; + string priceTier = 2; + uint32 mcoinBase = 3; + uint32 hcoinPerDay = 4; + uint32 days = 5; + uint32 remainRewardDays = 6; + uint32 cardProductType = 7; + oneof KNKJCIMNEPF { + ResinCard resin_card = 101; + } } diff --git a/proto/ShopConcertProduct.proto b/proto/ShopConcertProduct.proto index 1b8aac57..5f6676cf 100644 --- a/proto/ShopConcertProduct.proto +++ b/proto/ShopConcertProduct.proto @@ -1,30 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ShopConcertProduct { - string product_id = 1; - string price_tier = 2; - uint32 obtain_count = 3; - uint32 obtain_limit = 4; - uint32 begin_time = 5; - uint32 end_time = 6; - uint32 buy_times = 7; + string productId = 1; + string priceTier = 2; + uint32 obtainCount = 3; + uint32 obtainLimit = 4; + uint32 beginTime = 5; + uint32 endTime = 6; + uint32 buyTimes = 7; } diff --git a/proto/ShopGoods.proto b/proto/ShopGoods.proto index b044bd4c..b3e69091 100644 --- a/proto/ShopGoods.proto +++ b/proto/ShopGoods.proto @@ -1,45 +1,29 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ItemParam.proto"; + +import "ItemParam.proto"; option java_package = "emu.grasscutter.net.proto"; message ShopGoods { - uint32 secondary_sheet_id = 1003; - ItemParam goods_item = 15; - repeated ItemParam cost_item_list = 7; - uint32 bought_num = 14; - repeated uint32 pre_goods_id_list = 9; - uint32 min_level = 5; - uint32 mcoin = 11; - uint32 hcoin = 6; - uint32 end_time = 3; - uint32 next_refresh_time = 10; - uint32 goods_id = 13; - uint32 Unk3300_OMKIFIMDGDN = 1037; - uint32 buy_limit = 8; - uint32 Unk3300_MBGOMHNBHMG = 777; - uint32 scoin = 2; - uint32 max_level = 1; - uint32 single_limit = 1770; - uint32 Unk3300_NJCPAJBCEPH = 505; - uint32 begin_time = 12; - uint32 disable_type = 4; + uint32 Unk3300_MBGOMHNBHMG = 655; + uint32 maxLevel = 3; + uint32 hcoin = 13; + uint32 secondarySheetId = 363; + uint32 scoin = 11; + uint32 goodsId = 2; + uint32 buyLimit = 10; + repeated uint32 preGoodsIdList = 12; + ItemParam goodsItem = 6; + repeated ItemParam costItemList = 7; + uint32 singleLimit = 424; + uint32 nextRefreshTime = 1; + uint32 Unk3300_NJCPAJBCEPH = 182; + uint32 boughtNum = 4; + uint32 Unk3300_OMKIFIMDGDN = 636; + uint32 minLevel = 14; + uint32 endTime = 15; + uint32 beginTime = 8; + uint32 disableType = 9; + uint32 mcoin = 5; } diff --git a/proto/ShopMcoinProduct.proto b/proto/ShopMcoinProduct.proto index 0171dbe3..20de213f 100644 --- a/proto/ShopMcoinProduct.proto +++ b/proto/ShopMcoinProduct.proto @@ -1,30 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ShopMcoinProduct { - string product_id = 1; - string price_tier = 2; - uint32 mcoin_base = 3; - uint32 mcoin_non_first = 4; - uint32 mcoin_first = 5; - uint32 bought_num = 6; - bool is_audit = 7; + string productId = 1; + string priceTier = 2; + uint32 mcoinBase = 3; + uint32 mcoinNonFirst = 4; + uint32 mcoinFirst = 5; + uint32 boughtNum = 6; + bool isAudit = 7; } diff --git a/proto/ShortAbilityHashPair.proto b/proto/ShortAbilityHashPair.proto index c8582972..9cb7d01f 100644 --- a/proto/ShortAbilityHashPair.proto +++ b/proto/ShortAbilityHashPair.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message ShortAbilityHashPair { - sfixed32 ability_name_hash = 6; - sfixed32 ability_config_hash = 15; + int32 abilityNameHash = 6; + int32 abilityConfigHash = 10; } diff --git a/proto/ShowAvatarInfo.proto b/proto/ShowAvatarInfo.proto index 6d2a08d6..12599dd1 100644 --- a/proto/ShowAvatarInfo.proto +++ b/proto/ShowAvatarInfo.proto @@ -1,41 +1,25 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AvatarExcelInfo.proto"; + + import "AvatarFetterInfo.proto"; +import "AvatarExcelInfo.proto"; import "PropValue.proto"; import "ShowEquip.proto"; - option java_package = "emu.grasscutter.net.proto"; message ShowAvatarInfo { - uint32 avatar_id = 1; - map prop_map = 2; - repeated uint32 talent_id_list = 3; - map fight_prop_map = 4; - uint32 skill_depot_id = 5; - uint32 core_proud_skill_level = 6; - repeated uint32 inherent_proud_skill_list = 7; - map skill_level_map = 8; - map proud_skill_extra_level_map = 9; - repeated ShowEquip equip_list = 10; - AvatarFetterInfo fetter_info = 11; - uint32 costume_id = 12; - AvatarExcelInfo excel_info = 13; + uint32 avatarId = 1; + map propMap = 2; + repeated uint32 talentIdList = 3; + map fightPropMap = 4; + uint32 skillDepotId = 5; + uint32 coreProudSkillLevel = 6; + repeated uint32 inherentProudSkillList = 7; + map skillLevelMap = 8; + map proudSkillExtraLevelMap = 9; + repeated ShowEquip equipList = 10; + AvatarFetterInfo fetterInfo = 11; + uint32 costumeId = 12; + AvatarExcelInfo excelInfo = 13; } diff --git a/proto/ShowClientGuideNotify.proto b/proto/ShowClientGuideNotify.proto new file mode 100644 index 00000000..5e52590c --- /dev/null +++ b/proto/ShowClientGuideNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ShowClientGuideNotify { + enum DPOCHDNDKJJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3054; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + string guideName = 2; +} diff --git a/proto/ShowClientTutorialNotify.proto b/proto/ShowClientTutorialNotify.proto new file mode 100644 index 00000000..5b3801b8 --- /dev/null +++ b/proto/ShowClientTutorialNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ShowClientTutorialNotify { + enum IBDBHMBECIO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3381; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 tutorialId = 10; +} diff --git a/proto/ShowCommonTipsNotify.proto b/proto/ShowCommonTipsNotify.proto new file mode 100644 index 00000000..41cda4fe --- /dev/null +++ b/proto/ShowCommonTipsNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ShowCommonTipsNotify { + enum IMHAJDKCICI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3048; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + string content = 4; + uint32 closeTime = 7; + string title = 8; +} diff --git a/proto/ShowEquip.proto b/proto/ShowEquip.proto index 045ed9ee..e68c5c6a 100644 --- a/proto/ShowEquip.proto +++ b/proto/ShowEquip.proto @@ -1,31 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "Reliquary.proto"; import "Weapon.proto"; - option java_package = "emu.grasscutter.net.proto"; message ShowEquip { - uint32 item_id = 1; - oneof detail { - Reliquary reliquary = 2; - Weapon weapon = 3; - } + uint32 itemId = 1; + oneof DCMMPEONFNE { + Reliquary reliquary = 2; + Weapon weapon = 3; + } } diff --git a/proto/ShowMessageNotify.proto b/proto/ShowMessageNotify.proto new file mode 100644 index 00000000..047ebd79 --- /dev/null +++ b/proto/ShowMessageNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "SvrMsgId.proto"; +import "MsgParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ShowMessageNotify { + enum PCBPNBCPLNI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 98; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + SvrMsgId msgId = 7; + repeated MsgParam params = 5; +} diff --git a/proto/ShowTemplateReminderNotify.proto b/proto/ShowTemplateReminderNotify.proto new file mode 100644 index 00000000..d31584cf --- /dev/null +++ b/proto/ShowTemplateReminderNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ShowTemplateReminderNotify { + enum EEFICIPGAAG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3353; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool Unk3300_AENIIBBBPJC = 13; + bool Unk3300_LABCNBEGCED = 11; + repeated uint32 paramUidList = 6; + repeated int32 paramList = 12; + uint32 templateReminderId = 9; +} diff --git a/proto/SignInData.proto b/proto/SignInData.proto new file mode 100644 index 00000000..3d8bd5ea --- /dev/null +++ b/proto/SignInData.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SignInData { + uint32 dayCount = 3; + repeated ItemParam rewardItemList = 1; +} diff --git a/proto/SignInInfo.proto b/proto/SignInInfo.proto new file mode 100644 index 00000000..d629b83d --- /dev/null +++ b/proto/SignInInfo.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "SignInData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SignInInfo { + uint32 configId = 2; + uint32 Unk3300_MNJELIDKMCF = 5; + bool isCondSatisfied = 13; + repeated uint32 rewardDayList = 7; + uint32 Unk3300_NFNOKBNBLGE = 4; + uint32 endTime = 12; + repeated SignInData signinDataList = 14; + uint32 scheduleId = 1; + uint32 beginTime = 8; +} diff --git a/proto/SignInInfoReq.proto b/proto/SignInInfoReq.proto new file mode 100644 index 00000000..ec510d40 --- /dev/null +++ b/proto/SignInInfoReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SignInInfoReq { + enum FEGIKAHGBGM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2587; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/SignInInfoRsp.proto b/proto/SignInInfoRsp.proto new file mode 100644 index 00000000..72ff4dcf --- /dev/null +++ b/proto/SignInInfoRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "SignInInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SignInInfoRsp { + enum BOPHKAAJNDB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2598; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 15; + repeated SignInInfo signInInfoList = 1; +} diff --git a/proto/SignatureAuditConfigNotify.proto b/proto/SignatureAuditConfigNotify.proto new file mode 100644 index 00000000..5fed3732 --- /dev/null +++ b/proto/SignatureAuditConfigNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SignatureAuditConfigNotify { + enum MKEDLIDAHNF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4034; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isOpen = 11; + uint32 submitLimit = 13; +} diff --git a/proto/SingleRestartBrickBreakerReq.proto b/proto/SingleRestartBrickBreakerReq.proto new file mode 100644 index 00000000..531082b8 --- /dev/null +++ b/proto/SingleRestartBrickBreakerReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SingleRestartBrickBreakerReq { + enum GOKOHKEIIJE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23113; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 levelId = 2; + bool isDungeon = 14; +} diff --git a/proto/SingleRestartBrickBreakerRsp.proto b/proto/SingleRestartBrickBreakerRsp.proto new file mode 100644 index 00000000..e764e347 --- /dev/null +++ b/proto/SingleRestartBrickBreakerRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SingleRestartBrickBreakerRsp { + enum KBGKBIPOJLC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 22641; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isDungeon = 4; + int32 retcode = 6; + uint32 levelId = 10; +} diff --git a/proto/SingleStartBrickBreakerReq.proto b/proto/SingleStartBrickBreakerReq.proto new file mode 100644 index 00000000..6c9c1949 --- /dev/null +++ b/proto/SingleStartBrickBreakerReq.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SingleStartBrickBreakerReq { + enum FOGKEKLDMHI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23861; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 levelId = 1; + bool isDungeon = 15; + repeated uint32 chosenSkillList = 12; + repeated uint32 chosenAvatarList = 10; +} diff --git a/proto/SingleStartBrickBreakerRsp.proto b/proto/SingleStartBrickBreakerRsp.proto new file mode 100644 index 00000000..0177708f --- /dev/null +++ b/proto/SingleStartBrickBreakerRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SingleStartBrickBreakerRsp { + enum BIHKAFCIBLF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23349; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isDungeon = 15; + uint32 levelId = 11; + int32 retcode = 3; +} diff --git a/proto/SkillLimitsChange.proto b/proto/SkillLimitsChange.proto new file mode 100644 index 00000000..7ef825b9 --- /dev/null +++ b/proto/SkillLimitsChange.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "GCGCardSkillLimitsInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SkillLimitsChange { + map cardLimitsChangeMap = 13; +} diff --git a/proto/SkillRequest.proto b/proto/SkillRequest.proto new file mode 100644 index 00000000..15e699af --- /dev/null +++ b/proto/SkillRequest.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SkillRequest { + uint32 skillDepotId = 9; +} diff --git a/proto/SkillResponse.proto b/proto/SkillResponse.proto new file mode 100644 index 00000000..387cdde4 --- /dev/null +++ b/proto/SkillResponse.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SkillResponse { + repeated uint32 skillIdList = 8; + uint32 skillDepotId = 12; +} diff --git a/proto/SkillResult.proto b/proto/SkillResult.proto new file mode 100644 index 00000000..43d0b321 --- /dev/null +++ b/proto/SkillResult.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "GCGDamageDetail.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SkillResult { + uint32 Unk3300_NNJAOEHNPPD = 15; + uint32 Unk3300_EPNDCIAJOJP = 2; + uint32 ahkoidfnbgc = 3; + uint32 targetCardGuid = 7; + uint32 Unk3300_NIGDCIGLAKE = 1; + uint32 Unk3300_PDBAGJINFPF = 13; + uint32 npllnhifdoo = 6; + repeated GCGDamageDetail detailList = 12; + uint32 damage = 11; + uint32 skillId = 4; + uint32 Unk3300_LPGLOCDDPCL = 14; +} diff --git a/proto/SkyCrystalDetectorData.proto b/proto/SkyCrystalDetectorData.proto index 7b59c1e4..b5d99d2d 100644 --- a/proto/SkyCrystalDetectorData.proto +++ b/proto/SkyCrystalDetectorData.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message SkyCrystalDetectorData { - bool is_hint_valid = 1; - uint32 group_id = 5; - Vector hint_center_pos = 12; - uint32 config_id = 7; + Rotation hintCenterPos = 6; + uint32 groupId = 14; + uint32 configId = 8; + bool isHintValid = 3; } diff --git a/proto/SkyCrystalDetectorDataUpdateNotify.proto b/proto/SkyCrystalDetectorDataUpdateNotify.proto new file mode 100644 index 00000000..106bb707 --- /dev/null +++ b/proto/SkyCrystalDetectorDataUpdateNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "SkyCrystalDetectorData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SkyCrystalDetectorDataUpdateNotify { + enum GGDPCBGCNAA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4265; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + SkyCrystalDetectorData skyCrystalDetectorData = 12; +} diff --git a/proto/SkyCrystalDetectorQuickUseResult.proto b/proto/SkyCrystalDetectorQuickUseResult.proto index 33b94043..0c6eae84 100644 --- a/proto/SkyCrystalDetectorQuickUseResult.proto +++ b/proto/SkyCrystalDetectorQuickUseResult.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "SkyCrystalDetectorData.proto"; + +import "SkyCrystalDetectorData.proto"; option java_package = "emu.grasscutter.net.proto"; message SkyCrystalDetectorQuickUseResult { - int32 retcode = 2; - SkyCrystalDetectorData sky_crystal_detector_data = 4; + SkyCrystalDetectorData skyCrystalDetectorData = 14; + int32 retcode = 7; } diff --git a/proto/SocialDataNotify.proto b/proto/SocialDataNotify.proto new file mode 100644 index 00000000..53d1624d --- /dev/null +++ b/proto/SocialDataNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SocialDataNotify { + enum EAOOKDIIEMB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4050; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isHaveFirstShare = 9; +} diff --git a/proto/SocialDetail.proto b/proto/SocialDetail.proto index e0007ded..2161eb9c 100644 --- a/proto/SocialDetail.proto +++ b/proto/SocialDetail.proto @@ -1,54 +1,39 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "Birthday.proto"; -import "FriendEnterHomeOption.proto"; import "FriendOnlineState.proto"; +import "FriendEnterHomeOption.proto"; import "ProfilePicture.proto"; import "SocialShowAvatarInfo.proto"; - option java_package = "emu.grasscutter.net.proto"; message SocialDetail { - uint32 uid = 1; - string nickname = 2; - uint32 level = 3; - uint32 avatar_id = 4; - string signature = 5; - Birthday birthday = 6; - uint32 world_level = 7; - repeated uint32 reserved_list = 8; - FriendOnlineState online_state = 9; - uint32 param = 10; - bool is_friend = 11; - bool is_mp_mode_available = 12; - string online_id = 13; - uint32 name_card_id = 14; - bool is_in_blacklist = 15; - bool is_chat_no_disturb = 16; - string remark_name = 17; - uint32 finish_achievement_num = 18; - uint32 tower_floor_index = 19; - uint32 tower_level_index = 20; - bool is_show_avatar = 21; - repeated SocialShowAvatarInfo show_avatar_info_list = 22; - repeated uint32 show_name_card_id_list = 23; - FriendEnterHomeOption friend_enter_home_option = 24; - ProfilePicture profile_picture = 25; + uint32 uid = 1; + string nickname = 2; + uint32 level = 3; + uint32 avatarId = 4; + string signature = 5; + Birthday birthday = 6; + uint32 worldLevel = 7; + repeated uint32 reservedList = 8; + FriendOnlineState onlineState = 9; + uint32 param = 10; + bool isFriend = 11; + bool isMpModeAvailable = 12; + string onlineId = 13; + uint32 nameCardId = 14; + bool isInBlacklist = 15; + bool isChatNoDisturb = 16; + string remarkName = 17; + uint32 finishAchievementNum = 18; + uint32 towerFloorIndex = 19; + uint32 towerLevelIndex = 20; + bool isShowAvatar = 21; + repeated SocialShowAvatarInfo showAvatarInfoList = 22; + repeated uint32 showNameCardIdList = 23; + FriendEnterHomeOption friendEnterHomeOption = 24; + ProfilePicture profilePicture = 25; + string gpbkdlaodce = 26; } diff --git a/proto/SocialShowAvatarInfo.proto b/proto/SocialShowAvatarInfo.proto index 0ff9b015..61820a96 100644 --- a/proto/SocialShowAvatarInfo.proto +++ b/proto/SocialShowAvatarInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SocialShowAvatarInfo { - uint32 avatar_id = 1; - uint32 level = 2; - uint32 costume_id = 3; + uint32 avatarId = 1; + uint32 level = 2; + uint32 costumeId = 3; } diff --git a/proto/SpiceActivityDetailInfo.proto b/proto/SpiceActivityDetailInfo.proto index 91a2f9ea..efdd03f6 100644 --- a/proto/SpiceActivityDetailInfo.proto +++ b/proto/SpiceActivityDetailInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "SpiceStageData.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message SpiceActivityDetailInfo { diff --git a/proto/SpiceActivityFinishMakeSpiceReq.proto b/proto/SpiceActivityFinishMakeSpiceReq.proto new file mode 100644 index 00000000..78f503e7 --- /dev/null +++ b/proto/SpiceActivityFinishMakeSpiceReq.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SpiceActivityFinishMakeSpiceReq { + enum OEMEEINOPDP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8744; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 stageId = 9; + bool isSuccess = 12; + repeated uint32 leftMaterialIdList = 1; + uint32 leftTurns = 4; +} diff --git a/proto/SpiceActivityFinishMakeSpiceRsp.proto b/proto/SpiceActivityFinishMakeSpiceRsp.proto new file mode 100644 index 00000000..eac69609 --- /dev/null +++ b/proto/SpiceActivityFinishMakeSpiceRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SpiceActivityFinishMakeSpiceRsp { + enum NAAFOEEFFKF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8964; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; + bool isSuccess = 4; + uint32 stageId = 1; +} diff --git a/proto/SpiceActivityGivingRecordNotify.proto b/proto/SpiceActivityGivingRecordNotify.proto new file mode 100644 index 00000000..fba104f4 --- /dev/null +++ b/proto/SpiceActivityGivingRecordNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SpiceActivityGivingRecordNotify { + enum ALEEMLGBKPO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8085; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 Unk3300_LAKPMMIPBMI = 3; + uint32 avatarId = 8; + uint32 Unk3300_CIHIAJEGCBO = 4; +} diff --git a/proto/SpiceActivityProcessFoodReq.proto b/proto/SpiceActivityProcessFoodReq.proto new file mode 100644 index 00000000..1d125bc4 --- /dev/null +++ b/proto/SpiceActivityProcessFoodReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SpiceActivityProcessFoodReq { + enum INEBOGDIEKB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8357; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated ItemParam normalFoodList = 7; +} diff --git a/proto/SpiceActivityProcessFoodRsp.proto b/proto/SpiceActivityProcessFoodRsp.proto new file mode 100644 index 00000000..4a6e361c --- /dev/null +++ b/proto/SpiceActivityProcessFoodRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SpiceActivityProcessFoodRsp { + enum MLCNGHLKOJC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8845; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated ItemParam specialFoodList = 13; + repeated ItemParam normalFoodList = 10; + int32 retcode = 7; +} diff --git a/proto/SpiceInfo.proto b/proto/SpiceInfo.proto new file mode 100644 index 00000000..663b7083 --- /dev/null +++ b/proto/SpiceInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "SpiceStageData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SpiceInfo { + uint32 Unk3300_CIHIAJEGCBO = 8; + repeated SpiceStageData spiceStageDataList = 11; + uint32 Unk3300_LAKPMMIPBMI = 14; +} diff --git a/proto/SpiceStageData.proto b/proto/SpiceStageData.proto index 96c71017..9ed90673 100644 --- a/proto/SpiceStageData.proto +++ b/proto/SpiceStageData.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SpiceStageData { - bool is_open = 4; - uint32 stage_id = 5; - uint32 success_times = 12; + bool isOpen = 10; + uint32 successTimes = 3; + uint32 stageId = 9; } diff --git a/proto/SpringUseReq.proto b/proto/SpringUseReq.proto new file mode 100644 index 00000000..ff4a7811 --- /dev/null +++ b/proto/SpringUseReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SpringUseReq { + enum CBBOOFGKBJK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1731; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint64 guid = 1; +} diff --git a/proto/SpringUseRsp.proto b/proto/SpringUseRsp.proto new file mode 100644 index 00000000..3a710070 --- /dev/null +++ b/proto/SpringUseRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SpringUseRsp { + enum FDNEDNDIFNK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1677; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint64 guid = 13; + int32 retcode = 15; +} diff --git a/proto/StakePlayInfo.proto b/proto/StakePlayInfo.proto new file mode 100644 index 00000000..71bfb8fe --- /dev/null +++ b/proto/StakePlayInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "HomeStakePlayRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message StakePlayInfo { + repeated HomeStakePlayRecord recordList = 14; +} diff --git a/proto/StartArenaChallengeLevelReq.proto b/proto/StartArenaChallengeLevelReq.proto new file mode 100644 index 00000000..1eb247fe --- /dev/null +++ b/proto/StartArenaChallengeLevelReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message StartArenaChallengeLevelReq { + enum HHMEINMCINI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2033; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 Unk3300_FDFNFLAKONG = 4; + uint32 Unk3300_DBHAGHMMLAI = 5; + uint32 gadgetEntityId = 7; +} diff --git a/proto/StartArenaChallengeLevelRsp.proto b/proto/StartArenaChallengeLevelRsp.proto new file mode 100644 index 00000000..efacf05d --- /dev/null +++ b/proto/StartArenaChallengeLevelRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message StartArenaChallengeLevelRsp { + enum HEONOMCNHID { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2116; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 Unk3300_DBHAGHMMLAI = 1; + uint32 gadgetEntityId = 2; + int32 retcode = 6; + uint32 Unk3300_FDFNFLAKONG = 7; +} diff --git a/proto/StartBuoyantCombatGalleryReq.proto b/proto/StartBuoyantCombatGalleryReq.proto new file mode 100644 index 00000000..cab275af --- /dev/null +++ b/proto/StartBuoyantCombatGalleryReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message StartBuoyantCombatGalleryReq { + enum NKGKAHHPBDI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8096; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 galleryId = 11; + uint32 galleryLevel = 7; +} diff --git a/proto/StartBuoyantCombatGalleryRsp.proto b/proto/StartBuoyantCombatGalleryRsp.proto new file mode 100644 index 00000000..561ac11e --- /dev/null +++ b/proto/StartBuoyantCombatGalleryRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message StartBuoyantCombatGalleryRsp { + enum JKEKAJMCABJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8895; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 10; + uint32 galleryLevel = 8; + uint32 galleryId = 7; +} diff --git a/proto/StartCoopPointReq.proto b/proto/StartCoopPointReq.proto new file mode 100644 index 00000000..ab704e9b --- /dev/null +++ b/proto/StartCoopPointReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message StartCoopPointReq { + enum MOHBNLNCBDA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1964; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 coopPoint = 8; +} diff --git a/proto/StartCoopPointRsp.proto b/proto/StartCoopPointRsp.proto new file mode 100644 index 00000000..d78ae246 --- /dev/null +++ b/proto/StartCoopPointRsp.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "MainCoop.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message StartCoopPointRsp { + enum FHHNHADMJNM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1992; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 10; + bool isStart = 5; + MainCoop startMainCoop = 7; + uint32 coopPoint = 13; +} diff --git a/proto/StartEffigyChallengeReq.proto b/proto/StartEffigyChallengeReq.proto new file mode 100644 index 00000000..1b147dd8 --- /dev/null +++ b/proto/StartEffigyChallengeReq.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message StartEffigyChallengeReq { + enum GHMOCBIMBEB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2061; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 difficultyId = 13; + repeated uint32 conditionIdList = 2; + uint32 pointId = 9; + uint32 challengeId = 15; +} diff --git a/proto/StartEffigyChallengeRsp.proto b/proto/StartEffigyChallengeRsp.proto new file mode 100644 index 00000000..584beb56 --- /dev/null +++ b/proto/StartEffigyChallengeRsp.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message StartEffigyChallengeRsp { + enum GPMFAGCDACP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2070; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 pointId = 8; + uint32 difficultyId = 9; + repeated uint32 conditionIdList = 2; + uint32 challengeId = 4; + int32 retcode = 1; +} diff --git a/proto/StartFishingReq.proto b/proto/StartFishingReq.proto new file mode 100644 index 00000000..8303a277 --- /dev/null +++ b/proto/StartFishingReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message StartFishingReq { + enum EDBADCLKEEI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5846; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 rodEntityId = 14; + uint32 fishPoolId = 3; +} diff --git a/proto/StartFishingRsp.proto b/proto/StartFishingRsp.proto new file mode 100644 index 00000000..03f669de --- /dev/null +++ b/proto/StartFishingRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message StartFishingRsp { + enum IPBPKEGOCBG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5841; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 fishPoolId = 7; + int32 retcode = 5; +} diff --git a/proto/StartRogueDiaryPlayReq.proto b/proto/StartRogueDiaryPlayReq.proto new file mode 100644 index 00000000..68f744a3 --- /dev/null +++ b/proto/StartRogueDiaryPlayReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message StartRogueDiaryPlayReq { + enum HIGFBOKPELF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8484; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 stageId = 8; + uint32 difficulty = 12; +} diff --git a/proto/StartRogueDiaryPlayRsp.proto b/proto/StartRogueDiaryPlayRsp.proto new file mode 100644 index 00000000..4923b00c --- /dev/null +++ b/proto/StartRogueDiaryPlayRsp.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "RogueDiaryAvatar.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message StartRogueDiaryPlayRsp { + enum AAONHKPKJBE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8780; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated RogueDiaryAvatar trialAvatarList = 8; + int32 retcode = 3; + repeated uint32 randCardList = 2; + repeated RogueDiaryAvatar avatarList = 13; +} diff --git a/proto/StartRogueDiaryRoomReq.proto b/proto/StartRogueDiaryRoomReq.proto new file mode 100644 index 00000000..c2d9a923 --- /dev/null +++ b/proto/StartRogueDiaryRoomReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message StartRogueDiaryRoomReq { + enum JOCNHIAPHCI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8792; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isSelectHard = 4; + uint32 roomDifficulty = 1; +} diff --git a/proto/StartRogueDiaryRoomRsp.proto b/proto/StartRogueDiaryRoomRsp.proto new file mode 100644 index 00000000..85da7424 --- /dev/null +++ b/proto/StartRogueDiaryRoomRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message StartRogueDiaryRoomRsp { + enum IIAOCGHJJOH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8413; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; +} diff --git a/proto/StartRogueEliteCellChallengeReq.proto b/proto/StartRogueEliteCellChallengeReq.proto new file mode 100644 index 00000000..4785898f --- /dev/null +++ b/proto/StartRogueEliteCellChallengeReq.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "RogueEliteCellDifficultyType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message StartRogueEliteCellChallengeReq { + enum JEJOCHKOFDK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8981; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 cellId = 12; + RogueEliteCellDifficultyType difficulty = 7; + uint32 dungeonId = 2; +} diff --git a/proto/StartRogueEliteCellChallengeRsp.proto b/proto/StartRogueEliteCellChallengeRsp.proto new file mode 100644 index 00000000..1063d01f --- /dev/null +++ b/proto/StartRogueEliteCellChallengeRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message StartRogueEliteCellChallengeRsp { + enum BKOKBHMHEBM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8611; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 dungeonId = 8; + uint32 cellId = 5; + int32 retcode = 15; +} diff --git a/proto/StartRogueNormalCellChallengeReq.proto b/proto/StartRogueNormalCellChallengeReq.proto new file mode 100644 index 00000000..455ff74b --- /dev/null +++ b/proto/StartRogueNormalCellChallengeReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message StartRogueNormalCellChallengeReq { + enum EAMPLNBGDMH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8840; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 dungeonId = 7; + uint32 cellId = 12; +} diff --git a/proto/StartRogueNormalCellChallengeRsp.proto b/proto/StartRogueNormalCellChallengeRsp.proto new file mode 100644 index 00000000..7e7e4ea1 --- /dev/null +++ b/proto/StartRogueNormalCellChallengeRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message StartRogueNormalCellChallengeRsp { + enum FGCJIOFDHHK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8485; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 dungeonId = 4; + int32 retcode = 2; + uint32 cellId = 7; +} diff --git a/proto/State.proto b/proto/State.proto new file mode 100644 index 00000000..e0724bf0 --- /dev/null +++ b/proto/State.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum State { + STATE_INVALID = 0; + STATE_START = 1; + STATE_TIMEOUT = 2; +} diff --git a/proto/StatueGadget.proto b/proto/StatueGadget.proto new file mode 100644 index 00000000..da8e0909 --- /dev/null +++ b/proto/StatueGadget.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message StatueGadget { + repeated uint32 nkbgahefmbn = 1; +} diff --git a/proto/StatueGadgetInfo.proto b/proto/StatueGadgetInfo.proto index fffc14ed..4d1d6de8 100644 --- a/proto/StatueGadgetInfo.proto +++ b/proto/StatueGadgetInfo.proto @@ -17,6 +17,7 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message StatueGadgetInfo { diff --git a/proto/Status.proto b/proto/Status.proto new file mode 100644 index 00000000..0505404b --- /dev/null +++ b/proto/Status.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + +enum Status { + STATUS_INVALID = 0; + STATUS_UNFINISHED = 1; + STATUS_FINISHED = 2; + STATUS_REWARD_TAKEN = 3; +} \ No newline at end of file diff --git a/proto/StopReminderNotify.proto b/proto/StopReminderNotify.proto new file mode 100644 index 00000000..59095809 --- /dev/null +++ b/proto/StopReminderNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message StopReminderNotify { + enum LIBAAAFMDGC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3423; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 reminderId = 12; +} diff --git a/proto/StopServer.proto b/proto/StopServer.proto new file mode 100644 index 00000000..c0218dbe --- /dev/null +++ b/proto/StopServer.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message StopServer { + uint32 stopBeginTime = 1; + uint32 stopEndTime = 2; + string url = 3; + string contentMsg = 4; +} diff --git a/proto/StopServerInfo.proto b/proto/StopServerInfo.proto index 109b561d..e69fdc5a 100644 --- a/proto/StopServerInfo.proto +++ b/proto/StopServerInfo.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message StopServerInfo { - uint32 stop_begin_time = 1; - uint32 stop_end_time = 2; - string url = 3; - string content_msg = 4; + uint32 stopBeginTime = 1; + uint32 stopEndTime = 2; + string url = 3; + string contentMsg = 4; } diff --git a/proto/StoreCustomDungeonReq.proto b/proto/StoreCustomDungeonReq.proto new file mode 100644 index 00000000..e1c3ade6 --- /dev/null +++ b/proto/StoreCustomDungeonReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message StoreCustomDungeonReq { + enum LKJCGMDDCHB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6211; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isCancelStore = 5; + uint64 dungeonGuid = 2; +} diff --git a/proto/StoreCustomDungeonRsp.proto b/proto/StoreCustomDungeonRsp.proto new file mode 100644 index 00000000..301529f8 --- /dev/null +++ b/proto/StoreCustomDungeonRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message StoreCustomDungeonRsp { + enum GLJPDMLAOPJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6226; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; +} diff --git a/proto/StoreItemChangeNotify.proto b/proto/StoreItemChangeNotify.proto index c8f3ae26..d8a95ae5 100644 --- a/proto/StoreItemChangeNotify.proto +++ b/proto/StoreItemChangeNotify.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Item.proto"; -import "StoreType.proto"; + +import "StoreType.proto"; +import "TrifleItem.proto"; option java_package = "emu.grasscutter.net.proto"; message StoreItemChangeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 656; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum KFIDBCGHEFE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 687; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - StoreType store_type = 4; - repeated Item item_list = 5; + repeated TrifleItem itemList = 13; + StoreType storeType = 5; } diff --git a/proto/StoreItemDelNotify.proto b/proto/StoreItemDelNotify.proto index f46893f2..2222c6db 100644 --- a/proto/StoreItemDelNotify.proto +++ b/proto/StoreItemDelNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "StoreType.proto"; + +import "StoreType.proto"; option java_package = "emu.grasscutter.net.proto"; message StoreItemDelNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 619; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MLKCFHICEHG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 698; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - StoreType store_type = 6; - repeated uint64 guid_list = 8; + repeated uint64 guidList = 6; + StoreType storeType = 10; } diff --git a/proto/StoreType.proto b/proto/StoreType.proto index 9c6f2c67..85753dd3 100644 --- a/proto/StoreType.proto +++ b/proto/StoreType.proto @@ -1,26 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum StoreType { - STORE_TYPE_NONE = 0; - STORE_TYPE_PACK = 1; - STORE_TYPE_DEPOT = 2; + STORE_TYPE_NONE = 0; + STORE_TYPE_PACK = 1; + STORE_TYPE_DEPOT = 2; } diff --git a/proto/StoreWeightLimitNotify.proto b/proto/StoreWeightLimitNotify.proto index ae902f97..6fa50890 100644 --- a/proto/StoreWeightLimitNotify.proto +++ b/proto/StoreWeightLimitNotify.proto @@ -1,39 +1,23 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "StoreType.proto"; + +import "StoreType.proto"; option java_package = "emu.grasscutter.net.proto"; message StoreWeightLimitNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 630; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum INKBMOCDLPC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 655; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 reliquary_count_limit = 14; - uint32 furniture_count_limit = 10; - uint32 material_count_limit = 5; - uint32 weapon_count_limit = 1; - uint32 weight_limit = 8; - StoreType store_type = 9; + uint32 furnitureCountLimit = 2; + uint32 materialCountLimit = 3; + uint32 reliquaryCountLimit = 5; + uint32 weightLimit = 14; + StoreType storeType = 11; + uint32 weaponCountLimit = 9; } diff --git a/proto/StrengthenPointData.proto b/proto/StrengthenPointData.proto index 44a81783..bb2e140c 100644 --- a/proto/StrengthenPointData.proto +++ b/proto/StrengthenPointData.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message StrengthenPointData { - uint32 Unk3300_HIKDEKIPCPB = 1; - uint32 Unk3300_NNKPOLLBLDO = 10; + uint32 Unk3300_NNKPOLLBLDO = 8; + uint32 Unk3300_HIKDEKIPCPB = 3; } diff --git a/proto/SubmitInferenceWordReq.proto b/proto/SubmitInferenceWordReq.proto new file mode 100644 index 00000000..5b87a38d --- /dev/null +++ b/proto/SubmitInferenceWordReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SubmitInferenceWordReq { + enum MBJGANFDAIG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 454; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 pageId = 13; + uint32 wordId = 9; +} diff --git a/proto/SubmitInferenceWordRsp.proto b/proto/SubmitInferenceWordRsp.proto new file mode 100644 index 00000000..33c0fbf7 --- /dev/null +++ b/proto/SubmitInferenceWordRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SubmitInferenceWordRsp { + enum HDBJOOIELFD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 495; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 conclusionId = 7; + uint32 pageId = 13; + uint32 wordId = 6; + int32 retcode = 8; +} diff --git a/proto/SuiteData.proto b/proto/SuiteData.proto new file mode 100644 index 00000000..14389031 --- /dev/null +++ b/proto/SuiteData.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SuiteData { + uint32 suiteId = 1; +} diff --git a/proto/SummerTimeDetailInfo.proto b/proto/SummerTimeDetailInfo.proto index 455ae6f9..489bb0b5 100644 --- a/proto/SummerTimeDetailInfo.proto +++ b/proto/SummerTimeDetailInfo.proto @@ -20,6 +20,7 @@ syntax = "proto3"; import "SummerTimeSprintBoatInfo.proto"; import "SummerTimeStageInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message SummerTimeDetailInfo { diff --git a/proto/SummerTimeDungeonInfo.proto b/proto/SummerTimeDungeonInfo.proto index 13dc0ddc..da99dea6 100644 --- a/proto/SummerTimeDungeonInfo.proto +++ b/proto/SummerTimeDungeonInfo.proto @@ -1,28 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SummerTimeDungeonInfo { - uint32 dungeon_id = 9; - uint32 Unk3300_GMKMNHIBPEP = 1; - uint32 Unk3300_HJHODMOIMKG = 8; - uint32 Unk3300_GALEDJLAIPM = 5; - uint32 Unk3300_EGGFJCICOBD = 12; + uint32 Unk3300_HJHODMOIMKG = 8; + uint32 Unk3300_GALEDJLAIPM = 2; + uint32 dungeonId = 5; + uint32 Unk3300_GMKMNHIBPEP = 4; + uint32 Unk3300_EGGFJCICOBD = 13; } diff --git a/proto/SummerTimeFloatSignalPositionNotify.proto b/proto/SummerTimeFloatSignalPositionNotify.proto new file mode 100644 index 00000000..9dcd3ab8 --- /dev/null +++ b/proto/SummerTimeFloatSignalPositionNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SummerTimeFloatSignalPositionNotify { + enum OHDIJBCFBJK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8322; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isTransferAnchor = 11; + uint32 floatSignalId = 3; + Rotation position = 10; +} diff --git a/proto/SummerTimeFloatSignalUpdateNotify.proto b/proto/SummerTimeFloatSignalUpdateNotify.proto new file mode 100644 index 00000000..d7e48f12 --- /dev/null +++ b/proto/SummerTimeFloatSignalUpdateNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SummerTimeFloatSignalUpdateNotify { + enum GOGNJHJJCJB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8586; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + Rotation position = 2; + bool isTransferAnchor = 11; + uint32 floatSignalId = 14; +} diff --git a/proto/SummerTimeInfo.proto b/proto/SummerTimeInfo.proto new file mode 100644 index 00000000..14919a86 --- /dev/null +++ b/proto/SummerTimeInfo.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "SummerTimeSprintBoatInfo.proto"; +import "SummerTimeStageInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SummerTimeInfo { + SummerTimeSprintBoatInfo sprintBoatInfo = 11; + uint32 contentCloseTime = 6; + map stageMap = 2; + bool leftMonsters = 9; +} diff --git a/proto/SummerTimeSprintBoatInfo.proto b/proto/SummerTimeSprintBoatInfo.proto index fec01ea1..c2ff40e5 100644 --- a/proto/SummerTimeSprintBoatInfo.proto +++ b/proto/SummerTimeSprintBoatInfo.proto @@ -1,26 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "SummerTimeSprintBoatRecord.proto"; + +import "SummerTimeSprintBoatRecord.proto"; option java_package = "emu.grasscutter.net.proto"; message SummerTimeSprintBoatInfo { - repeated SummerTimeSprintBoatRecord record_list = 9; + repeated SummerTimeSprintBoatRecord recordList = 14; } diff --git a/proto/SummerTimeSprintBoatRecord.proto b/proto/SummerTimeSprintBoatRecord.proto index cb03b761..d119976e 100644 --- a/proto/SummerTimeSprintBoatRecord.proto +++ b/proto/SummerTimeSprintBoatRecord.proto @@ -1,28 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SummerTimeSprintBoatRecord { - uint32 start_time = 12; - uint32 group_id = 5; - repeated uint32 watcher_id_list = 2; - uint32 best_score = 13; - bool is_touched = 6; + repeated uint32 watcherIdList = 5; + uint32 startTime = 3; + bool isTouched = 9; + uint32 bestScore = 2; + uint32 groupId = 14; } diff --git a/proto/SummerTimeSprintBoatRestartReq.proto b/proto/SummerTimeSprintBoatRestartReq.proto new file mode 100644 index 00000000..38b5fe9f --- /dev/null +++ b/proto/SummerTimeSprintBoatRestartReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SummerTimeSprintBoatRestartReq { + enum FAHFAIFEKBF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8994; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 scheduleId = 10; + uint32 groupId = 5; +} diff --git a/proto/SummerTimeSprintBoatRestartRsp.proto b/proto/SummerTimeSprintBoatRestartRsp.proto new file mode 100644 index 00000000..4f61f911 --- /dev/null +++ b/proto/SummerTimeSprintBoatRestartRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SummerTimeSprintBoatRestartRsp { + enum JDEJHCGLFPD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8585; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 8; + uint32 groupId = 6; + uint32 scheduleId = 15; +} diff --git a/proto/SummerTimeSprintBoatSettleNotify.proto b/proto/SummerTimeSprintBoatSettleNotify.proto new file mode 100644 index 00000000..e79b9e30 --- /dev/null +++ b/proto/SummerTimeSprintBoatSettleNotify.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SummerTimeSprintBoatSettleNotify { + enum BGHEJJFKKMM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8474; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 leftTime = 11; + uint32 score = 14; + uint32 groupId = 1; + uint32 Unk3300_MEEKFJJIOKE = 3; + uint32 Unk3300_PLFMJPNPPLI = 8; + bool isSuccess = 2; + uint32 totalNum = 7; + bool isNewRecord = 4; +} diff --git a/proto/SummerTimeStageInfo.proto b/proto/SummerTimeStageInfo.proto index 3a5ce19a..4b86133f 100644 --- a/proto/SummerTimeStageInfo.proto +++ b/proto/SummerTimeStageInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SummerTimeStageInfo { - uint32 open_time = 11; - uint32 stage_id = 2; - bool is_open = 14; + uint32 openTime = 6; + bool isOpen = 3; + uint32 stageId = 4; } diff --git a/proto/SummerTimeV2BoatGallerySettleInfo.proto b/proto/SummerTimeV2BoatGallerySettleInfo.proto new file mode 100644 index 00000000..5ce5347e --- /dev/null +++ b/proto/SummerTimeV2BoatGallerySettleInfo.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +import "GalleryStopReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SummerTimeV2BoatGallerySettleInfo { + uint32 param2 = 15; + uint32 galleryId = 5; + uint32 param3 = 8; + GalleryStopReason reason = 3; + uint32 usedTime = 4; + uint32 param1 = 6; +} diff --git a/proto/SummerTimeV2BoatInfo.proto b/proto/SummerTimeV2BoatInfo.proto new file mode 100644 index 00000000..45db36ee --- /dev/null +++ b/proto/SummerTimeV2BoatInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SummerTimeV2BoatInfo { + uint32 param3 = 10; + uint32 usedTime = 6; + uint32 param1 = 4; + uint32 param2 = 5; +} diff --git a/proto/SummerTimeV2BoatSettleNotify.proto b/proto/SummerTimeV2BoatSettleNotify.proto new file mode 100644 index 00000000..1b910269 --- /dev/null +++ b/proto/SummerTimeV2BoatSettleNotify.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "SummerTimeV2BoatGallerySettleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SummerTimeV2BoatSettleNotify { + enum GBJCFKPKGJG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8520; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + SummerTimeV2BoatGallerySettleInfo settleInfo = 2; + uint32 stageId = 14; + uint32 galleryId = 10; + bool isNewRecord = 12; +} diff --git a/proto/SummerTimeV2BoatStageInfo.proto b/proto/SummerTimeV2BoatStageInfo.proto index 6abddfc5..74a7b48c 100644 --- a/proto/SummerTimeV2BoatStageInfo.proto +++ b/proto/SummerTimeV2BoatStageInfo.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SummerTimeV2BoatStageInfo { - bool is_open = 11; - uint32 stage_id = 13; - uint32 open_time = 5; - uint32 best_score = 10; + uint32 openTime = 3; + bool isOpen = 14; + uint32 stageId = 2; + uint32 bestScore = 4; } diff --git a/proto/SummerTimeV2DetailInfo.proto b/proto/SummerTimeV2DetailInfo.proto index 7244e613..864b8d6f 100644 --- a/proto/SummerTimeV2DetailInfo.proto +++ b/proto/SummerTimeV2DetailInfo.proto @@ -20,6 +20,7 @@ syntax = "proto3"; import "SummerTimeV2BoatStageInfo.proto"; import "SummerTimeV2DungeonStageInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message SummerTimeV2DetailInfo { diff --git a/proto/SummerTimeV2DungeonSettleInfo.proto b/proto/SummerTimeV2DungeonSettleInfo.proto index 6b2ae59e..f47b3c04 100644 --- a/proto/SummerTimeV2DungeonSettleInfo.proto +++ b/proto/SummerTimeV2DungeonSettleInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SummerTimeV2DungeonSettleInfo { - uint32 Unk3300_JHBCHFHAGFO = 10; - bool is_success = 1; - uint32 Unk3300_BNNMNCKEHHO = 11; + uint32 Unk3300_JHBCHFHAGFO = 12; + uint32 Unk3300_BNNMNCKEHHO = 9; + bool isSuccess = 10; } diff --git a/proto/SummerTimeV2DungeonStageInfo.proto b/proto/SummerTimeV2DungeonStageInfo.proto index 33c5030f..03bfbad8 100644 --- a/proto/SummerTimeV2DungeonStageInfo.proto +++ b/proto/SummerTimeV2DungeonStageInfo.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SummerTimeV2DungeonStageInfo { - bool is_open = 6; - uint32 stage_id = 3; - bool is_prev_dungeon_succeed = 12; - uint32 open_time = 2; + bool isPrevDungeonSucceed = 4; + bool isOpen = 14; + uint32 openTime = 13; + uint32 stageId = 6; } diff --git a/proto/SummerTimeV2Info.proto b/proto/SummerTimeV2Info.proto new file mode 100644 index 00000000..ff88a741 --- /dev/null +++ b/proto/SummerTimeV2Info.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +import "SummerTimeV2BoatStageInfo.proto"; +import "SummerTimeV2DungeonStageInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SummerTimeV2Info { + bool leftMonsters = 7; + uint32 Unk3300_BNNMNCKEHHO = 10; + repeated SummerTimeV2BoatStageInfo boatStageInfoList = 6; + uint32 Unk3300_JHBCHFHAGFO = 14; + repeated SummerTimeV2DungeonStageInfo dungeonStageInfoList = 11; +} diff --git a/proto/SummerTimeV2RestartBoatGalleryReq.proto b/proto/SummerTimeV2RestartBoatGalleryReq.proto new file mode 100644 index 00000000..dfc7710f --- /dev/null +++ b/proto/SummerTimeV2RestartBoatGalleryReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SummerTimeV2RestartBoatGalleryReq { + enum KCJOJLBNAMO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8396; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 galleryId = 13; +} diff --git a/proto/SummerTimeV2RestartBoatGalleryRsp.proto b/proto/SummerTimeV2RestartBoatGalleryRsp.proto new file mode 100644 index 00000000..d94c1326 --- /dev/null +++ b/proto/SummerTimeV2RestartBoatGalleryRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SummerTimeV2RestartBoatGalleryRsp { + enum EOFGNIPMHNL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8972; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 galleryId = 15; + int32 retcode = 12; +} diff --git a/proto/SummerTimeV2RestartDungeonReq.proto b/proto/SummerTimeV2RestartDungeonReq.proto new file mode 100644 index 00000000..f0ffb43e --- /dev/null +++ b/proto/SummerTimeV2RestartDungeonReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SummerTimeV2RestartDungeonReq { + enum HKBJOGOGCDH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8738; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/SummerTimeV2RestartDungeonRsp.proto b/proto/SummerTimeV2RestartDungeonRsp.proto new file mode 100644 index 00000000..4cc843f4 --- /dev/null +++ b/proto/SummerTimeV2RestartDungeonRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SummerTimeV2RestartDungeonRsp { + enum KECJCJHAONN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8606; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 3; +} diff --git a/proto/SumoActivityDetailInfo.proto b/proto/SumoActivityDetailInfo.proto index af808fe2..1a6bfa2e 100644 --- a/proto/SumoActivityDetailInfo.proto +++ b/proto/SumoActivityDetailInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "SumoStageData.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message SumoActivityDetailInfo { diff --git a/proto/SumoAvatarInfo.proto b/proto/SumoAvatarInfo.proto index 9c882cd5..87ef41e8 100644 --- a/proto/SumoAvatarInfo.proto +++ b/proto/SumoAvatarInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SumoAvatarInfo { - bool is_trial = 9; - uint64 avatar_id = 13; + uint64 avatarId = 9; + bool isTrial = 2; } diff --git a/proto/SumoDungeonAvatar.proto b/proto/SumoDungeonAvatar.proto new file mode 100644 index 00000000..831bfe59 --- /dev/null +++ b/proto/SumoDungeonAvatar.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SumoDungeonAvatar { + bool isAlive = 10; + bool isTrial = 5; + uint64 avatarGuid = 3; +} diff --git a/proto/SumoDungeonSettleNotify.proto b/proto/SumoDungeonSettleNotify.proto index ddae804f..5c0359ce 100644 --- a/proto/SumoDungeonSettleNotify.proto +++ b/proto/SumoDungeonSettleNotify.proto @@ -1,37 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message SumoDungeonSettleNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 8434; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum IDELPLOGHAE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8830; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - bool is_new_record = 4; - uint32 kill_monster_num = 12; - uint32 difficulty_id = 3; - uint32 final_score = 2; - uint32 kill_elite_monster_num = 15; - uint32 stage_id = 11; + uint32 killEliteMonsterNum = 13; + uint32 stageId = 3; + bool isNewRecord = 15; + uint32 killMonsterNum = 4; + uint32 difficultyId = 2; + uint32 finalScore = 11; } diff --git a/proto/SumoDungeonTeam.proto b/proto/SumoDungeonTeam.proto new file mode 100644 index 00000000..d74beae5 --- /dev/null +++ b/proto/SumoDungeonTeam.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "SumoDungeonAvatar.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SumoDungeonTeam { + repeated SumoDungeonAvatar dungeonAvatarList = 4; +} diff --git a/proto/SumoEnterDungeonNotify.proto b/proto/SumoEnterDungeonNotify.proto new file mode 100644 index 00000000..e35c99f3 --- /dev/null +++ b/proto/SumoEnterDungeonNotify.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +import "SumoDungeonTeam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SumoEnterDungeonNotify { + enum NMINPGMPKAN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8559; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 Unk3300_BNJBIGHIJOC = 8; + uint32 activityId = 6; + uint32 stageId = 15; + uint32 Unk3300_CBAMLHDMKJF = 7; + uint32 Unk3300_DJBJACGHGDM = 14; + repeated SumoDungeonTeam dungeonTeamList = 1; +} diff --git a/proto/SumoInfo.proto b/proto/SumoInfo.proto new file mode 100644 index 00000000..ee366747 --- /dev/null +++ b/proto/SumoInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SumoInfo { + uint32 killEliteMonsterNum = 3; + uint32 killNormalMonsterNum = 5; + uint32 score = 4; +} diff --git a/proto/SumoLeaveDungeonNotify.proto b/proto/SumoLeaveDungeonNotify.proto new file mode 100644 index 00000000..db2a8056 --- /dev/null +++ b/proto/SumoLeaveDungeonNotify.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SumoLeaveDungeonNotify { + enum OFOIOIFFEMD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8842; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + +} diff --git a/proto/SumoRestartDungeonReq.proto b/proto/SumoRestartDungeonReq.proto new file mode 100644 index 00000000..2824fbc4 --- /dev/null +++ b/proto/SumoRestartDungeonReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SumoRestartDungeonReq { + enum LPGENMKCDBF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8993; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/SumoRestartDungeonRsp.proto b/proto/SumoRestartDungeonRsp.proto new file mode 100644 index 00000000..56980392 --- /dev/null +++ b/proto/SumoRestartDungeonRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SumoRestartDungeonRsp { + enum ENCHMEIINAM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8732; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 dungeonId = 10; + uint32 pointId = 8; + int32 retcode = 13; +} diff --git a/proto/SumoSaveTeamReq.proto b/proto/SumoSaveTeamReq.proto new file mode 100644 index 00000000..e7e78dfd --- /dev/null +++ b/proto/SumoSaveTeamReq.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "SumoTeamData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SumoSaveTeamReq { + enum BJGFOPIFDMN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8599; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 difficultyId = 14; + repeated SumoTeamData teamList = 2; + uint32 stageId = 7; + uint32 activityId = 12; +} diff --git a/proto/SumoSaveTeamRsp.proto b/proto/SumoSaveTeamRsp.proto new file mode 100644 index 00000000..535a6737 --- /dev/null +++ b/proto/SumoSaveTeamRsp.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "SumoTeamData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SumoSaveTeamRsp { + enum OMIFAMEOENF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8017; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 stageId = 9; + uint32 difficultyId = 14; + int32 retcode = 12; + uint32 activityId = 3; + repeated SumoTeamData teamList = 8; +} diff --git a/proto/SumoSelectTeamAndEnterDungeonReq.proto b/proto/SumoSelectTeamAndEnterDungeonReq.proto new file mode 100644 index 00000000..07f0c64d --- /dev/null +++ b/proto/SumoSelectTeamAndEnterDungeonReq.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "SumoTeamData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SumoSelectTeamAndEnterDungeonReq { + enum DKFGBMCAJPL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8433; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 activityId = 4; + repeated SumoTeamData teamList = 8; + uint32 stageId = 15; + uint32 difficultyId = 12; +} diff --git a/proto/SumoSelectTeamAndEnterDungeonRsp.proto b/proto/SumoSelectTeamAndEnterDungeonRsp.proto new file mode 100644 index 00000000..f430c68b --- /dev/null +++ b/proto/SumoSelectTeamAndEnterDungeonRsp.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "SumoTeamData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SumoSelectTeamAndEnterDungeonRsp { + enum LOIBMIMLNDM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8877; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 5; + uint32 difficultyId = 14; + uint32 activityId = 13; + repeated SumoTeamData teamList = 2; + uint32 stageId = 10; +} diff --git a/proto/SumoSetNoSwitchPunishTimeNotify.proto b/proto/SumoSetNoSwitchPunishTimeNotify.proto new file mode 100644 index 00000000..96657092 --- /dev/null +++ b/proto/SumoSetNoSwitchPunishTimeNotify.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +import "SumoDungeonTeam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SumoSetNoSwitchPunishTimeNotify { + enum IPFEPMAPGBF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8554; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 Unk3300_BNJBIGHIJOC = 11; + repeated SumoDungeonTeam dungeonTeamList = 3; + uint32 Unk3300_CBAMLHDMKJF = 14; + uint32 stageId = 1; + uint32 activityId = 7; + uint32 Unk3300_DJBJACGHGDM = 2; +} diff --git a/proto/SumoStageData.proto b/proto/SumoStageData.proto index dce02641..caa84c55 100644 --- a/proto/SumoStageData.proto +++ b/proto/SumoStageData.proto @@ -1,30 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "SumoTeamData.proto"; + +import "SumoTeamData.proto"; option java_package = "emu.grasscutter.net.proto"; message SumoStageData { - uint32 stage_id = 2; - uint32 open_time = 15; - repeated SumoTeamData team_list = 1; - uint32 max_score = 7; - bool is_open = 8; + uint32 maxScore = 5; + uint32 stageId = 9; + uint32 openTime = 14; + repeated SumoTeamData teamList = 13; + bool isOpen = 15; } diff --git a/proto/SumoSwitchTeamReq.proto b/proto/SumoSwitchTeamReq.proto new file mode 100644 index 00000000..1b811fef --- /dev/null +++ b/proto/SumoSwitchTeamReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SumoSwitchTeamReq { + enum BFIMLLLIFCF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8209; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 stageId = 2; + uint32 activityId = 9; +} diff --git a/proto/SumoSwitchTeamRsp.proto b/proto/SumoSwitchTeamRsp.proto new file mode 100644 index 00000000..9c67b6e8 --- /dev/null +++ b/proto/SumoSwitchTeamRsp.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +import "SumoDungeonTeam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SumoSwitchTeamRsp { + enum HJEBGAANIEE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8137; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 Unk3300_BNJBIGHIJOC = 9; + uint32 activityId = 7; + int32 retcode = 3; + uint32 stageId = 8; + uint32 Unk3300_DJBJACGHGDM = 13; + repeated SumoDungeonTeam dungeonTeamList = 5; +} diff --git a/proto/SumoTeamData.proto b/proto/SumoTeamData.proto index 6ccc3a91..8c4f6b03 100644 --- a/proto/SumoTeamData.proto +++ b/proto/SumoTeamData.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "SumoAvatarInfo.proto"; + +import "SumoAvatarInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message SumoTeamData { - repeated uint32 skill_id_list = 12; - repeated SumoAvatarInfo avatar_info_list = 4; + repeated SumoAvatarInfo avatarInfoList = 10; + repeated uint32 skillIdList = 8; } diff --git a/proto/SvrMsgId.proto b/proto/SvrMsgId.proto new file mode 100644 index 00000000..057fd31a --- /dev/null +++ b/proto/SvrMsgId.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +enum SvrMsgId { + MSG_UNKNOWN = 0; + MSG_BLOCK_REFRESH_COUNTDOWN = 1; + MSG_AVATAR_REVIVE_BY_STATUE = 2; + MSG_DAILY_TASK_REWARD_MAX_NUM = 3; + MSG_ROUTINE_TYPE_NOT_OPEN = 4; + MSG_ROUTINE_TYPE_REWARD_MAX_NUM = 5; + MSG_MECHANICUS_COIN_LIMIT = 6; +} diff --git a/proto/SyncAction.proto b/proto/SyncAction.proto new file mode 100644 index 00000000..82c1d16b --- /dev/null +++ b/proto/SyncAction.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "BreakoutAction.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SyncAction { + BreakoutAction henpegmkbie = 9; +} diff --git a/proto/SyncCreateConnect.proto b/proto/SyncCreateConnect.proto new file mode 100644 index 00000000..c2052698 --- /dev/null +++ b/proto/SyncCreateConnect.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "BreakoutSyncConnectUidInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SyncCreateConnect { + repeated BreakoutSyncConnectUidInfo uidInfoList = 6; +} diff --git a/proto/SyncFinishGame.proto b/proto/SyncFinishGame.proto new file mode 100644 index 00000000..2db02a6c --- /dev/null +++ b/proto/SyncFinishGame.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SyncFinishGame { + bool isWin = 1; + uint64 serverGameTime = 5; + bool chbjiolfkil = 8; +} diff --git a/proto/SyncPing.proto b/proto/SyncPing.proto new file mode 100644 index 00000000..b6e44dd9 --- /dev/null +++ b/proto/SyncPing.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message SyncPing { + uint64 clientGameTime = 12; + uint64 serverGameTime = 7; +} diff --git a/proto/SyncScenePlayTeamEntityNotify.proto b/proto/SyncScenePlayTeamEntityNotify.proto index 812f9f98..44b40839 100644 --- a/proto/SyncScenePlayTeamEntityNotify.proto +++ b/proto/SyncScenePlayTeamEntityNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "PlayTeamEntityInfo.proto"; + +import "PlayTeamEntityInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message SyncScenePlayTeamEntityNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 3393; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum NNDMFHOFFGI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3227; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 scene_id = 7; - repeated PlayTeamEntityInfo entity_info_list = 3; + uint32 sceneId = 1; + repeated PlayTeamEntityInfo entityInfoList = 14; } diff --git a/proto/SyncSnapShot.proto b/proto/SyncSnapShot.proto new file mode 100644 index 00000000..c3b2443a --- /dev/null +++ b/proto/SyncSnapShot.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "BreakoutSnapShot.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message SyncSnapShot { + BreakoutSnapShot bllachfilmo = 3; +} diff --git a/proto/SyncTeamEntityNotify.proto b/proto/SyncTeamEntityNotify.proto index ed7fdcef..def0e8c8 100644 --- a/proto/SyncTeamEntityNotify.proto +++ b/proto/SyncTeamEntityNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "TeamEntityInfo.proto"; + +import "TeamEntityInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message SyncTeamEntityNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 391; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum BGFILLLPAFC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 327; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated TeamEntityInfo team_entity_info_list = 10; - uint32 scene_id = 1; + repeated TeamEntityInfo teamEntityInfoList = 14; + uint32 sceneId = 5; } diff --git a/proto/SystemHint.proto b/proto/SystemHint.proto index fb54f601..cbd5e90f 100644 --- a/proto/SystemHint.proto +++ b/proto/SystemHint.proto @@ -1,6 +1,7 @@ // Proto has been converted from Sorapointa to Grasscutter format syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message SystemHint { diff --git a/proto/TakeAchievementGoalRewardReq.proto b/proto/TakeAchievementGoalRewardReq.proto new file mode 100644 index 00000000..c00bfe7a --- /dev/null +++ b/proto/TakeAchievementGoalRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeAchievementGoalRewardReq { + enum DOKFANBCKNJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2669; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 idList = 7; +} diff --git a/proto/TakeAchievementGoalRewardRsp.proto b/proto/TakeAchievementGoalRewardRsp.proto new file mode 100644 index 00000000..0e88ad7e --- /dev/null +++ b/proto/TakeAchievementGoalRewardRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TakeAchievementGoalRewardRsp { + enum KGKAJONLMDD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2693; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; + repeated ItemParam itemList = 6; + repeated uint32 idList = 15; +} diff --git a/proto/TakeAchievementRewardReq.proto b/proto/TakeAchievementRewardReq.proto index ac0e53c4..cf77ad16 100644 --- a/proto/TakeAchievementRewardReq.proto +++ b/proto/TakeAchievementRewardReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TakeAchievementRewardReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2672; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum OKCPCMGPLBB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2696; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated uint32 id_list = 9; + repeated uint32 idList = 10; } diff --git a/proto/TakeAchievementRewardRsp.proto b/proto/TakeAchievementRewardRsp.proto new file mode 100644 index 00000000..8abfbfca --- /dev/null +++ b/proto/TakeAchievementRewardRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TakeAchievementRewardRsp { + enum LDLMKKMLOPI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2691; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated ItemParam itemList = 7; + repeated uint32 idList = 4; + int32 retcode = 13; +} diff --git a/proto/TakeAsterSpecialRewardReq.proto b/proto/TakeAsterSpecialRewardReq.proto new file mode 100644 index 00000000..606a4c60 --- /dev/null +++ b/proto/TakeAsterSpecialRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeAsterSpecialRewardReq { + enum PBIKLJJOJBP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2093; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 scheduleId = 6; +} diff --git a/proto/TakeAsterSpecialRewardRsp.proto b/proto/TakeAsterSpecialRewardRsp.proto new file mode 100644 index 00000000..64f5c2ff --- /dev/null +++ b/proto/TakeAsterSpecialRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeAsterSpecialRewardRsp { + enum NKJJEIGNLEA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2075; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 scheduleId = 10; + int32 retcode = 1; +} diff --git a/proto/TakeBackGivingItemReq.proto b/proto/TakeBackGivingItemReq.proto index 06c3b8fc..51a74ee7 100644 --- a/proto/TakeBackGivingItemReq.proto +++ b/proto/TakeBackGivingItemReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TakeBackGivingItemReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 128; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum CLKCHPKAOEC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 132; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 giving_id = 2; + uint32 givingId = 3; + int32 retcode = 11; } diff --git a/proto/TakeBackGivingItemRsp.proto b/proto/TakeBackGivingItemRsp.proto index 14d1e987..47c1f3fd 100644 --- a/proto/TakeBackGivingItemRsp.proto +++ b/proto/TakeBackGivingItemRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + +import "ContentAuditInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message TakeBackGivingItemRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 196; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MAOCBMICGGO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 168; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 giving_id = 6; - int32 retcode = 15; + ContentAuditInfo info = 13; } diff --git a/proto/TakeBattlePassMissionPointReq.proto b/proto/TakeBattlePassMissionPointReq.proto index d73b8a95..73de93d7 100644 --- a/proto/TakeBattlePassMissionPointReq.proto +++ b/proto/TakeBattlePassMissionPointReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TakeBattlePassMissionPointReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2644; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum JHHIGKGJDHL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2631; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated uint32 mission_id_list = 3; + repeated uint32 missionIdList = 5; } diff --git a/proto/TakeBattlePassMissionPointRsp.proto b/proto/TakeBattlePassMissionPointRsp.proto index c4c5d93b..b1f4e282 100644 --- a/proto/TakeBattlePassMissionPointRsp.proto +++ b/proto/TakeBattlePassMissionPointRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TakeBattlePassMissionPointRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2617; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum GKEHNOBOCLO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2635; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 mission_id_list = 13; - int32 retcode = 5; + repeated uint32 missionIdList = 10; + int32 retcode = 4; } diff --git a/proto/TakeBattlePassRewardReq.proto b/proto/TakeBattlePassRewardReq.proto index c245fc32..0a426432 100644 --- a/proto/TakeBattlePassRewardReq.proto +++ b/proto/TakeBattlePassRewardReq.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "BattlePassRewardTakeOption.proto"; + +import "BattlePassRewardTakeOption.proto"; option java_package = "emu.grasscutter.net.proto"; message TakeBattlePassRewardReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2627; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum OOMGCHNIIFA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2619; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated BattlePassRewardTakeOption take_option_list = 9; + repeated BattlePassRewardTakeOption takeOptionList = 1; } diff --git a/proto/TakeBattlePassRewardRsp.proto b/proto/TakeBattlePassRewardRsp.proto index b461f2c2..6a2b95a5 100644 --- a/proto/TakeBattlePassRewardRsp.proto +++ b/proto/TakeBattlePassRewardRsp.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "BattlePassRewardTakeOption.proto"; -import "ItemParam.proto"; + +import "ItemParam.proto"; +import "BattlePassRewardTakeOption.proto"; option java_package = "emu.grasscutter.net.proto"; message TakeBattlePassRewardRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2631; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum BPPNCLEIKKK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2643; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 6; - repeated BattlePassRewardTakeOption take_option_list = 7; - repeated ItemParam item_list = 4; + repeated ItemParam itemList = 3; + int32 retcode = 5; + repeated BattlePassRewardTakeOption takeOptionList = 13; } diff --git a/proto/TakeCityReputationExploreRewardReq.proto b/proto/TakeCityReputationExploreRewardReq.proto new file mode 100644 index 00000000..ae8715a6 --- /dev/null +++ b/proto/TakeCityReputationExploreRewardReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeCityReputationExploreRewardReq { + enum MMMMFEAPEBC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2816; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 exploreIdList = 14; + uint32 cityId = 1; +} diff --git a/proto/TakeCityReputationExploreRewardRsp.proto b/proto/TakeCityReputationExploreRewardRsp.proto new file mode 100644 index 00000000..d98884be --- /dev/null +++ b/proto/TakeCityReputationExploreRewardRsp.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TakeCityReputationExploreRewardRsp { + enum KKODKDIBJHF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2813; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 cityId = 4; + repeated uint32 exploreIdList = 2; + int32 retcode = 12; + repeated ItemParam itemList = 11; +} diff --git a/proto/TakeCityReputationLevelRewardReq.proto b/proto/TakeCityReputationLevelRewardReq.proto new file mode 100644 index 00000000..c105d6fc --- /dev/null +++ b/proto/TakeCityReputationLevelRewardReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeCityReputationLevelRewardReq { + enum HLEHOPOEOBP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2887; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 cityId = 8; + uint32 level = 5; +} diff --git a/proto/TakeCityReputationLevelRewardRsp.proto b/proto/TakeCityReputationLevelRewardRsp.proto new file mode 100644 index 00000000..055fac80 --- /dev/null +++ b/proto/TakeCityReputationLevelRewardRsp.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TakeCityReputationLevelRewardRsp { + enum BBBIJANGPAC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2898; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 10; + repeated ItemParam itemList = 12; + uint32 cityId = 8; + uint32 level = 11; +} diff --git a/proto/TakeCityReputationParentQuestReq.proto b/proto/TakeCityReputationParentQuestReq.proto index 76ff7a04..af1090be 100644 --- a/proto/TakeCityReputationParentQuestReq.proto +++ b/proto/TakeCityReputationParentQuestReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TakeCityReputationParentQuestReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2843; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum PJJGGGLIDDD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2874; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 city_id = 8; - repeated uint32 parent_quest_list = 9; + repeated uint32 parentQuestList = 1; + uint32 cityId = 9; } diff --git a/proto/TakeCityReputationParentQuestRsp.proto b/proto/TakeCityReputationParentQuestRsp.proto index f959a355..d6e25e49 100644 --- a/proto/TakeCityReputationParentQuestRsp.proto +++ b/proto/TakeCityReputationParentQuestRsp.proto @@ -1,38 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ItemParam.proto"; + +import "ItemParam.proto"; option java_package = "emu.grasscutter.net.proto"; message TakeCityReputationParentQuestRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2861; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum PLEHGFAIIKG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2880; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - int32 retcode = 3; - repeated uint32 parent_quest_list = 2; - uint32 city_id = 14; - repeated ItemParam item_list = 7; + repeated uint32 parentQuestList = 14; + int32 retcode = 6; + uint32 cityId = 13; + repeated ItemParam itemList = 11; } diff --git a/proto/TakeCompoundOutputReq.proto b/proto/TakeCompoundOutputReq.proto index ccb039b1..f77711a1 100644 --- a/proto/TakeCompoundOutputReq.proto +++ b/proto/TakeCompoundOutputReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TakeCompoundOutputReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 134; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum CLNLODBPFBH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 130; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 compound_group_id = 4; - uint32 compound_id = 9; + uint32 compoundId = 13; + uint32 compoundGroupId = 4; } diff --git a/proto/TakeCompoundOutputRsp.proto b/proto/TakeCompoundOutputRsp.proto index e3382c67..70b7820b 100644 --- a/proto/TakeCompoundOutputRsp.proto +++ b/proto/TakeCompoundOutputRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ItemParam.proto"; + +import "ItemParam.proto"; option java_package = "emu.grasscutter.net.proto"; message TakeCompoundOutputRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 195; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum DAFKGPGFPJP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 143; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated ItemParam item_list = 14; - int32 retcode = 1; + repeated ItemParam itemList = 13; + int32 retcode = 2; } diff --git a/proto/TakeCoopRewardReq.proto b/proto/TakeCoopRewardReq.proto new file mode 100644 index 00000000..415a6353 --- /dev/null +++ b/proto/TakeCoopRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeCoopRewardReq { + enum EPFHCFPLPJF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1953; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 rewardConfigId = 11; +} diff --git a/proto/TakeCoopRewardRsp.proto b/proto/TakeCoopRewardRsp.proto new file mode 100644 index 00000000..c4c58b22 --- /dev/null +++ b/proto/TakeCoopRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeCoopRewardRsp { + enum OGBIHHLPFKN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1960; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 rewardConfigId = 8; + int32 retcode = 4; +} diff --git a/proto/TakeDeliveryDailyRewardReq.proto b/proto/TakeDeliveryDailyRewardReq.proto new file mode 100644 index 00000000..f8080ce0 --- /dev/null +++ b/proto/TakeDeliveryDailyRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeDeliveryDailyRewardReq { + enum EMAFLEFCECM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2013; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 scheduleId = 15; +} diff --git a/proto/TakeDeliveryDailyRewardRsp.proto b/proto/TakeDeliveryDailyRewardRsp.proto new file mode 100644 index 00000000..eb81fa0c --- /dev/null +++ b/proto/TakeDeliveryDailyRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeDeliveryDailyRewardRsp { + enum PLKPGBCECIA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2158; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 7; + uint32 scheduleId = 12; +} diff --git a/proto/TakeEffigyFirstPassRewardReq.proto b/proto/TakeEffigyFirstPassRewardReq.proto new file mode 100644 index 00000000..3176f99b --- /dev/null +++ b/proto/TakeEffigyFirstPassRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeEffigyFirstPassRewardReq { + enum ACBEGLHMMFA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2080; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 challengeId = 5; +} diff --git a/proto/TakeEffigyFirstPassRewardRsp.proto b/proto/TakeEffigyFirstPassRewardRsp.proto new file mode 100644 index 00000000..9f4ff04d --- /dev/null +++ b/proto/TakeEffigyFirstPassRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeEffigyFirstPassRewardRsp { + enum IMELGDJLCMI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2170; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 challengeId = 13; + int32 retcode = 10; +} diff --git a/proto/TakeEffigyRewardReq.proto b/proto/TakeEffigyRewardReq.proto new file mode 100644 index 00000000..29b77c17 --- /dev/null +++ b/proto/TakeEffigyRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeEffigyRewardReq { + enum IBCOIGPAKGA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2049; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 rewardIndex = 2; +} diff --git a/proto/TakeEffigyRewardRsp.proto b/proto/TakeEffigyRewardRsp.proto new file mode 100644 index 00000000..2a05675e --- /dev/null +++ b/proto/TakeEffigyRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeEffigyRewardRsp { + enum LKHFEKHJJJB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2180; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 rewardIndex = 13; + int32 retcode = 6; +} diff --git a/proto/TakeFirstShareRewardReq.proto b/proto/TakeFirstShareRewardReq.proto new file mode 100644 index 00000000..c24665b2 --- /dev/null +++ b/proto/TakeFirstShareRewardReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeFirstShareRewardReq { + enum KGEBACLNPOD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4030; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/TakeFirstShareRewardRsp.proto b/proto/TakeFirstShareRewardRsp.proto new file mode 100644 index 00000000..6d0fcc4e --- /dev/null +++ b/proto/TakeFirstShareRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeFirstShareRewardRsp { + enum CFCBIMFLMFP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4043; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + int32 retcode = 9; +} diff --git a/proto/TakeFurnitureMakeReq.proto b/proto/TakeFurnitureMakeReq.proto index 9921decd..1df68b62 100644 --- a/proto/TakeFurnitureMakeReq.proto +++ b/proto/TakeFurnitureMakeReq.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TakeFurnitureMakeReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4506; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum JMDDKPFHPPA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4825; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 index = 12; - bool is_fast_finish = 2; - uint32 make_id = 7; + uint32 index = 6; + bool isFastFinish = 15; + uint32 makeId = 9; } diff --git a/proto/TakeFurnitureMakeRsp.proto b/proto/TakeFurnitureMakeRsp.proto index 8f89292b..a289ba9a 100644 --- a/proto/TakeFurnitureMakeRsp.proto +++ b/proto/TakeFurnitureMakeRsp.proto @@ -1,39 +1,23 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "FurnitureMakeSlot.proto"; import "ItemParam.proto"; - option java_package = "emu.grasscutter.net.proto"; message TakeFurnitureMakeRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4803; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum FBKEHNNKDMK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4806; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 15; - repeated ItemParam return_item_list = 5; - FurnitureMakeSlot furniture_make_slot = 14; - repeated ItemParam output_item_list = 10; - uint32 make_id = 3; + repeated ItemParam returnItemList = 7; + FurnitureMakeSlot furnitureMakeSlot = 6; + uint32 makeId = 4; + repeated ItemParam outputItemList = 1; + int32 retcode = 10; } diff --git a/proto/TakeHuntingOfferReq.proto b/proto/TakeHuntingOfferReq.proto new file mode 100644 index 00000000..3e9ca3d9 --- /dev/null +++ b/proto/TakeHuntingOfferReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "HuntingPair.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TakeHuntingOfferReq { + enum IBCEKBFOLAN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4338; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + HuntingPair huntingPair = 1; + uint32 cityId = 14; +} diff --git a/proto/TakeHuntingOfferRsp.proto b/proto/TakeHuntingOfferRsp.proto new file mode 100644 index 00000000..3ff3c561 --- /dev/null +++ b/proto/TakeHuntingOfferRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "HuntingPair.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TakeHuntingOfferRsp { + enum ECDAFENOELG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4345; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 7; + uint32 cityId = 8; + HuntingPair huntingPair = 6; +} diff --git a/proto/TakeInvestigationRewardReq.proto b/proto/TakeInvestigationRewardReq.proto new file mode 100644 index 00000000..c10cb62b --- /dev/null +++ b/proto/TakeInvestigationRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeInvestigationRewardReq { + enum LBOJNLBKKFH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1921; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 id = 15; +} diff --git a/proto/TakeInvestigationRewardRsp.proto b/proto/TakeInvestigationRewardRsp.proto new file mode 100644 index 00000000..6c80ee33 --- /dev/null +++ b/proto/TakeInvestigationRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeInvestigationRewardRsp { + enum CCKCENEODAC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1920; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 id = 13; + int32 retcode = 15; +} diff --git a/proto/TakeInvestigationTargetRewardReq.proto b/proto/TakeInvestigationTargetRewardReq.proto new file mode 100644 index 00000000..90fac8ef --- /dev/null +++ b/proto/TakeInvestigationTargetRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeInvestigationTargetRewardReq { + enum HCHCIJFIKAG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1918; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 questId = 11; +} diff --git a/proto/TakeInvestigationTargetRewardRsp.proto b/proto/TakeInvestigationTargetRewardRsp.proto new file mode 100644 index 00000000..9e3017fb --- /dev/null +++ b/proto/TakeInvestigationTargetRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeInvestigationTargetRewardRsp { + enum OEMIIDNBBAP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1923; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 1; + uint32 questId = 6; +} diff --git a/proto/TakeMaterialDeleteReturnReq.proto b/proto/TakeMaterialDeleteReturnReq.proto index cdb28614..b2f2ef19 100644 --- a/proto/TakeMaterialDeleteReturnReq.proto +++ b/proto/TakeMaterialDeleteReturnReq.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "MaterialDeleteReturnType.proto"; + +import "MaterialDeleteReturnType.proto"; option java_package = "emu.grasscutter.net.proto"; message TakeMaterialDeleteReturnReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 620; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum KMMKFPLKCPH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 656; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - MaterialDeleteReturnType type = 11; + MaterialDeleteReturnType type = 6; } diff --git a/proto/TakeMaterialDeleteReturnRsp.proto b/proto/TakeMaterialDeleteReturnRsp.proto index 679ca5a3..54751a26 100644 --- a/proto/TakeMaterialDeleteReturnRsp.proto +++ b/proto/TakeMaterialDeleteReturnRsp.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TakeMaterialDeleteReturnRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 663; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum JDAOEMPEOGH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 690; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 8; + int32 retcode = 12; } diff --git a/proto/TakeOfferingLevelRewardReq.proto b/proto/TakeOfferingLevelRewardReq.proto new file mode 100644 index 00000000..a2025d0d --- /dev/null +++ b/proto/TakeOfferingLevelRewardReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeOfferingLevelRewardReq { + enum AEDJIPDGBNO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2909; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 level = 2; + uint32 offeringId = 8; +} diff --git a/proto/TakeOfferingLevelRewardRsp.proto b/proto/TakeOfferingLevelRewardRsp.proto new file mode 100644 index 00000000..637290d0 --- /dev/null +++ b/proto/TakeOfferingLevelRewardRsp.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TakeOfferingLevelRewardRsp { + enum GIALMPGJOHD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2907; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 7; + uint32 offeringId = 14; + uint32 takeLevel = 1; + repeated ItemParam itemList = 10; +} diff --git a/proto/TakePlayerLevelRewardReq.proto b/proto/TakePlayerLevelRewardReq.proto index 48d7e719..cd0a99a9 100644 --- a/proto/TakePlayerLevelRewardReq.proto +++ b/proto/TakePlayerLevelRewardReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TakePlayerLevelRewardReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 120; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum OCIIENPKDLB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 156; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 level = 15; + uint32 level = 9; } diff --git a/proto/TakePlayerLevelRewardRsp.proto b/proto/TakePlayerLevelRewardRsp.proto index 0bd53bdd..e8e4df9a 100644 --- a/proto/TakePlayerLevelRewardRsp.proto +++ b/proto/TakePlayerLevelRewardRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TakePlayerLevelRewardRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 163; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum EPMMHGGMHIC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 190; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 reward_id = 10; - uint32 level = 15; - int32 retcode = 12; + uint32 level = 7; + uint32 rewardId = 4; + int32 retcode = 5; } diff --git a/proto/TakeRegionSearchRewardReq.proto b/proto/TakeRegionSearchRewardReq.proto new file mode 100644 index 00000000..16f2659c --- /dev/null +++ b/proto/TakeRegionSearchRewardReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeRegionSearchRewardReq { + enum IBPAMBOCFKA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5646; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 id = 13; + uint32 searchId = 14; +} diff --git a/proto/TakeRegionSearchRewardRsp.proto b/proto/TakeRegionSearchRewardRsp.proto new file mode 100644 index 00000000..ac6dca6b --- /dev/null +++ b/proto/TakeRegionSearchRewardRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeRegionSearchRewardRsp { + enum IJLODKPGGLM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5641; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 id = 15; + uint32 searchId = 14; + int32 retcode = 3; +} diff --git a/proto/TakeResinCardDailyRewardReq.proto b/proto/TakeResinCardDailyRewardReq.proto new file mode 100644 index 00000000..d5a64fba --- /dev/null +++ b/proto/TakeResinCardDailyRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeResinCardDailyRewardReq { + enum COLGNCGECBI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4135; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 productConfigId = 10; +} diff --git a/proto/TakeResinCardDailyRewardRsp.proto b/proto/TakeResinCardDailyRewardRsp.proto new file mode 100644 index 00000000..4c907451 --- /dev/null +++ b/proto/TakeResinCardDailyRewardRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TakeResinCardDailyRewardRsp { + enum GGEJPOGNOOA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4116; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated ItemParam itemVec = 15; + uint32 productConfigId = 4; + int32 retcode = 9; +} diff --git a/proto/TakeReunionFirstGiftRewardReq.proto b/proto/TakeReunionFirstGiftRewardReq.proto new file mode 100644 index 00000000..08a9d880 --- /dev/null +++ b/proto/TakeReunionFirstGiftRewardReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeReunionFirstGiftRewardReq { + enum KNAGMOKGIDE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5096; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/TakeReunionFirstGiftRewardRsp.proto b/proto/TakeReunionFirstGiftRewardRsp.proto new file mode 100644 index 00000000..666ccba8 --- /dev/null +++ b/proto/TakeReunionFirstGiftRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeReunionFirstGiftRewardRsp { + enum LONGKEEDBKP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5091; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; + int32 rewardId = 12; +} diff --git a/proto/TakeReunionMissionRewardReq.proto b/proto/TakeReunionMissionRewardReq.proto new file mode 100644 index 00000000..09782586 --- /dev/null +++ b/proto/TakeReunionMissionRewardReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeReunionMissionRewardReq { + enum OEGJDLBEJEP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5064; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 missionId = 8; + uint32 rewardIndex = 15; + uint32 rewardId = 7; +} diff --git a/proto/TakeReunionMissionRewardRsp.proto b/proto/TakeReunionMissionRewardRsp.proto new file mode 100644 index 00000000..2f68a90d --- /dev/null +++ b/proto/TakeReunionMissionRewardRsp.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "ReunionMissionInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TakeReunionMissionRewardRsp { + enum PIAGJEKANBM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5092; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + ReunionMissionInfo missionInfo = 12; + uint32 rewardIndex = 5; + int32 retcode = 4; + uint32 rewardId = 11; +} diff --git a/proto/TakeReunionSignInRewardReq.proto b/proto/TakeReunionSignInRewardReq.proto new file mode 100644 index 00000000..3e72ac4d --- /dev/null +++ b/proto/TakeReunionSignInRewardReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeReunionSignInRewardReq { + enum DLLEHPPIPEL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5081; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 rewardDay = 2; + uint32 configId = 3; +} diff --git a/proto/TakeReunionSignInRewardRsp.proto b/proto/TakeReunionSignInRewardRsp.proto new file mode 100644 index 00000000..fef107f5 --- /dev/null +++ b/proto/TakeReunionSignInRewardRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "ReunionSignInInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TakeReunionSignInRewardRsp { + enum HNGPMNELGAJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5085; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + ReunionSignInInfo signInInfo = 5; + int32 retcode = 8; +} diff --git a/proto/TakeReunionWatcherRewardReq.proto b/proto/TakeReunionWatcherRewardReq.proto new file mode 100644 index 00000000..1c61b78f --- /dev/null +++ b/proto/TakeReunionWatcherRewardReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeReunionWatcherRewardReq { + enum NKCOPLONMIC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5052; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 watcherId = 4; + uint32 missionId = 15; +} diff --git a/proto/TakeReunionWatcherRewardRsp.proto b/proto/TakeReunionWatcherRewardRsp.proto new file mode 100644 index 00000000..79019563 --- /dev/null +++ b/proto/TakeReunionWatcherRewardRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TakeReunionWatcherRewardRsp { + enum HOMCCILFILJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5090; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 watcherId = 2; + int32 retcode = 1; + uint32 missionId = 3; +} diff --git a/proto/TakeoffEquipReq.proto b/proto/TakeoffEquipReq.proto index 5a74965c..cc4fb5e0 100644 --- a/proto/TakeoffEquipReq.proto +++ b/proto/TakeoffEquipReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TakeoffEquipReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 642; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum BDAAHDJEMJF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 669; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 slot = 9; - uint64 avatar_guid = 13; + uint64 avatarGuid = 8; + uint32 slot = 3; } diff --git a/proto/TakeoffEquipRsp.proto b/proto/TakeoffEquipRsp.proto index b894233b..2f0a220e 100644 --- a/proto/TakeoffEquipRsp.proto +++ b/proto/TakeoffEquipRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TakeoffEquipRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 690; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum ALEJPJIDAFJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 606; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 slot = 3; - int32 retcode = 10; - uint64 avatar_guid = 7; + int32 retcode = 15; + uint32 slot = 3; + uint64 avatarGuid = 5; } diff --git a/proto/TanukiTravelActivityDetailInfo.proto b/proto/TanukiTravelActivityDetailInfo.proto index 8fcee4a0..e6d57a73 100644 --- a/proto/TanukiTravelActivityDetailInfo.proto +++ b/proto/TanukiTravelActivityDetailInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "TanukiTravelLevelData.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message TanukiTravelActivityDetailInfo { diff --git a/proto/TanukiTravelActivityInfo.proto b/proto/TanukiTravelActivityInfo.proto new file mode 100644 index 00000000..e723b84e --- /dev/null +++ b/proto/TanukiTravelActivityInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "TanukiTravelLevelData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TanukiTravelActivityInfo { + uint32 finishedLevelIndex = 11; + bool leftMonsters = 2; + repeated TanukiTravelLevelData tanukiTravelLevelDataList = 6; +} diff --git a/proto/TanukiTravelFinishGuideQuestNotify.proto b/proto/TanukiTravelFinishGuideQuestNotify.proto index 17a4339c..1ec641eb 100644 --- a/proto/TanukiTravelFinishGuideQuestNotify.proto +++ b/proto/TanukiTravelFinishGuideQuestNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TanukiTravelFinishGuideQuestNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 8481; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum LFBHGBPGHNO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8824; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 activity_id = 1; + uint32 activityId = 7; } diff --git a/proto/TanukiTravelLevelData.proto b/proto/TanukiTravelLevelData.proto index 43541629..eb4b0f70 100644 --- a/proto/TanukiTravelLevelData.proto +++ b/proto/TanukiTravelLevelData.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TanukiTravelLevelData { - bool is_finish = 7; - bool is_open = 9; - uint32 route_id = 8; + bool isFinish = 2; + uint32 routeId = 1; + bool isOpen = 8; } diff --git a/proto/TaskVar.proto b/proto/TaskVar.proto new file mode 100644 index 00000000..cce3a4e2 --- /dev/null +++ b/proto/TaskVar.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TaskVar { + repeated int32 valueList = 15; + uint32 key = 8; +} diff --git a/proto/TaskVarNotify.proto b/proto/TaskVarNotify.proto new file mode 100644 index 00000000..05a03452 --- /dev/null +++ b/proto/TaskVarNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "TaskVar.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TaskVarNotify { + enum JGAIGHMHFAH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 177; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated TaskVar taskVarList = 9; +} diff --git a/proto/TeamChainDungeonInfoNotify.proto b/proto/TeamChainDungeonInfoNotify.proto new file mode 100644 index 00000000..0cd4c3a8 --- /dev/null +++ b/proto/TeamChainDungeonInfoNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TeamChainDungeonInfoNotify { + enum BOFKOGOADGC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 24930; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; +} diff --git a/proto/TeamChainEnterDungeonReq.proto b/proto/TeamChainEnterDungeonReq.proto new file mode 100644 index 00000000..cbac156c --- /dev/null +++ b/proto/TeamChainEnterDungeonReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TeamChainEnterDungeonReq { + enum LCMGICGLAFM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21856; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool gocbaipjdlk = 11; +} diff --git a/proto/TeamChainEnterDungeonRsp.proto b/proto/TeamChainEnterDungeonRsp.proto new file mode 100644 index 00000000..cc0c18df --- /dev/null +++ b/proto/TeamChainEnterDungeonRsp.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "FBKJENFAAKN.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TeamChainEnterDungeonRsp { + enum DLBLCLBKJFH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21568; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated FBKJENFAAKN teamInfoList = 11; + uint32 stageId = 13; + uint32 difficulty = 2; +} diff --git a/proto/TeamChainInfo.proto b/proto/TeamChainInfo.proto new file mode 100644 index 00000000..9ee250aa --- /dev/null +++ b/proto/TeamChainInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +import "HCAMGIDEAFE.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TeamChainInfo { + repeated HCAMGIDEAFE stageDataList = 10; + bool jimipcpbhek = 11; +} diff --git a/proto/TeamChainRestartDungeonReq.proto b/proto/TeamChainRestartDungeonReq.proto new file mode 100644 index 00000000..de6e2239 --- /dev/null +++ b/proto/TeamChainRestartDungeonReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TeamChainRestartDungeonReq { + enum DOPBJKADDHF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21537; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 12; +} diff --git a/proto/TeamChainRestartDungeonRsp.proto b/proto/TeamChainRestartDungeonRsp.proto new file mode 100644 index 00000000..71e2dd1d --- /dev/null +++ b/proto/TeamChainRestartDungeonRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "FBKJENFAAKN.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TeamChainRestartDungeonRsp { + enum KNIBCBJEFHI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21237; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated FBKJENFAAKN teamInfoList = 2; +} diff --git a/proto/TeamChainSettleInfo.proto b/proto/TeamChainSettleInfo.proto new file mode 100644 index 00000000..24dee3c9 --- /dev/null +++ b/proto/TeamChainSettleInfo.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TeamChainSettleInfo { + bool isNewRecord = 13; + uint32 stageId = 4; + uint32 totalScore = 3; + uint32 difficulty = 15; + repeated uint32 scoreList = 9; +} diff --git a/proto/TeamChainTakeCostumeRewardReq.proto b/proto/TeamChainTakeCostumeRewardReq.proto new file mode 100644 index 00000000..c499da7b --- /dev/null +++ b/proto/TeamChainTakeCostumeRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TeamChainTakeCostumeRewardReq { + enum NIJONKEJPPP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20331; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 ehbfihcdoli = 12; + uint32 stageId = 11; +} diff --git a/proto/TeamChainTakeCostumeRewardRsp.proto b/proto/TeamChainTakeCostumeRewardRsp.proto new file mode 100644 index 00000000..5b803e4a --- /dev/null +++ b/proto/TeamChainTakeCostumeRewardRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TeamChainTakeCostumeRewardRsp { + enum MFCBBKLDHAP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 22700; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/TeamEnterSceneInfo.proto b/proto/TeamEnterSceneInfo.proto index d3f0ecf8..9b7f98a9 100644 --- a/proto/TeamEnterSceneInfo.proto +++ b/proto/TeamEnterSceneInfo.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "AbilityControlBlock.proto"; import "AbilitySyncStateInfo.proto"; - option java_package = "emu.grasscutter.net.proto"; message TeamEnterSceneInfo { - AbilitySyncStateInfo team_ability_info = 6; - AbilityControlBlock ability_control_block = 5; - uint32 team_entity_id = 11; + uint32 teamEntityId = 4; + AbilityControlBlock abilityControlBlock = 12; + AbilitySyncStateInfo teamAbilityInfo = 10; } diff --git a/proto/TeamEntityInfo.proto b/proto/TeamEntityInfo.proto index 7c60921c..ab35227a 100644 --- a/proto/TeamEntityInfo.proto +++ b/proto/TeamEntityInfo.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "AbilitySyncStateInfo.proto"; + +import "AbilitySyncStateInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message TeamEntityInfo { - uint32 team_entity_id = 3; - uint32 authority_peer_id = 12; - AbilitySyncStateInfo team_ability_info = 5; + AbilitySyncStateInfo teamAbilityInfo = 8; + uint32 teamEntityId = 2; + uint32 authorityPeerId = 12; } diff --git a/proto/TeamResonanceChangeNotify.proto b/proto/TeamResonanceChangeNotify.proto new file mode 100644 index 00000000..753c229f --- /dev/null +++ b/proto/TeamResonanceChangeNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "AvatarTeamResonanceInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TeamResonanceChangeNotify { + enum KOMHHDNJJIH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1006; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated AvatarTeamResonanceInfo infoList = 3; +} diff --git a/proto/ThirdStageInfo.proto b/proto/ThirdStageInfo.proto new file mode 100644 index 00000000..6aff6e8d --- /dev/null +++ b/proto/ThirdStageInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ThirdStageInfo { + uint32 leftTime = 7; + bool isSuccess = 6; +} diff --git a/proto/ThunderBirdFeatherInfo.proto b/proto/ThunderBirdFeatherInfo.proto new file mode 100644 index 00000000..50aba8c8 --- /dev/null +++ b/proto/ThunderBirdFeatherInfo.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ThunderBirdFeatherInfo { + repeated uint32 entityIdList = 12; +} diff --git a/proto/ToTheMoonAddObstacleReq.proto b/proto/ToTheMoonAddObstacleReq.proto new file mode 100644 index 00000000..c894be7e --- /dev/null +++ b/proto/ToTheMoonAddObstacleReq.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "ToTheMoonObstacleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ToTheMoonAddObstacleReq { + enum JNHMMGGPKOO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6174; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + ToTheMoonObstacleInfo obstacle = 6; + uint32 sceneId = 7; + int32 queryId = 5; + bool useEdge = 15; +} diff --git a/proto/ToTheMoonAddObstacleRsp.proto b/proto/ToTheMoonAddObstacleRsp.proto new file mode 100644 index 00000000..7ecfd108 --- /dev/null +++ b/proto/ToTheMoonAddObstacleRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "DynamicNodes.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ToTheMoonAddObstacleRsp { + enum FAJPJAOONHC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6180; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 11; + int32 queryId = 8; + DynamicNodes dynamicNodes = 4; +} diff --git a/proto/ToTheMoonEnterSceneReq.proto b/proto/ToTheMoonEnterSceneReq.proto new file mode 100644 index 00000000..bfd76909 --- /dev/null +++ b/proto/ToTheMoonEnterSceneReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ToTheMoonEnterSceneReq { + enum DHKNBJKNJGH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6198; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 sceneId = 12; + uint32 version = 10; +} diff --git a/proto/ToTheMoonEnterSceneRsp.proto b/proto/ToTheMoonEnterSceneRsp.proto new file mode 100644 index 00000000..7d871ff4 --- /dev/null +++ b/proto/ToTheMoonEnterSceneRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ToTheMoonEnterSceneRsp { + enum NBNFJDLANPD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6120; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 12; +} diff --git a/proto/ToTheMoonObstacleInfo.proto b/proto/ToTheMoonObstacleInfo.proto new file mode 100644 index 00000000..d707edcf --- /dev/null +++ b/proto/ToTheMoonObstacleInfo.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +import "RotationSpeed.proto"; +import "ShapeType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ToTheMoonObstacleInfo { + Rotation center = 3; + int32 handleId = 5; + RotationSpeed rotation = 8; + Rotation halfExtents = 9; + ShapeType type = 1; +} diff --git a/proto/ToTheMoonObstaclesModifyNotify.proto b/proto/ToTheMoonObstaclesModifyNotify.proto new file mode 100644 index 00000000..d7dbafbf --- /dev/null +++ b/proto/ToTheMoonObstaclesModifyNotify.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "ToTheMoonObstacleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ToTheMoonObstaclesModifyNotify { + enum ONFMOJALOCB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6114; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool useEdge = 10; + uint32 sceneId = 11; + repeated int32 removeObstacleIds = 4; + repeated ToTheMoonObstacleInfo addObstacles = 14; +} diff --git a/proto/ToTheMoonPingNotify.proto b/proto/ToTheMoonPingNotify.proto new file mode 100644 index 00000000..5c658b29 --- /dev/null +++ b/proto/ToTheMoonPingNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ToTheMoonPingNotify { + enum ANLKJPIBJGI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6187; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/ToTheMoonQueryPathReq.proto b/proto/ToTheMoonQueryPathReq.proto index 2e7392c1..b7628738 100644 --- a/proto/ToTheMoonQueryPathReq.proto +++ b/proto/ToTheMoonQueryPathReq.proto @@ -1,62 +1,31 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "OptionType.proto"; +import "Rotation.proto"; +import "AStarMethod.proto"; +import "FilterType.proto"; option java_package = "emu.grasscutter.net.proto"; message ToTheMoonQueryPathReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 6179; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum MAJKIHKKGFG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6105; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - enum OptionType { - OPTION_TYPE_NONE = 0; - OPTION_TYPE_NORMAL = 1; - } - - enum AStarMethod { - A_STAR_METHOD_CLASSIC = 0; - A_STAR_METHOD_TENDENCY = 1; - A_STAR_METHOD_ADAPTIVE = 2; - A_STAR_METHOD_INFLECTION = 3; - } - - enum FilterType { - FILTER_TYPE_ALL = 0; - FILTER_TYPE_AIR = 1; - FILTER_TYPE_WATER = 2; - } - - OptionType query_type = 5; - bool Unk3300_BBLMBILIOGP = 8; - FilterType filter_type = 13; - int32 query_id = 2; - AStarMethod astar_method = 12; - Vector source_pos = 11; - Vector destination_pos = 3; - int32 fuzzy_range = 7; - bool Unk3300_OFGONAMNIJG = 6; - uint32 scene_id = 4; + OptionType queryType = 15; + int32 queryId = 3; + Rotation sourcePos = 12; + uint32 sceneId = 6; + AStarMethod astarMethod = 1; + FilterType filterType = 8; + int32 fuzzyRange = 7; + bool Unk3300_OFGONAMNIJG = 10; + bool Unk3300_BBLMBILIOGP = 2; + Rotation destinationPos = 5; } diff --git a/proto/ToTheMoonQueryPathRsp.proto b/proto/ToTheMoonQueryPathRsp.proto index 16a1976d..cebe2646 100644 --- a/proto/ToTheMoonQueryPathRsp.proto +++ b/proto/ToTheMoonQueryPathRsp.proto @@ -1,45 +1,24 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "PathStatusType.proto"; +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message ToTheMoonQueryPathRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 6130; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum DEPALAPFJJF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6155; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - enum PathStatusType { - PATH_STATUS_TYPE_FAIL = 0; - PATH_STATUS_TYPE_SUCC = 1; - PATH_STATUS_TYPE_PARTIAL = 2; - } - - repeated int64 index = 5; - repeated Vector corners = 3; - int32 query_id = 15; - int32 retcode = 10; - repeated int32 level = 8; - PathStatusType query_status = 14; + int32 queryId = 11; + PathStatusType queryStatus = 15; + repeated int64 index = 10; + int32 retcode = 1; + repeated Rotation corners = 3; + repeated int32 level = 13; } diff --git a/proto/ToTheMoonRemoveObstacleReq.proto b/proto/ToTheMoonRemoveObstacleReq.proto new file mode 100644 index 00000000..6e5b2c96 --- /dev/null +++ b/proto/ToTheMoonRemoveObstacleReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ToTheMoonRemoveObstacleReq { + enum GJHBFLDKNPH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6170; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 sceneId = 2; + int32 queryId = 13; + int32 handle = 9; +} diff --git a/proto/ToTheMoonRemoveObstacleRsp.proto b/proto/ToTheMoonRemoveObstacleRsp.proto new file mode 100644 index 00000000..5908f0c0 --- /dev/null +++ b/proto/ToTheMoonRemoveObstacleRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "DynamicNodes.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ToTheMoonRemoveObstacleRsp { + enum BAEILLHPINF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6162; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 queryId = 4; + DynamicNodes dynamicNodes = 8; + int32 retcode = 3; +} diff --git a/proto/TokenChange.proto b/proto/TokenChange.proto new file mode 100644 index 00000000..0ec5cf23 --- /dev/null +++ b/proto/TokenChange.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "GCGReason.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TokenChange { + uint32 cardGuid = 6; + uint32 Unk3300_LLGHGEALDDI = 5; + uint32 Unk3300_LCNKBFBJDFM = 15; + uint32 tokenType = 8; + GCGReason reason = 12; +} diff --git a/proto/TowerAllDataReq.proto b/proto/TowerAllDataReq.proto index dfeae744..c88740bb 100644 --- a/proto/TowerAllDataReq.proto +++ b/proto/TowerAllDataReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TowerAllDataReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2447; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum OEKPDBADMMB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2470; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - bool is_interact = 15; + bool isInteract = 15; } diff --git a/proto/TowerAllDataRsp.proto b/proto/TowerAllDataRsp.proto index 049d9689..4469737a 100644 --- a/proto/TowerAllDataRsp.proto +++ b/proto/TowerAllDataRsp.proto @@ -1,52 +1,36 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "TowerCurLevelRecord.proto"; -import "TowerFloorRecord.proto"; -import "TowerMonthlyBrief.proto"; + +import "TowerCurLevelRecord.proto"; +import "TowerMonthlyBrief.proto"; +import "TowerFloorRecord.proto"; option java_package = "emu.grasscutter.net.proto"; message TowerAllDataRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2478; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum ADOPBFIMDJI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2462; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 Unk3300_HCDFJBHMHHF = 6; - uint32 next_schedule_change_time = 8; - bool is_first_interact = 5; - uint32 tower_schedule_id = 1; - uint32 Unk3300_JBACKENDHDG = 10; - uint32 schedule_start_time = 610; - int32 retcode = 11; - uint32 Unk3300_OHCHCJGJIDK = 4; - uint32 valid_tower_record_num = 2; - TowerMonthlyBrief last_schedule_monthly_brief = 1245; - TowerCurLevelRecord cur_level_record = 12; - repeated TowerFloorRecord tower_floor_record_list = 13; - TowerMonthlyBrief monthly_brief = 9; - uint32 Unk3300_LEKODCFPINJ = 7; - map skip_floor_granted_reward_item_map = 3; - bool is_finished_entrance_floor = 15; - map floor_open_time_map = 14; + uint32 Unk3300_OHCHCJGJIDK = 7; + TowerCurLevelRecord curLevelRecord = 1; + bool isFirstInteract = 8; + repeated TowerFloorRecord towerFloorRecordList = 6; + uint32 nextScheduleChangeTime = 15; + uint32 towerScheduleId = 9; + map floorOpenTimeMap = 12; + uint32 validTowerRecordNum = 5; + map skipFloorGrantedRewardItemMap = 11; + uint32 scheduleStartTime = 591; + TowerMonthlyBrief lastScheduleMonthlyBrief = 1482; + uint32 Unk3300_LEKODCFPINJ = 10; + uint32 Unk3300_HCDFJBHMHHF = 3; + uint32 Unk3300_JBACKENDHDG = 14; + bool isFinishedEntranceFloor = 2; + TowerMonthlyBrief monthlyBrief = 13; + int32 retcode = 4; } diff --git a/proto/TowerBriefDataNotify.proto b/proto/TowerBriefDataNotify.proto new file mode 100644 index 00000000..20c612a2 --- /dev/null +++ b/proto/TowerBriefDataNotify.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TowerBriefDataNotify { + enum POMJICBPHPF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2405; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isFinishedEntranceFloor = 2; + uint32 totalStarNum = 5; + uint32 towerScheduleId = 3; + uint32 lastLevelIndex = 4; + uint32 scheduleStartTime = 13; + uint32 nextScheduleChangeTime = 12; + uint32 lastFloorIndex = 14; +} diff --git a/proto/TowerBuffSelectReq.proto b/proto/TowerBuffSelectReq.proto new file mode 100644 index 00000000..c61f7163 --- /dev/null +++ b/proto/TowerBuffSelectReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TowerBuffSelectReq { + enum BMAJGLPHLPC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2478; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 towerBuffId = 12; +} diff --git a/proto/TowerBuffSelectRsp.proto b/proto/TowerBuffSelectRsp.proto new file mode 100644 index 00000000..4c475b46 --- /dev/null +++ b/proto/TowerBuffSelectRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TowerBuffSelectRsp { + enum KJALDKKFDLK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2416; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 13; + uint32 towerBuffId = 6; +} diff --git a/proto/TowerCurLevelRecord.proto b/proto/TowerCurLevelRecord.proto index 20460480..5524c62e 100644 --- a/proto/TowerCurLevelRecord.proto +++ b/proto/TowerCurLevelRecord.proto @@ -1,31 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "TowerTeam.proto"; + +import "TowerTeam.proto"; option java_package = "emu.grasscutter.net.proto"; message TowerCurLevelRecord { - repeated uint32 buff_id_list = 14; - bool is_upper_part = 4; - uint32 cur_level_index = 6; - bool is_empty = 1; - repeated TowerTeam tower_team_list = 8; - uint32 cur_floor_id = 9; + repeated TowerTeam towerTeamList = 13; + uint32 curLevelIndex = 14; + repeated uint32 buffIdList = 12; + bool isUpperPart = 1; + bool isEmpty = 7; + uint32 curFloorId = 9; } diff --git a/proto/TowerCurLevelRecordChangeNotify.proto b/proto/TowerCurLevelRecordChangeNotify.proto index a62db3bf..40ad2a23 100644 --- a/proto/TowerCurLevelRecordChangeNotify.proto +++ b/proto/TowerCurLevelRecordChangeNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "TowerCurLevelRecord.proto"; + +import "TowerCurLevelRecord.proto"; option java_package = "emu.grasscutter.net.proto"; message TowerCurLevelRecordChangeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2456; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MOKEHFOFGCK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2487; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - TowerCurLevelRecord cur_level_record = 1; + TowerCurLevelRecord curLevelRecord = 5; } diff --git a/proto/TowerDailyRewardProgressChangeNotify.proto b/proto/TowerDailyRewardProgressChangeNotify.proto new file mode 100644 index 00000000..592ac852 --- /dev/null +++ b/proto/TowerDailyRewardProgressChangeNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TowerDailyRewardProgressChangeNotify { + enum JBLHPCOEIEG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2498; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 Unk3300_OHCHCJGJIDK = 4; + uint32 Unk3300_JBACKENDHDG = 3; +} diff --git a/proto/TowerEnterLevelReq.proto b/proto/TowerEnterLevelReq.proto index ac470de7..8e2ee197 100644 --- a/proto/TowerEnterLevelReq.proto +++ b/proto/TowerEnterLevelReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TowerEnterLevelReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2427; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum MFBIEBDFJHG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2424; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 enter_point_id = 3; + uint32 enterPointId = 9; } diff --git a/proto/TowerEnterLevelRsp.proto b/proto/TowerEnterLevelRsp.proto index 97bc4068..1cca48da 100644 --- a/proto/TowerEnterLevelRsp.proto +++ b/proto/TowerEnterLevelRsp.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TowerEnterLevelRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2439; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum EHMAHBOHHBD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2429; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 tower_buff_id_list = 5; - uint32 level_index = 3; - uint32 floor_id = 11; - int32 retcode = 14; + uint32 levelIndex = 15; + repeated uint32 towerBuffIdList = 6; + int32 retcode = 3; + uint32 floorId = 11; } diff --git a/proto/TowerFightRecordPair.proto b/proto/TowerFightRecordPair.proto new file mode 100644 index 00000000..f8f24956 --- /dev/null +++ b/proto/TowerFightRecordPair.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TowerFightRecordPair { + uint32 data = 12; + uint32 avatarId = 15; +} diff --git a/proto/TowerFloorRecord.proto b/proto/TowerFloorRecord.proto index 4eabcc98..54e4ba7b 100644 --- a/proto/TowerFloorRecord.proto +++ b/proto/TowerFloorRecord.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "TowerLevelRecord.proto"; + +import "TowerLevelRecord.proto"; option java_package = "emu.grasscutter.net.proto"; message TowerFloorRecord { - map passed_level_map = 11; - repeated TowerLevelRecord passed_level_record_list = 2; - uint32 floor_id = 12; - uint32 floor_star_reward_progress = 4; + uint32 floorStarRewardProgress = 4; + map passedLevelMap = 6; + repeated TowerLevelRecord passedLevelRecordList = 7; + uint32 floorId = 15; } diff --git a/proto/TowerFloorRecordChangeNotify.proto b/proto/TowerFloorRecordChangeNotify.proto index e718f9de..0d0c882d 100644 --- a/proto/TowerFloorRecordChangeNotify.proto +++ b/proto/TowerFloorRecordChangeNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "TowerFloorRecord.proto"; + +import "TowerFloorRecord.proto"; option java_package = "emu.grasscutter.net.proto"; message TowerFloorRecordChangeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2430; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum OAOPHOGEGKK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2455; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - bool is_finished_entrance_floor = 4; - repeated TowerFloorRecord tower_floor_record_list = 15; + bool isFinishedEntranceFloor = 11; + repeated TowerFloorRecord towerFloorRecordList = 12; } diff --git a/proto/TowerGetFloorStarRewardReq.proto b/proto/TowerGetFloorStarRewardReq.proto new file mode 100644 index 00000000..71a3e1f6 --- /dev/null +++ b/proto/TowerGetFloorStarRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TowerGetFloorStarRewardReq { + enum FINPOGPENHF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2425; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 floorId = 11; +} diff --git a/proto/TowerGetFloorStarRewardRsp.proto b/proto/TowerGetFloorStarRewardRsp.proto new file mode 100644 index 00000000..11be8a4f --- /dev/null +++ b/proto/TowerGetFloorStarRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TowerGetFloorStarRewardRsp { + enum FOAGNGJHLIC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2458; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 11; + uint32 floorId = 12; +} diff --git a/proto/TowerLevelEndNotify.proto b/proto/TowerLevelEndNotify.proto index 0cf22e8c..3653ce78 100644 --- a/proto/TowerLevelEndNotify.proto +++ b/proto/TowerLevelEndNotify.proto @@ -1,44 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ItemParam.proto"; + +import "ItemParam.proto"; option java_package = "emu.grasscutter.net.proto"; message TowerLevelEndNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2433; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum IFPGKDCLBID { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2445; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - enum ContinueStateType { - CONTINUE_STATE_TYPE_CAN_NOT_CONTINUE = 0; - CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_LEVEL = 1; - CONTINUE_STATE_TYPE_CAN_ENTER_NEXT_FLOOR = 2; - } - - uint32 continue_state = 2; - repeated uint32 finished_star_cond_list = 6; - uint32 next_floor_id = 4; - bool is_success = 15; - repeated ItemParam reward_item_list = 10; + repeated uint32 finishedStarCondList = 9; + uint32 nextFloorId = 12; + bool isSuccess = 15; + repeated ItemParam rewardItemList = 8; + uint32 continueState = 6; } diff --git a/proto/TowerLevelRecord.proto b/proto/TowerLevelRecord.proto index 41404e01..2fadba25 100644 --- a/proto/TowerLevelRecord.proto +++ b/proto/TowerLevelRecord.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TowerLevelRecord { - repeated uint32 satisfied_cond_list = 13; - uint32 level_id = 15; + uint32 levelId = 11; + repeated uint32 satisfiedCondList = 7; } diff --git a/proto/TowerLevelStarCondData.proto b/proto/TowerLevelStarCondData.proto index bd07e63f..81b5cd12 100644 --- a/proto/TowerLevelStarCondData.proto +++ b/proto/TowerLevelStarCondData.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TowerLevelStarCondData { - bool Unk3300_KBCFDFOAJMM = 14; - bool Unk3300_CPBCNACKAAK = 5; - uint32 Unk3300_JGOLBFMJBCL = 11; - uint32 cond_value = 12; + uint32 Unk3300_JGOLBFMJBCL = 5; + bool Unk3300_KBCFDFOAJMM = 1; + bool Unk3300_CPBCNACKAAK = 2; + uint32 condValue = 8; } diff --git a/proto/TowerLevelStarCondNotify.proto b/proto/TowerLevelStarCondNotify.proto index 932f5441..322d6b8b 100644 --- a/proto/TowerLevelStarCondNotify.proto +++ b/proto/TowerLevelStarCondNotify.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "TowerLevelStarCondData.proto"; + +import "TowerLevelStarCondData.proto"; option java_package = "emu.grasscutter.net.proto"; message TowerLevelStarCondNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2410; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum KNJDBJDODNE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2485; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated TowerLevelStarCondData cond_data_list = 1; - uint32 level_index = 8; - uint32 floor_id = 10; + uint32 floorId = 13; + uint32 levelIndex = 4; + repeated TowerLevelStarCondData condDataList = 15; } diff --git a/proto/TowerMiddleLevelChangeTeamNotify.proto b/proto/TowerMiddleLevelChangeTeamNotify.proto index 322d45aa..dc02593c 100644 --- a/proto/TowerMiddleLevelChangeTeamNotify.proto +++ b/proto/TowerMiddleLevelChangeTeamNotify.proto @@ -1,30 +1,16 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TowerMiddleLevelChangeTeamNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2480; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum GNODNFEDNIL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2451; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + } diff --git a/proto/TowerMonthlyBrief.proto b/proto/TowerMonthlyBrief.proto index 23234cd3..e54e73ed 100644 --- a/proto/TowerMonthlyBrief.proto +++ b/proto/TowerMonthlyBrief.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TowerMonthlyBrief { - uint32 best_floor_index = 3; - uint32 total_star_count = 6; - uint32 best_level_index = 9; - uint32 tower_schedule_id = 13; + uint32 bestLevelIndex = 11; + uint32 towerScheduleId = 7; + uint32 totalStarCount = 14; + uint32 bestFloorIndex = 8; } diff --git a/proto/TowerMonthlyCombatRecord.proto b/proto/TowerMonthlyCombatRecord.proto new file mode 100644 index 00000000..125e55a1 --- /dev/null +++ b/proto/TowerMonthlyCombatRecord.proto @@ -0,0 +1,15 @@ +syntax = "proto3"; + + + +import "TowerFightRecordPair.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TowerMonthlyCombatRecord { + TowerFightRecordPair Unk3300_KMCLPHEDNCJ = 10; + TowerFightRecordPair Unk3300_KIKPMNPKLDG = 8; + TowerFightRecordPair Unk3300_OALLHJPBOHO = 1; + TowerFightRecordPair Unk3300_EIGEGOGFJND = 11; + TowerFightRecordPair Unk3300_CCFHOFCIEPF = 4; + repeated TowerFightRecordPair mostRevealAvatarList = 7; +} diff --git a/proto/TowerMonthlyDetail.proto b/proto/TowerMonthlyDetail.proto new file mode 100644 index 00000000..7a5d92b3 --- /dev/null +++ b/proto/TowerMonthlyDetail.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "TowerMonthlyBrief.proto"; +import "TowerMonthlyCombatRecord.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TowerMonthlyDetail { + TowerMonthlyBrief monthlyBrief = 5; + TowerMonthlyCombatRecord monthlyCombatRecord = 1; +} diff --git a/proto/TowerRecordHandbookReq.proto b/proto/TowerRecordHandbookReq.proto new file mode 100644 index 00000000..f22b79f6 --- /dev/null +++ b/proto/TowerRecordHandbookReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TowerRecordHandbookReq { + enum OMOEJCLPBJF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2442; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/TowerRecordHandbookRsp.proto b/proto/TowerRecordHandbookRsp.proto new file mode 100644 index 00000000..cf942ccd --- /dev/null +++ b/proto/TowerRecordHandbookRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "TowerMonthlyDetail.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TowerRecordHandbookRsp { + enum DPDJGKLGMGD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2450; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated TowerMonthlyDetail monthlyDetailList = 8; + int32 retcode = 12; +} diff --git a/proto/TowerSurrenderReq.proto b/proto/TowerSurrenderReq.proto new file mode 100644 index 00000000..21885e0b --- /dev/null +++ b/proto/TowerSurrenderReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TowerSurrenderReq { + enum DBDGDJPHAEP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2492; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/TowerSurrenderRsp.proto b/proto/TowerSurrenderRsp.proto new file mode 100644 index 00000000..dcc591e2 --- /dev/null +++ b/proto/TowerSurrenderRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TowerSurrenderRsp { + enum NAINFGAMJJH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2488; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; +} diff --git a/proto/TowerTeam.proto b/proto/TowerTeam.proto index 61169ec2..5e2481fa 100644 --- a/proto/TowerTeam.proto +++ b/proto/TowerTeam.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TowerTeam { - repeated uint64 avatar_guid_list = 5; - uint32 tower_team_id = 14; + repeated uint64 avatarGuidList = 4; + uint32 towerTeamId = 10; } diff --git a/proto/TowerTeamSelectReq.proto b/proto/TowerTeamSelectReq.proto index 0246bcb9..8b5eea50 100644 --- a/proto/TowerTeamSelectReq.proto +++ b/proto/TowerTeamSelectReq.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "TowerTeam.proto"; + +import "TowerTeam.proto"; option java_package = "emu.grasscutter.net.proto"; message TowerTeamSelectReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2443; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum BMBNANNNFLH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2474; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated TowerTeam tower_team_list = 5; - uint32 floor_id = 10; + repeated TowerTeam towerTeamList = 1; + uint32 floorId = 11; } diff --git a/proto/TowerTeamSelectRsp.proto b/proto/TowerTeamSelectRsp.proto index f8ee80e9..e4f3f57e 100644 --- a/proto/TowerTeamSelectRsp.proto +++ b/proto/TowerTeamSelectRsp.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TowerTeamSelectRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2461; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum PBICDAPPBOM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2480; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 15; + int32 retcode = 6; } diff --git a/proto/TrackingIOInfo.proto b/proto/TrackingIOInfo.proto index e0bd4edb..1724942c 100644 --- a/proto/TrackingIOInfo.proto +++ b/proto/TrackingIOInfo.proto @@ -1,30 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TrackingIOInfo { - string client_tz = 10; - string Unk3300_PIBFPDAMJLE = 12; - string Unk3300_NMDNLHLAKAM = 7; - string rydevicetype = 5; - string Unk3300_CNPIGDOEJPB = 2; - string Unk3300_CCOGBICMHKG = 9; - string Unk3300_DJHKHEFPCDK = 1; + string rydevicetype = 2; + string clientTz = 6; + string Unk3300_CCOGBICMHKG = 15; + string Unk3300_NMDNLHLAKAM = 11; + string Unk3300_PIBFPDAMJLE = 5; + string Unk3300_DJHKHEFPCDK = 9; + string Unk3300_CNPIGDOEJPB = 3; } diff --git a/proto/TransmitReason.proto b/proto/TransmitReason.proto new file mode 100644 index 00000000..f1978879 --- /dev/null +++ b/proto/TransmitReason.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +enum TransmitReason { + TRANSMIT_REASON_NONE = 0; + TRANSMIT_REASON_QUEST = 1; +} diff --git a/proto/TreasureMapActivityDetailInfo.proto b/proto/TreasureMapActivityDetailInfo.proto index 5ee83f05..99e0a82e 100644 --- a/proto/TreasureMapActivityDetailInfo.proto +++ b/proto/TreasureMapActivityDetailInfo.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "TreasureMapBonusChallengeInfo.proto"; -import "TreasureMapRegionInfo.proto"; + +import "TreasureMapRegionInfo.proto"; +import "TreasureMapBonusChallengeInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message TreasureMapActivityDetailInfo { - bool is_mp_challenge_touched = 15; - uint32 total_mp_spot_num = 12; - uint32 active_region_index = 3; - repeated TreasureMapBonusChallengeInfo bonus_challenge_list = 13; - uint32 min_open_player_level = 8; - uint32 preview_reward_id = 2; - uint32 treasure_close_time = 1; - uint32 currency_num = 4; - repeated TreasureMapRegionInfo region_info_list = 11; + bool isMpChallengeTouched = 6; + uint32 totalMpSpotNum = 14; + repeated TreasureMapRegionInfo regionInfoList = 7; + uint32 currencyNum = 1; + uint32 minOpenPlayerLevel = 3; + uint32 activeRegionIndex = 2; + repeated TreasureMapBonusChallengeInfo bonusChallengeList = 15; + uint32 previewRewardId = 12; + uint32 treasureCloseTime = 5; } diff --git a/proto/TreasureMapBonusChallengeInfo.proto b/proto/TreasureMapBonusChallengeInfo.proto index 6507710f..672ff35f 100644 --- a/proto/TreasureMapBonusChallengeInfo.proto +++ b/proto/TreasureMapBonusChallengeInfo.proto @@ -1,28 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TreasureMapBonusChallengeInfo { - bool is_done = 5; - uint32 solution_id = 15; - map fragment_map = 11; - bool is_active = 13; - uint32 config_id = 10; + bool isActive = 5; + map fragmentMap = 13; + uint32 solutionId = 14; + bool isDone = 2; + uint32 configId = 9; } diff --git a/proto/TreasureMapBonusChallengeNotify.proto b/proto/TreasureMapBonusChallengeNotify.proto new file mode 100644 index 00000000..b7ec82a5 --- /dev/null +++ b/proto/TreasureMapBonusChallengeNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "TreasureMapBonusChallengeInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TreasureMapBonusChallengeNotify { + enum LAEPLOHMHNK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2056; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + TreasureMapBonusChallengeInfo info = 5; +} diff --git a/proto/TreasureMapCurrencyNotify.proto b/proto/TreasureMapCurrencyNotify.proto new file mode 100644 index 00000000..b8a41931 --- /dev/null +++ b/proto/TreasureMapCurrencyNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TreasureMapCurrencyNotify { + enum IPPBCDKJHAM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2038; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 currencyNum = 13; +} diff --git a/proto/TreasureMapDetectorData.proto b/proto/TreasureMapDetectorData.proto new file mode 100644 index 00000000..08519f62 --- /dev/null +++ b/proto/TreasureMapDetectorData.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TreasureMapDetectorData { + repeated Rotation spotList = 15; + uint32 regionId = 6; + uint32 radius = 7; + Rotation centerPos = 8; + bool isRegionDetected = 12; +} diff --git a/proto/TreasureMapDetectorDataNotify.proto b/proto/TreasureMapDetectorDataNotify.proto new file mode 100644 index 00000000..4e22fa88 --- /dev/null +++ b/proto/TreasureMapDetectorDataNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "TreasureMapDetectorData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TreasureMapDetectorDataNotify { + enum FDJPKJJFKJF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4298; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + TreasureMapDetectorData data = 6; +} diff --git a/proto/TreasureMapGuideTaskDoneNotify.proto b/proto/TreasureMapGuideTaskDoneNotify.proto new file mode 100644 index 00000000..51c99eda --- /dev/null +++ b/proto/TreasureMapGuideTaskDoneNotify.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TreasureMapGuideTaskDoneNotify { + enum GLFALFIHDME { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2053; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + +} diff --git a/proto/TreasureMapHostInfoNotify.proto b/proto/TreasureMapHostInfoNotify.proto new file mode 100644 index 00000000..e55a8f61 --- /dev/null +++ b/proto/TreasureMapHostInfoNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TreasureMapHostInfoNotify { + enum MCEBPNGIEEH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8218; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 mpChallengeRegionList = 15; +} diff --git a/proto/TreasureMapInfo.proto b/proto/TreasureMapInfo.proto new file mode 100644 index 00000000..6435be65 --- /dev/null +++ b/proto/TreasureMapInfo.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "TreasureMapRegionInfo.proto"; +import "TreasureMapBonusChallengeInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TreasureMapInfo { + bool isMpChallengeTouched = 6; + uint32 totalMpSpotNum = 14; + repeated TreasureMapRegionInfo regionInfoList = 7; + uint32 currencyNum = 1; + uint32 minOpenPlayerLevel = 3; + uint32 activeRegionIndex = 2; + repeated TreasureMapBonusChallengeInfo bonusChallengeList = 15; + uint32 previewRewardId = 12; + uint32 treasureCloseTime = 5; +} diff --git a/proto/TreasureMapMpChallengeNotify.proto b/proto/TreasureMapMpChallengeNotify.proto new file mode 100644 index 00000000..203c8d7d --- /dev/null +++ b/proto/TreasureMapMpChallengeNotify.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TreasureMapMpChallengeNotify { + enum JDKNMCOCBLM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2054; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + +} diff --git a/proto/TreasureMapPreTaskDoneNotify.proto b/proto/TreasureMapPreTaskDoneNotify.proto new file mode 100644 index 00000000..50ad674e --- /dev/null +++ b/proto/TreasureMapPreTaskDoneNotify.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TreasureMapPreTaskDoneNotify { + enum HINCOLJFODF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2097; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + +} diff --git a/proto/TreasureMapRegionActiveNotify.proto b/proto/TreasureMapRegionActiveNotify.proto new file mode 100644 index 00000000..f92f49c7 --- /dev/null +++ b/proto/TreasureMapRegionActiveNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TreasureMapRegionActiveNotify { + enum HCPGMIOHJOH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2177; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 activeRegionIndex = 14; +} diff --git a/proto/TreasureMapRegionInfo.proto b/proto/TreasureMapRegionInfo.proto index 99eeedc0..1fa15a1c 100644 --- a/proto/TreasureMapRegionInfo.proto +++ b/proto/TreasureMapRegionInfo.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message TreasureMapRegionInfo { - uint32 region_radius = 13; - uint32 region_id = 10; - Vector region_center_pos = 5; - bool Unk3300_HHBHLPHLHIL = 6; - uint32 start_time = 8; - uint32 Unk3300_LKEMEDPMIGM = 3; - bool Unk3300_NIBJOAJLCJI = 1; - uint32 scene_id = 12; - uint32 Unk3300_MNEKJILFHOA = 2; + uint32 Unk3300_LKEMEDPMIGM = 5; + uint32 Unk3300_MNEKJILFHOA = 12; + uint32 startTime = 6; + uint32 sceneId = 1; + uint32 regionId = 14; + uint32 regionRadius = 8; + bool Unk3300_HHBHLPHLHIL = 15; + bool Unk3300_NIBJOAJLCJI = 2; + Rotation regionCenterPos = 13; } diff --git a/proto/TreasureMapRegionInfoNotify.proto b/proto/TreasureMapRegionInfoNotify.proto index e5e5d084..1565f717 100644 --- a/proto/TreasureMapRegionInfoNotify.proto +++ b/proto/TreasureMapRegionInfoNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "TreasureMapRegionInfo.proto"; + +import "TreasureMapRegionInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message TreasureMapRegionInfoNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2179; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum ADDFACKEHCF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2064; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - TreasureMapRegionInfo region_info = 7; + TreasureMapRegionInfo regionInfo = 6; } diff --git a/proto/TreasureSeelieActivityDetailInfo.proto b/proto/TreasureSeelieActivityDetailInfo.proto index cb01d141..85145801 100644 --- a/proto/TreasureSeelieActivityDetailInfo.proto +++ b/proto/TreasureSeelieActivityDetailInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "TreasureSeelieRegionData.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message TreasureSeelieActivityDetailInfo { diff --git a/proto/TreasureSeelieCollectOrbsNotify.proto b/proto/TreasureSeelieCollectOrbsNotify.proto new file mode 100644 index 00000000..b2717b90 --- /dev/null +++ b/proto/TreasureSeelieCollectOrbsNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TreasureSeelieCollectOrbsNotify { + enum DOKOIKJLHCC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23448; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 currentNum = 1; + uint32 totalNum = 9; +} diff --git a/proto/TreasureSeelieInfo.proto b/proto/TreasureSeelieInfo.proto new file mode 100644 index 00000000..8f29b95d --- /dev/null +++ b/proto/TreasureSeelieInfo.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TreasureSeelieInfo { + uint32 progress = 11; + uint32 goal = 2; +} diff --git a/proto/TreasureSeelieRegionData.proto b/proto/TreasureSeelieRegionData.proto index 50ca7b44..40f400a8 100644 --- a/proto/TreasureSeelieRegionData.proto +++ b/proto/TreasureSeelieRegionData.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message TreasureSeelieRegionData { - uint32 region_id = 15; - bool is_open = 1; - uint32 open_time = 11; - Vector region_center_pos = 9; - uint32 Unk3300_CPHOJNMEDBC = 8; - float region_radius = 6; - uint32 Unk3300_KGECOIIKJLJ = 5; - uint32 Unk3300_AFAMHPCEIKP = 14; - bool is_done = 10; - uint32 scene_id = 3; + bool isDone = 8; + uint32 jabbjfmhomi = 9; + float regionRadius = 12; + uint32 openTime = 5; + bool isOpen = 1; + Rotation regionCenterPos = 6; + uint32 hljigeeodbh = 10; + uint32 sceneId = 4; + uint32 eipilegbijp = 3; + uint32 regionId = 13; } diff --git a/proto/TrialAvatarActivityDetailInfo.proto b/proto/TrialAvatarActivityDetailInfo.proto index 5a37dc81..3661ba38 100644 --- a/proto/TrialAvatarActivityDetailInfo.proto +++ b/proto/TrialAvatarActivityDetailInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "TrialAvatarActivityRewardDetailInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message TrialAvatarActivityDetailInfo { diff --git a/proto/TrialAvatarActivityRewardDetailInfo.proto b/proto/TrialAvatarActivityRewardDetailInfo.proto index a678e27a..74e15b1d 100644 --- a/proto/TrialAvatarActivityRewardDetailInfo.proto +++ b/proto/TrialAvatarActivityRewardDetailInfo.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TrialAvatarActivityRewardDetailInfo { - uint32 trial_avatar_index_id = 4; - bool received_reward = 14; - bool passed_dungeon = 5; - uint32 reward_id = 11; + uint32 trialAvatarIndexId = 5; + bool opecleddeom = 2; + uint32 rewardId = 7; + bool jbghkencdaj = 14; } diff --git a/proto/TrialAvatarFirstPassDungeonNotify.proto b/proto/TrialAvatarFirstPassDungeonNotify.proto index c15b7a80..e8a5959f 100644 --- a/proto/TrialAvatarFirstPassDungeonNotify.proto +++ b/proto/TrialAvatarFirstPassDungeonNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TrialAvatarFirstPassDungeonNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2134; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum CIGCJMPBLBJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2175; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 trial_avatar_index_id = 1; + uint32 trialAvatarIndexId = 9; } diff --git a/proto/TrialAvatarGrantRecord.proto b/proto/TrialAvatarGrantRecord.proto index 362a5322..1a84694c 100644 --- a/proto/TrialAvatarGrantRecord.proto +++ b/proto/TrialAvatarGrantRecord.proto @@ -1,42 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TrialAvatarGrantRecord { - enum GrantReason { - GRANT_REASON_INVALID = 0; - GRANT_REASON_BY_QUEST = 1; - GRANT_REASON_BY_TRIAL_AVATAR_ACTIVITY = 2; - GRANT_REASON_BY_DUNGEON_ELEMENT_CHALLENGE = 3; - GRANT_REASON_BY_MIST_TRIAL_ACTIVITY = 4; - GRANT_REASON_BY_SUMO_ACTIVITY = 5; - GRANT_REASON_BY_POTION_ACTIVITY = 6; - GRANT_REASON_BY_CRYSTAL_LINK_ACTIVITY = 7; - GRANT_REASON_BY_IRODORI_MASTER = 8; - GRANT_REASON_BY_GM = 9; - GRANT_REASON_BY_INSTABLE_SPRAY_ACTIVITY = 10; - GRANT_REASON_BY_MUQADAS_POTION_ACTIVITY = 11; - GRANT_REASON_BY_VINTAGE_HUNTING = 12; - GRANT_REASON_BY_CHAR_AMUSEMENT = 13; - } - - uint32 grant_reason = 1; - uint32 from_parent_quest_id = 2; + uint32 dglgipiglnd = 1; + uint32 calgbbolcpn = 2; } diff --git a/proto/TrialAvatarInDungeonIndexNotify.proto b/proto/TrialAvatarInDungeonIndexNotify.proto new file mode 100644 index 00000000..5e8fd33e --- /dev/null +++ b/proto/TrialAvatarInDungeonIndexNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TrialAvatarInDungeonIndexNotify { + enum IGBDHEMHNLG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2078; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 trialAvatarIndexId = 9; +} diff --git a/proto/TrialAvatarInfo.proto b/proto/TrialAvatarInfo.proto index 27f481f3..dddca530 100644 --- a/proto/TrialAvatarInfo.proto +++ b/proto/TrialAvatarInfo.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Item.proto"; -import "TrialAvatarGrantRecord.proto"; + +import "TrialAvatarGrantRecord.proto"; +import "TrifleItem.proto"; option java_package = "emu.grasscutter.net.proto"; message TrialAvatarInfo { - uint32 trial_avatar_id = 1; - repeated Item trial_equip_list = 2; - TrialAvatarGrantRecord grant_record = 3; + uint32 trialAvatarId = 1; + repeated TrifleItem trialEquipList = 2; + TrialAvatarGrantRecord grantRecord = 3; } diff --git a/proto/TrifleItem.proto b/proto/TrifleItem.proto new file mode 100644 index 00000000..c39cf955 --- /dev/null +++ b/proto/TrifleItem.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "Material.proto"; +import "Equip.proto"; +import "Furniture.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message TrifleItem { + uint32 itemId = 1; + uint64 guid = 2; + oneof NNFJENNPJMK { + Material material = 5; + Equip equip = 6; + Furniture furniture = 7; + } +} diff --git a/proto/TriggerCreateGadgetToEquipPartNotify.proto b/proto/TriggerCreateGadgetToEquipPartNotify.proto index fe487648..c42a65bc 100644 --- a/proto/TriggerCreateGadgetToEquipPartNotify.proto +++ b/proto/TriggerCreateGadgetToEquipPartNotify.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TriggerCreateGadgetToEquipPartNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 346; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum OLMAAKGICCK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 342; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 gadget_entity_id = 1; - string equip_part = 12; - uint32 entity_id = 6; - uint32 gadget_id = 11; + uint32 entityId = 3; + uint32 gadgetId = 5; + uint32 gadgetEntityId = 4; + string equipPart = 7; } diff --git a/proto/TriggerRoguelikeCurseNotify.proto b/proto/TriggerRoguelikeCurseNotify.proto new file mode 100644 index 00000000..3b9f60ca --- /dev/null +++ b/proto/TriggerRoguelikeCurseNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TriggerRoguelikeCurseNotify { + enum IGPBIGLKIEI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8642; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool isTriggerCurse = 7; + uint32 Unk3300_POLIENBCNLF = 13; + repeated uint32 effectParamList = 6; + uint32 Unk3300_LJHJIBDPBBC = 5; +} diff --git a/proto/TriggerRoguelikeRuneReq.proto b/proto/TriggerRoguelikeRuneReq.proto new file mode 100644 index 00000000..d6e428f1 --- /dev/null +++ b/proto/TriggerRoguelikeRuneReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TriggerRoguelikeRuneReq { + enum AIOMOHFCIDF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8915; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 runeId = 8; +} diff --git a/proto/TriggerRoguelikeRuneRsp.proto b/proto/TriggerRoguelikeRuneRsp.proto new file mode 100644 index 00000000..4d6c6b50 --- /dev/null +++ b/proto/TriggerRoguelikeRuneRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TriggerRoguelikeRuneRsp { + enum OIHAKOPDPCG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8390; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 availableCount = 11; + uint32 runeId = 2; + int32 retcode = 7; +} diff --git a/proto/TryCustomDungeonReq.proto b/proto/TryCustomDungeonReq.proto new file mode 100644 index 00000000..f71a5490 --- /dev/null +++ b/proto/TryCustomDungeonReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TryCustomDungeonReq { + enum NENHPJDGAAE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6240; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 roomId = 9; +} diff --git a/proto/TryCustomDungeonRsp.proto b/proto/TryCustomDungeonRsp.proto new file mode 100644 index 00000000..42e026fb --- /dev/null +++ b/proto/TryCustomDungeonRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TryCustomDungeonRsp { + enum OMGIOMPJLGE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6237; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 roomId = 13; + int32 retcode = 9; +} diff --git a/proto/TryCustomDungeonType.proto b/proto/TryCustomDungeonType.proto new file mode 100644 index 00000000..4f187cd4 --- /dev/null +++ b/proto/TryCustomDungeonType.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +enum TryCustomDungeonType { + TRY_CUSTOM_DUNGEON_TYPE_NONE = 0; + TRY_CUSTOM_DUNGEON_TYPE_ROOM = 1; + TRY_CUSTOM_DUNGEON_TYPE_ALL = 2; + TRY_CUSTOM_DUNGEON_TYPE_OFFICIAL_PLAY = 3; +} diff --git a/proto/TryEnterHomeReq.proto b/proto/TryEnterHomeReq.proto index af408481..64344261 100644 --- a/proto/TryEnterHomeReq.proto +++ b/proto/TryEnterHomeReq.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TryEnterHomeReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4648; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum PIDLCBDIAGA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4455; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - bool is_transfer_to_safe_point = 13; - uint32 target_point = 10; - uint32 target_uid = 1; + uint32 targetPoint = 11; + bool isTransferToSafePoint = 4; + uint32 targetUid = 6; } diff --git a/proto/TryEnterHomeRsp.proto b/proto/TryEnterHomeRsp.proto index 62428277..52f5d8f0 100644 --- a/proto/TryEnterHomeRsp.proto +++ b/proto/TryEnterHomeRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message TryEnterHomeRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4796; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HFBHBGNLNMK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4820; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 param_list = 11; - uint32 target_uid = 2; - int32 retcode = 4; + uint32 targetUid = 15; + repeated uint32 paramList = 10; + int32 retcode = 12; } diff --git a/proto/TryEnterNextRogueDiaryDungeonReq.proto b/proto/TryEnterNextRogueDiaryDungeonReq.proto new file mode 100644 index 00000000..91686886 --- /dev/null +++ b/proto/TryEnterNextRogueDiaryDungeonReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TryEnterNextRogueDiaryDungeonReq { + enum LPIPLKHNHAK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8960; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/TryEnterNextRogueDiaryDungeonRsp.proto b/proto/TryEnterNextRogueDiaryDungeonRsp.proto new file mode 100644 index 00000000..7ff4987d --- /dev/null +++ b/proto/TryEnterNextRogueDiaryDungeonRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TryEnterNextRogueDiaryDungeonRsp { + enum HMGBLNBCNAJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8659; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 13; +} diff --git a/proto/TryInterruptRogueDiaryDungeonReq.proto b/proto/TryInterruptRogueDiaryDungeonReq.proto new file mode 100644 index 00000000..344b15c1 --- /dev/null +++ b/proto/TryInterruptRogueDiaryDungeonReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TryInterruptRogueDiaryDungeonReq { + enum LFNDPMBPDHJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8804; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/TryInterruptRogueDiaryDungeonRsp.proto b/proto/TryInterruptRogueDiaryDungeonRsp.proto new file mode 100644 index 00000000..ac2c4254 --- /dev/null +++ b/proto/TryInterruptRogueDiaryDungeonRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message TryInterruptRogueDiaryDungeonRsp { + enum DCJALJLMCKG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8184; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 1; +} diff --git a/proto/Type.proto b/proto/Type.proto new file mode 100644 index 00000000..487a12dc --- /dev/null +++ b/proto/Type.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum Type { + TYPE_NULL = 0; + TYPE_ACTIVE = 1; + TYPE_PASSIVE = 2; +} diff --git a/proto/UgcActivityDetailInfo.proto b/proto/UgcActivityDetailInfo.proto index 96de8285..d96b4086 100644 --- a/proto/UgcActivityDetailInfo.proto +++ b/proto/UgcActivityDetailInfo.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "OfficialCustomDungeon.proto"; + +import "OfficialCustomDungeon.proto"; option java_package = "emu.grasscutter.net.proto"; message UgcActivityDetailInfo { - bool is_enable_ugc = 14; - repeated OfficialCustomDungeon official_custom_dungeon_list = 10; - uint32 custom_dungeon_group_id = 4; - bool is_ugc_feature_closed = 9; + bool isUgcFeatureClosed = 5; + repeated OfficialCustomDungeon officialCustomDungeonList = 10; + bool isEnableUgc = 15; + uint32 customDungeonGroupId = 3; } diff --git a/proto/UgcInfo.proto b/proto/UgcInfo.proto new file mode 100644 index 00000000..307f2701 --- /dev/null +++ b/proto/UgcInfo.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "OfficialCustomDungeon.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message UgcInfo { + bool isUgcFeatureClosed = 5; + repeated OfficialCustomDungeon officialCustomDungeonList = 10; + bool isEnableUgc = 15; + uint32 customDungeonGroupId = 3; +} diff --git a/proto/UgcMusicBriefInfo.proto b/proto/UgcMusicBriefInfo.proto index 02f501bc..f903b345 100644 --- a/proto/UgcMusicBriefInfo.proto +++ b/proto/UgcMusicBriefInfo.proto @@ -1,43 +1,28 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message UgcMusicBriefInfo { - uint32 Unk3300_OJOKFBJALIJ = 12; - bool Unk3300_NCDKCNOLGKB = 15; - uint32 Unk3300_KMMBLIMKJCM = 5; - repeated uint32 Unk3300_JEEBFPFEHHG = 526; - uint32 Unk3300_EGIGIOOKBAB = 42; - repeated uint32 Unk3300_HKBHAIMOBKO = 65; - uint32 Unk3300_MBKDGBNFPOA = 1625; - uint64 import_from_ugc_guid = 13; - uint64 ugc_guid = 8; - uint32 Unk3300_PBENMAHHGIL = 7; - bool Unk3300_FKIGPAJFPLG = 3; - uint32 version = 11; - bool is_psn_platform = 2; - uint32 Unk3300_PLNOFOHFAPE = 4; - uint32 Unk3300_CCMMPAHIMDO = 95; - string creator_nickname = 9; - uint32 music_id = 6; - bool Unk3300_GDNAPNAINBA = 10; - uint32 max_score = 1; - uint32 Unk3300_OBBMCFADNIN = 14; + uint64 ugcGuid = 8; + uint32 Unk3300_CCMMPAHIMDO = 88; + uint32 Unk3300_PLNOFOHFAPE = 15; + repeated uint32 Unk3300_HKBHAIMOBKO = 1363; + bool Unk3300_FKIGPAJFPLG = 5; + uint64 importFromUgcGuid = 6; + uint32 musicId = 14; + repeated uint32 Unk3300_JEEBFPFEHHG = 1062; + uint32 Unk3300_MBKDGBNFPOA = 1837; + uint32 Unk3300_OJOKFBJALIJ = 7; + uint32 Unk3300_EGIGIOOKBAB = 287; + uint32 Unk3300_OBBMCFADNIN = 2; + uint32 Unk3300_PBENMAHHGIL = 9; + bool Unk3300_NCDKCNOLGKB = 4; + uint32 version = 1; + string creatorNickname = 3; + bool Unk3300_GDNAPNAINBA = 11; + uint32 maxScore = 12; + uint32 Unk3300_KMMBLIMKJCM = 10; + bool isPsnPlatform = 13; } diff --git a/proto/UgcMusicNote.proto b/proto/UgcMusicNote.proto index b02ad113..539d82fa 100644 --- a/proto/UgcMusicNote.proto +++ b/proto/UgcMusicNote.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message UgcMusicNote { - uint32 start_time = 11; - uint32 end_time = 9; + uint32 startTime = 3; + uint32 endTime = 5; } diff --git a/proto/UgcMusicRecord.proto b/proto/UgcMusicRecord.proto index a6923e1f..9b1175c8 100644 --- a/proto/UgcMusicRecord.proto +++ b/proto/UgcMusicRecord.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "UgcMusicTrack.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message UgcMusicRecord { diff --git a/proto/UgcMusicTrack.proto b/proto/UgcMusicTrack.proto index 95f3b5cf..979c7d09 100644 --- a/proto/UgcMusicTrack.proto +++ b/proto/UgcMusicTrack.proto @@ -1,26 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "UgcMusicNote.proto"; + +import "UgcMusicNote.proto"; option java_package = "emu.grasscutter.net.proto"; message UgcMusicTrack { - repeated UgcMusicNote music_note_list = 6; + repeated UgcMusicNote musicNoteList = 13; } diff --git a/proto/UgcNotify.proto b/proto/UgcNotify.proto new file mode 100644 index 00000000..236a3126 --- /dev/null +++ b/proto/UgcNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message UgcNotify { + enum HIFIPOHDLOE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 6337; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + bool Unk3300_IBLDINGJJFI = 13; + bool Unk3300_KPABJPMLHCD = 5; + bool isUgcFeatureClosed = 10; +} diff --git a/proto/UgcType.proto b/proto/UgcType.proto index b7222039..cafcd3cf 100644 --- a/proto/UgcType.proto +++ b/proto/UgcType.proto @@ -1,25 +1,8 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum UgcType { - UGC_TYPE_NONE = 0; - UGC_TYPE_MUSIC_GAME = 1; + UGC_TYPE_NONE = 0; + UGC_TYPE_MUSIC_GAME = 1; } diff --git a/proto/Uint32Pair.proto b/proto/Uint32Pair.proto index f2ae2ace..530280be 100644 --- a/proto/Uint32Pair.proto +++ b/proto/Uint32Pair.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message Uint32Pair { - uint32 key = 1; - uint32 value = 2; + uint32 key = 1; + uint32 value = 2; } diff --git a/proto/UnfreezeGroupLimitNotify.proto b/proto/UnfreezeGroupLimitNotify.proto new file mode 100644 index 00000000..64feb31b --- /dev/null +++ b/proto/UnfreezeGroupLimitNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message UnfreezeGroupLimitNotify { + enum HOPCOBIOEBG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3346; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 sceneId = 10; + uint32 pointId = 13; +} diff --git a/proto/UnionCmd.proto b/proto/UnionCmd.proto index 390ef370..5fb7b9f5 100644 --- a/proto/UnionCmd.proto +++ b/proto/UnionCmd.proto @@ -1,25 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + +import "bytes.proto"; option java_package = "emu.grasscutter.net.proto"; message UnionCmd { - bytes body = 3; - uint32 message_id = 4; + uint32 messageId = 3; + bytes body = 5; } diff --git a/proto/UnionCmdNotify.proto b/proto/UnionCmdNotify.proto index 9337a8af..0fc13d9e 100644 --- a/proto/UnionCmdNotify.proto +++ b/proto/UnionCmdNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "UnionCmd.proto"; + +import "UnionCmd.proto"; option java_package = "emu.grasscutter.net.proto"; message UnionCmdNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 42; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum OANLGMEKDIP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 69; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated UnionCmd cmd_list = 7; + repeated UnionCmd cmdList = 11; } diff --git a/proto/Unk2700_GBBDJMDIDEI.proto b/proto/Unk2700_GBBDJMDIDEI.proto index 87701579..bcadce37 100644 --- a/proto/Unk2700_GBBDJMDIDEI.proto +++ b/proto/Unk2700_GBBDJMDIDEI.proto @@ -17,6 +17,7 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message Unk2700_GBBDJMDIDEI { diff --git a/proto/Unk3300_ADHENCIFKNI.proto b/proto/Unk3300_ADHENCIFKNI.proto new file mode 100644 index 00000000..617b0c76 --- /dev/null +++ b/proto/Unk3300_ADHENCIFKNI.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message Unk3300_ADHENCIFKNI { + uint64 timeStamp = 14; + uint32 controllerId = 4; + uint64 beginTime = 12; +} diff --git a/proto/Unk3300_DGBNCDEIIFC.proto b/proto/Unk3300_DGBNCDEIIFC.proto new file mode 100644 index 00000000..54358772 --- /dev/null +++ b/proto/Unk3300_DGBNCDEIIFC.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "PlatformType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message Unk3300_DGBNCDEIIFC { + enum NOBHCGGEENL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 960; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 monsterIdList = 8; + repeated PlatformType pgnajgkggih = 3; +} diff --git a/proto/Unk3300_ICAGMOCOALO.proto b/proto/Unk3300_ICAGMOCOALO.proto new file mode 100644 index 00000000..de892b34 --- /dev/null +++ b/proto/Unk3300_ICAGMOCOALO.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message Unk3300_ICAGMOCOALO { + enum BLAFLFHMGNI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4156; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 matchId = 10; +} diff --git a/proto/UnlockAvatarTalentReq.proto b/proto/UnlockAvatarTalentReq.proto index 0a57b921..bbb12d35 100644 --- a/proto/UnlockAvatarTalentReq.proto +++ b/proto/UnlockAvatarTalentReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message UnlockAvatarTalentReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1079; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum CBPFGLOENKC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1005; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 talent_id = 11; - uint64 avatar_guid = 2; + uint32 talentId = 9; + uint64 avatarGuid = 1; } diff --git a/proto/UnlockAvatarTalentRsp.proto b/proto/UnlockAvatarTalentRsp.proto index d13d7e5e..5c0e67ad 100644 --- a/proto/UnlockAvatarTalentRsp.proto +++ b/proto/UnlockAvatarTalentRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message UnlockAvatarTalentRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1030; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum DCIFFOCCBNH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1055; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 talent_id = 14; - uint64 avatar_guid = 1; - int32 retcode = 3; + int32 retcode = 1; + uint64 avatarGuid = 13; + uint32 talentId = 2; } diff --git a/proto/UnlockCoopChapterReq.proto b/proto/UnlockCoopChapterReq.proto new file mode 100644 index 00000000..eab92dd5 --- /dev/null +++ b/proto/UnlockCoopChapterReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message UnlockCoopChapterReq { + enum CNJICGIGCPK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1952; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 chapterId = 2; +} diff --git a/proto/UnlockCoopChapterRsp.proto b/proto/UnlockCoopChapterRsp.proto new file mode 100644 index 00000000..6018ad69 --- /dev/null +++ b/proto/UnlockCoopChapterRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message UnlockCoopChapterRsp { + enum NFADBNDLOKO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1990; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 6; + uint32 chapterId = 15; +} diff --git a/proto/UnlockNameCardNotify.proto b/proto/UnlockNameCardNotify.proto index 3fefd874..5ecec067 100644 --- a/proto/UnlockNameCardNotify.proto +++ b/proto/UnlockNameCardNotify.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message UnlockNameCardNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4010; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum IPFDAEJJCCP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4085; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 name_card_id = 3; + uint32 nameCardId = 5; } diff --git a/proto/UnlockPersonalLineReq.proto b/proto/UnlockPersonalLineReq.proto index 1f26206e..d0affe0f 100644 --- a/proto/UnlockPersonalLineReq.proto +++ b/proto/UnlockPersonalLineReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message UnlockPersonalLineReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 415; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum JOMLLBFIOPO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 452; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 personal_line_id = 4; + uint32 personalLineId = 7; } diff --git a/proto/UnlockPersonalLineRsp.proto b/proto/UnlockPersonalLineRsp.proto index 0f53b78e..79717cac 100644 --- a/proto/UnlockPersonalLineRsp.proto +++ b/proto/UnlockPersonalLineRsp.proto @@ -1,37 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message UnlockPersonalLineRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 421; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum IMFOFCFGBJP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 403; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 personal_line_id = 4; - int32 retcode = 12; - oneof param { - uint32 level = 10; - uint32 chapter_id = 3; - } + int32 retcode = 5; + uint32 personalLineId = 6; + oneof LHEKAHHHJLL { + uint32 level = 3; + uint32 chapter_id = 14; + } } diff --git a/proto/UnlockTransPointReq.proto b/proto/UnlockTransPointReq.proto index 8b83ae50..de5447ae 100644 --- a/proto/UnlockTransPointReq.proto +++ b/proto/UnlockTransPointReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message UnlockTransPointReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 3200; - // ENET_CHANNEL_ID = 1; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum ILJGMGBAMJF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3354; + DCDNILFDFLB = 1; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 scene_id = 10; - uint32 point_id = 2; + uint32 pointId = 4; + uint32 sceneId = 6; } diff --git a/proto/UnlockTransPointRsp.proto b/proto/UnlockTransPointRsp.proto index e4a80a4f..8eb2a43e 100644 --- a/proto/UnlockTransPointRsp.proto +++ b/proto/UnlockTransPointRsp.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message UnlockTransPointRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 3046; - // ENET_CHANNEL_ID = 1; - // ENET_IS_RELIABLE = 1; - // } + enum KKBODGHFJLF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3057; + DCDNILFDFLB = 1; + NNBKOLMPOEA = 1; + } - int32 retcode = 1; + int32 retcode = 3; } diff --git a/proto/UnlockedFurnitureFormulaDataNotify.proto b/proto/UnlockedFurnitureFormulaDataNotify.proto index 9e8874d4..f8dac658 100644 --- a/proto/UnlockedFurnitureFormulaDataNotify.proto +++ b/proto/UnlockedFurnitureFormulaDataNotify.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message UnlockedFurnitureFormulaDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4716; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum DINCNPCMJEC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4510; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - bool is_all = 4; - repeated uint32 furniture_id_list = 2; + bool isAll = 14; + repeated uint32 furnitureIdList = 8; } diff --git a/proto/UnlockedFurnitureSuiteDataNotify.proto b/proto/UnlockedFurnitureSuiteDataNotify.proto index a4201e60..2406c37c 100644 --- a/proto/UnlockedFurnitureSuiteDataNotify.proto +++ b/proto/UnlockedFurnitureSuiteDataNotify.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message UnlockedFurnitureSuiteDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4532; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MOMBAIFGLCB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4475; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - bool is_all = 1; - repeated uint32 furniture_suite_id_list = 3; + repeated uint32 furnitureSuiteIdList = 12; + bool isAll = 9; } diff --git a/proto/UnmarkEntityInMinMapNotify.proto b/proto/UnmarkEntityInMinMapNotify.proto new file mode 100644 index 00000000..d56cab30 --- /dev/null +++ b/proto/UnmarkEntityInMinMapNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message UnmarkEntityInMinMapNotify { + enum ENPKIIMAJAK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 223; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 entityId = 2; +} diff --git a/proto/UpdateAbilityCreatedMovingPlatformNotify.proto b/proto/UpdateAbilityCreatedMovingPlatformNotify.proto index 3449fb73..cb84cb4e 100644 --- a/proto/UpdateAbilityCreatedMovingPlatformNotify.proto +++ b/proto/UpdateAbilityCreatedMovingPlatformNotify.proto @@ -1,40 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + +import "OpType.proto"; option java_package = "emu.grasscutter.net.proto"; message UpdateAbilityCreatedMovingPlatformNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 825; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum CJOKNFMMFJH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 813; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - enum OpType { - OP_TYPE_NONE = 0; - OP_TYPE_ACTIVATE = 1; - OP_TYPE_DEACTIVATE = 2; - } - - uint32 entity_id = 1; - OpType op_type = 15; + uint32 entityId = 4; + OpType opType = 6; } diff --git a/proto/UpdateController.proto b/proto/UpdateController.proto new file mode 100644 index 00000000..eaefd3e1 --- /dev/null +++ b/proto/UpdateController.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +import "Uint32Pair.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message UpdateController { + repeated Uint32Pair allowControllerMap = 3; +} diff --git a/proto/UpdatePS4BlockListReq.proto b/proto/UpdatePS4BlockListReq.proto new file mode 100644 index 00000000..6ae29dd5 --- /dev/null +++ b/proto/UpdatePS4BlockListReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message UpdatePS4BlockListReq { + enum JNDJIPIGLLA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4035; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated string psnIdList = 7; +} diff --git a/proto/UpdatePS4BlockListRsp.proto b/proto/UpdatePS4BlockListRsp.proto new file mode 100644 index 00000000..65c21a96 --- /dev/null +++ b/proto/UpdatePS4BlockListRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message UpdatePS4BlockListRsp { + enum AMKDEFEMDGF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4007; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; +} diff --git a/proto/UpdatePS4FriendListNotify.proto b/proto/UpdatePS4FriendListNotify.proto new file mode 100644 index 00000000..c24b4b09 --- /dev/null +++ b/proto/UpdatePS4FriendListNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message UpdatePS4FriendListNotify { + enum BEEENKINLJM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4046; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated string psnIdList = 8; +} diff --git a/proto/UpdatePS4FriendListReq.proto b/proto/UpdatePS4FriendListReq.proto new file mode 100644 index 00000000..6360f65b --- /dev/null +++ b/proto/UpdatePS4FriendListReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message UpdatePS4FriendListReq { + enum DOMAEEOOHNF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4061; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated string psnIdList = 3; +} diff --git a/proto/UpdatePS4FriendListRsp.proto b/proto/UpdatePS4FriendListRsp.proto new file mode 100644 index 00000000..d4d7db8f --- /dev/null +++ b/proto/UpdatePS4FriendListRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message UpdatePS4FriendListRsp { + enum BCBOJFJDPLA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4065; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated string psnIdList = 7; + int32 retcode = 15; +} diff --git a/proto/UpdatePlayerShowAvatarListReq.proto b/proto/UpdatePlayerShowAvatarListReq.proto index 8e73aed0..bbc1f29a 100644 --- a/proto/UpdatePlayerShowAvatarListReq.proto +++ b/proto/UpdatePlayerShowAvatarListReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message UpdatePlayerShowAvatarListReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4053; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum GAKKHDHDIAL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4064; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated uint32 show_avatar_id_list = 10; - bool is_show_avatar = 6; + repeated uint32 showAvatarIdList = 11; + bool isShowAvatar = 4; } diff --git a/proto/UpdatePlayerShowAvatarListRsp.proto b/proto/UpdatePlayerShowAvatarListRsp.proto index 63d3bb65..15b05d2b 100644 --- a/proto/UpdatePlayerShowAvatarListRsp.proto +++ b/proto/UpdatePlayerShowAvatarListRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message UpdatePlayerShowAvatarListRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4024; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum KCKFNPNJBPJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4083; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 8; - repeated uint32 show_avatar_id_list = 11; - bool is_show_avatar = 2; + repeated uint32 showAvatarIdList = 15; + bool isShowAvatar = 14; + int32 retcode = 10; } diff --git a/proto/UpdatePlayerShowNameCardListReq.proto b/proto/UpdatePlayerShowNameCardListReq.proto index 7428c40b..eb8afbcc 100644 --- a/proto/UpdatePlayerShowNameCardListReq.proto +++ b/proto/UpdatePlayerShowNameCardListReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message UpdatePlayerShowNameCardListReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4093; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum JJDGDCDOCFK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4063; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated uint32 show_name_card_id_list = 11; + repeated uint32 showNameCardIdList = 14; } diff --git a/proto/UpdatePlayerShowNameCardListRsp.proto b/proto/UpdatePlayerShowNameCardListRsp.proto index 8dadac60..19aeb78b 100644 --- a/proto/UpdatePlayerShowNameCardListRsp.proto +++ b/proto/UpdatePlayerShowNameCardListRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message UpdatePlayerShowNameCardListRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4054; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum JGKOGCINOBM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4023; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 1; - repeated uint32 show_name_card_id_list = 2; + repeated uint32 showNameCardIdList = 10; + int32 retcode = 9; } diff --git a/proto/UpdateRedPointNotify.proto b/proto/UpdateRedPointNotify.proto new file mode 100644 index 00000000..6c6e91d8 --- /dev/null +++ b/proto/UpdateRedPointNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "RedPointData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message UpdateRedPointNotify { + enum KBKBPIHKKKB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 58; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated RedPointData redPointList = 8; +} diff --git a/proto/UpdateReunionWatcherNotify.proto b/proto/UpdateReunionWatcherNotify.proto new file mode 100644 index 00000000..500af4d0 --- /dev/null +++ b/proto/UpdateReunionWatcherNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "ReunionWatcherInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message UpdateReunionWatcherNotify { + enum OHBHKHOLILI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5087; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 missionId = 12; + ReunionWatcherInfo watcherInfo = 14; +} diff --git a/proto/UpdateSalvageBundleMarkReq.proto b/proto/UpdateSalvageBundleMarkReq.proto new file mode 100644 index 00000000..74d75bf6 --- /dev/null +++ b/proto/UpdateSalvageBundleMarkReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message UpdateSalvageBundleMarkReq { + enum JDHJMJGPFGA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8786; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 stageId = 5; + uint32 challengeType = 4; +} diff --git a/proto/UpdateSalvageBundleMarkRsp.proto b/proto/UpdateSalvageBundleMarkRsp.proto new file mode 100644 index 00000000..658f8cf8 --- /dev/null +++ b/proto/UpdateSalvageBundleMarkRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message UpdateSalvageBundleMarkRsp { + enum APLKLACHNKI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8990; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 challengeType = 6; + uint32 stageId = 10; + int32 retcode = 1; +} diff --git a/proto/UpdateType.proto b/proto/UpdateType.proto new file mode 100644 index 00000000..7fa15985 --- /dev/null +++ b/proto/UpdateType.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +enum UpdateType { + UPDATE_TYPE_INVALID = 0; + UPDATE_TYPE_ADD = 1; + UPDATE_TYPE_SET = 2; +} diff --git a/proto/UpgradeRoguelikeShikigamiReq.proto b/proto/UpgradeRoguelikeShikigamiReq.proto new file mode 100644 index 00000000..8f622a4b --- /dev/null +++ b/proto/UpgradeRoguelikeShikigamiReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message UpgradeRoguelikeShikigamiReq { + enum FIPFBHBMEIM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8153; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 shikigamiGroupId = 10; + uint32 upgradeLevel = 6; +} diff --git a/proto/UpgradeRoguelikeShikigamiRsp.proto b/proto/UpgradeRoguelikeShikigamiRsp.proto new file mode 100644 index 00000000..8d61eca0 --- /dev/null +++ b/proto/UpgradeRoguelikeShikigamiRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message UpgradeRoguelikeShikigamiRsp { + enum PLFPOFGAGJJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8113; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 curLevel = 4; + uint32 shikigamiGroupId = 5; + int32 retcode = 9; +} diff --git a/proto/UseItemReq.proto b/proto/UseItemReq.proto index 356cf599..f7a21159 100644 --- a/proto/UseItemReq.proto +++ b/proto/UseItemReq.proto @@ -1,37 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message UseItemReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 647; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum KKOIGEBPCBE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 670; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 count = 14; - uint64 guid = 1; - uint64 target_guid = 2; - uint32 option_idx = 8; - bool is_enter_mp_dungeon_team = 9; + uint64 guid = 8; + uint32 optionIdx = 14; + uint32 count = 12; + bool isEnterMpDungeonTeam = 13; + uint64 targetGuid = 6; } diff --git a/proto/UseItemRsp.proto b/proto/UseItemRsp.proto index 5d2afdd6..8011d85b 100644 --- a/proto/UseItemRsp.proto +++ b/proto/UseItemRsp.proto @@ -1,36 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message UseItemRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 678; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum JBAEIJMIGAH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 662; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 option_idx = 9; - uint32 item_id = 13; - int32 retcode = 1; - uint64 guid = 14; - uint64 target_guid = 10; + uint64 guid = 12; + int32 retcode = 7; + uint32 itemId = 4; + uint64 targetGuid = 11; + uint32 optionIdx = 3; } diff --git a/proto/UseMiracleRingReq.proto b/proto/UseMiracleRingReq.proto new file mode 100644 index 00000000..fa333bc1 --- /dev/null +++ b/proto/UseMiracleRingReq.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message UseMiracleRingReq { + enum AHJAJPOCOOB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5238; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + Rotation pos = 7; + Rotation rot = 2; + uint32 miracleRingOpType = 1; +} diff --git a/proto/UseMiracleRingRsp.proto b/proto/UseMiracleRingRsp.proto new file mode 100644 index 00000000..4f8c5f20 --- /dev/null +++ b/proto/UseMiracleRingRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message UseMiracleRingRsp { + enum OFNIDEHFFBJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5245; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 miracleRingOpType = 9; + int32 retcode = 8; +} diff --git a/proto/UseSkill.proto b/proto/UseSkill.proto new file mode 100644 index 00000000..1ed6f7fc --- /dev/null +++ b/proto/UseSkill.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message UseSkill { + uint32 cardGuid = 11; + uint32 skillId = 14; +} diff --git a/proto/UseSkillEnd.proto b/proto/UseSkillEnd.proto new file mode 100644 index 00000000..84928d94 --- /dev/null +++ b/proto/UseSkillEnd.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message UseSkillEnd { + uint32 skillId = 5; + uint32 cardGuid = 13; +} diff --git a/proto/UseWidgetCreateGadgetReq.proto b/proto/UseWidgetCreateGadgetReq.proto new file mode 100644 index 00000000..e4b56b79 --- /dev/null +++ b/proto/UseWidgetCreateGadgetReq.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message UseWidgetCreateGadgetReq { + enum HJENJAICALH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4300; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + Rotation rot = 9; + uint32 materialId = 7; + Rotation pos = 2; +} diff --git a/proto/UseWidgetCreateGadgetRsp.proto b/proto/UseWidgetCreateGadgetRsp.proto new file mode 100644 index 00000000..78310c3e --- /dev/null +++ b/proto/UseWidgetCreateGadgetRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message UseWidgetCreateGadgetRsp { + enum PFEKLKGCPGM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4267; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 materialId = 13; + int32 retcode = 4; +} diff --git a/proto/UseWidgetRetractGadgetReq.proto b/proto/UseWidgetRetractGadgetReq.proto new file mode 100644 index 00000000..081e72b9 --- /dev/null +++ b/proto/UseWidgetRetractGadgetReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message UseWidgetRetractGadgetReq { + enum MGHIMCMHFFH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4251; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 entityId = 15; +} diff --git a/proto/UseWidgetRetractGadgetRsp.proto b/proto/UseWidgetRetractGadgetRsp.proto new file mode 100644 index 00000000..15a24b48 --- /dev/null +++ b/proto/UseWidgetRetractGadgetRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message UseWidgetRetractGadgetRsp { + enum AEHABPCLFPJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4289; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + int32 retcode = 11; + uint32 entityId = 4; +} diff --git a/proto/Vector.proto b/proto/Vector.proto index 2e15d0cf..b7963aa5 100644 --- a/proto/Vector.proto +++ b/proto/Vector.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message Vector { - float x = 1; - float y = 2; - float z = 3; + float x = 1; + float y = 2; + float z = 3; } diff --git a/proto/Vector3Int.proto b/proto/Vector3Int.proto index df923143..65704571 100644 --- a/proto/Vector3Int.proto +++ b/proto/Vector3Int.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message Vector3Int { - int32 x = 1; - int32 y = 2; - int32 z = 3; + int32 x = 1; + int32 y = 2; + int32 z = 3; } diff --git a/proto/VectorPlane.proto b/proto/VectorPlane.proto index bf140ff4..ca72d323 100644 --- a/proto/VectorPlane.proto +++ b/proto/VectorPlane.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message VectorPlane { - float x = 1; - float y = 2; + float x = 1; + float y = 2; } diff --git a/proto/VehicleInfo.proto b/proto/VehicleInfo.proto index 6de37993..1dc33d74 100644 --- a/proto/VehicleInfo.proto +++ b/proto/VehicleInfo.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "VehicleMember.proto"; + +import "VehicleMember.proto"; option java_package = "emu.grasscutter.net.proto"; message VehicleInfo { - repeated VehicleMember member_list = 1; - uint32 owner_uid = 2; - float cur_stamina = 3; + repeated VehicleMember memberList = 1; + uint32 ownerUid = 2; + float curStamina = 3; } diff --git a/proto/VehicleInteractReq.proto b/proto/VehicleInteractReq.proto index 32304cd9..4359915e 100644 --- a/proto/VehicleInteractReq.proto +++ b/proto/VehicleInteractReq.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "VehicleInteractType.proto"; + +import "VehicleInteractType.proto"; option java_package = "emu.grasscutter.net.proto"; message VehicleInteractReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 889; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum HFFFNNLCHDH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 888; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - VehicleInteractType interact_type = 3; - uint32 entity_id = 11; - uint32 pos = 4; + uint32 pos = 14; + VehicleInteractType interactType = 11; + uint32 entityId = 13; } diff --git a/proto/VehicleInteractRsp.proto b/proto/VehicleInteractRsp.proto index 788f54a4..c84cedd5 100644 --- a/proto/VehicleInteractRsp.proto +++ b/proto/VehicleInteractRsp.proto @@ -1,38 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "VehicleInteractType.proto"; -import "VehicleMember.proto"; + +import "VehicleMember.proto"; +import "VehicleInteractType.proto"; option java_package = "emu.grasscutter.net.proto"; message VehicleInteractRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 844; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HPGMAKHGBBO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 825; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 entity_id = 4; - VehicleMember member = 11; - int32 retcode = 6; - VehicleInteractType interact_type = 7; + VehicleMember member = 15; + uint32 entityId = 2; + int32 retcode = 10; + VehicleInteractType interactType = 8; } diff --git a/proto/VehicleInteractType.proto b/proto/VehicleInteractType.proto index 3563cebf..00ad106f 100644 --- a/proto/VehicleInteractType.proto +++ b/proto/VehicleInteractType.proto @@ -1,26 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum VehicleInteractType { - VEHICLE_INTERACT_TYPE_NONE = 0; - VEHICLE_INTERACT_TYPE_IN = 1; - VEHICLE_INTERACT_TYPE_OUT = 2; + VEHICLE_INTERACT_TYPE_NONE = 0; + VEHICLE_INTERACT_TYPE_IN = 1; + VEHICLE_INTERACT_TYPE_OUT = 2; } diff --git a/proto/VehicleLocationInfo.proto b/proto/VehicleLocationInfo.proto index ed326cb6..1d5f706c 100644 --- a/proto/VehicleLocationInfo.proto +++ b/proto/VehicleLocationInfo.proto @@ -1,33 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message VehicleLocationInfo { - Vector rot = 5; - uint32 owner_uid = 11; - repeated uint32 uid_list = 4; - float cur_hp = 2; - Vector pos = 9; - uint32 gadget_id = 1; - uint32 entity_id = 14; - float max_hp = 15; + repeated uint32 uidList = 11; + uint32 gadgetId = 7; + Rotation pos = 12; + uint32 entityId = 2; + Rotation rot = 14; + float curHp = 5; + uint32 ownerUid = 9; + float maxHp = 6; } diff --git a/proto/VehicleMember.proto b/proto/VehicleMember.proto index 76c24611..2a87d67a 100644 --- a/proto/VehicleMember.proto +++ b/proto/VehicleMember.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message VehicleMember { - uint32 uid = 1; - uint64 avatar_guid = 2; - uint32 pos = 3; + uint32 uid = 1; + uint64 avatarGuid = 2; + uint32 pos = 3; } diff --git a/proto/VehicleStaminaNotify.proto b/proto/VehicleStaminaNotify.proto index 39765933..fb968d85 100644 --- a/proto/VehicleStaminaNotify.proto +++ b/proto/VehicleStaminaNotify.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message VehicleStaminaNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 880; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum IKJDMAHDGOL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 851; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 entity_id = 12; - float cur_stamina = 9; + uint32 entityId = 12; + float curStamina = 15; } diff --git a/proto/ViewCodexReq.proto b/proto/ViewCodexReq.proto new file mode 100644 index 00000000..cde5c09e --- /dev/null +++ b/proto/ViewCodexReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "CodexTypeData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ViewCodexReq { + enum JPAIFNAGDIG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4203; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated CodexTypeData typeDataList = 9; +} diff --git a/proto/ViewCodexRsp.proto b/proto/ViewCodexRsp.proto new file mode 100644 index 00000000..bf8e01ce --- /dev/null +++ b/proto/ViewCodexRsp.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +import "CodexTypeData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ViewCodexRsp { + enum GIKPCHLPAJM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4209; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 Unk3300_CBGDAAOBGNB = 14; + repeated uint32 recentViewedPushtipsList = 13; + repeated CodexTypeData typeDataList = 8; + int32 retcode = 10; + repeated uint32 Unk3300_IDNOLALHFFA = 7; +} diff --git a/proto/ViewLanternProjectionLevelTipsReq.proto b/proto/ViewLanternProjectionLevelTipsReq.proto new file mode 100644 index 00000000..ed42c721 --- /dev/null +++ b/proto/ViewLanternProjectionLevelTipsReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ViewLanternProjectionLevelTipsReq { + enum BJPOFMHIIJH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8211; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 levelId = 14; +} diff --git a/proto/ViewLanternProjectionLevelTipsRsp.proto b/proto/ViewLanternProjectionLevelTipsRsp.proto new file mode 100644 index 00000000..712f1f4c --- /dev/null +++ b/proto/ViewLanternProjectionLevelTipsRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ViewLanternProjectionLevelTipsRsp { + enum GOKIMBIOCKA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8637; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 6; +} diff --git a/proto/ViewLanternProjectionTipsReq.proto b/proto/ViewLanternProjectionTipsReq.proto new file mode 100644 index 00000000..c17f5831 --- /dev/null +++ b/proto/ViewLanternProjectionTipsReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "ClientInputType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message ViewLanternProjectionTipsReq { + enum BPDKNPMCDCF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8102; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool isInputTips = 2; + ClientInputType inputType = 1; +} diff --git a/proto/ViewLanternProjectionTipsRsp.proto b/proto/ViewLanternProjectionTipsRsp.proto new file mode 100644 index 00000000..18c70f49 --- /dev/null +++ b/proto/ViewLanternProjectionTipsRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message ViewLanternProjectionTipsRsp { + enum LNCIDKKDKBE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8742; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 3; +} diff --git a/proto/VintageActivityDetailInfo.proto b/proto/VintageActivityDetailInfo.proto index 696d8ac8..e56b88f7 100644 --- a/proto/VintageActivityDetailInfo.proto +++ b/proto/VintageActivityDetailInfo.proto @@ -23,6 +23,7 @@ import "VintageHuntingStageData.proto"; import "VintageMarketInfo.proto"; import "VintagePresentStageData.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message VintageActivityDetailInfo { diff --git a/proto/VintageBoothUsedItemData.proto b/proto/VintageBoothUsedItemData.proto index f771f4f5..6088c8dc 100644 --- a/proto/VintageBoothUsedItemData.proto +++ b/proto/VintageBoothUsedItemData.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message VintageBoothUsedItemData { - bool is_open = 10; - uint32 gadget_id = 3; + uint32 gadgetId = 12; + bool isOpen = 2; } diff --git a/proto/VintageCampChallengeLevelData.proto b/proto/VintageCampChallengeLevelData.proto index 0fe56cab..803f9282 100644 --- a/proto/VintageCampChallengeLevelData.proto +++ b/proto/VintageCampChallengeLevelData.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message VintageCampChallengeLevelData { - bool is_finish = 13; - uint32 stage_id = 15; - uint32 level_id = 1; - bool is_open = 12; + bool isOpen = 11; + bool isFinish = 6; + uint32 stageId = 8; + uint32 levelId = 9; } diff --git a/proto/VintageCampChallengeStageData.proto b/proto/VintageCampChallengeStageData.proto index 2c63fb53..b125b216 100644 --- a/proto/VintageCampChallengeStageData.proto +++ b/proto/VintageCampChallengeStageData.proto @@ -1,31 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "VintageCampChallengeLevelData.proto"; + +import "VintageCampChallengeLevelData.proto"; option java_package = "emu.grasscutter.net.proto"; message VintageCampChallengeStageData { - uint32 max_finished_level = 4; - bool is_finish = 14; - map camp_level_map = 6; - bool is_open = 2; - uint32 stage_id = 13; - uint32 open_time = 7; + map campLevelMap = 1; + bool isOpen = 13; + uint32 maxFinishedLevel = 7; + bool isFinish = 4; + uint32 stageId = 9; + uint32 openTime = 10; } diff --git a/proto/VintageCampGroupBundleRegisterNotify.proto b/proto/VintageCampGroupBundleRegisterNotify.proto new file mode 100644 index 00000000..27fe7068 --- /dev/null +++ b/proto/VintageCampGroupBundleRegisterNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message VintageCampGroupBundleRegisterNotify { + enum BHMMDEHNBLK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23285; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 groupBundleId = 5; +} diff --git a/proto/VintageCampStageFinishNotify.proto b/proto/VintageCampStageFinishNotify.proto new file mode 100644 index 00000000..3f694559 --- /dev/null +++ b/proto/VintageCampStageFinishNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message VintageCampStageFinishNotify { + enum HACIDCALPKB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23644; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 stageId = 7; +} diff --git a/proto/VintageDecorateBoothReq.proto b/proto/VintageDecorateBoothReq.proto new file mode 100644 index 00000000..04b5d193 --- /dev/null +++ b/proto/VintageDecorateBoothReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "CustomGadgetTreeInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message VintageDecorateBoothReq { + enum IBHDMIJFIHD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 22772; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + CustomGadgetTreeInfo combinationInfo = 11; + uint32 entityId = 1; +} diff --git a/proto/VintageDecorateBoothRsp.proto b/proto/VintageDecorateBoothRsp.proto new file mode 100644 index 00000000..61867c47 --- /dev/null +++ b/proto/VintageDecorateBoothRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message VintageDecorateBoothRsp { + enum NOAJMHDHIIJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20174; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 2; +} diff --git a/proto/VintageHuntingFirstStageInfo.proto b/proto/VintageHuntingFirstStageInfo.proto new file mode 100644 index 00000000..ab969533 --- /dev/null +++ b/proto/VintageHuntingFirstStageInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message VintageHuntingFirstStageInfo { + uint32 Unk3300_NILGNHOPGLD = 14; + uint32 Unk3300_HIKADHBLPEB = 1; + uint32 Unk3300_IPAJLKOBDKC = 12; + uint32 score = 15; +} diff --git a/proto/VintageHuntingInfo.proto b/proto/VintageHuntingInfo.proto new file mode 100644 index 00000000..afe3a0ff --- /dev/null +++ b/proto/VintageHuntingInfo.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +import "FirstStageInfo.proto"; +import "SecondStageInfo.proto"; +import "ThirdStageInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message VintageHuntingInfo { + uint32 stageId = 2; + oneof AEDOHBBHKNH { + FirstStageInfo first_stage_info = 14; + SecondStageInfo second_stage_info = 11; + ThirdStageInfo third_stage_info = 9; + } +} diff --git a/proto/VintageHuntingSecondStageInfo.proto b/proto/VintageHuntingSecondStageInfo.proto new file mode 100644 index 00000000..fafab293 --- /dev/null +++ b/proto/VintageHuntingSecondStageInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message VintageHuntingSecondStageInfo { + uint32 totalNum = 15; + uint32 captureAnimalNum = 11; + uint32 homaiophceb = 14; +} diff --git a/proto/VintageHuntingStageData.proto b/proto/VintageHuntingStageData.proto index 3f7f5871..8bbec80b 100644 --- a/proto/VintageHuntingStageData.proto +++ b/proto/VintageHuntingStageData.proto @@ -1,28 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message VintageHuntingStageData { - uint32 record_value = 11; - uint32 open_time = 5; - uint32 stage_id = 10; - bool is_finish = 12; - bool is_open = 4; + bool isOpen = 12; + bool isFinish = 11; + uint32 stageId = 10; + uint32 openTime = 1; + uint32 recordValue = 2; } diff --git a/proto/VintageHuntingStartGalleryReq.proto b/proto/VintageHuntingStartGalleryReq.proto new file mode 100644 index 00000000..eadccf12 --- /dev/null +++ b/proto/VintageHuntingStartGalleryReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message VintageHuntingStartGalleryReq { + enum MPOHODJKDOK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23502; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 stageId = 5; +} diff --git a/proto/VintageHuntingStartGalleryRsp.proto b/proto/VintageHuntingStartGalleryRsp.proto new file mode 100644 index 00000000..6bb7e3ad --- /dev/null +++ b/proto/VintageHuntingStartGalleryRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message VintageHuntingStartGalleryRsp { + enum HMMGEFLBMFH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 24063; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 11; +} diff --git a/proto/VintageHuntingThirdStageInfo.proto b/proto/VintageHuntingThirdStageInfo.proto new file mode 100644 index 00000000..ce7ac8f9 --- /dev/null +++ b/proto/VintageHuntingThirdStageInfo.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message VintageHuntingThirdStageInfo { +} diff --git a/proto/VintageInfo.proto b/proto/VintageInfo.proto new file mode 100644 index 00000000..929daa15 --- /dev/null +++ b/proto/VintageInfo.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "VintageBoothUsedItemData.proto"; +import "VintageMarketInfo.proto"; +import "VintageHuntingStageData.proto"; +import "VintagePresentStageData.proto"; +import "VintageCampChallengeStageData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message VintageInfo { + bool leftMonsters = 12; + VintageBoothUsedItemData boothData = 15; + map Unk3300_EHHPFKIOKOO = 7; + map Unk3300_PCIIGPJJHGF = 2; + map Unk3300_NPKMDFCLGBJ = 3; + VintageMarketInfo marketInfo = 1; +} diff --git a/proto/VintageMarketDealInfo.proto b/proto/VintageMarketDealInfo.proto index 995fba40..c1455272 100644 --- a/proto/VintageMarketDealInfo.proto +++ b/proto/VintageMarketDealInfo.proto @@ -1,26 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "VintageMarketTraderInfo.proto"; + +import "VintageMarketTraderInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message VintageMarketDealInfo { - map trader_item_info_map = 5; + map traderItemInfoMap = 13; } diff --git a/proto/VintageMarketDeliverItemReq.proto b/proto/VintageMarketDeliverItemReq.proto index c1609537..392a785f 100644 --- a/proto/VintageMarketDeliverItemReq.proto +++ b/proto/VintageMarketDeliverItemReq.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ItemParam.proto"; + +import "ItemParam.proto"; option java_package = "emu.grasscutter.net.proto"; message VintageMarketDeliverItemReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 21131; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum IADAEOHIPCK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21636; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated ItemParam deliver_item_list = 12; - uint32 trader_id = 3; + repeated ItemParam deliverItemList = 15; + uint32 traderId = 4; } diff --git a/proto/VintageMarketDeliverItemRsp.proto b/proto/VintageMarketDeliverItemRsp.proto index 67081b7d..f72783d3 100644 --- a/proto/VintageMarketDeliverItemRsp.proto +++ b/proto/VintageMarketDeliverItemRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message VintageMarketDeliverItemRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 23763; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MLCPBOCDIPB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21050; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 9; - uint32 trader_id = 6; + uint32 traderId = 14; + int32 retcode = 10; } diff --git a/proto/VintageMarketDividendFinishNotify.proto b/proto/VintageMarketDividendFinishNotify.proto new file mode 100644 index 00000000..0dd95ee8 --- /dev/null +++ b/proto/VintageMarketDividendFinishNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message VintageMarketDividendFinishNotify { + enum DPMDPPBODPD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20769; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 coinA = 11; + uint32 coinC = 3; +} diff --git a/proto/VintageMarketFinishStorePlayReq.proto b/proto/VintageMarketFinishStorePlayReq.proto new file mode 100644 index 00000000..0880662a --- /dev/null +++ b/proto/VintageMarketFinishStorePlayReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "VintageMarketStoreOpInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message VintageMarketFinishStorePlayReq { + enum DBOLEHNGBHM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23780; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 storeRound = 8; + repeated VintageMarketStoreOpInfo storeOpList = 12; +} diff --git a/proto/VintageMarketFinishStorePlayRsp.proto b/proto/VintageMarketFinishStorePlayRsp.proto new file mode 100644 index 00000000..adf5b40c --- /dev/null +++ b/proto/VintageMarketFinishStorePlayRsp.proto @@ -0,0 +1,26 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message VintageMarketFinishStorePlayRsp { + enum MNGADGCMBJB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23367; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 Unk3300_DGECJOKMDGN = 4; + uint32 Unk3300_DJILELFHFHJ = 14; + int32 retcode = 11; + repeated uint32 Unk3300_HJIHIOIGAPP = 2; + uint32 Unk3300_DLNFCBPDBBH = 15; + uint32 Unk3300_GCDNOPJEIBG = 7; + map storeIncomeMap = 1; + uint32 storeRound = 6; + repeated uint32 Unk3300_BDAIONEPKIK = 5; + repeated uint32 Unk3300_OCIMKEPJOOL = 9; +} diff --git a/proto/VintageMarketInfo.proto b/proto/VintageMarketInfo.proto index a1c5e8c0..a243104c 100644 --- a/proto/VintageMarketInfo.proto +++ b/proto/VintageMarketInfo.proto @@ -1,48 +1,32 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "VintageMarketDealInfo.proto"; import "VintageMarketStoreInfo.proto"; - option java_package = "emu.grasscutter.net.proto"; message VintageMarketInfo { - map bargain_info_map = 9; - bool Unk3300_FJDIMCJEAOB = 8; - repeated uint32 Unk3300_COKBOKAOCNJ = 1007; - uint32 help_skill_id = 760; - repeated uint32 Unk3300_ABHHACBDCFI = 7; - repeated VintageMarketStoreInfo open_store_list = 2; - repeated uint32 Unk3300_EDBJLBICEJF = 10; - bool Unk3300_PAMKPAOCJJJ = 11; - uint32 Unk3300_FOPKAIIAMFM = 1826; - bool Unk3300_NBNOJJBNJPB = 470; - VintageMarketDealInfo deal_info = 12; - uint32 store_round = 3; - repeated uint32 unlock_strategy_list = 13; - repeated uint32 Unk3300_AIAMBBODLBO = 14; - bool Unk3300_NDFHAGHBCFN = 6; - uint32 Unk3300_LMNLHHPMAMN = 1; - bool Unk3300_ALHLENELIEO = 1594; - uint32 Unk3300_ACJLANLBCGK = 1658; - uint32 Unk3300_HHKKEDDIGLA = 5; - bool Unk3300_KJDEFIBKBPE = 4; - bool Unk3300_ICJOCDGLFFD = 15; - bool Unk3300_NMHHGNPKBEL = 1721; + repeated uint32 unlockStrategyList = 15; + uint32 storeRound = 2; + repeated uint32 Unk3300_COKBOKAOCNJ = 1216; + map bargainInfoMap = 9; + repeated uint32 Unk3300_ABHHACBDCFI = 3; + repeated uint32 Unk3300_EDBJLBICEJF = 1; + bool Unk3300_KJDEFIBKBPE = 5; + bool Unk3300_NMHHGNPKBEL = 1164; + uint32 Unk3300_FOPKAIIAMFM = 255; + uint32 Unk3300_LMNLHHPMAMN = 12; + bool Unk3300_ALHLENELIEO = 1035; + bool Unk3300_PAMKPAOCJJJ = 4; + bool Unk3300_ICJOCDGLFFD = 10; + VintageMarketDealInfo dealInfo = 14; + bool Unk3300_NDFHAGHBCFN = 6; + repeated VintageMarketStoreInfo openStoreList = 7; + repeated uint32 Unk3300_AIAMBBODLBO = 13; + uint32 helpSkillId = 1222; + bool Unk3300_FJDIMCJEAOB = 8; + uint32 Unk3300_HHKKEDDIGLA = 11; + uint32 Unk3300_ACJLANLBCGK = 458; + bool Unk3300_NBNOJJBNJPB = 1190; } diff --git a/proto/VintageMarketNpcEventFinishNotify.proto b/proto/VintageMarketNpcEventFinishNotify.proto new file mode 100644 index 00000000..df850158 --- /dev/null +++ b/proto/VintageMarketNpcEventFinishNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message VintageMarketNpcEventFinishNotify { + enum NLEDGJEHOFD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21065; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 unlockStrategyList = 15; + uint32 coinA = 12; + uint32 coinC = 8; +} diff --git a/proto/VintageMarketStartStorePlayReq.proto b/proto/VintageMarketStartStorePlayReq.proto new file mode 100644 index 00000000..f5593569 --- /dev/null +++ b/proto/VintageMarketStartStorePlayReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message VintageMarketStartStorePlayReq { + enum HAKIHKIKBJL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20758; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 storeRound = 1; +} diff --git a/proto/VintageMarketStartStorePlayRsp.proto b/proto/VintageMarketStartStorePlayRsp.proto new file mode 100644 index 00000000..882c5b2b --- /dev/null +++ b/proto/VintageMarketStartStorePlayRsp.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message VintageMarketStartStorePlayRsp { + enum ENOKLJEALMK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21141; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 3; + uint32 Unk3300_LCCNEKGONFG = 1; + uint32 Unk3300_ADJKIIJFNME = 13; + uint32 storeRound = 6; +} diff --git a/proto/VintageMarketStoreChooseStrategyReq.proto b/proto/VintageMarketStoreChooseStrategyReq.proto new file mode 100644 index 00000000..bd676086 --- /dev/null +++ b/proto/VintageMarketStoreChooseStrategyReq.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "VintageMarketStoreOpInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message VintageMarketStoreChooseStrategyReq { + enum MEMBHLBAAFD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20971; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 storeId = 10; + repeated uint32 strategyList = 2; + repeated VintageMarketStoreOpInfo storeOpList = 15; +} diff --git a/proto/VintageMarketStoreChooseStrategyRsp.proto b/proto/VintageMarketStoreChooseStrategyRsp.proto new file mode 100644 index 00000000..edafaf30 --- /dev/null +++ b/proto/VintageMarketStoreChooseStrategyRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message VintageMarketStoreChooseStrategyRsp { + enum NPJKKPABAAI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23497; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 strategyList = 7; + uint32 storeId = 15; + int32 retcode = 8; +} diff --git a/proto/VintageMarketStoreInfo.proto b/proto/VintageMarketStoreInfo.proto index b2d6fc3c..bcb5cb5a 100644 --- a/proto/VintageMarketStoreInfo.proto +++ b/proto/VintageMarketStoreInfo.proto @@ -1,28 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message VintageMarketStoreInfo { - uint32 store_id = 13; - repeated uint32 Unk3300_HNBGHCCENIA = 1; - repeated uint32 strategy_list = 10; - repeated uint32 Unk3300_ODLLANKOEND = 7; - uint32 slot_count = 5; + repeated uint32 strategyList = 2; + uint32 storeId = 8; + uint32 slotCount = 7; + repeated uint32 Unk3300_HNBGHCCENIA = 10; + repeated uint32 Unk3300_ODLLANKOEND = 12; } diff --git a/proto/VintageMarketStoreOpInfo.proto b/proto/VintageMarketStoreOpInfo.proto new file mode 100644 index 00000000..a4eea8ae --- /dev/null +++ b/proto/VintageMarketStoreOpInfo.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message VintageMarketStoreOpInfo { + uint32 helpUid = 14; + uint32 helpSkillId = 13; + repeated uint32 addAttrList = 3; + uint32 storeId = 2; + repeated uint32 strategyList = 4; +} diff --git a/proto/VintageMarketStoreUnlockSlotReq.proto b/proto/VintageMarketStoreUnlockSlotReq.proto new file mode 100644 index 00000000..7edab1c4 --- /dev/null +++ b/proto/VintageMarketStoreUnlockSlotReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message VintageMarketStoreUnlockSlotReq { + enum MOJMFNKIIMK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 24687; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 storeId = 4; +} diff --git a/proto/VintageMarketStoreUnlockSlotRsp.proto b/proto/VintageMarketStoreUnlockSlotRsp.proto new file mode 100644 index 00000000..06fee19c --- /dev/null +++ b/proto/VintageMarketStoreUnlockSlotRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message VintageMarketStoreUnlockSlotRsp { + enum LLKFACKMLJH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 20112; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 storeId = 5; + int32 retcode = 8; + uint32 slotCount = 10; +} diff --git a/proto/VintageMarketStoreViewStrategyReq.proto b/proto/VintageMarketStoreViewStrategyReq.proto new file mode 100644 index 00000000..0756db69 --- /dev/null +++ b/proto/VintageMarketStoreViewStrategyReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message VintageMarketStoreViewStrategyReq { + enum NKILKBBKFPN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 24026; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 strategyId = 10; + repeated uint32 strategyList = 15; +} diff --git a/proto/VintageMarketStoreViewStrategyRsp.proto b/proto/VintageMarketStoreViewStrategyRsp.proto new file mode 100644 index 00000000..f309ff5b --- /dev/null +++ b/proto/VintageMarketStoreViewStrategyRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message VintageMarketStoreViewStrategyRsp { + enum BMHPOHCPOPC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21369; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 strategyList = 7; + uint32 strategyId = 15; + int32 retcode = 1; +} diff --git a/proto/VintageMarketTraderInfo.proto b/proto/VintageMarketTraderInfo.proto index bb7b0cda..264bcfeb 100644 --- a/proto/VintageMarketTraderInfo.proto +++ b/proto/VintageMarketTraderInfo.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ItemParam.proto"; + +import "ItemParam.proto"; option java_package = "emu.grasscutter.net.proto"; message VintageMarketTraderInfo { - uint32 trader_id = 4; - repeated ItemParam available_item_list = 15; + repeated ItemParam hiiflfhdkkg = 10; + uint32 traderId = 6; } diff --git a/proto/VintagePresentFinishNoify.proto b/proto/VintagePresentFinishNoify.proto new file mode 100644 index 00000000..d1003a83 --- /dev/null +++ b/proto/VintagePresentFinishNoify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message VintagePresentFinishNoify { + enum DAELMFOPJEN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 22633; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 presentId = 7; +} diff --git a/proto/VintagePresentFinishNotify.proto b/proto/VintagePresentFinishNotify.proto new file mode 100644 index 00000000..367c2aba --- /dev/null +++ b/proto/VintagePresentFinishNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message VintagePresentFinishNotify { + enum OJKNNANBCBE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 23457; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 presentId = 4; +} diff --git a/proto/VintagePresentLevelData.proto b/proto/VintagePresentLevelData.proto index a758cdb6..d6f1cc8f 100644 --- a/proto/VintagePresentLevelData.proto +++ b/proto/VintagePresentLevelData.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message VintagePresentLevelData { - bool is_finish = 6; - bool is_open = 3; - uint32 stage_id = 9; - uint32 present_id = 1; + bool isOpen = 2; + uint32 stageId = 7; + uint32 presentId = 5; + bool isFinish = 3; } diff --git a/proto/VintagePresentStageData.proto b/proto/VintagePresentStageData.proto index 375e28a9..713f7d93 100644 --- a/proto/VintagePresentStageData.proto +++ b/proto/VintagePresentStageData.proto @@ -1,30 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "VintagePresentLevelData.proto"; + +import "VintagePresentLevelData.proto"; option java_package = "emu.grasscutter.net.proto"; message VintagePresentStageData { - bool is_open = 4; - bool is_finish = 10; - map present_level_map = 11; - uint32 open_time = 8; - uint32 stage_id = 1; + bool isFinish = 4; + uint32 openTime = 14; + bool isOpen = 9; + map presentLevelMap = 7; + uint32 stageId = 15; } diff --git a/proto/VisionType.proto b/proto/VisionType.proto index 1c653948..73ede798 100644 --- a/proto/VisionType.proto +++ b/proto/VisionType.proto @@ -1,43 +1,26 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum VisionType { - VISION_TYPE_NONE = 0; - VISION_TYPE_MEET = 1; - VISION_TYPE_REBORN = 2; - VISION_TYPE_REPLACE = 3; - VISION_TYPE_WAYPOINT_REBORN = 4; - VISION_TYPE_MISS = 5; - VISION_TYPE_DIE = 6; - VISION_TYPE_GATHER_ESCAPE = 7; - VISION_TYPE_REFRESH = 8; - VISION_TYPE_TRANSPORT = 9; - VISION_TYPE_REPLACE_DIE = 10; - VISION_TYPE_REPLACE_NO_NOTIFY = 11; - VISION_TYPE_BORN = 12; - VISION_TYPE_PICKUP = 13; - VISION_TYPE_REMOVE = 14; - VISION_TYPE_CHANGE_COSTUME = 15; - VISION_TYPE_FISH_REFRESH = 16; - VISION_TYPE_FISH_BIG_SHOCK = 17; - VISION_TYPE_FISH_QTE_SUCC = 18; - VISION_TYPE_CAPTURE_DISAPPEAR = 19; + VISION_TYPE_NONE = 0; + VISION_TYPE_MEET = 1; + VISION_TYPE_REBORN = 2; + VISION_TYPE_REPLACE = 3; + VISION_TYPE_WAYPOINT_REBORN = 4; + VISION_TYPE_MISS = 5; + VISION_TYPE_DIE = 6; + VISION_TYPE_GATHER_ESCAPE = 7; + VISION_TYPE_REFRESH = 8; + VISION_TYPE_TRANSPORT = 9; + VISION_TYPE_REPLACE_DIE = 10; + VISION_TYPE_REPLACE_NO_NOTIFY = 11; + VISION_TYPE_BORN = 12; + VISION_TYPE_PICKUP = 13; + VISION_TYPE_REMOVE = 14; + VISION_TYPE_CHANGE_COSTUME = 15; + VISION_TYPE_FISH_REFRESH = 16; + VISION_TYPE_FISH_BIG_SHOCK = 17; + VISION_TYPE_FISH_QTE_SUCC = 18; + VISION_TYPE_CAPTURE_DISAPPEAR = 19; } diff --git a/proto/WaitingListChange.proto b/proto/WaitingListChange.proto new file mode 100644 index 00000000..94e07abc --- /dev/null +++ b/proto/WaitingListChange.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WaitingListChange { + uint32 controllerId = 4; + uint32 curIndex = 3; +} diff --git a/proto/WatcherAllDataNotify.proto b/proto/WatcherAllDataNotify.proto new file mode 100644 index 00000000..04a3c860 --- /dev/null +++ b/proto/WatcherAllDataNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WatcherAllDataNotify { + enum OBBOLPHMBLI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2205; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 watcherList = 10; +} diff --git a/proto/WatcherChangeNotify.proto b/proto/WatcherChangeNotify.proto new file mode 100644 index 00000000..438a514a --- /dev/null +++ b/proto/WatcherChangeNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WatcherChangeNotify { + enum FIOOFFIIJJJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2255; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated uint32 newWatcherList = 4; + repeated uint32 removedWatcherList = 3; +} diff --git a/proto/WatcherEventNotify.proto b/proto/WatcherEventNotify.proto new file mode 100644 index 00000000..91889eb8 --- /dev/null +++ b/proto/WatcherEventNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WatcherEventNotify { + enum DLGLGAOJGFL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2287; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 addProgress = 3; + uint32 watcherId = 15; +} diff --git a/proto/WatcherEventStageNotify.proto b/proto/WatcherEventStageNotify.proto new file mode 100644 index 00000000..71c2d4c2 --- /dev/null +++ b/proto/WatcherEventStageNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WatcherEventStageNotify { + enum LLEOBAOBBNG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2220; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 addProgress = 3; + uint32 watcherId = 13; + uint32 stage = 6; +} diff --git a/proto/WatcherEventTypeNotify.proto b/proto/WatcherEventTypeNotify.proto new file mode 100644 index 00000000..bfd355fa --- /dev/null +++ b/proto/WatcherEventTypeNotify.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WatcherEventTypeNotify { + enum PGCGKHOMJEC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2298; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 paramList = 5; + uint32 addProgress = 13; + uint32 watcherTriggerType = 7; +} diff --git a/proto/WaterInfo.proto b/proto/WaterInfo.proto new file mode 100644 index 00000000..cd30aa00 --- /dev/null +++ b/proto/WaterInfo.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WaterInfo { + int64 id = 1; +} diff --git a/proto/WaterSpiritActivityDetailInfo.proto b/proto/WaterSpiritActivityDetailInfo.proto index 128f3897..1c78f4bc 100644 --- a/proto/WaterSpiritActivityDetailInfo.proto +++ b/proto/WaterSpiritActivityDetailInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message WaterSpiritActivityDetailInfo { - map search_time_map = 13; - uint32 region_search_id = 4; - uint32 mp_play_id = 9; + uint32 mpPlayId = 13; + map searchTimeMap = 3; + uint32 regionSearchId = 4; } diff --git a/proto/WaterSpiritInfo.proto b/proto/WaterSpiritInfo.proto new file mode 100644 index 00000000..5a04746f --- /dev/null +++ b/proto/WaterSpiritInfo.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WaterSpiritInfo { + uint32 mpPlayId = 13; + map searchTimeMap = 3; + uint32 regionSearchId = 4; +} diff --git a/proto/WaterSpritePhaseFinishNotify.proto b/proto/WaterSpritePhaseFinishNotify.proto new file mode 100644 index 00000000..217744ab --- /dev/null +++ b/proto/WaterSpritePhaseFinishNotify.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WaterSpritePhaseFinishNotify { + enum LEFDBFPGJEN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2095; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + +} diff --git a/proto/Weapon.proto b/proto/Weapon.proto index 900f1a89..334c6bb0 100644 --- a/proto/Weapon.proto +++ b/proto/Weapon.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message Weapon { - uint32 level = 1; - uint32 exp = 2; - uint32 promote_level = 3; - map affix_map = 4; + uint32 level = 1; + uint32 exp = 2; + uint32 promoteLevel = 3; + map affixMap = 4; } diff --git a/proto/WeaponAwakenReq.proto b/proto/WeaponAwakenReq.proto index a82d8663..0ff20f6a 100644 --- a/proto/WeaponAwakenReq.proto +++ b/proto/WeaponAwakenReq.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message WeaponAwakenReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 633; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum KKIKGIEFMFN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 645; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - map affix_level_map = 13; - uint64 target_weapon_guid = 5; - uint64 item_guid = 6; + map affixLevelMap = 12; + uint64 itemGuid = 2; + uint64 targetWeaponGuid = 9; } diff --git a/proto/WeaponAwakenRsp.proto b/proto/WeaponAwakenRsp.proto index 18faa1b4..2d8ffd47 100644 --- a/proto/WeaponAwakenRsp.proto +++ b/proto/WeaponAwakenRsp.proto @@ -1,37 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message WeaponAwakenRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 610; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum JJKKFLGHGOE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 685; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - map cur_affix_level_map = 3; - uint64 avatar_guid = 8; - int32 retcode = 9; - uint64 target_weapon_guid = 14; - map old_affix_level_map = 15; - uint32 target_weapon_awaken_level = 2; + int32 retcode = 11; + uint32 targetWeaponAwakenLevel = 3; + uint64 targetWeaponGuid = 2; + uint64 avatarGuid = 5; + map oldAffixLevelMap = 6; + map curAffixLevelMap = 12; } diff --git a/proto/WeaponPromoteReq.proto b/proto/WeaponPromoteReq.proto index 084b49c5..c004d72e 100644 --- a/proto/WeaponPromoteReq.proto +++ b/proto/WeaponPromoteReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message WeaponPromoteReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 637; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum PIFLIBOCGJG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 692; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint64 target_weapon_guid = 14; + uint64 targetWeaponGuid = 3; } diff --git a/proto/WeaponPromoteRsp.proto b/proto/WeaponPromoteRsp.proto index a2675f1c..592698f8 100644 --- a/proto/WeaponPromoteRsp.proto +++ b/proto/WeaponPromoteRsp.proto @@ -1,35 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message WeaponPromoteRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 689; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum IPJIMHOCLKL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 688; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 old_promote_level = 4; - uint64 target_weapon_guid = 11; - uint32 cur_promote_level = 5; - int32 retcode = 8; + uint32 curPromoteLevel = 13; + uint64 targetWeaponGuid = 2; + int32 retcode = 14; + uint32 oldPromoteLevel = 10; } diff --git a/proto/WeaponUpgradeReq.proto b/proto/WeaponUpgradeReq.proto index cd2b1d6d..ebe0360d 100644 --- a/proto/WeaponUpgradeReq.proto +++ b/proto/WeaponUpgradeReq.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ItemParam.proto"; + +import "ItemParam.proto"; option java_package = "emu.grasscutter.net.proto"; message WeaponUpgradeReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 616; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum IPEIAHFIJIH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 646; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated ItemParam item_param_list = 2; - repeated uint64 food_weapon_guid_list = 14; - uint64 target_weapon_guid = 3; + repeated ItemParam itemParamList = 1; + uint64 targetWeaponGuid = 11; + repeated uint64 foodWeaponGuidList = 7; } diff --git a/proto/WeaponUpgradeRsp.proto b/proto/WeaponUpgradeRsp.proto index 2de94829..412119df 100644 --- a/proto/WeaponUpgradeRsp.proto +++ b/proto/WeaponUpgradeRsp.proto @@ -1,38 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ItemParam.proto"; + +import "ItemParam.proto"; option java_package = "emu.grasscutter.net.proto"; message WeaponUpgradeRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 673; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum OPIFHGHMKAO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 700; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 old_level = 14; - uint64 target_weapon_guid = 3; - uint32 cur_level = 6; - repeated ItemParam item_param_list = 8; - int32 retcode = 10; + uint32 curLevel = 5; + repeated ItemParam itemParamList = 9; + int32 retcode = 14; + uint32 oldLevel = 1; + uint64 targetWeaponGuid = 13; } diff --git a/proto/WearEquipReq.proto b/proto/WearEquipReq.proto index ab14faef..02777cde 100644 --- a/proto/WearEquipReq.proto +++ b/proto/WearEquipReq.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message WearEquipReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 699; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum KPAJMLLFAMJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 616; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint64 avatar_guid = 3; - uint64 equip_guid = 13; + uint64 equipGuid = 12; + uint64 avatarGuid = 1; } diff --git a/proto/WearEquipRsp.proto b/proto/WearEquipRsp.proto index 5fefe228..dfcc1e2c 100644 --- a/proto/WearEquipRsp.proto +++ b/proto/WearEquipRsp.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message WearEquipRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 625; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MOMHFFAMGFM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 613; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 3; - uint64 equip_guid = 1; - uint64 avatar_guid = 14; + int32 retcode = 9; + uint64 avatarGuid = 6; + uint64 equipGuid = 13; } diff --git a/proto/Weather.proto b/proto/Weather.proto new file mode 100644 index 00000000..f3e7d556 --- /dev/null +++ b/proto/Weather.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message Weather { + uint32 weatherAreaId = 1; +} diff --git a/proto/WeatherInfo.proto b/proto/WeatherInfo.proto index eea9ba2e..f9733a53 100644 --- a/proto/WeatherInfo.proto +++ b/proto/WeatherInfo.proto @@ -17,6 +17,7 @@ syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message WeatherInfo { diff --git a/proto/WeatherWizardData.proto b/proto/WeatherWizardData.proto index a07bdd05..57730ffa 100644 --- a/proto/WeatherWizardData.proto +++ b/proto/WeatherWizardData.proto @@ -1,24 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message WeatherWizardData { - uint32 shield_value = 6; + uint32 shieldValue = 14; } diff --git a/proto/WeekendDjinnInfo.proto b/proto/WeekendDjinnInfo.proto index f7d8b0ae..f79f1e85 100644 --- a/proto/WeekendDjinnInfo.proto +++ b/proto/WeekendDjinnInfo.proto @@ -1,27 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message WeekendDjinnInfo { - Vector pos = 13; - Vector rot = 6; + Rotation rot = 11; + Rotation pos = 10; } diff --git a/proto/WeeklyBossResinDiscountInfo.proto b/proto/WeeklyBossResinDiscountInfo.proto index 4a73d175..63b7c75e 100644 --- a/proto/WeeklyBossResinDiscountInfo.proto +++ b/proto/WeeklyBossResinDiscountInfo.proto @@ -1,27 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message WeeklyBossResinDiscountInfo { - uint32 discount_num = 1; - uint32 discount_num_limit = 2; - uint32 resin_cost = 3; - uint32 original_resin_cost = 4; + uint32 discountNum = 1; + uint32 discountNumLimit = 2; + uint32 resinCost = 3; + uint32 originalResinCost = 4; } diff --git a/proto/WidgetActiveChangeNotify.proto b/proto/WidgetActiveChangeNotify.proto new file mode 100644 index 00000000..a41fb774 --- /dev/null +++ b/proto/WidgetActiveChangeNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "WidgetSlotData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message WidgetActiveChangeNotify { + enum LEFFDDICKCL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4278; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated WidgetSlotData widgetDataList = 13; +} diff --git a/proto/WidgetCameraInfo.proto b/proto/WidgetCameraInfo.proto new file mode 100644 index 00000000..01739744 --- /dev/null +++ b/proto/WidgetCameraInfo.proto @@ -0,0 +1,9 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WidgetCameraInfo { + uint32 targetEntityId = 6; +} diff --git a/proto/WidgetCaptureAnimalReq.proto b/proto/WidgetCaptureAnimalReq.proto new file mode 100644 index 00000000..0e1c58c5 --- /dev/null +++ b/proto/WidgetCaptureAnimalReq.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message WidgetCaptureAnimalReq { + enum EBLPANMIIED { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4273; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 materialId = 8; + Rotation pos = 5; + uint32 entityId = 11; +} diff --git a/proto/WidgetCaptureAnimalRsp.proto b/proto/WidgetCaptureAnimalRsp.proto new file mode 100644 index 00000000..675e8783 --- /dev/null +++ b/proto/WidgetCaptureAnimalRsp.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "Rotation.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message WidgetCaptureAnimalRsp { + enum OHAJHBKAEHA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4271; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 materialId = 10; + uint32 entityId = 11; + Rotation pos = 12; + int32 retcode = 3; +} diff --git a/proto/WidgetCoolDownData.proto b/proto/WidgetCoolDownData.proto index 488711ef..350aee5c 100644 --- a/proto/WidgetCoolDownData.proto +++ b/proto/WidgetCoolDownData.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message WidgetCoolDownData { - uint32 id = 2; - bool is_success = 13; - uint64 cool_down_time = 7; + uint32 id = 8; + uint64 coolDownTime = 15; + bool isSuccess = 12; } diff --git a/proto/WidgetCoolDownNotify.proto b/proto/WidgetCoolDownNotify.proto index 8153adf6..58935797 100644 --- a/proto/WidgetCoolDownNotify.proto +++ b/proto/WidgetCoolDownNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "WidgetCoolDownData.proto"; + +import "WidgetCoolDownData.proto"; option java_package = "emu.grasscutter.net.proto"; message WidgetCoolDownNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4268; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum EBLBOPIBPGA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4290; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated WidgetCoolDownData normal_cool_down_data_list = 2; - repeated WidgetCoolDownData group_cool_down_data_list = 14; + repeated WidgetCoolDownData normalCoolDownDataList = 15; + repeated WidgetCoolDownData groupCoolDownDataList = 10; } diff --git a/proto/WidgetCreateLocationInfo.proto b/proto/WidgetCreateLocationInfo.proto index 1985c9cc..1ec24d85 100644 --- a/proto/WidgetCreateLocationInfo.proto +++ b/proto/WidgetCreateLocationInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "Vector.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message WidgetCreateLocationInfo { diff --git a/proto/WidgetCreatorInfo.proto b/proto/WidgetCreatorInfo.proto index df6fd798..7472100e 100644 --- a/proto/WidgetCreatorInfo.proto +++ b/proto/WidgetCreatorInfo.proto @@ -20,6 +20,7 @@ syntax = "proto3"; import "WidgetCreateLocationInfo.proto"; import "WidgetCreatorOpType.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message WidgetCreatorInfo { diff --git a/proto/WidgetCreatorOpType.proto b/proto/WidgetCreatorOpType.proto index eb0d8ac6..a6a25abc 100644 --- a/proto/WidgetCreatorOpType.proto +++ b/proto/WidgetCreatorOpType.proto @@ -1,26 +1,9 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum WidgetCreatorOpType { - WIDGET_CREATOR_OP_TYPE_NONE = 0; - WIDGET_CREATOR_OP_TYPE_RETRACT = 1; - WIDGET_CREATOR_OP_TYPE_RETRACT_AND_CREATE = 2; + WIDGET_CREATOR_OP_TYPE_NONE = 0; + WIDGET_CREATOR_OP_TYPE_RETRACT = 1; + WIDGET_CREATOR_OP_TYPE_RETRACT_AND_CREATE = 2; } diff --git a/proto/WidgetDoBagReq.proto b/proto/WidgetDoBagReq.proto index 8e430a72..c32961b9 100644 --- a/proto/WidgetDoBagReq.proto +++ b/proto/WidgetDoBagReq.proto @@ -1,40 +1,24 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "WidgetCreateLocationInfo.proto"; -import "WidgetCreatorInfo.proto"; + +import "LocationInfo.proto"; +import "CreatorInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message WidgetDoBagReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4269; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum HNAJINGEDBH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4255; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 material_id = 11; - oneof op_info { - WidgetCreateLocationInfo location_info = 434; - WidgetCreatorInfo widget_creator_info = 1338; - } + uint32 materialId = 12; + oneof CEAOGJOLPHD { + LocationInfo location_info = 135; + CreatorInfo widget_creator_info = 362; + } } diff --git a/proto/WidgetDoBagRsp.proto b/proto/WidgetDoBagRsp.proto index 01d51ca1..2bcbad1b 100644 --- a/proto/WidgetDoBagRsp.proto +++ b/proto/WidgetDoBagRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message WidgetDoBagRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4299; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum MDHJPMKCGNN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4258; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 material_id = 6; - int32 retcode = 14; + uint32 materialId = 6; + int32 retcode = 1; } diff --git a/proto/WidgetExtraCdType.proto b/proto/WidgetExtraCdType.proto new file mode 100644 index 00000000..30fe1277 --- /dev/null +++ b/proto/WidgetExtraCdType.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +enum WidgetExtraCdType { + NONE = 0; + WIDGET_EXTRA_CD_TYPE_E_SKILL_SHARED = 1; +} diff --git a/proto/WidgetGadgetAllDataNotify.proto b/proto/WidgetGadgetAllDataNotify.proto index 669edb12..aae7b968 100644 --- a/proto/WidgetGadgetAllDataNotify.proto +++ b/proto/WidgetGadgetAllDataNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "WidgetGadgetData.proto"; + +import "WidgetGadgetData.proto"; option java_package = "emu.grasscutter.net.proto"; message WidgetGadgetAllDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4288; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HOFILGKEMCN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4259; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated WidgetGadgetData widget_gadget_data = 1; + repeated WidgetGadgetData widgetGadgetData = 4; } diff --git a/proto/WidgetGadgetData.proto b/proto/WidgetGadgetData.proto index 223ad404..1060a240 100644 --- a/proto/WidgetGadgetData.proto +++ b/proto/WidgetGadgetData.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message WidgetGadgetData { - repeated uint32 gadget_entity_id_list = 6; - uint32 gadget_id = 2; + repeated uint32 gadgetEntityIdList = 15; + uint32 gadgetId = 9; } diff --git a/proto/WidgetGadgetDataNotify.proto b/proto/WidgetGadgetDataNotify.proto index ba6f63b3..069ab814 100644 --- a/proto/WidgetGadgetDataNotify.proto +++ b/proto/WidgetGadgetDataNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "WidgetGadgetData.proto"; + +import "WidgetGadgetData.proto"; option java_package = "emu.grasscutter.net.proto"; message WidgetGadgetDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4276; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum PKEFBEFMGGI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4282; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - WidgetGadgetData widget_gadget_data = 3; + WidgetGadgetData widgetGadgetData = 10; } diff --git a/proto/WidgetGadgetDestroyNotify.proto b/proto/WidgetGadgetDestroyNotify.proto new file mode 100644 index 00000000..ffe5351e --- /dev/null +++ b/proto/WidgetGadgetDestroyNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WidgetGadgetDestroyNotify { + enum IJPFLJEPCEM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4254; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 entityId = 3; +} diff --git a/proto/WidgetQuickHitTreeReq.proto b/proto/WidgetQuickHitTreeReq.proto new file mode 100644 index 00000000..1bcfb0dc --- /dev/null +++ b/proto/WidgetQuickHitTreeReq.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "HitTreeInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message WidgetQuickHitTreeReq { + enum JOCCFEJFEFF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3428; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated HitTreeInfo hitTreeInfoList = 2; +} diff --git a/proto/WidgetQuickHitTreeRsp.proto b/proto/WidgetQuickHitTreeRsp.proto new file mode 100644 index 00000000..5e77c8ff --- /dev/null +++ b/proto/WidgetQuickHitTreeRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WidgetQuickHitTreeRsp { + enum EIMPBNOLBKH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3359; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 5; +} diff --git a/proto/WidgetReportReq.proto b/proto/WidgetReportReq.proto new file mode 100644 index 00000000..78092c7c --- /dev/null +++ b/proto/WidgetReportReq.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WidgetReportReq { + enum IAEOPPIEFEN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4287; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + bool Unk3300_BCAIBKDIHHF = 15; + bool isClearSkyCrystalHint = 9; + uint32 weatherWizardShieldValue = 12; + uint32 materialId = 5; + bool Unk3300_APDFKKNKIJJ = 7; +} diff --git a/proto/WidgetReportRsp.proto b/proto/WidgetReportRsp.proto new file mode 100644 index 00000000..d151b1bd --- /dev/null +++ b/proto/WidgetReportRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WidgetReportRsp { + enum LIEEMFLDDBM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4264; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 materialId = 6; + int32 retcode = 4; +} diff --git a/proto/WidgetSlotChangeNotify.proto b/proto/WidgetSlotChangeNotify.proto index 94d0db5f..fc599b51 100644 --- a/proto/WidgetSlotChangeNotify.proto +++ b/proto/WidgetSlotChangeNotify.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "WidgetSlotData.proto"; -import "WidgetSlotOp.proto"; + +import "WidgetSlotOp.proto"; +import "WidgetSlotData.proto"; option java_package = "emu.grasscutter.net.proto"; message WidgetSlotChangeNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 4278; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum CHDJEDPHBIO { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4283; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - WidgetSlotOp op = 5; - WidgetSlotData slot = 2; + WidgetSlotOp op = 14; + WidgetSlotData slot = 2; } diff --git a/proto/WidgetSlotData.proto b/proto/WidgetSlotData.proto index 34e4fb80..45522a79 100644 --- a/proto/WidgetSlotData.proto +++ b/proto/WidgetSlotData.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "WidgetSlotTag.proto"; + +import "WidgetSlotTag.proto"; option java_package = "emu.grasscutter.net.proto"; message WidgetSlotData { - uint32 cd_over_time = 15; - bool is_active = 3; - uint32 material_id = 8; - WidgetSlotTag tag = 11; + uint32 materialId = 11; + uint32 cdOverTime = 2; + bool isActive = 12; + WidgetSlotTag tag = 8; } diff --git a/proto/WidgetSlotOp.proto b/proto/WidgetSlotOp.proto index 4b73e495..5309ce4f 100644 --- a/proto/WidgetSlotOp.proto +++ b/proto/WidgetSlotOp.proto @@ -1,25 +1,8 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum WidgetSlotOp { - WIDGET_SLOT_OP_ATTACH = 0; - WIDGET_SLOT_OP_DETACH = 1; + WIDGET_SLOT_OP_ATTACH = 0; + WIDGET_SLOT_OP_DETACH = 1; } diff --git a/proto/WidgetSlotTag.proto b/proto/WidgetSlotTag.proto index 24bb1954..48c6bacb 100644 --- a/proto/WidgetSlotTag.proto +++ b/proto/WidgetSlotTag.proto @@ -1,25 +1,8 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum WidgetSlotTag { - WIDGET_SLOT_TAG_QUICK_USE = 0; - WIDGET_SLOT_TAG_ATTACH_AVATAR = 1; + WIDGET_SLOT_TAG_QUICK_USE = 0; + WIDGET_SLOT_TAG_ATTACH_AVATAR = 1; } diff --git a/proto/WidgetSlotTagComparer.proto b/proto/WidgetSlotTagComparer.proto index 747e2a98..5f549b6b 100644 --- a/proto/WidgetSlotTagComparer.proto +++ b/proto/WidgetSlotTagComparer.proto @@ -3,6 +3,7 @@ syntax = "proto3"; option java_package = "emu.grasscutter.net.proto"; +option java_package = "emu.grasscutter.net.proto"; message WidgetSlotTagComparer { } diff --git a/proto/WidgetUpdateExtraCDReq.proto b/proto/WidgetUpdateExtraCDReq.proto new file mode 100644 index 00000000..757f1e8b --- /dev/null +++ b/proto/WidgetUpdateExtraCDReq.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + + + +import "WidgetExtraCdType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message WidgetUpdateExtraCDReq { + enum KJAOLHJBCOP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5973; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + WidgetExtraCdType extraCdType = 9; + uint32 materialId = 11; + uint32 cdGroup = 7; +} diff --git a/proto/WidgetUpdateExtraCDRsp.proto b/proto/WidgetUpdateExtraCDRsp.proto new file mode 100644 index 00000000..783b3aec --- /dev/null +++ b/proto/WidgetUpdateExtraCDRsp.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +import "WidgetCoolDownData.proto"; +import "WidgetExtraCdType.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message WidgetUpdateExtraCDRsp { + enum FAKNOEBGLHE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5908; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 materialId = 12; + uint32 cdGroup = 3; + WidgetCoolDownData coolData = 6; + int32 retcode = 13; + WidgetExtraCdType extraCdType = 4; +} diff --git a/proto/WidgetUseAttachAbilityGroupChangeNotify.proto b/proto/WidgetUseAttachAbilityGroupChangeNotify.proto new file mode 100644 index 00000000..56a5e41a --- /dev/null +++ b/proto/WidgetUseAttachAbilityGroupChangeNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WidgetUseAttachAbilityGroupChangeNotify { + enum APFALLIFOOJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 4270; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 materialId = 13; + bool isAttach = 1; +} diff --git a/proto/WidgetWeatherWizardDataNotify.proto b/proto/WidgetWeatherWizardDataNotify.proto new file mode 100644 index 00000000..ac3cbeec --- /dev/null +++ b/proto/WidgetWeatherWizardDataNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WidgetWeatherWizardDataNotify { + enum HLAPCNOKIHB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5947; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 shieldValue = 15; +} diff --git a/proto/WindFieldDetailInfo.proto b/proto/WindFieldDetailInfo.proto index cd537e1d..8baf48e8 100644 --- a/proto/WindFieldDetailInfo.proto +++ b/proto/WindFieldDetailInfo.proto @@ -19,6 +19,7 @@ syntax = "proto3"; import "WindFieldStageInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message WindFieldDetailInfo { diff --git a/proto/WindFieldDungeonFailReason.proto b/proto/WindFieldDungeonFailReason.proto index 2661c9e1..c845e58f 100644 --- a/proto/WindFieldDungeonFailReason.proto +++ b/proto/WindFieldDungeonFailReason.proto @@ -1,28 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -option java_package = "emu.grasscutter.net.proto"; + enum WindFieldDungeonFailReason { - WIND_FIELD_DUNGEON_FAIL_REASON_NONE = 0; - WIND_FIELD_DUNGEON_FAIL_REASON_CANCEL = 1; - WIND_FIELD_DUNGEON_FAIL_REASON_TIMEOUT = 2; - WIND_FIELD_DUNGEON_FAIL_REASON_ALL_AVATAR_DIE = 3; - WIND_FIELD_DUNGEON_FAIL_REASON_LUA_INTERRUPT = 4; + WIND_FIELD_DUNGEON_FAIL_REASON_NONE = 0; + WIND_FIELD_DUNGEON_FAIL_REASON_CANCEL = 1; + WIND_FIELD_DUNGEON_FAIL_REASON_TIMEOUT = 2; + WIND_FIELD_DUNGEON_FAIL_REASON_ALL_AVATAR_DIE = 3; + WIND_FIELD_DUNGEON_FAIL_REASON_LUA_INTERRUPT = 4; } diff --git a/proto/WindFieldDungeonSettleInfo.proto b/proto/WindFieldDungeonSettleInfo.proto index 65b059b4..b1285044 100644 --- a/proto/WindFieldDungeonSettleInfo.proto +++ b/proto/WindFieldDungeonSettleInfo.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "WindFieldDungeonFailReason.proto"; + +import "WindFieldDungeonFailReason.proto"; option java_package = "emu.grasscutter.net.proto"; message WindFieldDungeonSettleInfo { - repeated uint32 Unk3300_FJGFOJBGBKM = 7; - WindFieldDungeonFailReason fail_reason = 3; - repeated uint32 Unk3300_EMCOILGACOC = 1; + repeated uint32 Unk3300_EMCOILGACOC = 6; + WindFieldDungeonFailReason failReason = 12; + repeated uint32 Unk3300_FJGFOJBGBKM = 3; } diff --git a/proto/WindFieldGalleryChallengeInfoNotify.proto b/proto/WindFieldGalleryChallengeInfoNotify.proto new file mode 100644 index 00000000..19e440ea --- /dev/null +++ b/proto/WindFieldGalleryChallengeInfoNotify.proto @@ -0,0 +1,23 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WindFieldGalleryChallengeInfoNotify { + enum AJDPFIHEEGF { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5522; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 Unk3300_GLNHBJJJINK = 15; + uint32 Unk3300_FFODAKMKGEK = 9; + uint32 Unk3300_NBIBKFKOCFK = 13; + bool isSuccess = 12; + bool isStart = 10; + uint32 Unk3300_MMONPDMIEBN = 5; + uint32 Unk3300_GNJKOCLJFNM = 3; +} diff --git a/proto/WindFieldGalleryInfoNotify.proto b/proto/WindFieldGalleryInfoNotify.proto new file mode 100644 index 00000000..31735b3b --- /dev/null +++ b/proto/WindFieldGalleryInfoNotify.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WindFieldGalleryInfoNotify { + enum JOCNCDOAALP { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 5573; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 Unk3300_EKMHMHJDHIL = 9; + uint32 Unk3300_GLNHBJJJINK = 4; + uint32 Unk3300_FFODAKMKGEK = 13; + uint32 Unk3300_OJHJPBCAONA = 1; + uint32 Unk3300_NBIBKFKOCFK = 5; + uint32 Unk3300_MMONPDMIEBN = 15; + uint32 Unk3300_GNJKOCLJFNM = 11; + uint32 Unk3300_GNKCFHMDOHJ = 3; +} diff --git a/proto/WindFieldInfo.proto b/proto/WindFieldInfo.proto new file mode 100644 index 00000000..456a22df --- /dev/null +++ b/proto/WindFieldInfo.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WindFieldInfo { + uint32 Unk3300_GNKCFHMDOHJ = 13; + uint32 Unk3300_GLNHBJJJINK = 4; + uint32 Unk3300_OJHJPBCAONA = 12; + uint32 Unk3300_EKMHMHJDHIL = 10; + uint32 Unk3300_NBIBKFKOCFK = 15; + uint32 Unk3300_GNJKOCLJFNM = 8; + uint32 Unk3300_FFODAKMKGEK = 7; + uint32 Unk3300_MMONPDMIEBN = 9; +} diff --git a/proto/WindFieldRestartDungeonReq.proto b/proto/WindFieldRestartDungeonReq.proto new file mode 100644 index 00000000..4d8b9db3 --- /dev/null +++ b/proto/WindFieldRestartDungeonReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WindFieldRestartDungeonReq { + enum KCPKGJCMDNM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21270; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/WindFieldRestartDungeonRsp.proto b/proto/WindFieldRestartDungeonRsp.proto new file mode 100644 index 00000000..c7ab6136 --- /dev/null +++ b/proto/WindFieldRestartDungeonRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WindFieldRestartDungeonRsp { + enum DFHAIILFLNI { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 21482; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 3; +} diff --git a/proto/WindFieldStageInfo.proto b/proto/WindFieldStageInfo.proto index 669bf9de..24b32b0f 100644 --- a/proto/WindFieldStageInfo.proto +++ b/proto/WindFieldStageInfo.proto @@ -1,26 +1,11 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message WindFieldStageInfo { - uint32 stage_id = 10; - bool is_open = 4; - uint32 open_time = 8; + uint32 openTime = 13; + bool isOpen = 2; + uint32 stageId = 10; } diff --git a/proto/WindSeedClientNotify.proto b/proto/WindSeedClientNotify.proto index dc4f2691..abd9db25 100644 --- a/proto/WindSeedClientNotify.proto +++ b/proto/WindSeedClientNotify.proto @@ -1,54 +1,37 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; +import "bytes.proto"; option java_package = "emu.grasscutter.net.proto"; message WindSeedClientNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 1157; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum NFLDBGMKHKK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 1114; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - message RefreshNotify { - uint32 refresh_num = 7; - } + message RefreshNotify { + uint32 refreshNum = 13; + } + message AddWindBulletNotify { + uint32 Unk3300_CKIKKCAFJBC = 1; + Rotation seedPos = 10; + uint32 Unk3300_MPDFAPBDJAH = 13; + } + message AreaNotify { + uint32 areaType = 5; + uint32 areaId = 12; + bytes areaCode = 1; + } - message AddWindBulletNotify { - Vector seed_pos = 14; - uint32 add_wind_bullet_notify = 7; - uint32 Unk3300_MPDFAPBDJAH = 11; - } - - message AreaNotify { - uint32 area_id = 12; - bytes area_code = 10; - uint32 area_type = 13; - } - - oneof notify { - RefreshNotify refresh_notify = 14; - AddWindBulletNotify add_wind_bullet_notify = 7; - AreaNotify area_notify = 5; - } + oneof BANLMNJCGFJ { + RefreshNotify refresh_notify = 11; + AddWindBulletNotify add_wind_bullet_notify = 8; + AreaNotify area_notify = 2; + } } diff --git a/proto/WinterCampAcceptAllGiveItemReq.proto b/proto/WinterCampAcceptAllGiveItemReq.proto index 39100dd0..d5a6a4ef 100644 --- a/proto/WinterCampAcceptAllGiveItemReq.proto +++ b/proto/WinterCampAcceptAllGiveItemReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message WinterCampAcceptAllGiveItemReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 8538; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum IPDEIKJPOLN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8920; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/WinterCampAcceptAllGiveItemRsp.proto b/proto/WinterCampAcceptAllGiveItemRsp.proto index c661e424..36f6b7fa 100644 --- a/proto/WinterCampAcceptAllGiveItemRsp.proto +++ b/proto/WinterCampAcceptAllGiveItemRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "WinterCampAcceptItemResultInfo.proto"; + +import "WinterCampAcceptItemResultInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message WinterCampAcceptAllGiveItemRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 8731; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum BHNIIAAOKOK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8366; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 11; - repeated WinterCampAcceptItemResultInfo accept_item_result_info = 1; + repeated WinterCampAcceptItemResultInfo acceptItemResultInfo = 1; + int32 retcode = 6; } diff --git a/proto/WinterCampAcceptGiveItemReq.proto b/proto/WinterCampAcceptGiveItemReq.proto index 65bc80c8..0b8bb0f8 100644 --- a/proto/WinterCampAcceptGiveItemReq.proto +++ b/proto/WinterCampAcceptGiveItemReq.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message WinterCampAcceptGiveItemReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 8516; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum LIKNMOCMKLA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8148; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 uid = 4; + uint32 uid = 4; } diff --git a/proto/WinterCampAcceptGiveItemRsp.proto b/proto/WinterCampAcceptGiveItemRsp.proto index 6ea2c799..ff475523 100644 --- a/proto/WinterCampAcceptGiveItemRsp.proto +++ b/proto/WinterCampAcceptGiveItemRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "WinterCampAcceptItemResultInfo.proto"; + +import "WinterCampAcceptItemResultInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message WinterCampAcceptGiveItemRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 8966; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum FONBKIMFPKE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8419; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - WinterCampAcceptItemResultInfo accept_item_result_info = 15; - int32 retcode = 6; + int32 retcode = 11; + WinterCampAcceptItemResultInfo acceptItemResultInfo = 13; } diff --git a/proto/WinterCampAcceptItemResultInfo.proto b/proto/WinterCampAcceptItemResultInfo.proto index 77f2350a..46cd54cd 100644 --- a/proto/WinterCampAcceptItemResultInfo.proto +++ b/proto/WinterCampAcceptItemResultInfo.proto @@ -1,28 +1,12 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ItemParam.proto"; + +import "ItemParam.proto"; option java_package = "emu.grasscutter.net.proto"; message WinterCampAcceptItemResultInfo { - repeated ItemParam Unk3300_ILELLFNPDFJ = 15; - repeated ItemParam Unk3300_JHKOMCFHAOG = 13; - uint32 uid = 9; + uint32 uid = 6; + repeated ItemParam Unk3300_ILELLFNPDFJ = 9; + repeated ItemParam Unk3300_JHKOMCFHAOG = 11; } diff --git a/proto/WinterCampActivityDetailInfo.proto b/proto/WinterCampActivityDetailInfo.proto index 4013a3e6..b12318a1 100644 --- a/proto/WinterCampActivityDetailInfo.proto +++ b/proto/WinterCampActivityDetailInfo.proto @@ -21,6 +21,7 @@ import "ItemParam.proto"; import "WinterCampRaceStageInfo.proto"; import "WinterCampStageInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; option java_package = "emu.grasscutter.net.proto"; message WinterCampActivityDetailInfo { diff --git a/proto/WinterCampEditSnowmanCombinationReq.proto b/proto/WinterCampEditSnowmanCombinationReq.proto new file mode 100644 index 00000000..02db038f --- /dev/null +++ b/proto/WinterCampEditSnowmanCombinationReq.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + + + +import "CustomGadgetTreeInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message WinterCampEditSnowmanCombinationReq { + enum OHAHMAAFKAM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8170; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 entityId = 2; + CustomGadgetTreeInfo combinationInfo = 4; +} diff --git a/proto/WinterCampEditSnowmanCombinationRsp.proto b/proto/WinterCampEditSnowmanCombinationRsp.proto new file mode 100644 index 00000000..6e6e1b8c --- /dev/null +++ b/proto/WinterCampEditSnowmanCombinationRsp.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WinterCampEditSnowmanCombinationRsp { + enum EOIFNOHKCGB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8237; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 1; +} diff --git a/proto/WinterCampFriendWishData.proto b/proto/WinterCampFriendWishData.proto new file mode 100644 index 00000000..d0c134d0 --- /dev/null +++ b/proto/WinterCampFriendWishData.proto @@ -0,0 +1,13 @@ +syntax = "proto3"; + + + +import "ProfilePicture.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message WinterCampFriendWishData { + uint32 uid = 8; + repeated uint32 itemIdList = 14; + string nickname = 7; + ProfilePicture profilePicture = 9; +} diff --git a/proto/WinterCampGetCanGiveFriendItemReq.proto b/proto/WinterCampGetCanGiveFriendItemReq.proto index 4a68ed2b..d9b41b93 100644 --- a/proto/WinterCampGetCanGiveFriendItemReq.proto +++ b/proto/WinterCampGetCanGiveFriendItemReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message WinterCampGetCanGiveFriendItemReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 8443; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum CPDGJOKLAIL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8272; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/WinterCampGetCanGiveFriendItemRsp.proto b/proto/WinterCampGetCanGiveFriendItemRsp.proto index 6f5d4db3..feaac906 100644 --- a/proto/WinterCampGetCanGiveFriendItemRsp.proto +++ b/proto/WinterCampGetCanGiveFriendItemRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ItemParam.proto"; + +import "ItemParam.proto"; option java_package = "emu.grasscutter.net.proto"; message WinterCampGetCanGiveFriendItemRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 8021; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum ENNLGCHFJGA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8330; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 12; - repeated ItemParam item_list = 14; + int32 retcode = 2; + repeated ItemParam itemList = 1; } diff --git a/proto/WinterCampGetFriendWishListReq.proto b/proto/WinterCampGetFriendWishListReq.proto new file mode 100644 index 00000000..b8fb2f0b --- /dev/null +++ b/proto/WinterCampGetFriendWishListReq.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WinterCampGetFriendWishListReq { + enum ENMGAINMNPE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8455; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + +} diff --git a/proto/WinterCampGetFriendWishListRsp.proto b/proto/WinterCampGetFriendWishListRsp.proto new file mode 100644 index 00000000..d35dfabd --- /dev/null +++ b/proto/WinterCampGetFriendWishListRsp.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "WinterCampFriendWishData.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message WinterCampGetFriendWishListRsp { + enum PPJNCNDJJOL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8987; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 6; + repeated WinterCampFriendWishData wishDataList = 14; +} diff --git a/proto/WinterCampGetRecvItemListReq.proto b/proto/WinterCampGetRecvItemListReq.proto index bf2ac4eb..b451ea5b 100644 --- a/proto/WinterCampGetRecvItemListReq.proto +++ b/proto/WinterCampGetRecvItemListReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message WinterCampGetRecvItemListReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 8794; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum BCNMGPHKKEE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8296; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/WinterCampGetRecvItemListRsp.proto b/proto/WinterCampGetRecvItemListRsp.proto index 85007bd8..2c0205fb 100644 --- a/proto/WinterCampGetRecvItemListRsp.proto +++ b/proto/WinterCampGetRecvItemListRsp.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "WinterCampRecvItemData.proto"; + +import "WinterCampRecvItemData.proto"; option java_package = "emu.grasscutter.net.proto"; message WinterCampGetRecvItemListRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 8957; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum HJMMJHPCNHG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8073; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated WinterCampRecvItemData recv_item_data_list = 6; - int32 retcode = 5; + repeated WinterCampRecvItemData recvItemDataList = 13; + int32 retcode = 11; } diff --git a/proto/WinterCampGiveFriendItemReq.proto b/proto/WinterCampGiveFriendItemReq.proto index c6de6a03..45c45d71 100644 --- a/proto/WinterCampGiveFriendItemReq.proto +++ b/proto/WinterCampGiveFriendItemReq.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ItemParam.proto"; + +import "ItemParam.proto"; option java_package = "emu.grasscutter.net.proto"; message WinterCampGiveFriendItemReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 8102; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum DJAGLGMAMFJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8528; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 uid = 11; - repeated ItemParam item_list = 3; + repeated ItemParam itemList = 5; + uint32 uid = 2; } diff --git a/proto/WinterCampGiveFriendItemRsp.proto b/proto/WinterCampGiveFriendItemRsp.proto index 0c9221ea..793d35be 100644 --- a/proto/WinterCampGiveFriendItemRsp.proto +++ b/proto/WinterCampGiveFriendItemRsp.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message WinterCampGiveFriendItemRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 8735; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum CKBMMHMFJEK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8656; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 limit_item_id_list = 3; - int32 retcode = 15; + repeated uint32 limitItemIdList = 7; + int32 retcode = 15; } diff --git a/proto/WinterCampInfo.proto b/proto/WinterCampInfo.proto new file mode 100644 index 00000000..b31badc6 --- /dev/null +++ b/proto/WinterCampInfo.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "WinterCampStageInfo.proto"; +import "WinterCampRaceStageInfo.proto"; +import "ItemParam.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message WinterCampInfo { + repeated WinterCampRaceStageInfo raceInfoList = 5; + repeated uint32 Unk3300_CMNIBPMOECO = 14; + repeated ItemParam usedItemList = 8; + repeated uint32 Unk3300_FHNNJJDGLOO = 7; + WinterCampStageInfo exploreInfo = 1; + repeated uint32 Unk3300_KCGKNJFGCFC = 3; + bool leftMonsters = 11; + WinterCampStageInfo battleInfo = 10; +} diff --git a/proto/WinterCampRaceScoreNotify.proto b/proto/WinterCampRaceScoreNotify.proto new file mode 100644 index 00000000..1443ced2 --- /dev/null +++ b/proto/WinterCampRaceScoreNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WinterCampRaceScoreNotify { + enum CCOOGBHIEDD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8068; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 maxScore = 7; + uint32 id = 11; +} diff --git a/proto/WinterCampRaceStageInfo.proto b/proto/WinterCampRaceStageInfo.proto index 7d16152f..f3dd588f 100644 --- a/proto/WinterCampRaceStageInfo.proto +++ b/proto/WinterCampRaceStageInfo.proto @@ -1,29 +1,13 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message WinterCampRaceStageInfo { - uint32 id = 2; - Vector pos = 6; - uint32 open_time = 5; - uint32 max_score = 4; + Rotation pos = 10; + uint32 maxScore = 14; + uint32 openTime = 11; + uint32 id = 15; } diff --git a/proto/WinterCampRecvItemData.proto b/proto/WinterCampRecvItemData.proto index 0d6970f4..c8990dba 100644 --- a/proto/WinterCampRecvItemData.proto +++ b/proto/WinterCampRecvItemData.proto @@ -1,30 +1,14 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "ItemParam.proto"; -import "ProfilePicture.proto"; + +import "ProfilePicture.proto"; +import "ItemParam.proto"; option java_package = "emu.grasscutter.net.proto"; message WinterCampRecvItemData { - string nickname = 8; - uint32 uid = 6; - ProfilePicture profile_picture = 1; - repeated ItemParam item_list = 3; + repeated ItemParam itemList = 9; + ProfilePicture profilePicture = 2; + string nickname = 8; + uint32 uid = 3; } diff --git a/proto/WinterCampRecvItemNotify.proto b/proto/WinterCampRecvItemNotify.proto index 9deb47a6..6f8ce6fe 100644 --- a/proto/WinterCampRecvItemNotify.proto +++ b/proto/WinterCampRecvItemNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "WinterCampRecvItemData.proto"; + +import "WinterCampRecvItemData.proto"; option java_package = "emu.grasscutter.net.proto"; message WinterCampRecvItemNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 8952; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum DODOHPBBHLL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8667; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - WinterCampRecvItemData recv_item_data = 11; + WinterCampRecvItemData recvItemData = 5; } diff --git a/proto/WinterCampSetWishListReq.proto b/proto/WinterCampSetWishListReq.proto new file mode 100644 index 00000000..546a9448 --- /dev/null +++ b/proto/WinterCampSetWishListReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WinterCampSetWishListReq { + enum GNHHDEGIAID { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8363; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + repeated uint32 itemIdList = 7; +} diff --git a/proto/WinterCampSetWishListRsp.proto b/proto/WinterCampSetWishListRsp.proto new file mode 100644 index 00000000..08e37134 --- /dev/null +++ b/proto/WinterCampSetWishListRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WinterCampSetWishListRsp { + enum CEOFANGHNOM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8827; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 6; + repeated uint32 itemIdList = 3; +} diff --git a/proto/WinterCampStageInfo.proto b/proto/WinterCampStageInfo.proto index 53c71f71..d45b298b 100644 --- a/proto/WinterCampStageInfo.proto +++ b/proto/WinterCampStageInfo.proto @@ -1,31 +1,15 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "Vector.proto"; + +import "Rotation.proto"; option java_package = "emu.grasscutter.net.proto"; message WinterCampStageInfo { - uint32 open_time = 3; - uint32 total_progress = 2; - uint32 cur_progress = 9; - uint32 id = 1; - Vector pos = 14; - bool is_finished = 8; + uint32 totalProgress = 15; + uint32 curProgress = 2; + uint32 id = 13; + uint32 openTime = 12; + Rotation pos = 6; + bool isFinished = 9; } diff --git a/proto/WinterCampStageInfoChangeNotify.proto b/proto/WinterCampStageInfoChangeNotify.proto new file mode 100644 index 00000000..6272ad28 --- /dev/null +++ b/proto/WinterCampStageInfoChangeNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "WinterCampStageInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message WinterCampStageInfoChangeNotify { + enum MHOIDAFEDGN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8517; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + WinterCampStageInfo battleInfo = 15; + WinterCampStageInfo exploreInfo = 3; +} diff --git a/proto/WinterCampTakeBattleRewardReq.proto b/proto/WinterCampTakeBattleRewardReq.proto new file mode 100644 index 00000000..d3e46494 --- /dev/null +++ b/proto/WinterCampTakeBattleRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WinterCampTakeBattleRewardReq { + enum JEALNPHAJOC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8074; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 id = 9; +} diff --git a/proto/WinterCampTakeBattleRewardRsp.proto b/proto/WinterCampTakeBattleRewardRsp.proto new file mode 100644 index 00000000..8cb28091 --- /dev/null +++ b/proto/WinterCampTakeBattleRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WinterCampTakeBattleRewardRsp { + enum FPOOCFMMIBC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8088; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 id = 13; + int32 retcode = 5; +} diff --git a/proto/WinterCampTakeExploreRewardReq.proto b/proto/WinterCampTakeExploreRewardReq.proto new file mode 100644 index 00000000..57563af9 --- /dev/null +++ b/proto/WinterCampTakeExploreRewardReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WinterCampTakeExploreRewardReq { + enum HBBEBDPDDMH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8290; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 id = 10; +} diff --git a/proto/WinterCampTakeExploreRewardRsp.proto b/proto/WinterCampTakeExploreRewardRsp.proto new file mode 100644 index 00000000..a2c9ac20 --- /dev/null +++ b/proto/WinterCampTakeExploreRewardRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WinterCampTakeExploreRewardRsp { + enum MMEDPKLEBCA { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8788; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 6; + uint32 id = 13; +} diff --git a/proto/WinterCampTriathlonRestartReq.proto b/proto/WinterCampTriathlonRestartReq.proto new file mode 100644 index 00000000..29b08399 --- /dev/null +++ b/proto/WinterCampTriathlonRestartReq.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WinterCampTriathlonRestartReq { + enum PJMPNPLKLOB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8370; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + uint32 galleryId = 8; +} diff --git a/proto/WinterCampTriathlonRestartRsp.proto b/proto/WinterCampTriathlonRestartRsp.proto new file mode 100644 index 00000000..ae534361 --- /dev/null +++ b/proto/WinterCampTriathlonRestartRsp.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WinterCampTriathlonRestartRsp { + enum HEMFDECFOBD { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8323; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + int32 retcode = 14; + uint32 galleryId = 13; +} diff --git a/proto/WinterCampTriathlonSettleNotify.proto b/proto/WinterCampTriathlonSettleNotify.proto new file mode 100644 index 00000000..9c506881 --- /dev/null +++ b/proto/WinterCampTriathlonSettleNotify.proto @@ -0,0 +1,24 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WinterCampTriathlonSettleNotify { + enum DNJNBHCNHKG { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 8723; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 Unk3300_EMNKJGKNCMP = 12; + bool isSuccess = 6; + uint32 Unk3300_OEFOGONENFN = 8; + bool isNewRecord = 2; + uint32 galleryId = 13; + uint32 Unk3300_ACDOMBHMNJG = 4; + uint32 remainTime = 7; + uint32 score = 1; +} diff --git a/proto/Worktop.proto b/proto/Worktop.proto new file mode 100644 index 00000000..ddc32589 --- /dev/null +++ b/proto/Worktop.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message Worktop { + repeated uint32 optionList = 1; + bool isGuestCanOperate = 2; +} diff --git a/proto/WorktopInfo.proto b/proto/WorktopInfo.proto index 66d2db06..b177e384 100644 --- a/proto/WorktopInfo.proto +++ b/proto/WorktopInfo.proto @@ -1,25 +1,10 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message WorktopInfo { - repeated uint32 option_list = 1; - bool is_guest_can_operate = 2; + repeated uint32 optionList = 1; + bool isGuestCanOperate = 2; } diff --git a/proto/WorktopOptionNotify.proto b/proto/WorktopOptionNotify.proto index c81b1018..db4844e4 100644 --- a/proto/WorktopOptionNotify.proto +++ b/proto/WorktopOptionNotify.proto @@ -1,33 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message WorktopOptionNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 819; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum OMINMJGKANB { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 898; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated uint32 option_list = 10; - uint32 gadget_entity_id = 8; + repeated uint32 optionList = 9; + uint32 gadgetEntityId = 15; } diff --git a/proto/WorldAllRoutineTypeNotify.proto b/proto/WorldAllRoutineTypeNotify.proto new file mode 100644 index 00000000..70d1afe1 --- /dev/null +++ b/proto/WorldAllRoutineTypeNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "WorldRoutineTypeInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message WorldAllRoutineTypeNotify { + enum DNJFMFNJMBC { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3545; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + repeated WorldRoutineTypeInfo worldRoutineTypeList = 4; +} diff --git a/proto/WorldChestOpenNotify.proto b/proto/WorldChestOpenNotify.proto index b09eab62..ad29a7a1 100644 --- a/proto/WorldChestOpenNotify.proto +++ b/proto/WorldChestOpenNotify.proto @@ -1,34 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message WorldChestOpenNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 3242; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum GCDLLCOAPND { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3085; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 scene_id = 9; - uint32 group_id = 5; - uint32 config_id = 3; + uint32 groupId = 3; + uint32 sceneId = 6; + uint32 configId = 8; } diff --git a/proto/WorldDataNotify.proto b/proto/WorldDataNotify.proto index bc4f7c71..2817c7f2 100644 --- a/proto/WorldDataNotify.proto +++ b/proto/WorldDataNotify.proto @@ -1,41 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "PropValue.proto"; + +import "PropValue.proto"; option java_package = "emu.grasscutter.net.proto"; message WorldDataNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 3436; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum HGHHBKAGAAH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3244; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - enum DataType { - DATA_TYPE_NONE = 0; - DATA_TYPE_WORLD_LEVEL = 1; - DATA_TYPE_IS_IN_MP_MODE = 2; - } - - map world_prop_map = 6; + map worldPropMap = 3; } diff --git a/proto/WorldOwnerBlossomBriefInfoNotify.proto b/proto/WorldOwnerBlossomBriefInfoNotify.proto index ccdd026c..622912c2 100644 --- a/proto/WorldOwnerBlossomBriefInfoNotify.proto +++ b/proto/WorldOwnerBlossomBriefInfoNotify.proto @@ -1,35 +1,19 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "BlossomBriefInfo.proto"; + +import "BlossomBriefInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message WorldOwnerBlossomBriefInfoNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 2719; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum COICGBPKPCK { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2798; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated BlossomBriefInfo brief_info_list = 14; + repeated BlossomBriefInfo briefInfoList = 11; } diff --git a/proto/WorldOwnerBlossomScheduleInfoNotify.proto b/proto/WorldOwnerBlossomScheduleInfoNotify.proto new file mode 100644 index 00000000..338c6a84 --- /dev/null +++ b/proto/WorldOwnerBlossomScheduleInfoNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "BlossomScheduleInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message WorldOwnerBlossomScheduleInfoNotify { + enum BNGIMIJIMIM { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 2720; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + + BlossomScheduleInfo scheduleInfo = 4; +} diff --git a/proto/WorldOwnerDailyTaskNotify.proto b/proto/WorldOwnerDailyTaskNotify.proto index f49f873d..5cbaaa8b 100644 --- a/proto/WorldOwnerDailyTaskNotify.proto +++ b/proto/WorldOwnerDailyTaskNotify.proto @@ -1,37 +1,21 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "DailyTaskInfo.proto"; + +import "DailyTaskInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message WorldOwnerDailyTaskNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 193; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum PJGBNBLMPKE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 163; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - uint32 filter_city_id = 4; - repeated DailyTaskInfo task_list = 2; - uint32 finished_daily_task_num = 9; + uint32 finishedDailyTaskNum = 4; + repeated DailyTaskInfo taskList = 9; + uint32 filterCityId = 15; } diff --git a/proto/WorldPlayerDieNotify.proto b/proto/WorldPlayerDieNotify.proto index 68234197..20b18db9 100644 --- a/proto/WorldPlayerDieNotify.proto +++ b/proto/WorldPlayerDieNotify.proto @@ -1,39 +1,23 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "PlayerDieType.proto"; + +import "PlayerDieType.proto"; option java_package = "emu.grasscutter.net.proto"; message WorldPlayerDieNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 259; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum PHIDAGMPKOH { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 202; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - uint32 murderer_entity_id = 3; - PlayerDieType die_type = 13; - oneof entity { - uint32 monster_id = 6; - uint32 gadget_id = 12; - } + PlayerDieType dieType = 10; + uint32 murdererEntityId = 8; + oneof ABKAIMJDBCD { + uint32 monster_id = 1; + uint32 gadget_id = 4; + } } diff --git a/proto/WorldPlayerInfoNotify.proto b/proto/WorldPlayerInfoNotify.proto index 053ef374..fd1e4758 100644 --- a/proto/WorldPlayerInfoNotify.proto +++ b/proto/WorldPlayerInfoNotify.proto @@ -1,38 +1,22 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "OnlinePlayerInfo.proto"; import "PlayerWidgetInfo.proto"; - option java_package = "emu.grasscutter.net.proto"; message WorldPlayerInfoNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 3150; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum LACJFKEDHAN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3125; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } - repeated PlayerWidgetInfo player_widget_info_list = 7; - repeated uint32 player_uid_list = 12; - repeated OnlinePlayerInfo player_info_list = 15; + repeated uint32 playerUidList = 10; + repeated OnlinePlayerInfo playerInfoList = 12; + repeated PlayerWidgetInfo playerWidgetInfoList = 1; } diff --git a/proto/WorldPlayerLocationNotify.proto b/proto/WorldPlayerLocationNotify.proto index 7dea0e2f..a69749fc 100644 --- a/proto/WorldPlayerLocationNotify.proto +++ b/proto/WorldPlayerLocationNotify.proto @@ -1,36 +1,20 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + import "PlayerLocationInfo.proto"; import "PlayerWorldLocationInfo.proto"; - option java_package = "emu.grasscutter.net.proto"; message WorldPlayerLocationNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 224; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum EMHMBAEIAFL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 283; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated PlayerWorldLocationInfo player_world_loc_list = 5; - repeated PlayerLocationInfo player_loc_list = 14; + repeated PlayerLocationInfo playerLocList = 4; + repeated PlayerWorldLocationInfo playerWorldLocList = 3; } diff --git a/proto/WorldPlayerRTTNotify.proto b/proto/WorldPlayerRTTNotify.proto index 60e836ac..cfb71d5f 100644 --- a/proto/WorldPlayerRTTNotify.proto +++ b/proto/WorldPlayerRTTNotify.proto @@ -1,34 +1,18 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; -import "PlayerRTTInfo.proto"; + +import "PlayerRTTInfo.proto"; option java_package = "emu.grasscutter.net.proto"; message WorldPlayerRTTNotify { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 37; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum EAHJDHFPNEN { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 92; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - repeated PlayerRTTInfo player_rtt_list = 6; + repeated PlayerRTTInfo playerRttList = 2; } diff --git a/proto/WorldPlayerReviveReq.proto b/proto/WorldPlayerReviveReq.proto index 6cfb8582..2d796511 100644 --- a/proto/WorldPlayerReviveReq.proto +++ b/proto/WorldPlayerReviveReq.proto @@ -1,31 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message WorldPlayerReviveReq { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 229; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // IS_ALLOW_CLIENT = 1; - // } + enum EIMEDABPDBE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 219; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + EAJIABGAOCI = 1; + } + } diff --git a/proto/WorldPlayerReviveRsp.proto b/proto/WorldPlayerReviveRsp.proto index 1f600afb..8970b103 100644 --- a/proto/WorldPlayerReviveRsp.proto +++ b/proto/WorldPlayerReviveRsp.proto @@ -1,32 +1,17 @@ -// Proto has been converted from Sorapointa to Grasscutter format -// Sorapointa - A server software re-implementation for a certain anime game, and avoid sorapointa. -// Copyright (C) 2022 Sorapointa Team -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU Affero General Public License as -// published by the Free Software Foundation, either version 3 of the -// License, or (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU Affero General Public License for more details. -// -// You should have received a copy of the GNU Affero General Public License -// along with this program. If not, see . - syntax = "proto3"; + + option java_package = "emu.grasscutter.net.proto"; message WorldPlayerReviveRsp { - // enum CmdId { - // option allow_alias = true; - // NONE = 0; - // CMD_ID = 286; - // ENET_CHANNEL_ID = 0; - // ENET_IS_RELIABLE = 1; - // } + enum CMKMFBOHIFE { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 221; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } - int32 retcode = 11; + int32 retcode = 6; } diff --git a/proto/WorldRoutineChangeNotify.proto b/proto/WorldRoutineChangeNotify.proto new file mode 100644 index 00000000..198d39e1 --- /dev/null +++ b/proto/WorldRoutineChangeNotify.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "WorldRoutineInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message WorldRoutineChangeNotify { + enum LPJNJHEPIDL { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3541; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 routineType = 11; + WorldRoutineInfo routineInfo = 2; +} diff --git a/proto/WorldRoutineInfo.proto b/proto/WorldRoutineInfo.proto new file mode 100644 index 00000000..b067c595 --- /dev/null +++ b/proto/WorldRoutineInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WorldRoutineInfo { + bool isFinished = 9; + uint32 finishProgress = 15; + uint32 progress = 5; + uint32 routineId = 4; +} diff --git a/proto/WorldRoutineTypeCloseNotify.proto b/proto/WorldRoutineTypeCloseNotify.proto new file mode 100644 index 00000000..1a31594e --- /dev/null +++ b/proto/WorldRoutineTypeCloseNotify.proto @@ -0,0 +1,17 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message WorldRoutineTypeCloseNotify { + enum JKAKCANNAEJ { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3519; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + uint32 routineType = 7; +} diff --git a/proto/WorldRoutineTypeInfo.proto b/proto/WorldRoutineTypeInfo.proto new file mode 100644 index 00000000..5dfd17ae --- /dev/null +++ b/proto/WorldRoutineTypeInfo.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + + + +import "WorldRoutineInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message WorldRoutineTypeInfo { + uint32 routineType = 13; + uint32 nextRefreshTime = 15; + repeated WorldRoutineInfo worldRoutineInfoList = 6; +} diff --git a/proto/WorldRoutineTypeRefreshNotify.proto b/proto/WorldRoutineTypeRefreshNotify.proto new file mode 100644 index 00000000..bb5d59b8 --- /dev/null +++ b/proto/WorldRoutineTypeRefreshNotify.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + + + +import "WorldRoutineTypeInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message WorldRoutineTypeRefreshNotify { + enum BDLFKJJGKII { + option allow_alias = true; + NONE = 0; + PEPPOHPHJOJ = 3546; + DCDNILFDFLB = 0; + NNBKOLMPOEA = 1; + } + + WorldRoutineTypeInfo worldRoutineType = 15; +} diff --git a/proto/bool.proto b/proto/bool.proto new file mode 100644 index 00000000..73b5c073 --- /dev/null +++ b/proto/bool.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + + + +enum bool { + IN_BATTLE_MECHANICUS_STAGE_TYPE_NONE = 0; + IN_BATTLE_MECHANICUS_STAGE_TYPE_BUILD = 1; + IN_BATTLE_MECHANICUS_STAGE_TYPE_CARD_FLIP = 2; + IN_BATTLE_MECHANICUS_STAGE_TYPE_KILL = 3; +} diff --git a/proto/bytes.proto b/proto/bytes.proto new file mode 100644 index 00000000..796fc872 --- /dev/null +++ b/proto/bytes.proto @@ -0,0 +1,8 @@ +syntax = "proto3"; + + + +option java_package = "emu.grasscutter.net.proto"; + +message bytes { +} diff --git a/proto/uint32.proto b/proto/uint32.proto new file mode 100644 index 00000000..b515cedd --- /dev/null +++ b/proto/uint32.proto @@ -0,0 +1,19 @@ +syntax = "proto3"; + + + +import "BalloonInfo.proto"; +import "FallInfo.proto"; +import "MusicInfo.proto"; +option java_package = "emu.grasscutter.net.proto"; + +message uint32 { + uint32 minigameId = 14; + bool isOpen = 3; + uint32 openTime = 6; + oneof HNMEDAOCKOI { + BalloonInfo balloon_info = 13; + FallInfo fall_info = 11; + MusicInfo music_info = 9; + } +}