mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-12-15 06:30:57 +00:00
38 lines
830 B
C#
Executable file
38 lines
830 B
C#
Executable file
#region ================== Namespaces
|
|
|
|
using System;
|
|
using CodeImp.DoomBuilder.Config;
|
|
|
|
#endregion
|
|
|
|
namespace CodeImp.DoomBuilder.Data.Scripting
|
|
{
|
|
[AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = true)]
|
|
public sealed class ScriptHandlerAttribute : Attribute
|
|
{
|
|
#region ================== Variables
|
|
|
|
private Type type;
|
|
private ScriptType scripttype;
|
|
|
|
#endregion
|
|
|
|
#region ================== Properties
|
|
|
|
public Type Type { get { return type; } set { type = value; } }
|
|
public ScriptType ScriptType { get { return scripttype; } }
|
|
|
|
#endregion
|
|
|
|
#region ================== Constructor / Destructor
|
|
|
|
// Constructor
|
|
public ScriptHandlerAttribute(ScriptType scripttype)
|
|
{
|
|
// Initialize
|
|
this.scripttype = scripttype;
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|