tgstation-server  4.3.2
The /tg/station 13 server suite
EventScriptAttribute.cs
Go to the documentation of this file.
1 using System;
2 
3 namespace Tgstation.Server.Host.Components.Events
4 {
8  [AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
10  {
14  public string ScriptName { get; }
15 
20  public EventScriptAttribute(string scriptName)
21  {
22  ScriptName = scriptName ?? throw new ArgumentNullException(nameof(scriptName));
23  }
24  }
25 }
EventScriptAttribute(string scriptName)
Initializes a new instance of the EventScriptAttribute .
Attribute for indicating the script that a given EventType runs.