Public Member Functions | |
cStorage (WORD type, DWORD dwGUID, DWORD houseID, char *szName, char *szDescription, cLocation *pcLoc=NULL) | |
void | Assess (cClient *pcAssesser) |
cMessage | CreatePacket () |
void | Action (cClient *who) |
void | SetMode (DWORD mode) |
DWORD | GetMode () |
void | SetGUID (DWORD GUID) |
void | SetData (WORD wAnimConfig, WORD wSoundSet, WORD wModel, WORD wIcon) |
Public Attributes | |
DWORD | m_dwHouseID |
Friends | |
class | cClient |
cStorage::cStorage | ( | WORD | type, | |
DWORD | dwGUID, | |||
DWORD | dwHouseID, | |||
char * | szName, | |||
char * | szDescription, | |||
cLocation * | pcLoc = NULL | |||
) |
A constructor.
Called whenever a housing storage chest object is initialized.
Handles the creation of housing storage chests.
Called whenever a housing storage chest object should be initialized.
void cStorage::Action | ( | cClient * | who | ) | [virtual] |
Handles the actions of housing storage chest objects.
This function is called whenever a housing storage chest is used or should perform an action.
Implements cObject.
void cStorage::Assess | ( | cClient * | pcAssesser | ) | [virtual] |
Handles the assessment of housing storage chest objects.
This function is called whenever a housing storage chest is assessed by a client.
Returns a Game Event (0x0000F7B0) server message of type Identify Object (0x000000C9).
Reimplemented from cObject.
cMessage cStorage::CreatePacket | ( | ) | [virtual] |