C# 클래스 TDSM.Core.PlayerExtensions

파일 보기 프로젝트 열기: DeathCradle/Terraria-s-Dedicated-Server-Mod

공개 메소드들

메소드 설명
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