123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187 |
- <!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: cHouse 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>cHouse Class Reference</h1><!-- doxytag: class="cHouse" --><!-- doxytag: inherits="cObject" --><div class="dynheader">
- Inheritance diagram for cHouse:</div>
- <div class="dynsection">
- <div class="center">
- <img src="classc_house.png" usemap="#cHouse_map" alt=""/>
- <map id="cHouse_map" name="cHouse_map">
- <area href="classc_object.html" alt="cObject" shape="rect" coords="0,0,56,24"/>
- </map>
- </div>
- </div>
- <p><a href="classc_house-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_house.html#a2a5223d191facbafa04bf2dbfd7fd66d">cHouse</a> (char *szName, char *szDescription, WORD type, DWORD GUID, <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_house.html#add6330dfe0a1915c8c52c3a9f90f6b6a">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_house.html#a5d61720fe1037b01843af8f500c21a8e">CreatePacket</a> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_house.html#a1d23dc324192cad49a26fa115f37c12d">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="a05014643cc390a8ff87c78b034012388"></a><!-- doxytag: member="cHouse::SetGUID" ref="a05014643cc390a8ff87c78b034012388" 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="a189e4c3b89fb958e55c33afef19a5bd3"></a><!-- doxytag: member="cHouse::SetOwner" ref="a189e4c3b89fb958e55c33afef19a5bd3" args="(DWORD ownerID)" -->
- void </td><td class="memItemRight" valign="bottom"><b>SetOwner</b> (DWORD ownerID)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62d9b9f1c101f52b58665ed4a5d8b70a"></a><!-- doxytag: member="cHouse::SetData" ref="a62d9b9f1c101f52b58665ed4a5d8b70a" args="(WORD wModel, WORD wIcon)" -->
- void </td><td class="memItemRight" valign="bottom"><b>SetData</b> (WORD wModel, WORD wIcon)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8e6db3e91628209daea223eb766a995a"></a><!-- doxytag: member="cHouse::SetIsOpen" ref="a8e6db3e91628209daea223eb766a995a" args="(DWORD open)" -->
- void </td><td class="memItemRight" valign="bottom"><b>SetIsOpen</b> (DWORD open)</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="cHouse::cClient" ref="a78e9d7036b7c968e4844315ec857b73d" args="" -->
- class </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_house.html#a78e9d7036b7c968e4844315ec857b73d">cClient</a></td></tr>
- </table>
- <hr/><h2>Constructor & Destructor Documentation</h2>
- <a class="anchor" id="a2a5223d191facbafa04bf2dbfd7fd66d"></a><!-- doxytag: member="cHouse::cHouse" ref="a2a5223d191facbafa04bf2dbfd7fd66d" args="(char *szName, char *szDescription, WORD type, DWORD GUID, cLocation *pcLoc=NULL)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">cHouse::cHouse </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">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> = <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 house object is initialized.</p>
- <p>Handles the creation of houses.</p>
- <p>Called whenever a house object should be initialized.</p>
- <p>Generally, house objects reside where the house models are located in the world. By default, the houses are inaccessable (restricted client-side) by characters unless the proper house object is created. </p>
- </div>
- </div>
- <hr/><h2>Member Function Documentation</h2>
- <a class="anchor" id="a1d23dc324192cad49a26fa115f37c12d"></a><!-- doxytag: member="cHouse::Action" ref="a1d23dc324192cad49a26fa115f37c12d" args="(cClient *who)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cHouse::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 house objects.</p>
- <p>This function is called whenever a house object 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="add6330dfe0a1915c8c52c3a9f90f6b6a"></a><!-- doxytag: member="cHouse::Assess" ref="add6330dfe0a1915c8c52c3a9f90f6b6a" args="(cClient *pcAssesser)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cHouse::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 house objects.</p>
- <p>This function is called whenever a house object is assessed by a client. House objects are intended to be imperceptible to the 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="a5d61720fe1037b01843af8f500c21a8e"></a><!-- doxytag: member="cHouse::CreatePacket" ref="a5d61720fe1037b01843af8f500c21a8e" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classc_message.html">cMessage</a> cHouse::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 house objects in the world.</p>
- <p>This function is called whenever a house 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_house_8cpp.html">cHouse.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>
|