프로퍼티 | 타입 | 설명 | |
---|---|---|---|
LatestVersion | System.Version | ||
PlayerTables | string[] | ||
StatsTables | string[] | ||
VersionList | System.Version[] |
메소드 | 설명 | |
---|---|---|
CreateSqlTables ( IProgress |
Tells the Database to install the Stats tables into the database
|
|
DeletePlayer ( int Pid, IProgress |
Removes a player, based on pid, from the stats database
|
|
GetPlayerAwards ( int Pid ) : object>>.List |
Returns a list of awards a player has earned
|
|
MigrateTables ( ) : void |
If there is any table updates that need to be applied, calling this method will apply each update until the current database version is up to date
|
|
MigrateTables ( System.Version ToVersion ) : void |
If there is any table updates that need to be applied, calling this method will apply each update until the specifed update version
|
|
PlayerExists ( int Pid ) : bool |
Returns whether or not a player exists in the "player" table
|
|
StatsDatabase ( ) : System |
Creates a connection to the Stats Database
|
|
Truncate ( ) : void |
Clears all stats data from the stats database
|
메소드 | 설명 | |
---|---|---|
GetTablesVersion ( ) : void |
Fetches the current tables version We have this in a seperate method because the table migration fetches the the version everytime an update is applied |
메소드 | 설명 | |
---|---|---|
CreateMysqlTables ( IProgress |
On a new Mysql database, this method will create the default tables
|
|
CreateSqliteTables ( IProgress |
On a new Sqlite database, this method will create the default tables
|
public CreateSqlTables ( IProgress |
||
TaskProgress | IProgress |
|
리턴 | void |
public DeletePlayer ( int Pid, IProgress |
||
Pid | int | The players Id |
TaskProgress | IProgress |
The progress object to report to. |
리턴 | void |
public GetPlayerAwards ( int Pid ) : object>>.List |
||
Pid | int | The Player ID |
리턴 | object>>.List |
public MigrateTables ( System.Version ToVersion ) : void | ||
ToVersion | System.Version | |
리턴 | void |