From 6eb4d7c9af1c94d6c288caf2c34dd0192af8feb0 Mon Sep 17 00:00:00 2001 From: routersys Date: Fri, 3 Jul 2026 16:17:55 +0900 Subject: [PATCH] =?UTF-8?q?Anchor=20=E3=81=AE=E3=83=88=E3=83=83=E3=83=97?= =?UTF-8?q?=E3=83=AC=E3=83=99=E3=83=AB=E5=9E=8B=E3=82=921=E3=83=95?= =?UTF-8?q?=E3=82=A1=E3=82=A4=E3=83=AB1=E3=82=AF=E3=83=A9=E3=82=B9?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LuaScript.Runtime/Anchor/AnchorConnection.cs | 11 +++++++++++ LuaScript.Runtime/Anchor/AnchorOptions.cs | 4 ++++ LuaScript.Runtime/Anchor/AnchorRequestData.cs | 4 ++++ LuaScript.Runtime/Anchor/AnchorSupport.cs | 15 --------------- 4 files changed, 19 insertions(+), 15 deletions(-) create mode 100644 LuaScript.Runtime/Anchor/AnchorConnection.cs create mode 100644 LuaScript.Runtime/Anchor/AnchorOptions.cs create mode 100644 LuaScript.Runtime/Anchor/AnchorRequestData.cs diff --git a/LuaScript.Runtime/Anchor/AnchorConnection.cs b/LuaScript.Runtime/Anchor/AnchorConnection.cs new file mode 100644 index 0000000..c4326ca --- /dev/null +++ b/LuaScript.Runtime/Anchor/AnchorConnection.cs @@ -0,0 +1,11 @@ +namespace LuaScript.Anchor +{ + internal enum AnchorConnection + { + None, + Line, + Loop, + Star, + Arm, + } +} diff --git a/LuaScript.Runtime/Anchor/AnchorOptions.cs b/LuaScript.Runtime/Anchor/AnchorOptions.cs new file mode 100644 index 0000000..a2fe2d3 --- /dev/null +++ b/LuaScript.Runtime/Anchor/AnchorOptions.cs @@ -0,0 +1,4 @@ +namespace LuaScript.Anchor +{ + internal readonly record struct AnchorOptions(AnchorConnection Connection, bool Is3D); +} diff --git a/LuaScript.Runtime/Anchor/AnchorRequestData.cs b/LuaScript.Runtime/Anchor/AnchorRequestData.cs new file mode 100644 index 0000000..40d9e87 --- /dev/null +++ b/LuaScript.Runtime/Anchor/AnchorRequestData.cs @@ -0,0 +1,4 @@ +namespace LuaScript.Anchor +{ + internal readonly record struct AnchorRequestData(string Group, int Count, AnchorConnection Connection, bool Is3D); +} diff --git a/LuaScript.Runtime/Anchor/AnchorSupport.cs b/LuaScript.Runtime/Anchor/AnchorSupport.cs index 7d7dcc9..fc689a5 100644 --- a/LuaScript.Runtime/Anchor/AnchorSupport.cs +++ b/LuaScript.Runtime/Anchor/AnchorSupport.cs @@ -1,22 +1,7 @@ -using System; -using System.Collections.Generic; using System.Collections.Immutable; namespace LuaScript.Anchor { - internal enum AnchorConnection - { - None, - Line, - Loop, - Star, - Arm, - } - - internal readonly record struct AnchorOptions(AnchorConnection Connection, bool Is3D); - - internal readonly record struct AnchorRequestData(string Group, int Count, AnchorConnection Connection, bool Is3D); - internal static class AnchorSupport { public const int MaxAnchors = 32;