1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-26 05:15:27 +01: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
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:
/**