Class CommandEventArgs<T>
- Namespace
- BSGameLib.Chat
- Assembly
- BSGameLib.Chat.dll
Event data for a message that named a command: its source, keyword and text.
public class CommandEventArgs<T> : EventArgs where T : IMessageSource
Type Parameters
T
- Inheritance
-
CommandEventArgs<T>
- Derived
- Inherited Members
Constructors
CommandEventArgs(T, string, string)
Creates event data for a message from source.
public CommandEventArgs(T source, string keyword, string sourceMessage)
Parameters
Properties
Keyword
The command keyword the message named.
public string Keyword { get; set; }
Property Value
Source
The source the message came from.
public T Source { get; set; }
Property Value
- T
SourceMessage
The whole message, with replacement tokens filled in.
public string SourceMessage { get; set; }