C# Class PartyCraft.Command

Afficher le fichier Open project: SirCmpwn/PartyCraft Class Usage Examples

Méthodes publiques

Méthode Description
Execute ( Server server, RemoteClient user, string text ) : void
ExecuteCommand ( Server server, RemoteClient user, string text ) : void
GetCommand ( string name ) : Command
MayUseCommand ( Command command, RemoteClient user, Server server ) : bool
TabComplete ( Server server, string text, string &matches ) : bool

Méthodes protégées

Méthode Description
LoadDefaultPermissions ( ) : void

Private Methods

Méthode Description
LoadCommands ( Server server ) : void

Method Details

Execute() public abstract méthode

public abstract Execute ( Server server, RemoteClient user, string text ) : void
server Server
user RemoteClient
text string
Résultat void

ExecuteCommand() public static méthode

public static ExecuteCommand ( Server server, RemoteClient user, string text ) : void
server Server
user RemoteClient
text string
Résultat void

GetCommand() public static méthode

public static GetCommand ( string name ) : Command
name string
Résultat Command

LoadDefaultPermissions() protected méthode

protected LoadDefaultPermissions ( ) : void
Résultat void

MayUseCommand() public static méthode

public static MayUseCommand ( Command command, RemoteClient user, Server server ) : bool
command Command
user RemoteClient
server Server
Résultat bool

TabComplete() public méthode

public TabComplete ( Server server, string text, string &matches ) : bool
server Server
text string
matches string
Résultat bool