C# 클래스 Wolfje.Plugins.SEconomy.SEconomy

상속: IDisposable
파일 보기 프로젝트 열기: tylerjwatson/SEconomy 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CreatePlayerAccountAsync Task
GetEconomyPlayerByBankAccountNameSafe object
GetEconomyPlayerSafe object
GetEconomyPlayerSafe object

공개 메소드들

메소드 설명
BindToWorldAsync ( ) : System.Threading.Tasks.Task

Called after LoadSEconomy, or on PostInitialize, this binds the current SEconomy instance to the currently running terraria world.

Dispose ( ) : void
GetBankAccount ( TShockAPI tsPlayer ) : IBankAccount
GetBankAccount ( Terraria player ) : IBankAccount
GetBankAccount ( int who ) : IBankAccount
GetBankAccount ( string userAccountName ) : IBankAccount
GetPlayerBankAccount ( string playerName ) : IBankAccount
IsNet45OrNewer ( ) : bool
LoadSEconomy ( ) : int
PlayerIdleSince ( Player player ) : TimeSpan?
PurgeAccounts ( ) : int
RemovePlayerIdleCache ( Player player ) : void
SEconomy ( SEconomyPlugin PluginInstance ) : System
SearchPlayerBankAccount ( string playerName ) : IBankAccount>>.List
SearchPlayerBankAccountAsync ( string playerName ) : IBankAccount>>>.Task
UpdatePlayerIdle ( Player player ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void
LoadJournal ( ) : bool

비공개 메소드들

메소드 설명
CreatePlayerAccountAsync ( TShockAPI.TSPlayer player ) : Task
GetEconomyPlayerByBankAccountNameSafe ( string Name ) : object
GetEconomyPlayerSafe ( int Id ) : object
GetEconomyPlayerSafe ( string Name ) : object

메소드 상세

BindToWorldAsync() 공개 메소드

Called after LoadSEconomy, or on PostInitialize, this binds the current SEconomy instance to the currently running terraria world.
public BindToWorldAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetBankAccount() 공개 메소드

public GetBankAccount ( TShockAPI tsPlayer ) : IBankAccount
tsPlayer TShockAPI
리턴 IBankAccount

GetBankAccount() 공개 메소드

public GetBankAccount ( Terraria player ) : IBankAccount
player Terraria
리턴 IBankAccount

GetBankAccount() 공개 메소드

public GetBankAccount ( int who ) : IBankAccount
who int
리턴 IBankAccount

GetBankAccount() 공개 메소드

public GetBankAccount ( string userAccountName ) : IBankAccount
userAccountName string
리턴 IBankAccount

GetPlayerBankAccount() 공개 메소드

public GetPlayerBankAccount ( string playerName ) : IBankAccount
playerName string
리턴 IBankAccount

IsNet45OrNewer() 공개 메소드

public IsNet45OrNewer ( ) : bool
리턴 bool

LoadJournal() 보호된 메소드

protected LoadJournal ( ) : bool
리턴 bool

LoadSEconomy() 공개 메소드

public LoadSEconomy ( ) : int
리턴 int

PlayerIdleSince() 공개 메소드

public PlayerIdleSince ( Player player ) : TimeSpan?
player Terraria.Player
리턴 TimeSpan?

PurgeAccounts() 공개 메소드

public PurgeAccounts ( ) : int
리턴 int

RemovePlayerIdleCache() 공개 메소드

public RemovePlayerIdleCache ( Player player ) : void
player Terraria.Player
리턴 void

SEconomy() 공개 메소드

public SEconomy ( SEconomyPlugin PluginInstance ) : System
PluginInstance SEconomyPlugin
리턴 System

SearchPlayerBankAccount() 공개 메소드

public SearchPlayerBankAccount ( string playerName ) : IBankAccount>>.List
playerName string
리턴 IBankAccount>>.List

SearchPlayerBankAccountAsync() 공개 메소드

public SearchPlayerBankAccountAsync ( string playerName ) : IBankAccount>>>.Task
playerName string
리턴 IBankAccount>>>.Task

UpdatePlayerIdle() 공개 메소드

public UpdatePlayerIdle ( Player player ) : void
player Terraria.Player
리턴 void