123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197 |
- <!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: cCorpse 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>cCorpse Class Reference</h1><!-- doxytag: class="cCorpse" --><!-- doxytag: inherits="cObject" --><div class="dynheader">
- Inheritance diagram for cCorpse:</div>
- <div class="dynsection">
- <div class="center">
- <img src="classc_corpse.png" usemap="#cCorpse_map" alt=""/>
- <map id="cCorpse_map" name="cCorpse_map">
- <area href="classc_object.html" alt="cObject" shape="rect" coords="0,0,60,24"/>
- </map>
- </div>
- </div>
- <p><a href="classc_corpse-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_corpse.html#ac5041695b1ad465cf11d6dcfe0225589">cCorpse</a> (WORD type, DWORD dwGUID, <a class="el" href="structc_location.html">cLocation</a> &Loc, 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_corpse.html#a9d1dda20f29f74eb8fb38b13db576799">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_corpse.html#a652f2531f36ad6b631b87dc9ae3500ec">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_corpse.html#a13f810400c09f72cecb3172935cf5fd2">CreatePacket</a> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a91003f7c741195efc8fa53c9a4b4fe6c"></a><!-- doxytag: member="cCorpse::GetCorpseGUID" ref="a91003f7c741195efc8fa53c9a4b4fe6c" args="()" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>GetCorpseGUID</b> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0d56ebaa6580c56fb8a5e0f924f6af98"></a><!-- doxytag: member="cCorpse::GetType" ref="a0d56ebaa6580c56fb8a5e0f924f6af98" args="()" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>GetType</b> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa5013a66eb2439963264b6542dc14742"></a><!-- doxytag: member="cCorpse::SetMode" ref="aa5013a66eb2439963264b6542dc14742" 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="a1973ac067c6500e3bdc976c43bab0ce8"></a><!-- doxytag: member="cCorpse::GetMode" ref="a1973ac067c6500e3bdc976c43bab0ce8" 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="a7857228a192712630f3a8fe415807e0c"></a><!-- doxytag: member="cCorpse::SetData" ref="a7857228a192712630f3a8fe415807e0c" args="(WORD wAnimConfig, WORD wSoundSet, WORD wModel, WORD wIcon, DWORD MonsterModelID, float flScale)" -->
- void </td><td class="memItemRight" valign="bottom"><b>SetData</b> (WORD wAnimConfig, WORD wSoundSet, WORD wModel, WORD wIcon, DWORD MonsterModelID, float flScale)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa3ebc52174214c5b62511108116cdcd0"></a><!-- doxytag: member="cCorpse::AddInventory" ref="aa3ebc52174214c5b62511108116cdcd0" args="(cObject *pcObject)" -->
- void </td><td class="memItemRight" valign="bottom"><b>AddInventory</b> (<a class="el" href="classc_object.html">cObject</a> *pcObject)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a912f7d6e53c52ebaf2c23b0eb40f7c05"></a><!-- doxytag: member="cCorpse::RemoveInventory" ref="a912f7d6e53c52ebaf2c23b0eb40f7c05" args="(cObject *pcObject)" -->
- void </td><td class="memItemRight" valign="bottom"><b>RemoveInventory</b> (<a class="el" href="classc_object.html">cObject</a> *pcObject)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad688f4624ddb00927af0cb2927522781"></a><!-- doxytag: member="cCorpse::FindInventory" ref="ad688f4624ddb00927af0cb2927522781" args="(DWORD dwGUID)" -->
- <a class="el" href="classc_object.html">cObject</a> * </td><td class="memItemRight" valign="bottom"><b>FindInventory</b> (DWORD dwGUID)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a869dce10479b4de246f5729c10821060"></a><!-- doxytag: member="cCorpse::DeleteFromInventory" ref="a869dce10479b4de246f5729c10821060" args="(cObject *pcObject)" -->
- void </td><td class="memItemRight" valign="bottom"><b>DeleteFromInventory</b> (<a class="el" href="classc_object.html">cObject</a> *pcObject)</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="cCorpse::cClient" ref="a78e9d7036b7c968e4844315ec857b73d" args="" -->
- class </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_corpse.html#a78e9d7036b7c968e4844315ec857b73d">cClient</a></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad50abea5da456ec590dbd8471da89715"></a><!-- doxytag: member="cCorpse::cMonster" ref="ad50abea5da456ec590dbd8471da89715" args="" -->
- class </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_corpse.html#ad50abea5da456ec590dbd8471da89715">cMonster</a></td></tr>
- </table>
- <hr/><h2>Constructor & Destructor Documentation</h2>
- <a class="anchor" id="ac5041695b1ad465cf11d6dcfe0225589"></a><!-- doxytag: member="cCorpse::cCorpse" ref="ac5041695b1ad465cf11d6dcfe0225589" args="(WORD type, DWORD dwGUID, cLocation &Loc, char *szName, char *szDesc)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">cCorpse::cCorpse </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>Loc</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 corpse object is initialized.</p>
- <p>Handles the creation of corpses.</p>
- <p>Called whenever a corpses object should be initialized. </p>
- </div>
- </div>
- <hr/><h2>Member Function Documentation</h2>
- <a class="anchor" id="a652f2531f36ad6b631b87dc9ae3500ec"></a><!-- doxytag: member="cCorpse::Action" ref="a652f2531f36ad6b631b87dc9ae3500ec" args="(cClient *who)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cCorpse::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 corpse objects.</p>
- <p>This function is called whenever a corpse is used. </p>
- <p>Implements <a class="el" href="classc_object.html">cObject</a>.</p>
- </div>
- </div>
- <a class="anchor" id="a9d1dda20f29f74eb8fb38b13db576799"></a><!-- doxytag: member="cCorpse::Assess" ref="a9d1dda20f29f74eb8fb38b13db576799" args="(cClient *pcAssesser)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cCorpse::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 corpse objects.</p>
- <p>This function is called whenever a corpse is assessed by a client. Returns a server message to the client. </p>
- <p>Reimplemented from <a class="el" href="classc_object.html">cObject</a>.</p>
- </div>
- </div>
- <a class="anchor" id="a13f810400c09f72cecb3172935cf5fd2"></a><!-- doxytag: member="cCorpse::CreatePacket" ref="a13f810400c09f72cecb3172935cf5fd2" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classc_message.html">cMessage</a> cCorpse::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 a corpse in the world.</p>
- <p>This function is called whenever a corpse 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 server message to the client. </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="_corpse_8cpp.html">Corpse.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>
|