mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-22 21:43:35 +00:00
7fcbb9507b
* simplify leaderboard code, fully abstract database * update exception catching * update exception catching and sql references, remove ugc from gamemessages fix deleting model remove unrelated changes Update GameMessages.cpp * remove ugc from gamemessages * Update GameMessages.cpp * Update Leaderboard.cpp * bug fixes * fix racing leaderboard * remove extra stuff * update
16 lines
317 B
C++
16 lines
317 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include "GameDatabase.h"
|
|
|
|
namespace Database {
|
|
void Connect();
|
|
GameDatabase* Get();
|
|
void Destroy(std::string source = "");
|
|
|
|
// Used for assigning a test database as the handler for database logic.
|
|
// Do not use in production code.
|
|
void _setDatabase(GameDatabase* const db);
|
|
};
|