Upload from upload_mods.ps1
This commit is contained in:
16
Scripts/Attributes/PatchTargetAttribute.cs
Normal file
16
Scripts/Attributes/PatchTargetAttribute.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
|
||||
namespace KFCommonUtilityLib.Scripts.Attributes
|
||||
{
|
||||
[System.AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
|
||||
public sealed class TypeTargetAttribute : Attribute
|
||||
{
|
||||
// This is a positional argument
|
||||
public TypeTargetAttribute(Type baseType)
|
||||
{
|
||||
BaseType = baseType;
|
||||
}
|
||||
|
||||
public Type BaseType { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user