C# Class AdminTools.Accounts

Mostra file Open project: Guad/GTACoop

Public Methods

Method Description
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

Method Details

Ban() public static method

public static Ban ( this client, string Reason, Client IssuedBy = null ) : void
client this
Reason string
IssuedBy Client
return void

GetAccount() public static method

public static GetAccount ( this client, bool checkauthentication = true ) : Account
client this
checkauthentication bool
return Account

GetBan() public static method

public static GetBan ( this client ) : Ban
client this
return Ban

GetClient() public static method

public static GetClient ( this account ) : Client
account this
return Client

IsAuthenticated() public static method

public static IsAuthenticated ( this client ) : bool
client this
return bool

IsBanned() public static method

public static IsBanned ( this client ) : bool
client this
return bool

IsIPBanned() public static method

public static IsIPBanned ( this client ) : bool
client this
return bool