tgstation-server
4.3.2
The /tg/station 13 server suite
Main Page
Features
API
Architecture
Packages
Classes
Files
File List
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.Api.Models.IrcPasswordType.Server
Use server authentication
System
Tgstation.Server.Host.Components.Events.EventScriptAttribute.EventScriptAttribute
EventScriptAttribute(string scriptName)
Initializes a new instance of the EventScriptAttribute .
Definition:
EventScriptAttribute.cs:20
Tgstation.Server.Host.Components.Events.EventScriptAttribute
Attribute for indicating the script that a given EventType runs.
Definition:
EventScriptAttribute.cs:9
Tgstation
Generated by
1.8.11