UltimateZoneBuilder/Source/Core/Data/Scripting/ScriptHandlerAttribute.cs
MaxED 411368307f Fixed, Visual mode: in some cases translucency was ignored on inner top sides of translucent 3d floors.
Internal, Script Editor: moved some setup/auto-completion logic to separate classes.
Updated ZDoom_DECORATE.cfg (A_QuakeEx).
2016-04-28 14:02:24 +00:00

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
}
}