19 #ifndef __PSMERCHANTINFO_H__ 20 #define __PSMERCHANTINFO_H__ 24 #include <csutil/csstring.h> 25 #include <csutil/array.h> 26 #include <csutil/refcount.h> unsigned int id
Unique identifier for the category.
csString name
Human readable name of category.
unsigned int repairToolStatId
Item_stats id of item required to do a repair on this category.
int identifySkillId
ID of skill checked when item is examined by player.
int repairSkillId
ID of skill which is used to calculate result of repair.
bool repairToolConsumed
Flag to tell us whether the repair tool is consumed in the repair or not. (Kit or Tool) ...
int repairDifficultyPct
Difficulty level to repair this category of items.
This class retrieves the merchant categories for an NPC.
csArray< psItemCategory * > categories
int identifyMinSkill
Minimum skill level to allow player to identify details of examined item.