rodecomp/Source/Contents/ItemDBToIDMgr.h
ragnarok-clanker b92b1feafd Confirm fn_24373 (CItemDBToIDMgr::GetInstance)
Batch #11611 by StrawberrysherbetIX: 1 byte-identical, 0 confirmed by peer review.

- fn_24373 CItemDBToIDMgr::GetInstance: byte-identical (already on main)

Merged automatically: every function is byte-identical to the original.
2026-11-05 03:53:59 +00:00

29 lines
555 B
C++

#ifndef RAGNAROK_SOURCE_CONTENTS_ITEMDBTOIDMGR_H
#define RAGNAROK_SOURCE_CONTENTS_ITEMDBTOIDMGR_H
#include "Script/LuaInstance.h"
#include <string>
class CItemDBToIDMgr {
public:
__declspec(noinline) CItemDBToIDMgr();
virtual ~CItemDBToIDMgr();
static CItemDBToIDMgr* GetInstance();
void Init();
bool Load();
int GetItemID(std::string itemDBName);
protected:
/* 0004 */ CLuaInstance m_lua;
};
extern CItemDBToIDMgr* g_itemDbToIdMgr;
#if defined(_WIN32) && !defined(_WIN64)
static_assert(sizeof(CItemDBToIDMgr) == 12);
#endif
#endif