C# Класс fCraft.PlayerOpException

Exception that is thrown when a player's action or command could not be completed.
Наследование: System.Exception
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
PlayerOpException ( [ player, PlayerInfo target, PlayerOpExceptionCode errorCode, [ message, [ messageColored ) : System

Приватные методы

Метод Описание
CheckBanReason ( [ reason, [ player, PlayerInfo targetInfo, bool unban ) : void
CheckKickReason ( [ reason, [ player, PlayerInfo targetInfo ) : void
CheckRankChangeReason ( [ reason, [ player, PlayerInfo targetInfo, bool promoting ) : void
ThrowCancelled ( [ player, [ target ) : void
ThrowCannotTargetSelf ( [ player, [ target, [ action ) : void
ThrowInvalidIP ( [ player, [ target, [ ip ) : void
ThrowNoOneToBan ( [ player, [ targetInfo, [ address ) : void
ThrowNoOneToUnban ( [ player, [ targetInfo, [ address ) : void
ThrowNoWorld ( [ player ) : void
ThrowPermissionLimit ( [ player, [ targetInfo, [ action, Permission permission ) : void
ThrowPermissionLimitIP ( [ player, [ infoWhomPlayerCantBan, [ targetAddress ) : void
ThrowPermissionMissing ( [ player, [ target, [ action ) : void
ThrowPlayerAlreadyBanned ( [ player, [ target, [ action ) : void
ThrowPlayerAndIPNotBanned ( [ player, [ targetInfo, [ address ) : void
ThrowPlayerNotBanned ( [ player, [ target, [ action ) : void

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

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

public PlayerOpException ( [ player, PlayerInfo target, PlayerOpExceptionCode errorCode, [ message, [ messageColored ) : System
player [
target PlayerInfo
errorCode PlayerOpExceptionCode
message [
messageColored [
Результат System