Batch #1183 by eAthena: 1 byte-identical, 0 confirmed by peer review. - fn_06416 CItemDBToIDMgr::Init: byte-identical Merged automatically: every function is byte-identical to the original. Adds to the build: Source/Contents/ItemDBToIDMgr.cpp
29 lines
534 B
C++
29 lines
534 B
C++
#ifndef RAGNAROK_SOURCE_CONTENTS_ITEMDBTOIDMGR_H
|
|
#define RAGNAROK_SOURCE_CONTENTS_ITEMDBTOIDMGR_H
|
|
|
|
#include "Script/LuaInstance.h"
|
|
|
|
#include <string>
|
|
|
|
class CItemDBToIDMgr {
|
|
public:
|
|
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
|