Class CommandHandlers
Inheritance
System.Object
CommandHandlers
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AltV.Net.Resources.Chat
Assembly: AltV.Net.Resources.Chat.dll
Syntax
public static class CommandHandlers
Methods
| Improve this Doc View SourceAdd(String, Action<IPlayer, String, String[]>)
Declaration
public static void Add(string command, Action<IPlayer, string, string[]> handler)
Parameters
Type | Name | Description |
---|---|---|
System.String | command | |
System.Action<IPlayer, System.String, System.String[]> | handler |
InvokeCommand(IPlayer, String, String[])
Declaration
public static void InvokeCommand(IPlayer player, string cmd, string[] args)
Parameters
Type | Name | Description |
---|---|---|
IPlayer | player | |
System.String | cmd | |
System.String[] | args |