Class OnCommandEventArgs
Inherited Members
Namespace: RageCoop.Server.Scripting
Assembly: RageCoop.Server.dll
Syntax
public class OnCommandEventArgs : EventArgs
Properties
Args
Arguments
Declaration
public string[] Args { get; set; }
Property Value
| Type | Description |
|---|---|
| String[] |
Cancel
If this value was set to true, corresponding handler registered with RegisterCommand(String, Action<CommandContext>) will not be invoked.
Declaration
public bool Cancel { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
Client
The Client that executed this command, will be null if sent from server.
Declaration
public Client Client { get; set; }
Property Value
| Type | Description |
|---|---|
| Client |
Name
The name of executed command
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| String |