Public Member Functions | |
cLifestone (WORD type, DWORD dwGUID, cLocation *pcLoc, char *szName, char *szDesc) | |
void | Assess (cClient *pcAssesser) |
cMessage | CreatePacket () |
void | Action (cClient *who) |
void | SetMode (DWORD mode) |
DWORD | GetMode () |
void | SetData (WORD wAnimConfig, WORD wSoundSet, WORD wModel, WORD wIcon, DWORD dwObject1, DWORD dwObject2) |
cLifestone::cLifestone | ( | WORD | type, | |
DWORD | dwGUID, | |||
cLocation * | pcLoc, | |||
char * | szName, | |||
char * | szDesc | |||
) |
A constructor.
Called whenever a lifestone object is initialized.
Handles the creation of lifestones.
Called whenever a lifestone object should be initialized.
void cLifestone::Action | ( | cClient * | who | ) | [virtual] |
Handles the actions of lifestone objects.
This function is called whenever a lifestone is used or should perform an action.
Implements cObject.
void cLifestone::Assess | ( | cClient * | pcAssesser | ) | [virtual] |
Handles the assessment of lifestone objects.
This function is called whenever a lifestone is assessed by a client.
Returns a Game Event (0x0000F7B0) server message of type Identify Object (0x000000C9).
Reimplemented from cObject.
cMessage cLifestone::CreatePacket | ( | ) | [virtual] |