Initial release: HSUI v1.0.0.0 - HUD replacement with configurable hotbars

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-01-30 23:52:46 -05:00
commit f37369cdda
202 changed files with 40137 additions and 0 deletions
+42
View File
@@ -0,0 +1,42 @@
using HSUI.Config;
using HSUI.Config.Attributes;
namespace HSUI.Interface.GeneralElements
{
[Exportable(false)]
[Section("Misc")]
[SubSection("Grid", 0)]
public class GridConfig : PluginConfigObject
{
public new static GridConfig DefaultConfig()
{
var config = new GridConfig();
config.Enabled = false;
return config;
}
[DragFloat("Background Alpha", min = 0, max = 1, velocity = .05f)]
[Order(10)]
public float BackgroundAlpha = 0.3f;
[Checkbox("Show Center Lines")]
[Order(15)]
public bool ShowCenterLines = true;
[Checkbox("Show Anchor Points")]
[Order(20)]
public bool ShowAnchorPoints = true;
[Checkbox("Grid Divisions", spacing = true)]
[Order(25)]
public bool ShowGrid = true;
[DragInt("Divisions Distance", min = 50, max = 500)]
[Order(30, collapseWith = nameof(ShowGrid))]
public int GridDivisionsDistance = 50;
[DragInt("Subdivision Count", min = 1, max = 10)]
[Order(35, collapseWith = nameof(ShowGrid))]
public int GridSubdivisionCount = 4;
}
}