C# 클래스 TDSM.Core.Data.Management.APIAccountManager

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

공개 메소드들

메소드 설명
AddType ( long accountId, string type, string value ) : APIAccountRole
Create ( string name, string password ) : APIAccount
DeleteAccount ( long accountId ) : bool
DeleteType ( long accountId, string type, string value ) : bool
FindAccountsByPrefix ( string search ) : string[]

Finds a list of accounts matching a prefix

FindByName ( string name ) : APIAccount
FindByNameAsync ( string name ) : Task
GetRolesForAccount ( long accountId ) : Task

메소드 상세

AddType() 공개 정적인 메소드

public static AddType ( long accountId, string type, string value ) : APIAccountRole
accountId long
type string
value string
리턴 TDSM.Core.Data.Models.APIAccountRole

Create() 공개 정적인 메소드

public static Create ( string name, string password ) : APIAccount
name string
password string
리턴 TDSM.Core.Data.Models.APIAccount

DeleteAccount() 공개 정적인 메소드

public static DeleteAccount ( long accountId ) : bool
accountId long
리턴 bool

DeleteType() 공개 정적인 메소드

public static DeleteType ( long accountId, string type, string value ) : bool
accountId long
type string
value string
리턴 bool

FindAccountsByPrefix() 공개 정적인 메소드

Finds a list of accounts matching a prefix
public static FindAccountsByPrefix ( string search ) : string[]
search string Search prefix.
리턴 string[]

FindByName() 공개 정적인 메소드

public static FindByName ( string name ) : APIAccount
name string
리턴 TDSM.Core.Data.Models.APIAccount

FindByNameAsync() 공개 정적인 메소드

public static FindByNameAsync ( string name ) : Task
name string
리턴 Task

GetRolesForAccount() 공개 정적인 메소드

public static GetRolesForAccount ( long accountId ) : Task
accountId long
리턴 Task