Planeshift
Public Member Functions | Public Attributes

psMerchantInfo Class Reference

#include <psmerchantinfo.h>

List of all members.

Public Member Functions

psItemCategoryFindCategory (int id)
psItemCategoryFindCategory (const csString &name)
bool Load (PID pid)
 A character is defined to be a merchant if there are merchant item categories for the character.

Public Attributes

csArray< psItemCategory * > categories

Detailed Description

Definition at line 55 of file psmerchantinfo.h.


Member Function Documentation

psItemCategory* psMerchantInfo::FindCategory ( int  id)
psItemCategory* psMerchantInfo::FindCategory ( const csString &  name)
bool psMerchantInfo::Load ( PID  pid)

A character is defined to be a merchant if there are merchant item categories for the character.

Parameters:
pidThe characterid to check.
Returns:
Return true if the character is a merchant.

Member Data Documentation

Definition at line 70 of file psmerchantinfo.h.


The documentation for this class was generated from the following file: