Files
Client/Server/RylServerProject/RylAuthServer/ItemCreator.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

41 lines
669 B
C++

#ifndef _CITEM_CREATOR_H_
#define _CITEM_CREATOR_H_
#include <BaseLibrary/Thread/Lock.h>
#include <BaseLibrary/Pattern/Singleton.h>
// 전방 참조
namespace Item
{
class CItem;
class CItemMgr;
class CItemFactory;
};
class CItemCreator
{
public:
static CItemCreator& GetInstance();
// Desc : 아이템 스크립트 로딩 및 초기화 등등.
bool Initialize();
// Desc : 아이템 UID 세팅
void SetUID(DWORD64 dwUID);
DWORD64 GetUID() const;
// Desc : 아이템 생성
Item::CItem* Create(unsigned short usID);
private:
CItemCreator();
typedef CCSLock ItemCreationLock;
ItemCreationLock m_ItemCreationLock;
};
#endif