Public Member Functions | |
cHooks (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) |
void | SetGUID (DWORD GUID) |
void | Set_hook_id (int hookid) |
int | Get_hook_id () |
void | SetData (WORD wAnimConfig, WORD wSoundSet, WORD wModel, WORD wIcon) |
Public Attributes | |
DWORD | v_guids [255] |
DWORD | m_dwHouseID |
Friends | |
class | cClient |
cHooks::cHooks | ( | WORD | type, | |
DWORD | dwGUID, | |||
DWORD | dwHouseID, | |||
char * | szName, | |||
char * | szDescription, | |||
cLocation * | pcLoc = NULL | |||
) |
A constructor.
Called whenever a housing hook object is initialized.
Handles the creation of housing hooks.
Called whenever a housing hook object should be initialized.
void cHooks::Action | ( | cClient * | who | ) | [virtual] |
Handles the actions of housing hook objects.
This function is called whenever a housing hook is used or should perform an action.
Implements cObject.
void cHooks::Assess | ( | cClient * | pcAssesser | ) | [virtual] |
Handles the assessment of housing hook objects.
This function is called whenever a housing hook is assessed by a client.
Returns a Game Event (0x0000F7B0) server message of type Identify Object (0x000000C9).
Reimplemented from cObject.
cMessage cHooks::CreatePacket | ( | ) | [virtual] |