Public Member Functions | |
cShield (DWORD dwGUID, cLocation &Loc, DWORD dwModel, WORD wIcon, std::string strName, std::string strDescription, DWORD dwValue, WORD wBurden, DWORD ArmorLevel) | |
cShield (DWORD dwGUID, DWORD dwContainer, DWORD dwModel, WORD wIcon, std::string strName, std::string strDescription, DWORD dwValue, WORD wBurden, DWORD ArmorLevel) | |
cMessage | CreatePacket () |
cMessage | CreatePacketContainer (DWORD Container, DWORD ItemModelID) |
void | Assess (cClient *pcAssesser) |
void | Action (cClient *who) |
DWORD | GetItemModelID () |
DWORD | GetContainerID () |
Public Attributes | |
DWORD | m_dwItemModelID |
DWORD | m_dwArmorLevel |
Protected Attributes | |
WORD | m_wBurden |
DWORD | m_dwValue |
BOOL | m_fIsStackable |
BOOL | m_fEquippable |
BOOL | m_fIsSolid |
std::string | m_strDescription |
cShield::cShield | ( | DWORD | dwGUID, | |
cLocation & | Loc, | |||
DWORD | dwModel, | |||
WORD | wIcon, | |||
std::string | strName, | |||
std::string | strDescription, | |||
DWORD | dwValue, | |||
WORD | wBurden, | |||
DWORD | ArmorLevel | |||
) | [inline] |
A constructor.
Called whenever a shield object is initialized the world.
cShield::cShield | ( | DWORD | dwGUID, | |
DWORD | dwContainer, | |||
DWORD | dwModel, | |||
WORD | wIcon, | |||
std::string | strName, | |||
std::string | strDescription, | |||
DWORD | dwValue, | |||
WORD | wBurden, | |||
DWORD | ArmorLevel | |||
) | [inline] |
A constructor.
Called whenever a shield object is initialized in a container.
void cShield::Action | ( | cClient * | who | ) | [virtual] |
Handles the actions of shield objects.
This function is called whenever shield is used or should perform an action.
Implements cObject.
void cShield::Assess | ( | cClient * | pcAssesser | ) | [virtual] |
Handles the assessment of shield objects.
This function is called whenever a shield is assessed by a client.
Returns a Game Event (0x0000F7B0) server message of type Identify Object (0x000000C9).
Reimplemented from cObject.
cMessage cShield::CreatePacket | ( | ) | [virtual] |
cMessage cShield::CreatePacketContainer | ( | DWORD | Container, | |
DWORD | ItemModelID | |||
) |
Handles the message sent for the creation of shields in a container.
This function is called whenever a shield should be created in the inventory of another object.