mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-01 16:32:21 +00:00
Refactor some of the database stuff for QueryServ for uniformity, should probably be done right later
This commit is contained in:
1 parent
cdde408602
commit
1bbbb28218
7 files changed
+47
-40
No files matched your search
@@ -35,12 +35,12 @@
|
||||
//atoi is not uint32 or uint32 safe!!!!
|
||||
#define atoul(str) strtoul(str, nullptr, 10)
|
||||
|
||||
class Database : public DBcore {
|
||||
class QSDatabase : public DBcore {
|
||||
public:
|
||||
Database();
|
||||
Database(const char* host, const char* user, const char* passwd, const char* database,uint32 port);
|
||||
QSDatabase();
|
||||
QSDatabase(const char* host, const char* user, const char* passwd, const char* database,uint32 port);
|
||||
bool Connect(const char* host, const char* user, const char* passwd, const char* database,uint32 port);
|
||||
~Database();
|
||||
~QSDatabase();
|
||||
|
||||
void AddSpeech(const char* from, const char* to, const char* message, uint16 minstatus, uint32 guilddbid, uint8 type);
|
||||
void LogPlayerTrade(QSPlayerLogTrade_Struct* QS, uint32 DetailCount);
|
||||
|
||||
Reference in new issue
Block a user