From c4506b7c09bf1acb365a662a41fa8c801d77566a Mon Sep 17 00:00:00 2001 From: McSwindler Date: Tue, 14 Mar 2023 23:54:29 -0500 Subject: [PATCH] add build workflow --- .github/workflows/build.yml | 36 ++++++++++++++++++++++++ Data/goat.png | Bin 19708 -> 0 bytes SneakOnBy/Plugin.cs | 30 -------------------- SneakOnBy/SneakOnBy.csproj | 7 ----- SneakOnBy/SneakOnBy.json | 4 +-- SneakOnBy/Windows/MainWindow.cs | 48 -------------------------------- 6 files changed, 38 insertions(+), 87 deletions(-) create mode 100644 .github/workflows/build.yml delete mode 100644 Data/goat.png delete mode 100644 SneakOnBy/Windows/MainWindow.cs diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..0e15021 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,36 @@ +name: dotnet build +on: + push: + paths-ignore: + - '**.md' +jobs: + build: + runs-on: windows-latest + env: + DOTNET_CLI_TELEMETRY_OPTOUT: 'true' + + steps: + - uses: actions/checkout@v3 + with: + submodules: true + + - name: Setup .NET SDK + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 7.0 + + - name: Download Dalamud + run: | + Invoke-WebRequest -Uri https://goatcorp.github.io/dalamud-distrib/latest.zip -OutFile latest.zip + Expand-Archive -Force latest.zip "$env:AppData\XIVLauncher\addon\Hooks\dev\" + - name: Install dependencies + run: dotnet restore + + - name: Build + run: dotnet build --configuration Release --no-restore + + - name: Upload dotnet test results + uses: actions/upload-artifact@v3 + with: + name: latest.zip + path: SneakOnBy/bin/x64/Release/SneakOnBy/*.zip \ No newline at end of file diff --git a/Data/goat.png b/Data/goat.png deleted file mode 100644 index 4ca06ace488f9503cff0e9e56117a7db559ae80a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 19708 zcmXtAV{jzh0*$e;oou}E#x^ImZQHhOC!3AUjcwbuZNK?`yc%>>*Hlg4se8{o>WPq- z6-W4i`vU|71OXr+q6j?B0bk=VP{4OQfk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@Jw2`jsM&UD**?Oudny_;u#rD@l5>A=U8sLh?GERuA-t8U>$zZcsC2F*1WlFqf?X_LI*(sWsqpx(lU-qQDzi%z>h!{ s>16RXdIeIHqNoMtmwOP3q9~E#KhG+%-}Pf=XaE2J07*qoM6N<$f(aDRSpWb4 diff --git a/SneakOnBy/Plugin.cs b/SneakOnBy/Plugin.cs index 4bb0a42..fbb824e 100644 --- a/SneakOnBy/Plugin.cs +++ b/SneakOnBy/Plugin.cs @@ -1,17 +1,9 @@ using Dalamud.Game.Command; using Dalamud.IoC; using Dalamud.Plugin; -using System.IO; using Dalamud.Interface.Windowing; using SneakOnBy.Windows; using ECommons; -using Dalamud.Game; -using Dalamud.Game.Text; -using Dalamud.Game.Text.SeStringHandling; -using ECommons.DalamudServices; -using Dalamud.Game.Text.SeStringHandling.Payloads; -using Dalamud.Game.ClientState.Conditions; -using Dalamud.Game.ClientState.Objects.Types; namespace SneakOnBy { @@ -26,7 +18,6 @@ public sealed class Plugin : IDalamudPlugin public WindowSystem WindowSystem = new("SneakOnBy"); private ConfigWindow ConfigWindow { get; init; } - private MainWindow MainWindow { get; init; } private Canvas Canvas { get; init; } public Plugin( @@ -43,15 +34,11 @@ public Plugin( this.Configuration.Initialize(this.PluginInterface); // you might normally want to embed resources and load them from the manifest stream - var imagePath = Path.Combine(PluginInterface.AssemblyLocation.Directory?.FullName!, "goat.png"); - var goatImage = this.PluginInterface.UiBuilder.LoadImage(imagePath); ConfigWindow = new ConfigWindow(this); - MainWindow = new MainWindow(this, goatImage); Canvas = new Canvas(this); WindowSystem.AddWindow(ConfigWindow); - WindowSystem.AddWindow(MainWindow); WindowSystem.AddWindow(Canvas); this.CommandManager.AddHandler(CommandName, new CommandInfo(OnCommand) @@ -61,7 +48,6 @@ public Plugin( this.PluginInterface.UiBuilder.Draw += DrawUI; this.PluginInterface.UiBuilder.OpenConfigUi += DrawConfigUI; - Svc.Condition.ConditionChange += ConditionChange; } @@ -73,7 +59,6 @@ public void Dispose() ConfigWindow.Dispose(); - MainWindow.Dispose(); Canvas.Dispose(); this.CommandManager.RemoveHandler(CommandName); @@ -94,20 +79,5 @@ public void DrawConfigUI() { ConfigWindow.IsOpen = true; } - - private void ConditionChange(ConditionFlag flag, bool value) - { - if(flag == ConditionFlag.InCombat && value) - { - if (Svc.Targets.SoftTarget is BattleNpc bnpc) - { - Svc.Chat.PrintChat(new XivChatEntry - { - Message = new SeString(new TextPayload("Hello World")), - Type = XivChatType.Echo - }); - } - } - } } } diff --git a/SneakOnBy/SneakOnBy.csproj b/SneakOnBy/SneakOnBy.csproj index b24a70c..b3d7437 100644 --- a/SneakOnBy/SneakOnBy.csproj +++ b/SneakOnBy/SneakOnBy.csproj @@ -20,13 +20,6 @@ true - - - PreserveNewest - false - - - $(appdata)\XIVLauncher\addon\Hooks\dev\ true diff --git a/SneakOnBy/SneakOnBy.json b/SneakOnBy/SneakOnBy.json index a1e460a..e8317cb 100644 --- a/SneakOnBy/SneakOnBy.json +++ b/SneakOnBy/SneakOnBy.json @@ -1,8 +1,8 @@ { "Author": "McSwindler", "Name": "Sneak On By", - "Punchline": "Telegraphs aggro ranges to allow for better sneaking.", - "Description": "Adds telegraphs to monster aggro ranges to allow easier sneaking past mobs without fighting. Most helpful in deep dungeons.", + "Punchline": "Shows areas of aggression in Deep Dungeons", + "Description": "Adds markers for the areas around a monster where it will detect you. Allows you to more easily sneak around pesky mosnters.", "InternalName": "sneakOnBy", "ApplicableVersion": "any", "Tags": [ diff --git a/SneakOnBy/Windows/MainWindow.cs b/SneakOnBy/Windows/MainWindow.cs deleted file mode 100644 index 2655d93..0000000 --- a/SneakOnBy/Windows/MainWindow.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using System.Numerics; -using Dalamud.Interface.Windowing; -using ImGuiNET; -using ImGuiScene; - -namespace SneakOnBy.Windows; - -public class MainWindow : Window, IDisposable -{ - private TextureWrap GoatImage; - private Plugin Plugin; - - public MainWindow(Plugin plugin, TextureWrap goatImage) : base( - "My Amazing Window", ImGuiWindowFlags.NoScrollbar | ImGuiWindowFlags.NoScrollWithMouse) - { - this.SizeConstraints = new WindowSizeConstraints - { - MinimumSize = new Vector2(375, 330), - MaximumSize = new Vector2(float.MaxValue, float.MaxValue) - }; - - this.GoatImage = goatImage; - this.Plugin = plugin; - } - - public void Dispose() - { - this.GoatImage.Dispose(); - } - - public override void Draw() - { - ImGui.Text($"The random config bool is {this.Plugin.Configuration.EnableLineOfSight}"); - - if (ImGui.Button("Show Settings")) - { - this.Plugin.DrawConfigUI(); - } - - ImGui.Spacing(); - - ImGui.Text("Have a goat:"); - ImGui.Indent(55); - ImGui.Image(this.GoatImage.ImGuiHandle, new Vector2(this.GoatImage.Width, this.GoatImage.Height)); - ImGui.Unindent(55); - } -}