shenjianxing 3359efe49d VR适配
2025-03-20 17:31:29 +08:00

21 lines
408 B
C#

using System;
using System.Reflection;
namespace IngameDebugConsole
{
public abstract class ConsoleAttribute : Attribute
{
public MethodInfo Method { get; private set; }
public abstract int Order { get; }
public void SetMethod(MethodInfo method)
{
if (Method != null)
throw new Exception("Method was already initialized.");
Method = method;
}
public abstract void Load();
}
}