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>
25 lines
551 B
C++
25 lines
551 B
C++
#ifndef _RYL_DB_ITEM_SERIAL_MGR_H_
|
|
#define _RYL_DB_ITEM_SERIAL_MGR_H_
|
|
|
|
class CDBComponent;
|
|
|
|
class CItemSerialMgr
|
|
{
|
|
public:
|
|
|
|
CItemSerialMgr();
|
|
~CItemSerialMgr();
|
|
|
|
unsigned __int64 GetItemSerial() const { return m_dwItemSerial; }
|
|
bool SetItemSerial(unsigned __int64 dwItemSerial);
|
|
|
|
bool LoadItemSerial(CDBComponent& DBComponent, unsigned long dwServerID);
|
|
bool SaveItemSerial(CDBComponent& DBComponent, unsigned long dwServerID);
|
|
|
|
private:
|
|
|
|
unsigned __int64 m_dwItemSerial;
|
|
unsigned long m_dwServerID;
|
|
};
|
|
|
|
#endif |