tgstation-server
6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
Components
Interop
Topic
ChatCommand.cs
Go to the documentation of this file.
1
using
System;
2
3
using
Tgstation.Server.Host.Components.Chat
;
4
5
namespace
Tgstation.Server.Host.Components.Interop.Topic
6
{
10
sealed
class
ChatCommand
11
{
15
public
string
Name
{
get
; }
16
20
public
string
Params
{
get
; }
21
25
public
ChatUser
User
{
get
; }
26
33
public
ChatCommand
(
ChatUser
user,
string
command,
string
parameters)
34
{
35
User
= user ??
throw
new
ArgumentNullException(nameof(user));
36
Name
= command ??
throw
new
ArgumentNullException(nameof(command));
37
Params
= parameters ??
throw
new
ArgumentNullException(nameof(parameters));
38
}
39
}
40
}
Tgstation.Server.Host.Components.Chat.ChatUser
Represents a tgs_chat_user datum.
Definition
ChatUser.cs:12
Tgstation.Server.Host.Components.Interop.Topic.ChatCommand
Represents a chat command to be handled by DD.
Definition
ChatCommand.cs:11
Tgstation.Server.Host.Components.Interop.Topic.ChatCommand.ChatCommand
ChatCommand(ChatUser user, string command, string parameters)
Initializes a new instance of the ChatCommand class.
Definition
ChatCommand.cs:33
Tgstation.Server.Host.Components.Interop.Topic.ChatCommand.User
ChatUser User
The ChatUser that sent the command.
Definition
ChatCommand.cs:25
Tgstation.Server.Host.Components.Interop.Topic.ChatCommand.Params
string Params
The command params.
Definition
ChatCommand.cs:20
Tgstation.Server.Host.Components.Interop.Topic.ChatCommand.Name
string Name
The command name.
Definition
ChatCommand.cs:15
Tgstation.Server.Host.Components.Chat
Definition
ChannelMapping.cs:4
Tgstation.Server.Host.Components.Interop.Topic
Definition
ChatCommand.cs:6
Generated by
1.9.8