1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-27 06:47:45 +00:00
sapphire/src/servers/Server_Common/Database/CharaDbConnection.h

37 lines
584 B
C
Raw Normal View History

#ifndef SAPPHIRE_CHARACONNECTION_H
#define SAPPHIRE_CHARACONNECTION_H
#include "DbConnection.h"
namespace Core
{
namespace Db
{
class DbConnectionInfo;
enum CharaDbStatements : uint32_t
{
CHAR_INS_TEST,
MAX_STATEMENTS
};
class CharaDbConnection : public DbConnection
{
public:
typedef CharaDbStatements Statements;
CharaDbConnection( ConnectionInfo& connInfo );
CharaDbConnection( Core::LockedWaitQueue< Operation* >* q, ConnectionInfo &connInfo );
~CharaDbConnection();
void doPrepareStatements() override;
};
}
}
#endif //SAPPHIRE_CHARACONNECTION_H