mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-23 05:53:34 +00:00
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);
|
|
};
|