mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-27 16:07:22 +00:00
adc9cd2876
* saving from a test works * testing works * Update SavingTests.cpp * test dServer stuff * tests * use dummy database and add missing pure fns * add more tests * add more tests * add rocket tests * Update BuffComponent.h * Update test_xml_data.xml * Update SavingTests.cpp * update
17 lines
340 B
C++
17 lines
340 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <conncpp.hpp>
|
|
|
|
#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);
|
|
};
|