From 89f10f466986f3d21270c8bb2ea71a8f0d288c36 Mon Sep 17 00:00:00 2001
From: Yuuki <6851027-yukiz@users.noreply.gitlab.com>
Date: Sat, 21 Oct 2023 23:06:35 +0800
Subject: [PATCH] add miss proto * DungeonRestart
---
proto/DungeonRestartReq.proto | 22 ++++++++++++++++++++++
proto/DungeonRestartResultNotify.proto | 23 +++++++++++++++++++++++
proto/DungeonRestartRsp.proto | 25 +++++++++++++++++++++++++
3 files changed, 70 insertions(+)
create mode 100644 proto/DungeonRestartReq.proto
create mode 100644 proto/DungeonRestartResultNotify.proto
create mode 100644 proto/DungeonRestartRsp.proto
diff --git a/proto/DungeonRestartReq.proto b/proto/DungeonRestartReq.proto
new file mode 100644
index 00000000..85336fbe
--- /dev/null
+++ b/proto/DungeonRestartReq.proto
@@ -0,0 +1,22 @@
+// 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: 29252
+// Obf: FFNEOOIKHIA
+message DungeonRestartReq {
+}
diff --git a/proto/DungeonRestartResultNotify.proto b/proto/DungeonRestartResultNotify.proto
new file mode 100644
index 00000000..374b8afc
--- /dev/null
+++ b/proto/DungeonRestartResultNotify.proto
@@ -0,0 +1,23 @@
+// 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: 22679
+// Obf: BONJMLPEAOA
+message DungeonRestartResultNotify {
+ bool is_add_accpet = 13;
+}
diff --git a/proto/DungeonRestartRsp.proto b/proto/DungeonRestartRsp.proto
new file mode 100644
index 00000000..ca776857
--- /dev/null
+++ b/proto/DungeonRestartRsp.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: 26758
+// Obf: LNDDFOIDFOI
+message DungeonRestartRsp {
+ uint32 dungeon_id = 1;
+ uint32 point_id = 4;
+ int32 retcode = 15;
+}