Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
32 lines
715 B
C++
32 lines
715 B
C++
#ifndef _RYL_DBAGENT_DB_ITEM_SERIAL_MGR_H_
|
|
#define _RYL_DBAGENT_DB_ITEM_SERIAL_MGR_H_
|
|
|
|
#include <Item/ItemSerialMgr.h>
|
|
|
|
namespace DBAgent
|
|
{
|
|
namespace DataStorage
|
|
{
|
|
class CDBAgentItemSerialMgr : public Item::CItemSerialMgr
|
|
{
|
|
public:
|
|
|
|
static CDBAgentItemSerialMgr& GetInstance();
|
|
|
|
unsigned long GetServerID() const { return m_dwServerID; }
|
|
void SetServerID(unsigned long dwServerID) { m_dwServerID = dwServerID; }
|
|
|
|
void SaveChangedSerial(CDBComponent& DBComponent);
|
|
|
|
private:
|
|
|
|
CDBAgentItemSerialMgr() : m_dwLastChangedItemSerial(0) { }
|
|
~CDBAgentItemSerialMgr() { }
|
|
|
|
unsigned __int64 m_dwLastChangedItemSerial;
|
|
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif |