1
0
forked from metin2/server
server/game/src/over9refine.h

26 lines
559 B
C
Raw Normal View History

2022-03-05 12:44:06 +02:00
#ifndef OVER_9_REFINE_MANAGER_H_
#define OVER_9_REFINE_MANAGER_H_
#include <unordered_map>
2022-03-05 12:44:06 +02:00
class COver9RefineManager : public singleton<COver9RefineManager>
{
private :
typedef std::unordered_map<DWORD, DWORD> OVER9ITEM_MAP;
2022-03-05 12:44:06 +02:00
OVER9ITEM_MAP m_mapItem;
public :
void enableOver9Refine(DWORD dwVnumFrom, DWORD dwVnumTo);
int canOver9Refine(DWORD dwVnum);
bool Change9ToOver9(LPCHARACTER pChar, LPITEM item);
bool Over9Refine(LPCHARACTER pChat, LPITEM item);
DWORD GetMaterialVnum(DWORD baseVnum);
};
#endif /* OVER_9_REFINE_MANAGER_H_ */