Public Member Functions | |
cHealingKits (DWORD dwGUID, cLocation &Loc, DWORD dwModel, float flScale, BOOL fSolid, DWORD dwIcon, std::string strName, std::string strDescription, DWORD dwValue, WORD wWeight, WORD wUses, WORD wUseLimit) | |
cMessage | CreatePacket () |
void | Assess (cClient *pcAssesser) |
void | Action (cClient *who) |
DWORD | GetItemModelID () |
Public Attributes | |
DWORD | m_dwItemModelID |
Protected Attributes | |
WORD | m_wWeight |
DWORD | m_dwValue |
DWORD | m_wUses |
DWORD | m_wUseLimit |
BOOL | m_fIsStackable |
BOOL | m_fEquippable |
BOOL | m_fIsSolid |
std::string | m_strDescription |
cHealingKits::cHealingKits | ( | DWORD | dwGUID, | |
cLocation & | Loc, | |||
DWORD | dwModel, | |||
float | flScale, | |||
BOOL | fSolid, | |||
DWORD | dwIcon, | |||
std::string | strName, | |||
std::string | strDescription, | |||
DWORD | dwValue, | |||
WORD | wWeight, | |||
WORD | wUses, | |||
WORD | wUseLimit | |||
) | [inline] |
A constructor.
Called whenever a healing kit object is initialized.
void cHealingKits::Action | ( | cClient * | who | ) | [virtual] |
void cHealingKits::Assess | ( | cClient * | pcAssesser | ) | [virtual] |
Handles the assessment of healing kit objects.
This function is called whenever a healing kit is assessed by a client.
Returns a Game Event (0x0000F7B0) server message of type Identify Object (0x000000C9).
Reimplemented from cObject.
cMessage cHealingKits::CreatePacket | ( | ) | [virtual] |