mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-27 22:22:32 +00:00
411368307f
Internal, Script Editor: moved some setup/auto-completion logic to separate classes. Updated ZDoom_DECORATE.cfg (A_QuakeEx).
38 lines
830 B
C#
38 lines
830 B
C#
#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
|
|
}
|
|
}
|