Метод | Описание | |
---|---|---|
InitDatabase ( Aura.Shared.Database.AuraDb db, |
Tries to initialize database with the information from conf, exits on error.
|
|
LoadConf ( |
Tries to call conf's load method, exits on error.
|
|
LoadData ( DataLoad toLoad, bool reload ) : void |
(Re-)Loads data files (db), exits on error. Called on server start and with some reload commands. Should only load required data, e.g. Msgr Server doesn't need race data. |
|
LoadLocalization ( |
Loads system and user localization files.
|
|
NavigateToRoot ( ) : void |
Tries to find aura root folder and changes the working directory to it. Exits if not successful.
|
Метод | Описание | |
---|---|---|
LoadDb ( IDatabase db, string path, bool reload, bool log = true ) : void |
Loads db, first from system, then from user. Logs problems as warnings.
|
public InitDatabase ( Aura.Shared.Database.AuraDb db, |
||
db | Aura.Shared.Database.AuraDb | |
conf | ||
Результат | void |
public LoadConf ( |
||
conf | ||
Результат | void |
public LoadData ( DataLoad toLoad, bool reload ) : void | ||
toLoad | DataLoad | |
reload | bool | |
Результат | void |
public LoadLocalization ( |
||
conf | ||
Результат | void |