|
Planeshift
|
This class retrieves the merchant categories for an NPC. More...
#include <psmerchantinfo.h>
Public Member Functions | |
| psItemCategory * | FindCategory (int id) |
| psItemCategory * | FindCategory (const csString &name) |
| bool | Load (PID pid) |
| Loads the merchant categories for one NPC. More... | |
Public Attributes | |
| csArray< psItemCategory * > | categories |
This class retrieves the merchant categories for an NPC.
A character is defined to be a merchant if there are merchant item categories for the character.
Definition at line 59 of file psmerchantinfo.h.
| psItemCategory* psMerchantInfo::FindCategory | ( | int | id | ) |
| psItemCategory* psMerchantInfo::FindCategory | ( | const csString & | name | ) |
| bool psMerchantInfo::Load | ( | PID | pid | ) |
Loads the merchant categories for one NPC.
| pid | The characterid to check. |
| csArray<psItemCategory*> psMerchantInfo::categories |
Definition at line 73 of file psmerchantinfo.h.