123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195 |
- <!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: cStorage 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>cStorage Class Reference</h1><!-- doxytag: class="cStorage" --><!-- doxytag: inherits="cObject" --><div class="dynheader">
- Inheritance diagram for cStorage:</div>
- <div class="dynsection">
- <div class="center">
- <img src="classc_storage.png" usemap="#cStorage_map" alt=""/>
- <map id="cStorage_map" name="cStorage_map">
- <area href="classc_object.html" alt="cObject" shape="rect" coords="0,0,63,24"/>
- </map>
- </div>
- </div>
- <p><a href="classc_storage-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_storage.html#a4c28e915c47b76b4b911f88cc37d4366">cStorage</a> (WORD type, DWORD dwGUID, DWORD houseID, char *szName, char *szDescription, <a class="el" href="structc_location.html">cLocation</a> *pcLoc=NULL)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_storage.html#a475351ecddba552296f053f292321cb0">Assess</a> (<a class="el" href="classc_client.html">cClient</a> *pcAssesser)</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_storage.html#ae2691f46b0c8ff7e302c4a28afd17674">CreatePacket</a> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_storage.html#ad10555476c49f2ea764ac9b8fdbb82d9">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="af38d9634c960d07a3d20f5e6bb65a493"></a><!-- doxytag: member="cStorage::SetMode" ref="af38d9634c960d07a3d20f5e6bb65a493" 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="a705da26243f4eedd314f7ea07f38da81"></a><!-- doxytag: member="cStorage::GetMode" ref="a705da26243f4eedd314f7ea07f38da81" 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="a4e71eeae64789afb378a6b67a8885357"></a><!-- doxytag: member="cStorage::SetGUID" ref="a4e71eeae64789afb378a6b67a8885357" args="(DWORD GUID)" -->
- void </td><td class="memItemRight" valign="bottom"><b>SetGUID</b> (DWORD GUID)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1632e2a706de01f68b892b1fa350bf67"></a><!-- doxytag: member="cStorage::SetData" ref="a1632e2a706de01f68b892b1fa350bf67" args="(WORD wAnimConfig, WORD wSoundSet, WORD wModel, WORD wIcon)" -->
- void </td><td class="memItemRight" valign="bottom"><b>SetData</b> (WORD wAnimConfig, WORD wSoundSet, WORD wModel, WORD wIcon)</td></tr>
- <tr><td colspan="2"><h2>Public Attributes</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acf9cdc61cd588932ce24b63aaeff6b7e"></a><!-- doxytag: member="cStorage::m_dwHouseID" ref="acf9cdc61cd588932ce24b63aaeff6b7e" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwHouseID</b></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="cStorage::cClient" ref="a78e9d7036b7c968e4844315ec857b73d" args="" -->
- class </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_storage.html#a78e9d7036b7c968e4844315ec857b73d">cClient</a></td></tr>
- </table>
- <hr/><h2>Constructor & Destructor Documentation</h2>
- <a class="anchor" id="a4c28e915c47b76b4b911f88cc37d4366"></a><!-- doxytag: member="cStorage::cStorage" ref="a4c28e915c47b76b4b911f88cc37d4366" args="(WORD type, DWORD dwGUID, DWORD houseID, char *szName, char *szDescription, cLocation *pcLoc=NULL)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">cStorage::cStorage </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">DWORD </td>
- <td class="paramname"> <em>dwHouseID</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>szDescription</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> = <code>NULL</code></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 housing storage chest object is initialized.</p>
- <p>Handles the creation of housing storage chests.</p>
- <p>Called whenever a housing storage chest object should be initialized. </p>
- </div>
- </div>
- <hr/><h2>Member Function Documentation</h2>
- <a class="anchor" id="ad10555476c49f2ea764ac9b8fdbb82d9"></a><!-- doxytag: member="cStorage::Action" ref="ad10555476c49f2ea764ac9b8fdbb82d9" args="(cClient *who)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cStorage::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 housing storage chest objects.</p>
- <p>This function is called whenever a housing storage 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="a475351ecddba552296f053f292321cb0"></a><!-- doxytag: member="cStorage::Assess" ref="a475351ecddba552296f053f292321cb0" args="(cClient *pcAssesser)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cStorage::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 housing storage chest objects.</p>
- <p>This function is called whenever a housing storage 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="ae2691f46b0c8ff7e302c4a28afd17674"></a><!-- doxytag: member="cStorage::CreatePacket" ref="ae2691f46b0c8ff7e302c4a28afd17674" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classc_message.html">cMessage</a> cStorage::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 housing storage chests in the world.</p>
- <p>This function is called whenever a housing storage chest object should be created in the world 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_storage_8cpp.html">cStorage.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>
|