public RegisterCommand ( string type, string format, string[]>.Action |
||
type | string | |
format | string | |
handler | string[]>.Action | |
리턴 | void |
public void RegisterCommand(string type, string format, Action<CommandTarget, string[]> handler)
{
var cmdHandler = new ScriptRoom.CommandHandler(type, format, handler);
_room.Commands.Add(type, cmdHandler);
}