server/game/src/refine.h
2022-03-05 12:44:06 +02:00

37 lines
754 B
C++

#ifndef __INC_REFINE_H
#define __INC_REFINE_H
#include "constants.h"
enum
{
BLACKSMITH_MOB = 20016, // È®·ü °³·®
ALCHEMIST_MOB = 20001, // 100% °³·® ¼º°ø
BLACKSMITH_WEAPON_MOB = 20044,
BLACKSMITH_ARMOR_MOB = 20045,
BLACKSMITH_ACCESSORY_MOB = 20046,
DEVILTOWER_BLACKSMITH_WEAPON_MOB = 20074,
DEVILTOWER_BLACKSMITH_ARMOR_MOB = 20075,
DEVILTOWER_BLACKSMITH_ACCESSORY_MOB = 20076,
BLACKSMITH2_MOB = 20091,
};
class CRefineManager : public singleton<CRefineManager>
{
typedef std::map<DWORD, TRefineTable> TRefineRecipeMap;
public:
CRefineManager();
virtual ~CRefineManager();
bool Initialize(TRefineTable * table, int size);
const TRefineTable* GetRefineRecipe(DWORD id);
private:
TRefineRecipeMap m_map_RefineRecipe;
};
#endif