123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 |
- <!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: cDoor 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>cDoor Class Reference</h1><!-- doxytag: class="cDoor" --><!-- doxytag: inherits="cObject" --><div class="dynheader">
- Inheritance diagram for cDoor:</div>
- <div class="dynsection">
- <div class="center">
- <img src="classc_door.png" usemap="#cDoor_map" alt=""/>
- <map id="cDoor_map" name="cDoor_map">
- <area href="classc_object.html" alt="cObject" shape="rect" coords="0,0,56,24"/>
- </map>
- </div>
- </div>
- <p><a href="classc_door-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_door.html#a1ad99e122556e94ce22ac0077f400729">cDoor</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_door.html#a634ee6583b15965592935cc8257f0116">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_door.html#a83db7d1c83bf6b297d38e50f84dcc81c">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_door.html#aa09a77810ff9e12106400b22136d33cf">CreatePacket</a> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6277087c1c9bda0039bfac7a2bc88025"></a><!-- doxytag: member="cDoor::SetMode" ref="a6277087c1c9bda0039bfac7a2bc88025" 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="ab56e3e8624643876e7705f9c6a544fed"></a><!-- doxytag: member="cDoor::GetMode" ref="ab56e3e8624643876e7705f9c6a544fed" 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="a35c9013e338c7a58c67e1c529267d60d"></a><!-- doxytag: member="cDoor::SetData" ref="a35c9013e338c7a58c67e1c529267d60d" 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>Friends</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a78e9d7036b7c968e4844315ec857b73d"></a><!-- doxytag: member="cDoor::cClient" ref="a78e9d7036b7c968e4844315ec857b73d" args="" -->
- class </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_door.html#a78e9d7036b7c968e4844315ec857b73d">cClient</a></td></tr>
- </table>
- <hr/><h2>Constructor & Destructor Documentation</h2>
- <a class="anchor" id="a1ad99e122556e94ce22ac0077f400729"></a><!-- doxytag: member="cDoor::cDoor" ref="a1ad99e122556e94ce22ac0077f400729" args="(WORD type, DWORD dwGUID, cLocation *pcLoc, char *szName, char *szDesc)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">cDoor::cDoor </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 door object is initialized.</p>
- <p>Handles the creation of doors.</p>
- <p>Called whenever a door object should be initialized. </p>
- </div>
- </div>
- <hr/><h2>Member Function Documentation</h2>
- <a class="anchor" id="a83db7d1c83bf6b297d38e50f84dcc81c"></a><!-- doxytag: member="cDoor::Action" ref="a83db7d1c83bf6b297d38e50f84dcc81c" args="(cClient *who)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cDoor::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 door objects.</p>
- <p>This function is called whenever a door 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="a634ee6583b15965592935cc8257f0116"></a><!-- doxytag: member="cDoor::Assess" ref="a634ee6583b15965592935cc8257f0116" args="(cClient *pcAssesser)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cDoor::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 door objects.</p>
- <p>This function is called whenever a door 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="aa09a77810ff9e12106400b22136d33cf"></a><!-- doxytag: member="cDoor::CreatePacket" ref="aa09a77810ff9e12106400b22136d33cf" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classc_message.html">cMessage</a> cDoor::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 doors in the world.</p>
- <p>This function is called whenever a door should be created in the world for a given 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_door_8cpp.html">cDoor.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>
|