#include <database.h>
Public Member Functions | |
virtual | ~PlayerDatabase ()=default |
virtual void | savePlayer (RemotePlayer *player)=0 |
virtual bool | loadPlayer (RemotePlayer *player, PlayerSAO *sao)=0 |
virtual bool | removePlayer (const std::string &name)=0 |
virtual void | listPlayers (std::vector< std::string > &res)=0 |
|
virtualdefault |
|
pure virtual |
Implemented in Database_Dummy, PlayerDatabaseFiles, PlayerDatabaseLevelDB, PlayerDatabasePostgreSQL, and PlayerDatabaseSQLite3.
Referenced by ServerEnvironment::migratePlayersDatabase().
|
pure virtual |
Implemented in Database_Dummy, PlayerDatabaseFiles, PlayerDatabaseLevelDB, PlayerDatabasePostgreSQL, and PlayerDatabaseSQLite3.
Referenced by ServerEnvironment::loadPlayer(), and ServerEnvironment::migratePlayersDatabase().
|
pure virtual |
Implemented in Database_Dummy, PlayerDatabaseFiles, PlayerDatabaseLevelDB, PlayerDatabasePostgreSQL, and PlayerDatabaseSQLite3.
Referenced by ServerEnvironment::removePlayerFromDatabase().
|
pure virtual |
Implemented in Database_Dummy, PlayerDatabaseFiles, PlayerDatabaseLevelDB, PlayerDatabasePostgreSQL, and PlayerDatabaseSQLite3.
Referenced by ServerEnvironment::migratePlayersDatabase(), ServerEnvironment::saveLoadedPlayers(), and ServerEnvironment::savePlayer().