1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-05 19:31:04 +00:00

Show supported backends in --help output (#16441)

This commit is contained in:
sfan5 2025-08-25 21:36:25 +02:00 committed by GitHub
parent 04d9bd518f
commit 3f0f7f4285
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 113 additions and 17 deletions

View file

@ -278,12 +278,15 @@ public:
const std::vector<RemotePlayer *> getPlayers() const { return m_players; }
u32 getPlayerCount() const { return m_players.size(); }
static std::vector<std::string> getPlayerDatabaseBackends();
static bool migratePlayersDatabase(const GameParams &game_params,
const Settings &cmd_args);
AuthDatabase *getAuthDatabase() { return m_auth_database; }
static std::vector<std::string> getAuthDatabaseBackends();
static bool migrateAuthDatabase(const GameParams &game_params,
const Settings &cmd_args);
private:
/**