Skip to content

Commit

Permalink
Used static list of aggro types
Browse files Browse the repository at this point in the history
  • Loading branch information
McSwindler committed Aug 9, 2024
1 parent adb7d36 commit bb38599
Show file tree
Hide file tree
Showing 18 changed files with 184 additions and 474 deletions.
2 changes: 1 addition & 1 deletion SneakOnBy.DataBuilder/Builder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ static void Main(string[] args)
var uniqueId = $"{m.Groups[1].Captures[0].Value}_{m.Groups[2].Captures[0].Value}_{npc.Key}";
if(bnpcAgro.ContainsKey(uniqueId) && !bnpcAgro[uniqueId].Equals(agro))
{
System.Console.WriteLine($"Found duplicate {name} with different agro types.");
System.Console.WriteLine($"Found duplicate {uniqueId} {name} with different agro types.");
}
else if(!bnpcAgro.ContainsKey(uniqueId))
{
Expand Down
11 changes: 1 addition & 10 deletions SneakOnBy/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,9 @@ public class Configuration : IPluginConfiguration
public Vector4 UnknownColorFront { get; set; } = ImGuiColors.DalamudGrey.WithW(0.2f);
public Vector4 UnknownColorBack { get; set; } = ImGuiColors.DalamudGrey3.WithW(0.2f);

// the below exist just to make saving less cumbersome
[NonSerialized]
private DalamudPluginInterface? PluginInterface;

public void Initialize(DalamudPluginInterface pluginInterface)
{
this.PluginInterface = pluginInterface;
}

public void Save()
{
this.PluginInterface!.SavePluginConfig(this);
Services.PluginInterface!.SavePluginConfig(this);
}
}
}
121 changes: 0 additions & 121 deletions SneakOnBy/DeepDungeonDex.cs

This file was deleted.

2 changes: 1 addition & 1 deletion SneakOnBy/ECommons/CardinalDirection.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace ECommons.MathHelpers;
namespace ECommons.MathHelpers;

public enum CardinalDirection
{
Expand Down
168 changes: 0 additions & 168 deletions SneakOnBy/ECommons/DalamudReflector.cs

This file was deleted.

28 changes: 0 additions & 28 deletions SneakOnBy/ECommons/GenericHelpers.cs

This file was deleted.

7 changes: 0 additions & 7 deletions SneakOnBy/ECommons/IScheduler.cs

This file was deleted.

1 change: 1 addition & 0 deletions SneakOnBy/ECommons/MathHelper.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using SneakOnBy;
using System;
using System.Numerics;

Expand Down
Loading

0 comments on commit bb38599

Please sign in to comment.