KINDNICK_URP/Assets/External/VMCMOD/Attributes/VMCPluginAttribute.cs
2025-04-25 21:14:54 +09:00

31 lines
967 B
C#

using System;
using System.Collections.Generic;
namespace VMCMod
{
[AttributeUsage(AttributeTargets.Class)]
public class VMCPluginAttribute : Attribute
{
public VMCPluginAttribute(string Name, string Version, string Author, string Description = null, string AuthorURL = null, string PluginURL = null)
{
this.Name = Name;
this.Version = Version;
this.Author = Author;
this.Description = Description;
this.AuthorURL = AuthorURL;
this.PluginURL = PluginURL;
}
public string Name { get; }
public string Version { get; }
public string Author { get; }
public string AuthorURL { get; }
public string Description { get; }
public string PluginURL { get; }
public string InstanceId { get; set; }
public string AssemblyPath { get; set; }
internal List<Action> OnSetting { get; set; }
}
}