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

Disposable wrapper for all data handlers that SEconomy depends on to run
상속: IDisposable
파일 보기 프로젝트 열기: tylerjwatson/SEconomy

공개 메소드들

메소드 설명
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