C# Class TDSM.Core.Entry

Afficher le fichier Open project: DeathCradle/Terraria-s-Dedicated-Server-Mod Class Usage Examples

Méthodes publiques

Свойство Type Description
CoreVersion string

Méthodes publiques

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

Méthodes protégées

Méthode Description
DatabaseCreated ( ) : void
Disabled ( ) : void
Enabled ( ) : void
Initialized ( object state ) : void
PreEnable ( ) : void

Private Methods

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

public static CreateDefaultGroups ( IDbConnection ctx, IDbTransaction txn ) : void
ctx IDbConnection
txn IDbTransaction
Résultat void

CreateDefaultGroups() public méthode

public CreateDefaultGroups ( TContext ctx ) : void
ctx TContext
Résultat void

DatabaseCreated() protected méthode

protected DatabaseCreated ( ) : void
Résultat void

Disabled() protected méthode

protected Disabled ( ) : void
Résultat void

Enabled() protected méthode

protected Enabled ( ) : void
Résultat void

Entry() public méthode

public Entry ( ) : System
Résultat System

Initialized() protected méthode

protected Initialized ( object state ) : void
state object
Résultat void

Log() public static méthode

public static Log ( string fmt ) : void
fmt string
Résultat void

OnListeningForCommands() public méthode

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

OnLogFinished() public méthode

public OnLogFinished ( ) : void
Résultat void

PerformRestart() public méthode

public PerformRestart ( ) : void
Résultat void

PopulateDefaults() public static méthode

public static PopulateDefaults ( Data migration ) : void
migration Data
Résultat void

PreEnable() protected méthode

protected PreEnable ( ) : void
Résultat void

ProcessPIDFile() public méthode

public ProcessPIDFile ( string pidPath ) : void
pidPath string
Résultat void

Property Details

CoreVersion public_oe static_oe property

public static string CoreVersion
Résultat string