tgstation-server
5.12.7
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Components
Events
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
)]
9
sealed
class
EventScriptAttribute
:
Attribute
10
{
14
public
string
ScriptName
{
get
; }
15
20
public
EventScriptAttribute
(
string
scriptName)
21
{
22
ScriptName
= scriptName ??
throw
new
ArgumentNullException(nameof(scriptName));
23
}
24
}
25
}
Attribute
Tgstation.Server.Host.Components.Events.EventScriptAttribute
Attribute for indicating the script that a given EventType runs.
Definition:
EventScriptAttribute.cs:10
Tgstation.Server.Host.Components.Events.EventScriptAttribute.EventScriptAttribute
EventScriptAttribute(string scriptName)
Initializes a new instance of the EventScriptAttribute class.
Definition:
EventScriptAttribute.cs:20
Tgstation.Server.Host.Components.Events.EventScriptAttribute.ScriptName
string ScriptName
The name of the script the event script the EventType runs.
Definition:
EventScriptAttribute.cs:14
Tgstation.Server.Host.Components.Events
Definition:
EventConsumer.cs:10
Generated by
1.9.5