29 lines
563 B
C#
29 lines
563 B
C#
using System;
|
|
|
|
namespace BizHawk.Client.Common
|
|
{
|
|
[AttributeUsage(AttributeTargets.Method)]
|
|
public class LuaMethodAttribute : Attribute
|
|
{
|
|
public LuaMethodAttribute(string name, string description)
|
|
{
|
|
Name = name;
|
|
Description = description;
|
|
}
|
|
|
|
public string Name { get; }
|
|
public string Description { get; }
|
|
}
|
|
|
|
[AttributeUsage(AttributeTargets.Class)]
|
|
public class LuaLibraryAttribute : Attribute
|
|
{
|
|
public LuaLibraryAttribute(bool released)
|
|
{
|
|
Released = released;
|
|
}
|
|
|
|
public bool Released { get; }
|
|
}
|
|
}
|