123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192 |
- <!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: cChest 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>cChest Class Reference</h1><!-- doxytag: class="cChest" --><!-- doxytag: inherits="cObject" --><div class="dynheader">
- Inheritance diagram for cChest:</div>
- <div class="dynsection">
- <div class="center">
- <img src="classc_chest.png" usemap="#cChest_map" alt=""/>
- <map id="cChest_map" name="cChest_map">
- <area href="classc_object.html" alt="cObject" shape="rect" coords="0,0,56,24"/>
- </map>
- </div>
- </div>
- <p><a href="classc_chest-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_chest.html#adb16698bbbd928109c6dfd108fc134a2">cChest</a> (WORD type, DWORD dwGUID, <a class="el" href="structc_location.html">cLocation</a> *pcLoc, char *szName, char *szDesc)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_chest.html#adec724122854427177b17cfa9a9d6485">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_chest.html#a2c3c696710e7159d16b95148b3dacaea">Action</a> (<a class="el" href="classc_client.html">cClient</a> *who)</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_chest.html#a63a38a85d2ee504411da88522f9b3a8f">CreatePacket</a> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8ce2715ca013402225407d18380daa7e"></a><!-- doxytag: member="cChest::SetMode" ref="a8ce2715ca013402225407d18380daa7e" args="(DWORD mode)" -->
- void </td><td class="memItemRight" valign="bottom"><b>SetMode</b> (DWORD mode)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acfe211b34d53670856a4e3ec4413deaf"></a><!-- doxytag: member="cChest::GetMode" ref="acfe211b34d53670856a4e3ec4413deaf" args="()" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>GetMode</b> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af6b07e30c49a0abfe60e461adf550529"></a><!-- doxytag: member="cChest::SetIsLocked" ref="af6b07e30c49a0abfe60e461adf550529" args="(int locked)" -->
- void </td><td class="memItemRight" valign="bottom"><b>SetIsLocked</b> (int locked)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a24d1513b5f499beed1ca77aea77d7191"></a><!-- doxytag: member="cChest::GetIsLocked" ref="a24d1513b5f499beed1ca77aea77d7191" args="()" -->
- int </td><td class="memItemRight" valign="bottom"><b>GetIsLocked</b> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7b9a0df0950dda305a3390a587e576e3"></a><!-- doxytag: member="cChest::SetLDiff" ref="a7b9a0df0950dda305a3390a587e576e3" args="(int ldiff)" -->
- void </td><td class="memItemRight" valign="bottom"><b>SetLDiff</b> (int ldiff)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9aff22800b9f629dfb754147fc14b0a7"></a><!-- doxytag: member="cChest::GetLDiff" ref="a9aff22800b9f629dfb754147fc14b0a7" args="()" -->
- int </td><td class="memItemRight" valign="bottom"><b>GetLDiff</b> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeaa532c2e59a698eb380e1346fd7c704"></a><!-- doxytag: member="cChest::SetData" ref="aeaa532c2e59a698eb380e1346fd7c704" args="(WORD wAnimConfig, WORD wSoundSet, WORD wModel, WORD wIcon, DWORD dwObject1, DWORD dwObject2)" -->
- void </td><td class="memItemRight" valign="bottom"><b>SetData</b> (WORD wAnimConfig, WORD wSoundSet, WORD wModel, WORD wIcon, DWORD dwObject1, DWORD dwObject2)</td></tr>
- <tr><td colspan="2"><h2>Friends</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a78e9d7036b7c968e4844315ec857b73d"></a><!-- doxytag: member="cChest::cClient" ref="a78e9d7036b7c968e4844315ec857b73d" args="" -->
- class </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_chest.html#a78e9d7036b7c968e4844315ec857b73d">cClient</a></td></tr>
- </table>
- <hr/><h2>Constructor & Destructor Documentation</h2>
- <a class="anchor" id="adb16698bbbd928109c6dfd108fc134a2"></a><!-- doxytag: member="cChest::cChest" ref="adb16698bbbd928109c6dfd108fc134a2" args="(WORD type, DWORD dwGUID, cLocation *pcLoc, char *szName, char *szDesc)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">cChest::cChest </td>
- <td>(</td>
- <td class="paramtype">WORD </td>
- <td class="paramname"> <em>type</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></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>pcLoc</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">char * </td>
- <td class="paramname"> <em>szName</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">char * </td>
- <td class="paramname"> <em>szDesc</em></td><td> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td><td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>A constructor.</p>
- <p>Called whenever a chest object is initialized.</p>
- <p>Handles the creation of chests.</p>
- <p>Called whenever a chest object should be initialized. </p>
- </div>
- </div>
- <hr/><h2>Member Function Documentation</h2>
- <a class="anchor" id="a2c3c696710e7159d16b95148b3dacaea"></a><!-- doxytag: member="cChest::Action" ref="a2c3c696710e7159d16b95148b3dacaea" args="(cClient *who)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cChest::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 chest objects.</p>
- <p>This function is called whenever a chest 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="adec724122854427177b17cfa9a9d6485"></a><!-- doxytag: member="cChest::Assess" ref="adec724122854427177b17cfa9a9d6485" args="(cClient *pcAssesser)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cChest::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 chest objects.</p>
- <p>This function is called whenever a chest 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="a63a38a85d2ee504411da88522f9b3a8f"></a><!-- doxytag: member="cChest::CreatePacket" ref="a63a38a85d2ee504411da88522f9b3a8f" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classc_message.html">cMessage</a> cChest::CreatePacket </td>
- <td>(</td>
- <td class="paramname"></td>
- <td> ) </td>
- <td><code> [virtual]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Handles the message sent for the creation of chests in the world.</p>
- <p>This function is called whenever a chest should be created for a client.</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_chest_8cpp.html">cChest.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>
|