From fea2ebe24082445d01bc31d1cd67f8757c37098a Mon Sep 17 00:00:00 2001
From: Akbar Yahya <11765082+akbaryahya@users.noreply.github.com>
Date: Mon, 14 Nov 2022 00:26:43 +0800
Subject: [PATCH] implemented ScriptLib.BeginCameraSceneLook
---
proto/BeginCameraSceneLookNotify.proto | 53 ++++++++++++++++++++++++++
proto/EndCameraSceneLookNotify.proto | 25 ++++++++++++
2 files changed, 78 insertions(+)
create mode 100644 proto/BeginCameraSceneLookNotify.proto
create mode 100644 proto/EndCameraSceneLookNotify.proto
diff --git a/proto/BeginCameraSceneLookNotify.proto b/proto/BeginCameraSceneLookNotify.proto
new file mode 100644
index 00000000..6197f87c
--- /dev/null
+++ b/proto/BeginCameraSceneLookNotify.proto
@@ -0,0 +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 "Vector.proto";
+
+option java_package = "emu.grasscutter.net.proto";
+
+// CmdId: 270
+// EnetChannelId: 0
+// EnetIsReliable: true
+message BeginCameraSceneLookNotify {
+ uint32 blend_type = 1154;
+ float custom_radius = 7;
+ bool is_set_screen_xy = 5;
+ Vector look_pos = 4;
+ bool is_recover_keep_current = 11;
+ bool is_abs_follow_pos = 1375;
+ KeepRotType keep_rot_type = 6;
+ bool is_change_play_mode = 9;
+ uint32 disable_protect = 1103;
+ float screen_y = 15;
+ bool is_set_follow_pos = 13;
+ bool is_force = 12;
+ float blend_duration = 1758;
+ uint32 entity_id = 1327;
+ float screen_x = 3;
+ bool is_force_walk = 10;
+ repeated string other_params = 1;
+ Vector follow_pos = 8;
+ bool is_allow_input = 2;
+ float duration = 14;
+
+ enum KeepRotType {
+ KEEP_ROT_TYPE_X = 0;
+ KEEP_ROT_TYPE_XY = 1;
+ }
+}
diff --git a/proto/EndCameraSceneLookNotify.proto b/proto/EndCameraSceneLookNotify.proto
new file mode 100644
index 00000000..f0377f3c
--- /dev/null
+++ b/proto/EndCameraSceneLookNotify.proto
@@ -0,0 +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";
+
+// CmdId: 217
+// EnetChannelId: 0
+// EnetIsReliable: true
+message EndCameraSceneLookNotify {}