C# Класс AdminTools.Accounts

Показать файл Открыть проект

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

Метод Описание
Ban ( this client, string Reason, Client IssuedBy = null ) : void
GetAccount ( this client, bool checkauthentication = true ) : Account
GetBan ( this client ) : Ban
GetClient ( this account ) : Client
IsAuthenticated ( this client ) : bool
IsBanned ( this client ) : bool
IsIPBanned ( this client ) : bool

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

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

public static Ban ( this client, string Reason, Client IssuedBy = null ) : void
client this
Reason string
IssuedBy Client
Результат void

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

public static GetAccount ( this client, bool checkauthentication = true ) : Account
client this
checkauthentication bool
Результат Account

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

public static GetBan ( this client ) : Ban
client this
Результат Ban

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

public static GetClient ( this account ) : Client
account this
Результат Client

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

public static IsAuthenticated ( this client ) : bool
client this
Результат bool

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

public static IsBanned ( this client ) : bool
client this
Результат bool

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

public static IsIPBanned ( this client ) : bool
client this
Результат bool