C# Class Wolfje.Plugins.SEconomy.EventHandlers

Disposable wrapper for all data handlers that SEconomy depends on to run
Inheritance: IDisposable
Afficher le fichier Open project: tylerjwatson/SEconomy

Méthodes publiques

Méthode Description
Dispose ( ) : void
EventHandlers ( SEconomy Parent ) : System

Méthodes protégées

Méthode Description
BankAccount_BankTransferCompleted ( object s, Journal e ) : void

Default messages sent to players when a transaction happens within SEconomy.

Dispose ( bool disposing ) : void
GameHooks_PostInitialize ( EventArgs e ) : void
NetHooks_GetData ( TerrariaApi.Server.GetDataEventArgs args ) : void

Occurs when the engine receives a packet from the client

PayRunTimer_Elapsed ( object sender, System e ) : void

Occurs when the pay run timer is elapsed, and gives the IntervalPayAmount to each player that has not been idle since the configured idle threshold. Idle players are not paid.

PlayerHooks_PlayerPostLogin ( TShockAPI e ) : void
RepeatLineBreaks ( int number ) : string
ServerHooks_Join ( TerrariaApi.Server.JoinEventArgs args ) : void

Occurs when someone joins the game.

ServerHooks_Leave ( TerrariaApi.Server.LeaveEventArgs args ) : void

Occurs when someone leaves the game.

TaskScheduler_UnobservedTaskException ( object sender, System.Threading.Tasks.UnobservedTaskExceptionEventArgs e ) : void

Occurs when an exception happens on a task thread.

Method Details

BankAccount_BankTransferCompleted() protected méthode

Default messages sent to players when a transaction happens within SEconomy.
protected BankAccount_BankTransferCompleted ( object s, Journal e ) : void
s object
e Journal
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

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

EventHandlers() public méthode

public EventHandlers ( SEconomy Parent ) : System
Parent SEconomy
Résultat System

GameHooks_PostInitialize() protected méthode

protected GameHooks_PostInitialize ( EventArgs e ) : void
e System.EventArgs
Résultat void

NetHooks_GetData() protected méthode

Occurs when the engine receives a packet from the client
protected NetHooks_GetData ( TerrariaApi.Server.GetDataEventArgs args ) : void
args TerrariaApi.Server.GetDataEventArgs
Résultat void

PayRunTimer_Elapsed() protected méthode

Occurs when the pay run timer is elapsed, and gives the IntervalPayAmount to each player that has not been idle since the configured idle threshold. Idle players are not paid.
protected PayRunTimer_Elapsed ( object sender, System e ) : void
sender object
e System
Résultat void

PlayerHooks_PlayerPostLogin() protected méthode

protected PlayerHooks_PlayerPostLogin ( TShockAPI e ) : void
e TShockAPI
Résultat void

RepeatLineBreaks() protected méthode

protected RepeatLineBreaks ( int number ) : string
number int
Résultat string

ServerHooks_Join() protected méthode

Occurs when someone joins the game.
protected ServerHooks_Join ( TerrariaApi.Server.JoinEventArgs args ) : void
args TerrariaApi.Server.JoinEventArgs
Résultat void

ServerHooks_Leave() protected méthode

Occurs when someone leaves the game.
protected ServerHooks_Leave ( TerrariaApi.Server.LeaveEventArgs args ) : void
args TerrariaApi.Server.LeaveEventArgs
Résultat void

TaskScheduler_UnobservedTaskException() protected méthode

Occurs when an exception happens on a task thread.
protected TaskScheduler_UnobservedTaskException ( object sender, System.Threading.Tasks.UnobservedTaskExceptionEventArgs e ) : void
sender object
e System.Threading.Tasks.UnobservedTaskExceptionEventArgs
Résultat void