123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
- <title>UAS2: cMerchantSign Class Reference</title>
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
- <link href="doxygen.css" rel="stylesheet" type="text/css"/>
- </head>
- <body>
- <!-- Generated by Doxygen 1.6.2 -->
- <div class="navigation" id="top">
- <div class="tabs">
- <ul>
- <li><a href="main.html"><span>Main Page</span></a></li>
- <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
- <li><a href="files.html"><span>Files</span></a></li>
- </ul>
- </div>
- <div class="tabs">
- <ul>
- <li><a href="annotated.html"><span>Class List</span></a></li>
- <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
- <li><a href="functions.html"><span>Class Members</span></a></li>
- </ul>
- </div>
- </div>
- <div class="contents">
- <h1>cMerchantSign Class Reference</h1><!-- doxytag: class="cMerchantSign" --><!-- doxytag: inherits="cObject" --><div class="dynheader">
- Inheritance diagram for cMerchantSign:</div>
- <div class="dynsection">
- <div class="center">
- <img src="classc_merchant_sign.png" usemap="#cMerchantSign_map" alt=""/>
- <map id="cMerchantSign_map" name="cMerchantSign_map">
- <area href="classc_object.html" alt="cObject" shape="rect" coords="0,0,98,24"/>
- </map>
- </div>
- </div>
- <p><a href="classc_merchant_sign-members.html">List of all members.</a></p>
- <table border="0" cellpadding="0" cellspacing="0">
- <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_merchant_sign.html#a33ba91238604d87682a0f5c1375ce132">cMerchantSign</a> (DWORD dwGUID, <a class="el" href="structc_location.html">cLocation</a> &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)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classc_message.html">cMessage</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_merchant_sign.html#a3e6da8dac0a91dbdfc79d76aaffbdc7e">CreatePacket</a> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6ede626a1fb94562b835d2e19739c957"></a><!-- doxytag: member="cMerchantSign::Animation" ref="a6ede626a1fb94562b835d2e19739c957" args="(WORD wAnim, float flPlaySpeed)" -->
- <a class="el" href="classc_message.html">cMessage</a> </td><td class="memItemRight" valign="bottom"><b>Animation</b> (WORD wAnim, float flPlaySpeed)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_merchant_sign.html#a4139eeed33bb33fe3dd8ade902d6094c">Assess</a> (<a class="el" href="classc_client.html">cClient</a> *pcAssesser)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_merchant_sign.html#a3df1a0e086eefceddd3eda3372dcc1ad">Action</a> (<a class="el" href="classc_client.html">cClient</a> *who)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5dd44cc0ae89e3f1a1e37ab9a800a1d6"></a><!-- doxytag: member="cMerchantSign::GetWorldObject" ref="a5dd44cc0ae89e3f1a1e37ab9a800a1d6" args="()" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>GetWorldObject</b> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a99f8d850c1d6c9467102e863f043c869"></a><!-- doxytag: member="cMerchantSign::SetObjectType" ref="a99f8d850c1d6c9467102e863f043c869" args="(int ot)" -->
- void </td><td class="memItemRight" valign="bottom"><b>SetObjectType</b> (int ot)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a443b33f6728623253d0bcfa414504001"></a><!-- doxytag: member="cMerchantSign::GetObjectType" ref="a443b33f6728623253d0bcfa414504001" args="()" -->
- int </td><td class="memItemRight" valign="bottom"><b>GetObjectType</b> ()</td></tr>
- <tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a79fc8400f680f5e73bc4da0be971e49e"></a><!-- doxytag: member="cMerchantSign::iObjectType" ref="a79fc8400f680f5e73bc4da0be971e49e" args="" -->
- int </td><td class="memItemRight" valign="bottom"><b>iObjectType</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a60451c26b2a80682fd5b3d54222bdf58"></a><!-- doxytag: member="cMerchantSign::m_dwWOModelID" ref="a60451c26b2a80682fd5b3d54222bdf58" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwWOModelID</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1b50789cca93312555598d0acb35699d"></a><!-- doxytag: member="cMerchantSign::m_dwWeight" ref="a1b50789cca93312555598d0acb35699d" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwWeight</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4adfbb51b47bc718f31c2caea3516a68"></a><!-- doxytag: member="cMerchantSign::m_dwValue" ref="a4adfbb51b47bc718f31c2caea3516a68" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwValue</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1f11f8d92b17326831e9dda89b7eb0c7"></a><!-- doxytag: member="cMerchantSign::m_fIsStackable" ref="a1f11f8d92b17326831e9dda89b7eb0c7" args="" -->
- BOOL </td><td class="memItemRight" valign="bottom"><b>m_fIsStackable</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab0f72e2fe2dd3b3390b9e3ffbf8437b7"></a><!-- doxytag: member="cMerchantSign::m_fEquippable" ref="ab0f72e2fe2dd3b3390b9e3ffbf8437b7" args="" -->
- BOOL </td><td class="memItemRight" valign="bottom"><b>m_fEquippable</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0f13ea944423f1a4fea3e9dcf6a22ea9"></a><!-- doxytag: member="cMerchantSign::m_fIsSolid" ref="a0f13ea944423f1a4fea3e9dcf6a22ea9" args="" -->
- BOOL </td><td class="memItemRight" valign="bottom"><b>m_fIsSolid</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2940f15a1af00d4ee937d15cc52a87b0"></a><!-- doxytag: member="cMerchantSign::m_strDescription" ref="a2940f15a1af00d4ee937d15cc52a87b0" args="" -->
- std::string </td><td class="memItemRight" valign="bottom"><b>m_strDescription</b></td></tr>
- </table>
- <hr/><h2>Constructor & Destructor Documentation</h2>
- <a class="anchor" id="a33ba91238604d87682a0f5c1375ce132"></a><!-- doxytag: member="cMerchantSign::cMerchantSign" ref="a33ba91238604d87682a0f5c1375ce132" args="(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)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">cMerchantSign::cMerchantSign </td>
- <td>(</td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>dwGUID</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="structc_location.html">cLocation</a> & </td>
- <td class="paramname"> <em>Loc</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>dwModel</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"> <em>flScale</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">BOOL </td>
- <td class="paramname"> <em>fSolid</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>dwIcon</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">std::string </td>
- <td class="paramname"> <em>strName</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">std::string </td>
- <td class="paramname"> <em>strDescription</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>dwWeight</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>dwValue</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">BOOL </td>
- <td class="paramname"> <em>fSelectable</em> = <code>TRUE</code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">BOOL </td>
- <td class="paramname"> <em>fEquippable</em> = <code>TRUE</code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">BOOL </td>
- <td class="paramname"> <em>fStackable</em> = <code>FALSE</code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">BOOL </td>
- <td class="paramname"> <em>fIsOwned</em> = <code>FALSE</code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>dwContainer</em> = <code>0</code></td><td> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td><td><code> [inline]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>A constructor.</p>
- <p>Called whenever a merchant sign object is initialized. </p>
- </div>
- </div>
- <hr/><h2>Member Function Documentation</h2>
- <a class="anchor" id="a3df1a0e086eefceddd3eda3372dcc1ad"></a><!-- doxytag: member="cMerchantSign::Action" ref="a3df1a0e086eefceddd3eda3372dcc1ad" args="(cClient *who)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cMerchantSign::Action </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classc_client.html">cClient</a> * </td>
- <td class="paramname"> <em>who</em></td>
- <td> ) </td>
- <td><code> [virtual]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Handles the actions of merchant sign objects.</p>
- <p>This function is called whenever a merchant sign is used or should perform an action. </p>
- <p>Implements <a class="el" href="classc_object.html">cObject</a>.</p>
- </div>
- </div>
- <a class="anchor" id="a4139eeed33bb33fe3dd8ade902d6094c"></a><!-- doxytag: member="cMerchantSign::Assess" ref="a4139eeed33bb33fe3dd8ade902d6094c" args="(cClient *pcAssesser)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cMerchantSign::Assess </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classc_client.html">cClient</a> * </td>
- <td class="paramname"> <em>pcAssesser</em></td>
- <td> ) </td>
- <td><code> [virtual]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Handles the assessment of merchant sign objects.</p>
- <p>This function is called whenever a merchant sign is assessed by a client.</p>
- <p>Returns a Game Event (0x0000F7B0) server message of type Identify Object (0x000000C9). </p>
- <p>Reimplemented from <a class="el" href="classc_object.html">cObject</a>.</p>
- </div>
- </div>
- <a class="anchor" id="a3e6da8dac0a91dbdfc79d76aaffbdc7e"></a><!-- doxytag: member="cMerchantSign::CreatePacket" ref="a3e6da8dac0a91dbdfc79d76aaffbdc7e" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classc_message.html">cMessage</a> cMerchantSign::CreatePacket </td>
- <td>(</td>
- <td class="paramname"></td>
- <td> ) </td>
- <td><code> [virtual]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Handles the creation of merchant signs.</p>
- <p>Called whenever a merchant sign object should be initialized.</p>
- <dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classc_message.html">cMessage</a> - Returns a Create Object (0x0000F745) server message. </dd></dl>
- <p>Implements <a class="el" href="classc_object.html">cObject</a>.</p>
- </div>
- </div>
- <hr/>The documentation for this class was generated from the following files:<ul>
- <li>E:/uas2/Server/<a class="el" href="_object_8h_source.html">Object.h</a></li>
- <li>E:/uas2/Server/<a class="el" href="c_merchant_sign_8cpp.html">cMerchantSign.cpp</a></li>
- <li>E:/uas2/Server/<a class="el" href="world__object2_8cpp.html">world_object2.cpp</a></li>
- </ul>
- </div>
- <hr size="1"/><address style="text-align: right;"><small>Generated by
- <a href="http://www.doxygen.org/index.html">
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
- </body>
- </html>
|