diff --git a/proto/DungeonEntryBlockReason.proto b/proto/DungeonEntryBlockReason.proto new file mode 100644 index 00000000..2c8ddb7a --- /dev/null +++ b/proto/DungeonEntryBlockReason.proto @@ -0,0 +1,25 @@ +// https://github.com/SlushinPS/beach-simulator +// Copyright (C) 2023 Slushy Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; +// Obf: DKFHNAHNGFE +enum DungeonEntryBlockReason { + DUNGEON_ENTRY_REASON_NONE = 0; + DUNGEON_ENTRY_REASON_LEVEL = 1; + DUNGEON_ENTRY_REASON_QUEST = 2; + DUNGEON_ENTRY_REASON_MULIPLE = 3; +} diff --git a/proto/DungeonEntryCond.proto b/proto/DungeonEntryCond.proto new file mode 100644 index 00000000..7c7d63d6 --- /dev/null +++ b/proto/DungeonEntryCond.proto @@ -0,0 +1,24 @@ +// https://github.com/SlushinPS/beach-simulator +// Copyright (C) 2023 Slushy Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; +import "DungeonEntryBlockReason.proto"; +// Obf: MGMEPMHEJEA +message DungeonEntryCond { + DungeonEntryBlockReason cond_reason = 4; + uint32 param1 = 12; +} diff --git a/proto/DungeonEntryToBeExploreNotify.proto b/proto/DungeonEntryToBeExploreNotify.proto new file mode 100644 index 00000000..8778ecbe --- /dev/null +++ b/proto/DungeonEntryToBeExploreNotify.proto @@ -0,0 +1,25 @@ +// https://github.com/SlushinPS/beach-simulator +// Copyright (C) 2023 Slushy Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; +// CmdId: 22366 +// Obf: IIPOKPCHEKL +message DungeonEntryToBeExploreNotify { + uint32 scene_id = 15; + uint32 dungeon_entry_scene_point_id = 13; + uint32 dungeon_entry_config_id = 5; +} diff --git a/proto/GetDungeonEntryExploreConditionReq.proto b/proto/GetDungeonEntryExploreConditionReq.proto new file mode 100644 index 00000000..2e9b0fd1 --- /dev/null +++ b/proto/GetDungeonEntryExploreConditionReq.proto @@ -0,0 +1,25 @@ +// https://github.com/SlushinPS/beach-simulator +// Copyright (C) 2023 Slushy Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; +// CmdId: 28261 +// Obf: EEGGMAGLFIB +message GetDungeonEntryExploreConditionReq { + uint32 dungeon_entry_config_id = 14; + uint32 scene_id = 6; + uint32 dungeon_entry_scene_point_id = 5; +} diff --git a/proto/GetDungeonEntryExploreConditionRsp.proto b/proto/GetDungeonEntryExploreConditionRsp.proto new file mode 100644 index 00000000..4607e484 --- /dev/null +++ b/proto/GetDungeonEntryExploreConditionRsp.proto @@ -0,0 +1,25 @@ +// https://github.com/SlushinPS/beach-simulator +// Copyright (C) 2023 Slushy Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; +import "DungeonEntryCond.proto"; +// CmdId: 3536 +// Obf: GAICEEONGHO +message GetDungeonEntryExploreConditionRsp { + int32 retcode = 11; + DungeonEntryCond dungeon_entry_cond = 12; +} diff --git a/proto/UnfreezeGroupLimitNotify.proto b/proto/UnfreezeGroupLimitNotify.proto new file mode 100644 index 00000000..d66d9e09 --- /dev/null +++ b/proto/UnfreezeGroupLimitNotify.proto @@ -0,0 +1,24 @@ +// https://github.com/SlushinPS/beach-simulator +// Copyright (C) 2023 Slushy Team +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as +// published by the Free Software Foundation, either version 3 of the +// License, or (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see . + +syntax = "proto3"; +option java_package = "emu.grasscutter.net.proto"; +// CmdId: 23739 +// Obf: JEGDFLEGJLH +message UnfreezeGroupLimitNotify { + uint32 scene_id = 1; + uint32 point_id = 12; +}