Initial release: HSUI v1.0.0.0 - HUD replacement with configurable hotbars
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
|
||||
namespace HSUI.Config.Attributes
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class)]
|
||||
public class SectionAttribute : Attribute
|
||||
{
|
||||
public string SectionName;
|
||||
public bool ForceAllowExport;
|
||||
|
||||
public SectionAttribute(string name, bool forceAllowExport = false)
|
||||
{
|
||||
SectionName = name;
|
||||
ForceAllowExport = forceAllowExport;
|
||||
}
|
||||
}
|
||||
|
||||
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
|
||||
public class SubSectionAttribute : Attribute
|
||||
{
|
||||
public string SubSectionName;
|
||||
public int Depth;
|
||||
|
||||
public SubSectionAttribute(string subSectionName, int depth)
|
||||
{
|
||||
SubSectionName = subSectionName;
|
||||
Depth = depth;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user