Public Member Functions | |
cMerchantSign (DWORD dwGUID, cLocation &Loc, DWORD dwModel, float flScale, BOOL fSolid, DWORD dwIcon, std::string strName, std::string strDescription, DWORD dwWeight, DWORD dwValue, BOOL fSelectable=TRUE, BOOL fEquippable=TRUE, BOOL fStackable=FALSE, BOOL fIsOwned=FALSE, DWORD dwContainer=0) | |
cMessage | CreatePacket () |
cMessage | Animation (WORD wAnim, float flPlaySpeed) |
void | Assess (cClient *pcAssesser) |
void | Action (cClient *who) |
DWORD | GetWorldObject () |
void | SetObjectType (int ot) |
int | GetObjectType () |
Protected Attributes | |
int | iObjectType |
DWORD | m_dwWOModelID |
DWORD | m_dwWeight |
DWORD | m_dwValue |
BOOL | m_fIsStackable |
BOOL | m_fEquippable |
BOOL | m_fIsSolid |
std::string | m_strDescription |
cMerchantSign::cMerchantSign | ( | DWORD | dwGUID, | |
cLocation & | Loc, | |||
DWORD | dwModel, | |||
float | flScale, | |||
BOOL | fSolid, | |||
DWORD | dwIcon, | |||
std::string | strName, | |||
std::string | strDescription, | |||
DWORD | dwWeight, | |||
DWORD | dwValue, | |||
BOOL | fSelectable = TRUE , |
|||
BOOL | fEquippable = TRUE , |
|||
BOOL | fStackable = FALSE , |
|||
BOOL | fIsOwned = FALSE , |
|||
DWORD | dwContainer = 0 | |||
) | [inline] |
A constructor.
Called whenever a merchant sign object is initialized.
void cMerchantSign::Action | ( | cClient * | who | ) | [virtual] |
Handles the actions of merchant sign objects.
This function is called whenever a merchant sign is used or should perform an action.
Implements cObject.
void cMerchantSign::Assess | ( | cClient * | pcAssesser | ) | [virtual] |
Handles the assessment of merchant sign objects.
This function is called whenever a merchant sign is assessed by a client.
Returns a Game Event (0x0000F7B0) server message of type Identify Object (0x000000C9).
Reimplemented from cObject.
cMessage cMerchantSign::CreatePacket | ( | ) | [virtual] |