C# Class Wolfje.Plugins.SEconomy.SEconomy

Inheritance: IDisposable
Afficher le fichier Open project: tylerjwatson/SEconomy Class Usage Examples

Private Properties

Свойство Type Description
CreatePlayerAccountAsync Task
GetEconomyPlayerByBankAccountNameSafe object
GetEconomyPlayerSafe object
GetEconomyPlayerSafe object

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void
LoadJournal ( ) : bool

Private Methods

Méthode Description
CreatePlayerAccountAsync ( TShockAPI.TSPlayer player ) : Task
GetEconomyPlayerByBankAccountNameSafe ( string Name ) : object
GetEconomyPlayerSafe ( int Id ) : object
GetEconomyPlayerSafe ( string Name ) : object

Method Details

BindToWorldAsync() public méthode

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

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetBankAccount() public méthode

public GetBankAccount ( TShockAPI tsPlayer ) : IBankAccount
tsPlayer TShockAPI
Résultat IBankAccount

GetBankAccount() public méthode

public GetBankAccount ( Terraria player ) : IBankAccount
player Terraria
Résultat IBankAccount

GetBankAccount() public méthode

public GetBankAccount ( int who ) : IBankAccount
who int
Résultat IBankAccount

GetBankAccount() public méthode

public GetBankAccount ( string userAccountName ) : IBankAccount
userAccountName string
Résultat IBankAccount

GetPlayerBankAccount() public méthode

public GetPlayerBankAccount ( string playerName ) : IBankAccount
playerName string
Résultat IBankAccount

IsNet45OrNewer() public méthode

public IsNet45OrNewer ( ) : bool
Résultat bool

LoadJournal() protected méthode

protected LoadJournal ( ) : bool
Résultat bool

LoadSEconomy() public méthode

public LoadSEconomy ( ) : int
Résultat int

PlayerIdleSince() public méthode

public PlayerIdleSince ( Player player ) : TimeSpan?
player Terraria.Player
Résultat TimeSpan?

PurgeAccounts() public méthode

public PurgeAccounts ( ) : int
Résultat int

RemovePlayerIdleCache() public méthode

public RemovePlayerIdleCache ( Player player ) : void
player Terraria.Player
Résultat void

SEconomy() public méthode

public SEconomy ( SEconomyPlugin PluginInstance ) : System
PluginInstance SEconomyPlugin
Résultat System

SearchPlayerBankAccount() public méthode

public SearchPlayerBankAccount ( string playerName ) : IBankAccount>>.List
playerName string
Résultat IBankAccount>>.List

SearchPlayerBankAccountAsync() public méthode

public SearchPlayerBankAccountAsync ( string playerName ) : IBankAccount>>>.Task
playerName string
Résultat IBankAccount>>>.Task

UpdatePlayerIdle() public méthode

public UpdatePlayerIdle ( Player player ) : void
player Terraria.Player
Résultat void