mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-19 15:51:48 +00:00
19 lines
459 B
C#
19 lines
459 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Reflection;
|
|
|
|
namespace MiraAPI.GameOptions.Attributes
|
|
{
|
|
[AttributeUsage(AttributeTargets.Field)]
|
|
public class RegisterCustomOptionAttribute : Attribute
|
|
{
|
|
private static readonly HashSet<Assembly> RegisteredAssemblies = [];
|
|
public string ModId { get; }
|
|
|
|
public RegisterCustomOptionAttribute(string modId)
|
|
{
|
|
ModId = modId;
|
|
}
|
|
}
|
|
}
|