server/game/src/refine.h

37 lines
754 B
C
Raw Normal View History

2022-03-05 12:44:06 +02:00
#ifndef __INC_REFINE_H
#define __INC_REFINE_H
#include "constants.h"
enum
{
BLACKSMITH_MOB = 20016, // Ȯ<><C8AE> <20><><EFBFBD><EFBFBD>
ALCHEMIST_MOB = 20001, // 100% <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
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