123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- <!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: cLifestone 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>cLifestone Class Reference</h1><!-- doxytag: class="cLifestone" --><!-- doxytag: inherits="cObject" --><div class="dynheader">
- Inheritance diagram for cLifestone:</div>
- <div class="dynsection">
- <div class="center">
- <img src="classc_lifestone.png" usemap="#cLifestone_map" alt=""/>
- <map id="cLifestone_map" name="cLifestone_map">
- <area href="classc_object.html" alt="cObject" shape="rect" coords="0,0,70,24"/>
- </map>
- </div>
- </div>
- <p><a href="classc_lifestone-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_lifestone.html#ace2cbe4711c90ac73c6497157b10ef77">cLifestone</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_lifestone.html#ae254ffa5cf4e6a14e0dbd4ccf2e5790e">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_lifestone.html#a895eb40c60646cccf2d19e8442f2c555">CreatePacket</a> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_lifestone.html#a355b9a8eda41a0754743856504828590">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="aa29aa9c764bd4a610c240c7844699ea2"></a><!-- doxytag: member="cLifestone::SetMode" ref="aa29aa9c764bd4a610c240c7844699ea2" 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="a2d380b823275f733c4ba1e6a2bae6888"></a><!-- doxytag: member="cLifestone::GetMode" ref="a2d380b823275f733c4ba1e6a2bae6888" 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="ae7152fff8681bdc401ef9618f24dadc6"></a><!-- doxytag: member="cLifestone::SetData" ref="ae7152fff8681bdc401ef9618f24dadc6" 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>
- </table>
- <hr/><h2>Constructor & Destructor Documentation</h2>
- <a class="anchor" id="ace2cbe4711c90ac73c6497157b10ef77"></a><!-- doxytag: member="cLifestone::cLifestone" ref="ace2cbe4711c90ac73c6497157b10ef77" args="(WORD type, DWORD dwGUID, cLocation *pcLoc, char *szName, char *szDesc)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">cLifestone::cLifestone </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 lifestone object is initialized.</p>
- <p>Handles the creation of lifestones.</p>
- <p>Called whenever a lifestone object should be initialized. </p>
- </div>
- </div>
- <hr/><h2>Member Function Documentation</h2>
- <a class="anchor" id="a355b9a8eda41a0754743856504828590"></a><!-- doxytag: member="cLifestone::Action" ref="a355b9a8eda41a0754743856504828590" args="(cClient *who)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cLifestone::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 lifestone objects.</p>
- <p>This function is called whenever a lifestone 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="ae254ffa5cf4e6a14e0dbd4ccf2e5790e"></a><!-- doxytag: member="cLifestone::Assess" ref="ae254ffa5cf4e6a14e0dbd4ccf2e5790e" args="(cClient *pcAssesser)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cLifestone::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 lifestone objects.</p>
- <p>This function is called whenever a lifestone 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="a895eb40c60646cccf2d19e8442f2c555"></a><!-- doxytag: member="cLifestone::CreatePacket" ref="a895eb40c60646cccf2d19e8442f2c555" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classc_message.html">cMessage</a> cLifestone::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 lifestones in the world.</p>
- <p>This function is called whenever a lifestone 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_lifestone_8cpp.html">cLifestone.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>
|