C# Class TDSM.Core.Entry

Datei anzeigen Open project: DeathCradle/Terraria-s-Dedicated-Server-Mod Class Usage Examples

Public Properties

Property Type Description
CoreVersion string

Public Methods

Method Description
CreateDefaultGroups ( IDbConnection ctx, IDbTransaction txn ) : void
CreateDefaultGroups ( TContext ctx ) : void
Entry ( ) : System
Log ( string fmt ) : void
OnListeningForCommands ( TDSM.API.Plugin.HookContext &ctx, OTA &args ) : void
OnLogFinished ( ) : void
PerformRestart ( ) : void
PopulateDefaults ( Data migration ) : void
ProcessPIDFile ( string pidPath ) : void

Protected Methods

Method Description
DatabaseCreated ( ) : void
Disabled ( ) : void
Enabled ( ) : void
Initialized ( object state ) : void
PreEnable ( ) : void

Private Methods

Method Description
Command ( TDSM.API.Plugin.HookContext &ctx, TDSMHookArgs &args ) : void
CreateGroup ( string name, bool guest, string parent, byte r, byte g, byte b, string nodes, IDbConnection ctx, IDbTransaction txn, string chatPrefix = null, string chatSuffix = null ) : void
CreateGroup ( string name, bool guest, string parent, byte r, byte g, byte b, string nodes, TContext ctx, string chatPrefix = null, string chatSuffix = null ) : void
GetProgressKey ( string input, string &progress ) : string
OnDefaultServerStart ( TDSM.API.Plugin.HookContext &ctx, HookArgs &args ) : void
OnGreetPlayer ( TDSM.API.Plugin.HookContext &ctx, HookArgs &args ) : void
OnLoadConfiguration ( TDSM.API.Plugin.HookContext &ctx, HookArgs &args ) : void
OnNPCSpawned ( TDSM.API.Plugin.HookContext &ctx, HookArgs &args ) : void
OnNetMessageSend ( TDSM.API.Plugin.HookContext &ctx, HookArgs &args ) : void
OnPlayerAuthenticated ( TDSM.API.Plugin.HookContext &ctx, TDSMHookArgs &args ) : void
OnPlayerDataReceived ( TDSM.API.Plugin.HookContext &ctx, TDSMHookArgs &args ) : void
OnPlayerDisconnected ( TDSM.API.Plugin.HookContext &ctx, HookArgs &args ) : void
OnPlayerJoin ( TDSM.API.Plugin.HookContext &ctx, HookArgs &args ) : void
OnPlayerKilled ( TDSM.API.Plugin.HookContext &ctx, HookArgs &args ) : void
OnPlayerRegistered ( TDSM.API.Plugin.HookContext &ctx, Events &args ) : void
OnServerStateChange ( TDSM.API.Plugin.HookContext &ctx, HookArgs &args ) : void
OnServerTick ( TDSM.API.Plugin.HookContext &ctx, HookArgs &args ) : void
OnSetTitle ( TDSM.API.Plugin.HookContext &ctx, HookArgs &args ) : void
OnStatusTextChanged ( TDSM.API.Plugin.HookContext &ctx, HookArgs &args ) : void
OnUpdateServer ( TDSM.API.Plugin.HookContext &ctx, HookArgs &args ) : void
SetupDatabase ( Entry plugin ) : void
TDSMConfig ( ) : System

Method Details

CreateDefaultGroups() public static method

public static CreateDefaultGroups ( IDbConnection ctx, IDbTransaction txn ) : void
ctx IDbConnection
txn IDbTransaction
return void

CreateDefaultGroups() public method

public CreateDefaultGroups ( TContext ctx ) : void
ctx TContext
return void

DatabaseCreated() protected method

protected DatabaseCreated ( ) : void
return void

Disabled() protected method

protected Disabled ( ) : void
return void

Enabled() protected method

protected Enabled ( ) : void
return void

Entry() public method

public Entry ( ) : System
return System

Initialized() protected method

protected Initialized ( object state ) : void
state object
return void

Log() public static method

public static Log ( string fmt ) : void
fmt string
return void

OnListeningForCommands() public method

public OnListeningForCommands ( TDSM.API.Plugin.HookContext &ctx, OTA &args ) : void
ctx TDSM.API.Plugin.HookContext
args OTA
return void

OnLogFinished() public method

public OnLogFinished ( ) : void
return void

PerformRestart() public method

public PerformRestart ( ) : void
return void

PopulateDefaults() public static method

public static PopulateDefaults ( Data migration ) : void
migration Data
return void

PreEnable() protected method

protected PreEnable ( ) : void
return void

ProcessPIDFile() public method

public ProcessPIDFile ( string pidPath ) : void
pidPath string
return void

Property Details

CoreVersion public_oe static_oe property

public static string CoreVersion
return string