C# Класс Wolfje.Plugins.SEconomy.EventHandlers

Disposable wrapper for all data handlers that SEconomy depends on to run
Наследование: IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
Dispose ( ) : void
EventHandlers ( SEconomy Parent ) : System

Защищенные методы

Метод Описание
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.

Описание методов

BankAccount_BankTransferCompleted() защищенный Метод

Default messages sent to players when a transaction happens within SEconomy.
protected BankAccount_BankTransferCompleted ( object s, Journal e ) : void
s object
e Journal
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

EventHandlers() публичный Метод

public EventHandlers ( SEconomy Parent ) : System
Parent SEconomy
Результат System

GameHooks_PostInitialize() защищенный Метод

protected GameHooks_PostInitialize ( EventArgs e ) : void
e System.EventArgs
Результат void

NetHooks_GetData() защищенный Метод

Occurs when the engine receives a packet from the client
protected NetHooks_GetData ( TerrariaApi.Server.GetDataEventArgs args ) : void
args TerrariaApi.Server.GetDataEventArgs
Результат void

PayRunTimer_Elapsed() защищенный Метод

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
Результат void

PlayerHooks_PlayerPostLogin() защищенный Метод

protected PlayerHooks_PlayerPostLogin ( TShockAPI e ) : void
e TShockAPI
Результат void

RepeatLineBreaks() защищенный Метод

protected RepeatLineBreaks ( int number ) : string
number int
Результат string

ServerHooks_Join() защищенный Метод

Occurs when someone joins the game.
protected ServerHooks_Join ( TerrariaApi.Server.JoinEventArgs args ) : void
args TerrariaApi.Server.JoinEventArgs
Результат void

ServerHooks_Leave() защищенный Метод

Occurs when someone leaves the game.
protected ServerHooks_Leave ( TerrariaApi.Server.LeaveEventArgs args ) : void
args TerrariaApi.Server.LeaveEventArgs
Результат void

TaskScheduler_UnobservedTaskException() защищенный Метод

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
Результат void