Property | Type | Description | |
---|---|---|---|
database | IDbConnection |
Method | 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 | |
return | System |
public GetPlayerData ( TSPlayer player, int acctid ) : PlayerData | ||
player | TSPlayer | |
acctid | int | |
return | PlayerData |
public InsertPlayerData ( TSPlayer player ) : bool | ||
player | TSPlayer | player to take data from |
return | bool |
public RemovePlayer ( int userid ) : bool | ||
userid | int | User ID of the player |
return | bool |