forked from metin2/server
20 lines
490 B
C
20 lines
490 B
C
|
#ifndef __MINING_H
|
||
|
#define __MINING_H
|
||
|
|
||
|
namespace mining
|
||
|
{
|
||
|
LPEVENT CreateMiningEvent(LPCHARACTER ch, LPCHARACTER load, int count);
|
||
|
DWORD GetRawOreFromLoad(DWORD dwLoadVnum);
|
||
|
bool OreRefine(LPCHARACTER ch, LPCHARACTER npc, LPITEM item, int cost, int pct, LPITEM metinstone_item);
|
||
|
int GetFractionCount();
|
||
|
|
||
|
// REFINE_PICK
|
||
|
int RealRefinePick(LPCHARACTER ch, LPITEM item);
|
||
|
void CHEAT_MAX_PICK(LPCHARACTER ch, LPITEM item);
|
||
|
// END_OF_REFINE_PICK
|
||
|
|
||
|
bool IsVeinOfOre (DWORD vnum);
|
||
|
}
|
||
|
|
||
|
#endif
|