Files
Client/Server/RylServerProject/RylGameLibrary/Item/ItemSerialMgr.h
LGram16 dd97ddec92 Restructure repository to include all source folders
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>
2025-11-29 20:17:20 +09:00

31 lines
715 B
C++

#ifndef _RYL_DB_ITEM_SERIAL_MGR_H_
#define _RYL_DB_ITEM_SERIAL_MGR_H_
// forward delc.
class CDBComponent;
namespace Item
{
class CItemSerialMgr
{
public:
CItemSerialMgr();
~CItemSerialMgr();
unsigned __int64 GetItemSerial() const { return m_dwItemSerial; }
unsigned __int64 GetNewItemSerial() { return ++m_dwItemSerial; }
bool SetItemSerial(unsigned __int64 dwItemSerial);
bool LoadItemSerial(CDBComponent& DBComponent, unsigned long dwServerID);
bool SaveItemSerial(CDBComponent& DBComponent, unsigned long dwServerID);
protected:
unsigned __int64 m_dwItemSerial;
unsigned long m_dwServerID;
};
}
#endif