diff --git a/.vs/GoSpec/DesignTimeBuild/.dtbcache.v2 b/.vs/GoSpec/DesignTimeBuild/.dtbcache.v2 index c694cdc..1949270 100644 Binary files a/.vs/GoSpec/DesignTimeBuild/.dtbcache.v2 and b/.vs/GoSpec/DesignTimeBuild/.dtbcache.v2 differ diff --git a/.vs/GoSpec/FileContentIndex/5eaa68fb-82f8-4120-b80a-bce4b4a4130e.vsidx b/.vs/GoSpec/FileContentIndex/5eaa68fb-82f8-4120-b80a-bce4b4a4130e.vsidx new file mode 100644 index 0000000..844c081 Binary files /dev/null and b/.vs/GoSpec/FileContentIndex/5eaa68fb-82f8-4120-b80a-bce4b4a4130e.vsidx differ diff --git a/.vs/GoSpec/FileContentIndex/7927fd0f-9fd3-4346-b99d-2e56f9fd7308.vsidx b/.vs/GoSpec/FileContentIndex/7927fd0f-9fd3-4346-b99d-2e56f9fd7308.vsidx deleted file mode 100644 index bdfa39e..0000000 Binary files a/.vs/GoSpec/FileContentIndex/7927fd0f-9fd3-4346-b99d-2e56f9fd7308.vsidx and /dev/null differ diff --git a/.vs/GoSpec/FileContentIndex/97ace99e-3334-4327-af19-fe7622fb6577.vsidx b/.vs/GoSpec/FileContentIndex/97ace99e-3334-4327-af19-fe7622fb6577.vsidx new file mode 100644 index 0000000..5348369 Binary files /dev/null and b/.vs/GoSpec/FileContentIndex/97ace99e-3334-4327-af19-fe7622fb6577.vsidx differ diff --git a/.vs/GoSpec/v17/.futdcache.v2 b/.vs/GoSpec/v17/.futdcache.v2 index 364c11d..6be0705 100644 Binary files a/.vs/GoSpec/v17/.futdcache.v2 and b/.vs/GoSpec/v17/.futdcache.v2 differ diff --git a/.vs/GoSpec/v17/.suo b/.vs/GoSpec/v17/.suo index 1a53c1e..edf1b45 100644 Binary files a/.vs/GoSpec/v17/.suo and b/.vs/GoSpec/v17/.suo differ diff --git a/.vs/ProjectEvaluation/gospec.metadata.v7.bin b/.vs/ProjectEvaluation/gospec.metadata.v7.bin index 3074efc..1685c16 100644 Binary files a/.vs/ProjectEvaluation/gospec.metadata.v7.bin and b/.vs/ProjectEvaluation/gospec.metadata.v7.bin differ diff --git a/.vs/ProjectEvaluation/gospec.projects.v7.bin b/.vs/ProjectEvaluation/gospec.projects.v7.bin index c04b5fc..13706e5 100644 Binary files a/.vs/ProjectEvaluation/gospec.projects.v7.bin and b/.vs/ProjectEvaluation/gospec.projects.v7.bin differ diff --git a/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs b/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs deleted file mode 100644 index 4257f4b..0000000 --- a/Debug/net7.0/.NETCoreApp,Version=v7.0.AssemblyAttributes.cs +++ /dev/null @@ -1,4 +0,0 @@ -// -using System; -using System.Reflection; -[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")] diff --git a/Debug/net7.0/GoSpec.AssemblyInfo.cs b/Debug/net7.0/GoSpec.AssemblyInfo.cs deleted file mode 100644 index e352fcf..0000000 --- a/Debug/net7.0/GoSpec.AssemblyInfo.cs +++ /dev/null @@ -1,23 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - -[assembly: System.Reflection.AssemblyCompanyAttribute("GoSpec")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] -[assembly: System.Reflection.AssemblyProductAttribute("GoSpec")] -[assembly: System.Reflection.AssemblyTitleAttribute("GoSpec")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] - -// Generated by the MSBuild WriteCodeFragment class. - diff --git a/Debug/net7.0/GoSpec.AssemblyInfoInputs.cache b/Debug/net7.0/GoSpec.AssemblyInfoInputs.cache deleted file mode 100644 index 5861d7d..0000000 --- a/Debug/net7.0/GoSpec.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -471577c85c20e935d058852ce27820d09f406ff6 diff --git a/Debug/net7.0/GoSpec.GeneratedMSBuildEditorConfig.editorconfig b/Debug/net7.0/GoSpec.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index 6a7049a..0000000 --- a/Debug/net7.0/GoSpec.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,11 +0,0 @@ -is_global = true -build_property.TargetFramework = net7.0 -build_property.TargetPlatformMinVersion = -build_property.UsingMicrosoftNETSdkWeb = -build_property.ProjectTypeGuids = -build_property.InvariantGlobalization = -build_property.PlatformNeutralAssembly = -build_property.EnforceExtendedAnalyzerRules = -build_property._SupportedPlatformList = Linux,macOS,Windows -build_property.RootNamespace = GoSpec -build_property.ProjectDir = C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpec\ diff --git a/Debug/net7.0/GoSpec.GlobalUsings.g.cs b/Debug/net7.0/GoSpec.GlobalUsings.g.cs deleted file mode 100644 index 8578f3d..0000000 --- a/Debug/net7.0/GoSpec.GlobalUsings.g.cs +++ /dev/null @@ -1,8 +0,0 @@ -// -global using global::System; -global using global::System.Collections.Generic; -global using global::System.IO; -global using global::System.Linq; -global using global::System.Net.Http; -global using global::System.Threading; -global using global::System.Threading.Tasks; diff --git a/Debug/net7.0/GoSpec.assets.cache b/Debug/net7.0/GoSpec.assets.cache deleted file mode 100644 index 15cb511..0000000 Binary files a/Debug/net7.0/GoSpec.assets.cache and /dev/null differ diff --git a/Debug/net7.0/GoSpec.csproj.AssemblyReference.cache b/Debug/net7.0/GoSpec.csproj.AssemblyReference.cache deleted file mode 100644 index ea09eeb..0000000 Binary files a/Debug/net7.0/GoSpec.csproj.AssemblyReference.cache and /dev/null differ diff --git a/Debug/net7.0/GoSpec.csproj.CopyComplete b/Debug/net7.0/GoSpec.csproj.CopyComplete deleted file mode 100644 index e69de29..0000000 diff --git a/Debug/net7.0/GoSpec.csproj.CoreCompileInputs.cache b/Debug/net7.0/GoSpec.csproj.CoreCompileInputs.cache deleted file mode 100644 index eaa6aac..0000000 --- a/Debug/net7.0/GoSpec.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -4ae2f8cc914e5731f0dd5f350597a99e76bffa32 diff --git a/Debug/net7.0/GoSpec.csproj.FileListAbsolute.txt b/Debug/net7.0/GoSpec.csproj.FileListAbsolute.txt deleted file mode 100644 index 28f05f8..0000000 --- a/Debug/net7.0/GoSpec.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,38 +0,0 @@ -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\bin\Debug\net7.0\GoSpec.deps.json -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\bin\Debug\net7.0\GoSpec.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\bin\Debug\net7.0\GoSpec.pdb -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\bin\Debug\net7.0\CounterStrikeSharp.API.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\bin\Debug\net7.0\McMaster.NETCore.Plugins.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\bin\Debug\net7.0\Microsoft.Extensions.DependencyModel.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\bin\Debug\net7.0\Microsoft.DotNet.PlatformAbstractions.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\bin\Debug\net7.0\CounterStrikeSharp.API.pdb -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\bin\Debug\net7.0\CounterStrikeSharp.API.xml -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\obj\Debug\net7.0\GoSpec.csproj.AssemblyReference.cache -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\obj\Debug\net7.0\GoSpec.GeneratedMSBuildEditorConfig.editorconfig -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\obj\Debug\net7.0\GoSpec.AssemblyInfoInputs.cache -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\obj\Debug\net7.0\GoSpec.AssemblyInfo.cs -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\obj\Debug\net7.0\GoSpec.csproj.CoreCompileInputs.cache -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\obj\Debug\net7.0\GoSpec.csproj.CopyComplete -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\obj\Debug\net7.0\GoSpec.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\obj\Debug\net7.0\refint\GoSpec.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\obj\Debug\net7.0\GoSpec.pdb -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\obj\Debug\net7.0\ref\GoSpec.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpec\bin\Debug\net7.0\GoSpec.deps.json -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpec\bin\Debug\net7.0\GoSpec.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpec\bin\Debug\net7.0\GoSpec.pdb -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpec\bin\Debug\net7.0\CounterStrikeSharp.API.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpec\bin\Debug\net7.0\McMaster.NETCore.Plugins.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpec\bin\Debug\net7.0\Microsoft.Extensions.DependencyModel.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpec\bin\Debug\net7.0\Microsoft.DotNet.PlatformAbstractions.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpec\bin\Debug\net7.0\CounterStrikeSharp.API.pdb -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpec\bin\Debug\net7.0\CounterStrikeSharp.API.xml -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpec\obj\Debug\net7.0\GoSpec.csproj.AssemblyReference.cache -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpec\obj\Debug\net7.0\GoSpec.GeneratedMSBuildEditorConfig.editorconfig -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpec\obj\Debug\net7.0\GoSpec.AssemblyInfoInputs.cache -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpec\obj\Debug\net7.0\GoSpec.AssemblyInfo.cs -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpec\obj\Debug\net7.0\GoSpec.csproj.CoreCompileInputs.cache -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpec\obj\Debug\net7.0\GoSpec.csproj.CopyComplete -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpec\obj\Debug\net7.0\GoSpec.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpec\obj\Debug\net7.0\refint\GoSpec.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpec\obj\Debug\net7.0\GoSpec.pdb -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpec\obj\Debug\net7.0\ref\GoSpec.dll diff --git a/Debug/net7.0/GoSpec.dll b/Debug/net7.0/GoSpec.dll deleted file mode 100644 index a0c2f2b..0000000 Binary files a/Debug/net7.0/GoSpec.dll and /dev/null differ diff --git a/Debug/net7.0/GoSpecPlugin.AssemblyInfo.cs b/Debug/net7.0/GoSpecPlugin.AssemblyInfo.cs deleted file mode 100644 index 1e0ba8c..0000000 --- a/Debug/net7.0/GoSpecPlugin.AssemblyInfo.cs +++ /dev/null @@ -1,23 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System; -using System.Reflection; - -[assembly: System.Reflection.AssemblyCompanyAttribute("GoSpecPlugin")] -[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] -[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] -[assembly: System.Reflection.AssemblyProductAttribute("GoSpecPlugin")] -[assembly: System.Reflection.AssemblyTitleAttribute("GoSpecPlugin")] -[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] - -// Generated by the MSBuild WriteCodeFragment class. - diff --git a/Debug/net7.0/GoSpecPlugin.AssemblyInfoInputs.cache b/Debug/net7.0/GoSpecPlugin.AssemblyInfoInputs.cache deleted file mode 100644 index 43df08b..0000000 --- a/Debug/net7.0/GoSpecPlugin.AssemblyInfoInputs.cache +++ /dev/null @@ -1 +0,0 @@ -af664c516f23c90175b90d840ca093ce18198b71 diff --git a/Debug/net7.0/GoSpecPlugin.GeneratedMSBuildEditorConfig.editorconfig b/Debug/net7.0/GoSpecPlugin.GeneratedMSBuildEditorConfig.editorconfig deleted file mode 100644 index 950d7e5..0000000 --- a/Debug/net7.0/GoSpecPlugin.GeneratedMSBuildEditorConfig.editorconfig +++ /dev/null @@ -1,11 +0,0 @@ -is_global = true -build_property.TargetFramework = net7.0 -build_property.TargetPlatformMinVersion = -build_property.UsingMicrosoftNETSdkWeb = -build_property.ProjectTypeGuids = -build_property.InvariantGlobalization = -build_property.PlatformNeutralAssembly = -build_property.EnforceExtendedAnalyzerRules = -build_property._SupportedPlatformList = Linux,macOS,Windows -build_property.RootNamespace = GoSpecPlugin -build_property.ProjectDir = C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\ diff --git a/Debug/net7.0/GoSpecPlugin.GlobalUsings.g.cs b/Debug/net7.0/GoSpecPlugin.GlobalUsings.g.cs deleted file mode 100644 index 8578f3d..0000000 --- a/Debug/net7.0/GoSpecPlugin.GlobalUsings.g.cs +++ /dev/null @@ -1,8 +0,0 @@ -// -global using global::System; -global using global::System.Collections.Generic; -global using global::System.IO; -global using global::System.Linq; -global using global::System.Net.Http; -global using global::System.Threading; -global using global::System.Threading.Tasks; diff --git a/Debug/net7.0/GoSpecPlugin.assets.cache b/Debug/net7.0/GoSpecPlugin.assets.cache deleted file mode 100644 index a612e21..0000000 Binary files a/Debug/net7.0/GoSpecPlugin.assets.cache and /dev/null differ diff --git a/Debug/net7.0/GoSpecPlugin.csproj.AssemblyReference.cache b/Debug/net7.0/GoSpecPlugin.csproj.AssemblyReference.cache deleted file mode 100644 index ea09eeb..0000000 Binary files a/Debug/net7.0/GoSpecPlugin.csproj.AssemblyReference.cache and /dev/null differ diff --git a/Debug/net7.0/GoSpecPlugin.csproj.CopyComplete b/Debug/net7.0/GoSpecPlugin.csproj.CopyComplete deleted file mode 100644 index e69de29..0000000 diff --git a/Debug/net7.0/GoSpecPlugin.csproj.CoreCompileInputs.cache b/Debug/net7.0/GoSpecPlugin.csproj.CoreCompileInputs.cache deleted file mode 100644 index 6022ebb..0000000 --- a/Debug/net7.0/GoSpecPlugin.csproj.CoreCompileInputs.cache +++ /dev/null @@ -1 +0,0 @@ -b5fd285ea9e743660e4fdc32f191640d18da4ad5 diff --git a/Debug/net7.0/GoSpecPlugin.csproj.FileListAbsolute.txt b/Debug/net7.0/GoSpecPlugin.csproj.FileListAbsolute.txt deleted file mode 100644 index 64cb52d..0000000 --- a/Debug/net7.0/GoSpecPlugin.csproj.FileListAbsolute.txt +++ /dev/null @@ -1,38 +0,0 @@ -C:\Users\joahr\OneDrive\Documents\Dev\addons\HelloWorldPlugin\bin\Debug\net7.0\GoSpecPlugin.deps.json -C:\Users\joahr\OneDrive\Documents\Dev\addons\HelloWorldPlugin\bin\Debug\net7.0\GoSpecPlugin.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\HelloWorldPlugin\bin\Debug\net7.0\GoSpecPlugin.pdb -C:\Users\joahr\OneDrive\Documents\Dev\addons\HelloWorldPlugin\bin\Debug\net7.0\CounterStrikeSharp.API.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\HelloWorldPlugin\bin\Debug\net7.0\McMaster.NETCore.Plugins.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\HelloWorldPlugin\bin\Debug\net7.0\Microsoft.Extensions.DependencyModel.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\HelloWorldPlugin\bin\Debug\net7.0\Microsoft.DotNet.PlatformAbstractions.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\HelloWorldPlugin\bin\Debug\net7.0\CounterStrikeSharp.API.pdb -C:\Users\joahr\OneDrive\Documents\Dev\addons\HelloWorldPlugin\bin\Debug\net7.0\CounterStrikeSharp.API.xml -C:\Users\joahr\OneDrive\Documents\Dev\addons\HelloWorldPlugin\obj\Debug\net7.0\GoSpecPlugin.csproj.AssemblyReference.cache -C:\Users\joahr\OneDrive\Documents\Dev\addons\HelloWorldPlugin\obj\Debug\net7.0\GoSpecPlugin.GeneratedMSBuildEditorConfig.editorconfig -C:\Users\joahr\OneDrive\Documents\Dev\addons\HelloWorldPlugin\obj\Debug\net7.0\GoSpecPlugin.AssemblyInfoInputs.cache -C:\Users\joahr\OneDrive\Documents\Dev\addons\HelloWorldPlugin\obj\Debug\net7.0\GoSpecPlugin.AssemblyInfo.cs -C:\Users\joahr\OneDrive\Documents\Dev\addons\HelloWorldPlugin\obj\Debug\net7.0\GoSpecPlugin.csproj.CoreCompileInputs.cache -C:\Users\joahr\OneDrive\Documents\Dev\addons\HelloWorldPlugin\obj\Debug\net7.0\GoSpecPlugin.csproj.CopyComplete -C:\Users\joahr\OneDrive\Documents\Dev\addons\HelloWorldPlugin\obj\Debug\net7.0\GoSpecPlugin.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\HelloWorldPlugin\obj\Debug\net7.0\refint\GoSpecPlugin.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\HelloWorldPlugin\obj\Debug\net7.0\GoSpecPlugin.pdb -C:\Users\joahr\OneDrive\Documents\Dev\addons\HelloWorldPlugin\obj\Debug\net7.0\ref\GoSpecPlugin.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\bin\Debug\net7.0\GoSpecPlugin.deps.json -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\bin\Debug\net7.0\GoSpecPlugin.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\bin\Debug\net7.0\GoSpecPlugin.pdb -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\bin\Debug\net7.0\CounterStrikeSharp.API.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\bin\Debug\net7.0\McMaster.NETCore.Plugins.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\bin\Debug\net7.0\Microsoft.Extensions.DependencyModel.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\bin\Debug\net7.0\Microsoft.DotNet.PlatformAbstractions.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\bin\Debug\net7.0\CounterStrikeSharp.API.pdb -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\bin\Debug\net7.0\CounterStrikeSharp.API.xml -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\obj\Debug\net7.0\GoSpecPlugin.csproj.AssemblyReference.cache -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\obj\Debug\net7.0\GoSpecPlugin.GeneratedMSBuildEditorConfig.editorconfig -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\obj\Debug\net7.0\GoSpecPlugin.AssemblyInfoInputs.cache -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\obj\Debug\net7.0\GoSpecPlugin.AssemblyInfo.cs -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\obj\Debug\net7.0\GoSpecPlugin.csproj.CoreCompileInputs.cache -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\obj\Debug\net7.0\GoSpecPlugin.csproj.CopyComplete -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\obj\Debug\net7.0\GoSpecPlugin.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\obj\Debug\net7.0\refint\GoSpecPlugin.dll -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\obj\Debug\net7.0\GoSpecPlugin.pdb -C:\Users\joahr\OneDrive\Documents\Dev\addons\GoSpecPlugin\obj\Debug\net7.0\ref\GoSpecPlugin.dll diff --git a/Debug/net7.0/GoSpecPlugin.dll b/Debug/net7.0/GoSpecPlugin.dll deleted file mode 100644 index ac1b260..0000000 Binary files a/Debug/net7.0/GoSpecPlugin.dll and /dev/null differ diff --git a/Debug/net7.0/GoSpecPlugin.pdb b/Debug/net7.0/GoSpecPlugin.pdb deleted file mode 100644 index a55e462..0000000 Binary files a/Debug/net7.0/GoSpecPlugin.pdb and /dev/null differ diff --git a/Debug/net7.0/ref/GoSpec.dll b/Debug/net7.0/ref/GoSpec.dll deleted file mode 100644 index 47785c9..0000000 Binary files a/Debug/net7.0/ref/GoSpec.dll and /dev/null differ diff --git a/Debug/net7.0/ref/GoSpecPlugin.dll b/Debug/net7.0/ref/GoSpecPlugin.dll deleted file mode 100644 index 2fd1b7e..0000000 Binary files a/Debug/net7.0/ref/GoSpecPlugin.dll and /dev/null differ diff --git a/Debug/net7.0/refint/GoSpec.dll b/Debug/net7.0/refint/GoSpec.dll deleted file mode 100644 index 47785c9..0000000 Binary files a/Debug/net7.0/refint/GoSpec.dll and /dev/null differ diff --git a/Debug/net7.0/refint/GoSpecPlugin.dll b/Debug/net7.0/refint/GoSpecPlugin.dll deleted file mode 100644 index 2fd1b7e..0000000 Binary files a/Debug/net7.0/refint/GoSpecPlugin.dll and /dev/null differ diff --git a/GoSpec.cs b/GoSpec.cs index 595d6e6..8d281f9 100644 --- a/GoSpec.cs +++ b/GoSpec.cs @@ -2,37 +2,107 @@ using CounterStrikeSharp.API.Core; using CounterStrikeSharp.API.Core.Attributes.Registration; using CounterStrikeSharp.API.Modules.Commands; -using CounterStrikeSharp.API.Modules.Cvars; using CounterStrikeSharp.API.Modules.Utils; namespace GoSpec; - public class GoSpec : BasePlugin { public override string ModuleName => "GoSpec"; public override string ModuleAuthor => "cosmic sans"; - public override string ModuleVersion => "1.0"; + public override string ModuleVersion => "1.2"; public override void Load(bool hotReload) { - Console.WriteLine($"{ChatColors.Blue}{ModuleName} v{ModuleVersion} by {ModuleAuthor} is active. Type !spec to switch to spec."); + Console.WriteLine($"{ModuleName} version {ModuleVersion} by {ModuleAuthor} is active."); } - [ConsoleCommand("spec", "Moves you to spec.")] + [ConsoleCommand("css_spec", "Moves you to spec.")] [CommandHelper(whoCanExecute: CommandUsage.CLIENT_ONLY)] public void OnSpecCommand(CCSPlayerController? caller, CommandInfo command) { - if (caller == null) return; - if (caller.PlayerPawn.Value.TeamNum == (int)CsTeam.Spectator) return; + ChangeTeam(caller, CsTeam.Spectator); + } - caller.ChangeTeam(CsTeam.Spectator); + #region Alternate Spec Commands + [ConsoleCommand("s", "Moves you to spec.")] + [CommandHelper(whoCanExecute: CommandUsage.CLIENT_ONLY)] + public void OnSCommand(CCSPlayerController? caller, CommandInfo command) => OnSpecCommand(caller, command); - if (caller.PlayerPawn.Value.TeamNum != (int)CsTeam.Spectator) + [ConsoleCommand("afk", "Moves you to spec.")] + [CommandHelper(whoCanExecute: CommandUsage.CLIENT_ONLY)] + public void OnAFKCommand(CCSPlayerController? caller, CommandInfo command) => OnSpecCommand(caller, command); + + [ConsoleCommand("brb", "Moves you to spec.")] + [CommandHelper(whoCanExecute: CommandUsage.CLIENT_ONLY)] + public void OnBRBCommand(CCSPlayerController? caller, CommandInfo command) => OnSpecCommand(caller, command); + #endregion + + [ConsoleCommand("css_ct", "Joins the counterterrorist team.")] + [CommandHelper(whoCanExecute: CommandUsage.CLIENT_ONLY)] + public void OnJoinCTCommand(CCSPlayerController? caller, CommandInfo command) + { + ChangeTeam(caller, CsTeam.CounterTerrorist); + } + + [ConsoleCommand("css_t", "Joins the terrorist team.")] + [CommandHelper(whoCanExecute: CommandUsage.CLIENT_ONLY)] + public void OnJoinTCommand(CCSPlayerController? caller, CommandInfo command) + { + ChangeTeam(caller, CsTeam.Terrorist); + } + + private bool ChangeTeam(CCSPlayerController? caller, CsTeam moveTo) + { + if (caller == null) return false; + + if(IsInSpec(caller) && moveTo == CsTeam.Spectator) { - caller.PrintToChat($"{ChatColors.Red}Failed to move you to spec."); - return; + caller.PrintToChat($"{ChatColors.Red}You already are in spec."); + return false; + } + + if (!IsUnassigned(caller) && moveTo != CsTeam.Spectator) + { + caller.PrintToChat($"{ChatColors.Red}You must be in spec to use this command."); + return false; } - Server.PrintToChatAll($"{ChatColors.Default}Moving {ChatColors.Green}{caller.PlayerName} {ChatColors.Default}to spec."); + NotifyTeamChange(caller, moveTo); + caller.ChangeTeam(moveTo); + + return true; + } + + private void NotifyTeamChange(CCSPlayerController caller, CsTeam team) + { + string name = caller.PlayerName ?? "Unknown"; + char teamColor = ChatColors.White; + if (team != CsTeam.Spectator) teamColor = team == CsTeam.Terrorist ? ChatColors.Red : ChatColors.Blue; + string teamMsg = $"{ChatColors.Default}Moving {ChatColors.Green}{name} {ChatColors.Default}to {teamColor}{team}."; + + Server.PrintToChatAll(teamMsg); + } + + private int GetTeamCount(CsTeam team) + { + int count = 0; + foreach (CCSPlayerController user in Utilities.GetPlayers()) + { + if (user.PlayerPawn.Value.TeamNum == (int)team) count++; + } + + return count; + } + + private bool IsUnassigned(CCSPlayerController? caller) + { + if (caller == null) return false; + return caller.TeamNum != (int)CsTeam.Terrorist && caller.TeamNum != (int)CsTeam.CounterTerrorist; + } + + private bool IsInSpec(CCSPlayerController? caller) + { + if (caller == null) return false; + return caller.TeamNum == (int)CsTeam.Spectator; } } \ No newline at end of file diff --git a/GoSpec.csproj.nuget.dgspec.json b/GoSpec.csproj.nuget.dgspec.json deleted file mode 100644 index 37511f3..0000000 --- a/GoSpec.csproj.nuget.dgspec.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "format": 1, - "restore": { - "C:\\Users\\joahr\\OneDrive\\Documents\\Dev\\addons\\GoSpec\\GoSpec.csproj": {} - }, - "projects": { - "C:\\Users\\joahr\\OneDrive\\Documents\\Dev\\addons\\GoSpec\\GoSpec.csproj": { - "version": "1.0.0", - "restore": { - "projectUniqueName": "C:\\Users\\joahr\\OneDrive\\Documents\\Dev\\addons\\GoSpec\\GoSpec.csproj", - "projectName": "GoSpec", - "projectPath": "C:\\Users\\joahr\\OneDrive\\Documents\\Dev\\addons\\GoSpec\\GoSpec.csproj", - "packagesPath": "C:\\Users\\joahr\\.nuget\\packages\\", - "outputPath": "C:\\Users\\joahr\\OneDrive\\Documents\\Dev\\addons\\GoSpec\\obj\\", - "projectStyle": "PackageReference", - "configFilePaths": [ - "C:\\Users\\joahr\\AppData\\Roaming\\NuGet\\NuGet.Config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" - ], - "originalTargetFrameworks": [ - "net7.0" - ], - "sources": { - "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net7.0": { - "targetAlias": "net7.0", - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - } - }, - "frameworks": { - "net7.0": { - "targetAlias": "net7.0", - "imports": [ - "net461", - "net462", - "net47", - "net471", - "net472", - "net48", - "net481" - ], - "assetTargetFallback": true, - "warn": true, - "frameworkReferences": { - "Microsoft.NETCore.App": { - "privateAssets": "all" - } - }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json" - } - } - } - } -} \ No newline at end of file diff --git a/GoSpec.csproj.nuget.g.props b/GoSpec.csproj.nuget.g.props deleted file mode 100644 index 27def6d..0000000 --- a/GoSpec.csproj.nuget.g.props +++ /dev/null @@ -1,15 +0,0 @@ - - - - True - NuGet - $(MSBuildThisFileDirectory)project.assets.json - $(UserProfile)\.nuget\packages\ - C:\Users\joahr\.nuget\packages\ - PackageReference - 6.6.0 - - - - - \ No newline at end of file diff --git a/GoSpec.csproj.nuget.g.targets b/GoSpec.csproj.nuget.g.targets deleted file mode 100644 index 3dc06ef..0000000 --- a/GoSpec.csproj.nuget.g.targets +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/GoSpecPlugin.csproj.nuget.dgspec.json b/GoSpecPlugin.csproj.nuget.dgspec.json deleted file mode 100644 index 1c79a3b..0000000 --- a/GoSpecPlugin.csproj.nuget.dgspec.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "format": 1, - "restore": { - "C:\\Users\\joahr\\OneDrive\\Documents\\Dev\\addons\\GoSpecPlugin\\GoSpecPlugin.csproj": {} - }, - "projects": { - "C:\\Users\\joahr\\OneDrive\\Documents\\Dev\\addons\\GoSpecPlugin\\GoSpecPlugin.csproj": { - "version": "1.0.0", - "restore": { - "projectUniqueName": "C:\\Users\\joahr\\OneDrive\\Documents\\Dev\\addons\\GoSpecPlugin\\GoSpecPlugin.csproj", - "projectName": "GoSpecPlugin", - "projectPath": "C:\\Users\\joahr\\OneDrive\\Documents\\Dev\\addons\\GoSpecPlugin\\GoSpecPlugin.csproj", - "packagesPath": "C:\\Users\\joahr\\.nuget\\packages\\", - "outputPath": "C:\\Users\\joahr\\OneDrive\\Documents\\Dev\\addons\\GoSpecPlugin\\obj\\", - "projectStyle": "PackageReference", - "configFilePaths": [ - "C:\\Users\\joahr\\AppData\\Roaming\\NuGet\\NuGet.Config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" - ], - "originalTargetFrameworks": [ - "net7.0" - ], - "sources": { - "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net7.0": { - "targetAlias": "net7.0", - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - } - }, - "frameworks": { - "net7.0": { - "targetAlias": "net7.0", - "imports": [ - "net461", - "net462", - "net47", - "net471", - "net472", - "net48", - "net481" - ], - "assetTargetFallback": true, - "warn": true, - "frameworkReferences": { - "Microsoft.NETCore.App": { - "privateAssets": "all" - } - }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json" - } - } - } - } -} \ No newline at end of file diff --git a/GoSpecPlugin.csproj.nuget.g.props b/GoSpecPlugin.csproj.nuget.g.props deleted file mode 100644 index 27def6d..0000000 --- a/GoSpecPlugin.csproj.nuget.g.props +++ /dev/null @@ -1,15 +0,0 @@ - - - - True - NuGet - $(MSBuildThisFileDirectory)project.assets.json - $(UserProfile)\.nuget\packages\ - C:\Users\joahr\.nuget\packages\ - PackageReference - 6.6.0 - - - - - \ No newline at end of file diff --git a/GoSpecPlugin.csproj.nuget.g.targets b/GoSpecPlugin.csproj.nuget.g.targets deleted file mode 100644 index 3dc06ef..0000000 --- a/GoSpecPlugin.csproj.nuget.g.targets +++ /dev/null @@ -1,2 +0,0 @@ - - \ No newline at end of file diff --git a/README.md b/README.md index bd291b2..39bddf2 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -# GoSpec v1.0 -CounterStrikeSharp plugin for allowing players to move themselves to spec by typing **!spec** in chat or **css_spec** in console. +# GoSpec v1.1 +CounterStrikeSharp plugin for allowing players to move themselves to spec by typing **!spec** in chat. ## Installation 1. Install [CounterStrikeSharp](https://github.com/roflmuffin/CounterStrikeSharp) and [Metamod](https://www.sourcemm.net/) @@ -8,4 +8,8 @@ CounterStrikeSharp plugin for allowing players to move themselves to spec by typ 4. Move `GoSpec` folder into your server's `addons/counterstrikesharp/plugins` folder. ## Commands -**Spec:** `ccs_spec` in console or `!spec` in chat +`css_spec`: `!spec` in chat to move to spec [_Alternatives:_ `!s`, `!afk`, `!brb`] + +`css_ct`: `!ct` in chat to join ct from spec/unassigned + +`css_t`: `!t` in chat to join t from spec/unassigned diff --git a/bin/Debug/net7.0/GoSpec.deps.json b/bin/Debug/net7.0/GoSpec.deps.json new file mode 100644 index 0000000..935b8f8 --- /dev/null +++ b/bin/Debug/net7.0/GoSpec.deps.json @@ -0,0 +1,78 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v7.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v7.0": { + "GoSpec/1.0.0": { + "dependencies": { + "CounterStrikeSharp.API": "1.0.52.0" + }, + "runtime": { + "GoSpec.dll": {} + } + }, + "CounterStrikeSharp.API/1.0.52.0": { + "runtime": { + "CounterStrikeSharp.API.dll": { + "assemblyVersion": "1.0.52.0", + "fileVersion": "1.0.52.0" + } + } + }, + "McMaster.NETCore.Plugins/1.4.0.0": { + "runtime": { + "McMaster.NETCore.Plugins.dll": { + "assemblyVersion": "1.4.0.0", + "fileVersion": "1.4.0.0" + } + } + }, + "Microsoft.Extensions.DependencyModel/5.0.0.0": { + "runtime": { + "Microsoft.Extensions.DependencyModel.dll": { + "assemblyVersion": "5.0.0.0", + "fileVersion": "5.0.20.51904" + } + } + }, + "Microsoft.DotNet.PlatformAbstractions/3.1.6.0": { + "runtime": { + "Microsoft.DotNet.PlatformAbstractions.dll": { + "assemblyVersion": "3.1.6.0", + "fileVersion": "3.100.620.31604" + } + } + } + } + }, + "libraries": { + "GoSpec/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "CounterStrikeSharp.API/1.0.52.0": { + "type": "reference", + "serviceable": false, + "sha512": "" + }, + "McMaster.NETCore.Plugins/1.4.0.0": { + "type": "reference", + "serviceable": false, + "sha512": "" + }, + "Microsoft.Extensions.DependencyModel/5.0.0.0": { + "type": "reference", + "serviceable": false, + "sha512": "" + }, + "Microsoft.DotNet.PlatformAbstractions/3.1.6.0": { + "type": "reference", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/bin/Debug/net7.0/GoSpec.dll b/bin/Debug/net7.0/GoSpec.dll new file mode 100644 index 0000000..a2575e7 Binary files /dev/null and b/bin/Debug/net7.0/GoSpec.dll differ diff --git a/Debug/net7.0/GoSpec.pdb b/bin/Debug/net7.0/GoSpec.pdb similarity index 84% rename from Debug/net7.0/GoSpec.pdb rename to bin/Debug/net7.0/GoSpec.pdb index 3077592..bb45b86 100644 Binary files a/Debug/net7.0/GoSpec.pdb and b/bin/Debug/net7.0/GoSpec.pdb differ diff --git a/bin/Debug/net7.0/McMaster.NETCore.Plugins.dll b/bin/Debug/net7.0/McMaster.NETCore.Plugins.dll new file mode 100644 index 0000000..3fe7401 Binary files /dev/null and b/bin/Debug/net7.0/McMaster.NETCore.Plugins.dll differ diff --git a/bin/Debug/net7.0/Microsoft.DotNet.PlatformAbstractions.dll b/bin/Debug/net7.0/Microsoft.DotNet.PlatformAbstractions.dll new file mode 100644 index 0000000..558229b Binary files /dev/null and b/bin/Debug/net7.0/Microsoft.DotNet.PlatformAbstractions.dll differ diff --git a/bin/Debug/net7.0/Microsoft.Extensions.DependencyModel.dll b/bin/Debug/net7.0/Microsoft.Extensions.DependencyModel.dll new file mode 100644 index 0000000..921622d Binary files /dev/null and b/bin/Debug/net7.0/Microsoft.Extensions.DependencyModel.dll differ diff --git a/bin/Debug/net7.0/gospec-v1.0.zip b/bin/Debug/net7.0/gospec-v1.2.zip similarity index 83% rename from bin/Debug/net7.0/gospec-v1.0.zip rename to bin/Debug/net7.0/gospec-v1.2.zip index b1cb919..c5a3913 100644 Binary files a/bin/Debug/net7.0/gospec-v1.0.zip and b/bin/Debug/net7.0/gospec-v1.2.zip differ diff --git a/obj/Debug/net7.0/GoSpec.dll b/obj/Debug/net7.0/GoSpec.dll index a0c2f2b..a2575e7 100644 Binary files a/obj/Debug/net7.0/GoSpec.dll and b/obj/Debug/net7.0/GoSpec.dll differ diff --git a/obj/Debug/net7.0/GoSpec.pdb b/obj/Debug/net7.0/GoSpec.pdb index 3077592..bb45b86 100644 Binary files a/obj/Debug/net7.0/GoSpec.pdb and b/obj/Debug/net7.0/GoSpec.pdb differ diff --git a/obj/Debug/net7.0/ref/GoSpec.dll b/obj/Debug/net7.0/ref/GoSpec.dll index 47785c9..704a665 100644 Binary files a/obj/Debug/net7.0/ref/GoSpec.dll and b/obj/Debug/net7.0/ref/GoSpec.dll differ diff --git a/obj/Debug/net7.0/refint/GoSpec.dll b/obj/Debug/net7.0/refint/GoSpec.dll index 47785c9..704a665 100644 Binary files a/obj/Debug/net7.0/refint/GoSpec.dll and b/obj/Debug/net7.0/refint/GoSpec.dll differ diff --git a/project.assets.json b/project.assets.json deleted file mode 100644 index 8123e89..0000000 --- a/project.assets.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "version": 3, - "targets": { - "net7.0": {} - }, - "libraries": {}, - "projectFileDependencyGroups": { - "net7.0": [] - }, - "packageFolders": { - "C:\\Users\\joahr\\.nuget\\packages\\": {} - }, - "project": { - "version": "1.0.0", - "restore": { - "projectUniqueName": "C:\\Users\\joahr\\OneDrive\\Documents\\Dev\\addons\\GoSpec\\GoSpec.csproj", - "projectName": "GoSpec", - "projectPath": "C:\\Users\\joahr\\OneDrive\\Documents\\Dev\\addons\\GoSpec\\GoSpec.csproj", - "packagesPath": "C:\\Users\\joahr\\.nuget\\packages\\", - "outputPath": "C:\\Users\\joahr\\OneDrive\\Documents\\Dev\\addons\\GoSpec\\obj\\", - "projectStyle": "PackageReference", - "configFilePaths": [ - "C:\\Users\\joahr\\AppData\\Roaming\\NuGet\\NuGet.Config", - "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" - ], - "originalTargetFrameworks": [ - "net7.0" - ], - "sources": { - "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, - "https://api.nuget.org/v3/index.json": {} - }, - "frameworks": { - "net7.0": { - "targetAlias": "net7.0", - "projectReferences": {} - } - }, - "warningProperties": { - "warnAsError": [ - "NU1605" - ] - } - }, - "frameworks": { - "net7.0": { - "targetAlias": "net7.0", - "imports": [ - "net461", - "net462", - "net47", - "net471", - "net472", - "net48", - "net481" - ], - "assetTargetFallback": true, - "warn": true, - "frameworkReferences": { - "Microsoft.NETCore.App": { - "privateAssets": "all" - } - }, - "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json" - } - } - } -} \ No newline at end of file diff --git a/project.nuget.cache b/project.nuget.cache deleted file mode 100644 index 3289b33..0000000 --- a/project.nuget.cache +++ /dev/null @@ -1,8 +0,0 @@ -{ - "version": 2, - "dgSpecHash": "7nQCsG03c3XGEk2dhz7jZAmh7EwSY3QPsz023WQ6+LZHQzh2/ZUhxLXtRerZYAb/f6c80dDqyFrZSKC9YCLJrw==", - "success": true, - "projectFilePath": "C:\\Users\\joahr\\OneDrive\\Documents\\Dev\\addons\\GoSpec\\GoSpec.csproj", - "expectedPackageFiles": [], - "logs": [] -} \ No newline at end of file