C# Class RohBot.Rooms.Script.ScriptHost

Afficher le fichier Open project: Rohansi/RohBot Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
Reset ( ) : void
ScriptHost ( ScriptRoom room ) : System

Method Details

IsBanned() public méthode

public IsBanned ( string name ) : bool
name string
Résultat bool

IsMod() public méthode

public IsMod ( string name ) : bool
name string
Résultat bool

RegisterCommand() public méthode

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

Send() public méthode

public Send ( string message ) : void
message string
Résultat void

SendLine() public méthode

public SendLine ( HistoryLine line ) : void
line HistoryLine
Résultat void