Свойство | Тип | Описание | |
---|---|---|---|
database | IDbConnection |
Метод | Описание | |
---|---|---|
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 | |
Результат | System |
public GetPlayerData ( TSPlayer player, int acctid ) : PlayerData | ||
player | TSPlayer | |
acctid | int | |
Результат | PlayerData |
public InsertPlayerData ( TSPlayer player ) : bool | ||
player | TSPlayer | player to take data from |
Результат | bool |
public RemovePlayer ( int userid ) : bool | ||
userid | int | User ID of the player |
Результат | bool |
public SeedInitialData ( |
||
user | ||
Результат | bool |