架构大更

This commit is contained in:
SoulliesOfficial
2026-03-20 11:56:50 -04:00
parent e60ef64d01
commit d09b58fd80
3663 changed files with 15232012 additions and 105579 deletions

View File

@@ -2,8 +2,8 @@
namespace NaughtyAttributes
{
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
[AttributeUsage(AttributeTargets.Field)]
public class EnumFlagsAttribute : DrawerAttribute
{
}
}
}

View File

@@ -2,8 +2,8 @@
namespace NaughtyAttributes
{
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
[AttributeUsage(AttributeTargets.Field)]
public class ExpandableAttribute : DrawerAttribute
{
}
}
}

View File

@@ -2,19 +2,19 @@
namespace NaughtyAttributes
{
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
[AttributeUsage(AttributeTargets.Field)]
public class ShowAssetPreviewAttribute : DrawerAttribute
{
public const int DefaultWidth = 64;
public const int DefaultHeight = 64;
public int Width { get; private set; }
public int Height { get; private set; }
public ShowAssetPreviewAttribute(int width = DefaultWidth, int height = DefaultHeight)
{
Width = width;
Height = height;
}
public int Width { get; private set; }
public int Height { get; private set; }
}
}
}

View File

@@ -2,8 +2,8 @@
namespace NaughtyAttributes
{
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
[AttributeUsage(AttributeTargets.Field)]
public class TagAttribute : DrawerAttribute
{
}
}
}