C# Класс YurikoCS.Command

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Command ( string command, CommandExecutor executor ) : System
Command ( string command, CommandExecutor executor, string description ) : System
Command ( string command, CommandExecutor executor, string description, Permission permission ) : System
CommandExists ( Command command ) : bool
Execute ( CommandSender sender, string command ) : bool
GetCommandDescription ( ) : string
GetCommandName ( ) : string
GetCommandPermission ( ) : Permission
GetExecutor ( ) : CommandExecutor
OverrideCommand ( Command command ) : bool
RegisterCommand ( Command command ) : bool
UnregisterCommand ( Command command ) : bool

Описание методов

Command() публичный Метод

public Command ( string command, CommandExecutor executor ) : System
command string
executor CommandExecutor
Результат System

Command() публичный Метод

public Command ( string command, CommandExecutor executor, string description ) : System
command string
executor CommandExecutor
description string
Результат System

Command() публичный Метод

public Command ( string command, CommandExecutor executor, string description, Permission permission ) : System
command string
executor CommandExecutor
description string
permission Permission
Результат System

CommandExists() публичный статический Метод

public static CommandExists ( Command command ) : bool
command Command
Результат bool

Execute() публичный статический Метод

public static Execute ( CommandSender sender, string command ) : bool
sender CommandSender
command string
Результат bool

GetCommandDescription() публичный Метод

public GetCommandDescription ( ) : string
Результат string

GetCommandName() публичный Метод

public GetCommandName ( ) : string
Результат string

GetCommandPermission() публичный Метод

public GetCommandPermission ( ) : Permission
Результат Permission

GetExecutor() публичный Метод

public GetExecutor ( ) : CommandExecutor
Результат CommandExecutor

OverrideCommand() публичный статический Метод

public static OverrideCommand ( Command command ) : bool
command Command
Результат bool

RegisterCommand() публичный статический Метод

public static RegisterCommand ( Command command ) : bool
command Command
Результат bool

UnregisterCommand() публичный статический Метод

public static UnregisterCommand ( Command command ) : bool
command Command
Результат bool