mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-16 16:34:41 +01:00
37 lines
400 B
C#
37 lines
400 B
C#
using System;
|
|
|
|
namespace LuaInterface
|
|
{
|
|
[AttributeUsage(AttributeTargets.Method)]
|
|
public class LuaGlobalAttribute : Attribute
|
|
{
|
|
private string name;
|
|
|
|
private string descript;
|
|
|
|
public string Name
|
|
{
|
|
get
|
|
{
|
|
return name;
|
|
}
|
|
set
|
|
{
|
|
name = value;
|
|
}
|
|
}
|
|
|
|
public string Description
|
|
{
|
|
get
|
|
{
|
|
return descript;
|
|
}
|
|
set
|
|
{
|
|
descript = value;
|
|
}
|
|
}
|
|
}
|
|
}
|