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;