Свойство | Type | Description | |
---|---|---|---|
database | IDbConnection |
Méthode | Description | |
---|---|---|
CharacterManager ( IDbConnection db ) : System | ||
GetPlayerData ( TSPlayer player, int acctid ) : PlayerData | ||
InsertPlayerData ( TSPlayer player ) : bool |
Inserts player data to the tsCharacter database table
|
|
RemovePlayer ( int userid ) : bool |
Removes a player's data from the tsCharacter database table
|
|
SeedInitialData ( |
public CharacterManager ( IDbConnection db ) : System | ||
db | IDbConnection | |
Résultat | System |
public GetPlayerData ( TSPlayer player, int acctid ) : PlayerData | ||
player | TSPlayer | |
acctid | int | |
Résultat | PlayerData |
public InsertPlayerData ( TSPlayer player ) : bool | ||
player | TSPlayer | player to take data from |
Résultat | bool |
public RemovePlayer ( int userid ) : bool | ||
userid | int | User ID of the player |
Résultat | bool |
public SeedInitialData ( |
||
user | ||
Résultat | bool |