C# Класс TDSM.Core.PlayerExtensions

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

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

Метод Описание
GetAuthenticatedAs ( this player ) : string

Gets who the player is authenticated as

GetAuthenticatedBy ( this player ) : string

Gets the authenticating service

GetLastCostlyCommand ( this player ) : System.DateTime
GetSSCReadyForSave ( this player ) : bool
IsAuthenticated ( this player ) : bool

Gets a value indicating whether this player is authenticated.

IsSelfAuthenticated ( this player ) : bool

Gets a value indicating whether this player is self authenticated.

This is not for real authentication, rather to prevent self authentications being included

SetAuthentication ( this player, string auth, string by ) : void

Sets the authentication of this user

SetLastCostlyCommand ( this player, System.DateTime value ) : void
SetSSCReadyForSave ( this player, bool value ) : void

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

Метод Описание
SetAuthenticatedAs ( this player, string value ) : void

Sets who the player is authenticated as

SetAuthenticatedBy ( this player, string value ) : void

Sets the authenticating service

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

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

Gets who the player is authenticated as
public static GetAuthenticatedAs ( this player ) : string
player this
Результат string

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

Gets the authenticating service
public static GetAuthenticatedBy ( this player ) : string
player this
Результат string

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

public static GetLastCostlyCommand ( this player ) : System.DateTime
player this
Результат System.DateTime

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

public static GetSSCReadyForSave ( this player ) : bool
player this
Результат bool

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

Gets a value indicating whether this player is authenticated.
public static IsAuthenticated ( this player ) : bool
player this
Результат bool

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

Gets a value indicating whether this player is self authenticated.
This is not for real authentication, rather to prevent self authentications being included
public static IsSelfAuthenticated ( this player ) : bool
player this
Результат bool

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

Sets the authentication of this user
public static SetAuthentication ( this player, string auth, string by ) : void
player this
auth string Auth.
by string By.
Результат void

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

public static SetLastCostlyCommand ( this player, System.DateTime value ) : void
player this
value System.DateTime
Результат void

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

public static SetSSCReadyForSave ( this player, bool value ) : void
player this
value bool
Результат void