C# Class RohBot.Rooms.Script.ScriptHost

Mostrar archivo Open project: Rohansi/RohBot Class Usage Examples

Public Methods

Method Description
IsBanned ( string name ) : bool
IsMod ( string name ) : bool
RegisterCommand ( string type, string format, string[]>.Action handler ) : void
Send ( string message ) : void
SendLine ( HistoryLine line ) : void

Private Methods

Method Description
Reset ( ) : void
ScriptHost ( ScriptRoom room ) : System

Method Details

IsBanned() public method

public IsBanned ( string name ) : bool
name string
return bool

IsMod() public method

public IsMod ( string name ) : bool
name string
return bool

RegisterCommand() public method

public RegisterCommand ( string type, string format, string[]>.Action handler ) : void
type string
format string
handler string[]>.Action
return void

Send() public method

public Send ( string message ) : void
message string
return void

SendLine() public method

public SendLine ( HistoryLine line ) : void
line HistoryLine
return void