123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298 |
- <!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: cHealingCon 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>cHealingCon Class Reference</h1><!-- doxytag: class="cHealingCon" --><!-- doxytag: inherits="cObject" --><div class="dynheader">
- Inheritance diagram for cHealingCon:</div>
- <div class="dynsection">
- <div class="center">
- <img src="classc_healing_con.png" usemap="#cHealingCon_map" alt=""/>
- <map id="cHealingCon_map" name="cHealingCon_map">
- <area href="classc_object.html" alt="cObject" shape="rect" coords="0,0,85,24"/>
- </map>
- </div>
- </div>
- <p><a href="classc_healing_con-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_healing_con.html#a8111b42321f7273149a8816d6cddf51a">cHealingCon</a> (DWORD dwGUID, DWORD dwContainer, DWORD dwModel, float flScale, BOOL fSolid, DWORD dwIcon, std::string strName, std::string strDescription, DWORD dwWeight, DWORD dwValue, WORD wUses, WORD wUseLimit, BOOL fSelectable=TRUE, BOOL fEquippable=FALSE, BOOL fStackable=TRUE, BOOL fIsOwned=TRUE)</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_healing_con.html#a06603289b12c37d4bd22585eab6cc401">CreatePacket</a> ()</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_healing_con.html#a248ed8ab590d1e73a7bd2cfe2257b3ff">CreatePacketContainer</a> (DWORD Container, DWORD ItemModelID)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4c139e2417b0a1cadac9bf6993d38ce6"></a><!-- doxytag: member="cHealingCon::Animation" ref="a4c139e2417b0a1cadac9bf6993d38ce6" args="(WORD wAnim, float flPlaySpeed)" -->
- <a class="el" href="classc_message.html">cMessage</a> </td><td class="memItemRight" valign="bottom"><b>Animation</b> (WORD wAnim, float flPlaySpeed)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_healing_con.html#abc9f6483b59dad3929fbfd541cf37f3b">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_healing_con.html#a293cf8c0d0acb8246dc41576e6634239">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="a219f7e31138d517219a1b4f1b5848b3a"></a><!-- doxytag: member="cHealingCon::SetContainer" ref="a219f7e31138d517219a1b4f1b5848b3a" args="(DWORD dwGUID)" -->
- void </td><td class="memItemRight" valign="bottom"><b>SetContainer</b> (DWORD dwGUID)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af1728b194d77696893bd52a004207e73"></a><!-- doxytag: member="cHealingCon::GetItemModelID" ref="af1728b194d77696893bd52a004207e73" args="()" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>GetItemModelID</b> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af03282f97418217605ef2e46894f63a6"></a><!-- doxytag: member="cHealingCon::GetContainerID" ref="af03282f97418217605ef2e46894f63a6" args="()" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>GetContainerID</b> ()</td></tr>
- <tr><td colspan="2"><h2>Public Attributes</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a44f350e461ae1413427eb96ab7131aa8"></a><!-- doxytag: member="cHealingCon::m_dwItemModelID" ref="a44f350e461ae1413427eb96ab7131aa8" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwItemModelID</b></td></tr>
- <tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a62c3bb82210b5415d5feb1e05d05c1f2"></a><!-- doxytag: member="cHealingCon::m_dwWeight" ref="a62c3bb82210b5415d5feb1e05d05c1f2" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwWeight</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="add4c90ad879f12c9bb5bc4ecc19af1bb"></a><!-- doxytag: member="cHealingCon::m_dwValue" ref="add4c90ad879f12c9bb5bc4ecc19af1bb" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwValue</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a83f09c4b218e3c0e8c7762722199a3dd"></a><!-- doxytag: member="cHealingCon::m_wUses" ref="a83f09c4b218e3c0e8c7762722199a3dd" args="" -->
- WORD </td><td class="memItemRight" valign="bottom"><b>m_wUses</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afc6ecb464e94d1d6ac10331a6795c5b3"></a><!-- doxytag: member="cHealingCon::m_wUseLimit" ref="afc6ecb464e94d1d6ac10331a6795c5b3" args="" -->
- WORD </td><td class="memItemRight" valign="bottom"><b>m_wUseLimit</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af472b3e62ccf62b058a2a88b3aba2bf2"></a><!-- doxytag: member="cHealingCon::m_fIsStackable" ref="af472b3e62ccf62b058a2a88b3aba2bf2" args="" -->
- BOOL </td><td class="memItemRight" valign="bottom"><b>m_fIsStackable</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1ed2309165572e67536274aa2da6a427"></a><!-- doxytag: member="cHealingCon::m_fEquippable" ref="a1ed2309165572e67536274aa2da6a427" args="" -->
- BOOL </td><td class="memItemRight" valign="bottom"><b>m_fEquippable</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac125c11a60bad29fe335f0d1126e3f56"></a><!-- doxytag: member="cHealingCon::m_fIsSolid" ref="ac125c11a60bad29fe335f0d1126e3f56" args="" -->
- BOOL </td><td class="memItemRight" valign="bottom"><b>m_fIsSolid</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac1b5c45966dcc89b5b36172bfa0c3faa"></a><!-- doxytag: member="cHealingCon::m_strDescription" ref="ac1b5c45966dcc89b5b36172bfa0c3faa" args="" -->
- std::string </td><td class="memItemRight" valign="bottom"><b>m_strDescription</b></td></tr>
- </table>
- <hr/><h2>Constructor & Destructor Documentation</h2>
- <a class="anchor" id="a8111b42321f7273149a8816d6cddf51a"></a><!-- doxytag: member="cHealingCon::cHealingCon" ref="a8111b42321f7273149a8816d6cddf51a" args="(DWORD dwGUID, DWORD dwContainer, DWORD dwModel, float flScale, BOOL fSolid, DWORD dwIcon, std::string strName, std::string strDescription, DWORD dwWeight, DWORD dwValue, WORD wUses, WORD wUseLimit, BOOL fSelectable=TRUE, BOOL fEquippable=FALSE, BOOL fStackable=TRUE, BOOL fIsOwned=TRUE)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">cHealingCon::cHealingCon </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>dwContainer</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>dwModel</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"> <em>flScale</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">BOOL </td>
- <td class="paramname"> <em>fSolid</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>dwIcon</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">std::string </td>
- <td class="paramname"> <em>strName</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">std::string </td>
- <td class="paramname"> <em>strDescription</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>dwWeight</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>dwValue</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">WORD </td>
- <td class="paramname"> <em>wUses</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">WORD </td>
- <td class="paramname"> <em>wUseLimit</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">BOOL </td>
- <td class="paramname"> <em>fSelectable</em> = <code>TRUE</code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">BOOL </td>
- <td class="paramname"> <em>fEquippable</em> = <code>FALSE</code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">BOOL </td>
- <td class="paramname"> <em>fStackable</em> = <code>TRUE</code>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">BOOL </td>
- <td class="paramname"> <em>fIsOwned</em> = <code>TRUE</code></td><td> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td><td><code> [inline]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>A constructor.</p>
- <p>Called whenever a healing container object is initialized in the world. </p>
- </div>
- </div>
- <hr/><h2>Member Function Documentation</h2>
- <a class="anchor" id="a293cf8c0d0acb8246dc41576e6634239"></a><!-- doxytag: member="cHealingCon::Action" ref="a293cf8c0d0acb8246dc41576e6634239" args="(cClient *who)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cHealingCon::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 healing container objects.</p>
- <p>This function is called whenever a healing container 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="abc9f6483b59dad3929fbfd541cf37f3b"></a><!-- doxytag: member="cHealingCon::Assess" ref="abc9f6483b59dad3929fbfd541cf37f3b" args="(cClient *pcAssesser)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cHealingCon::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 healing container objects.</p>
- <p>This function is called whenever a healing container 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="a06603289b12c37d4bd22585eab6cc401"></a><!-- doxytag: member="cHealingCon::CreatePacket" ref="a06603289b12c37d4bd22585eab6cc401" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classc_message.html">cMessage</a> cHealingCon::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 healing containers in the world.</p>
- <p>This function is called whenever a healing container 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>
- <a class="anchor" id="a248ed8ab590d1e73a7bd2cfe2257b3ff"></a><!-- doxytag: member="cHealingCon::CreatePacketContainer" ref="a248ed8ab590d1e73a7bd2cfe2257b3ff" args="(DWORD Container, DWORD ItemModelID)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classc_message.html">cMessage</a> cHealingCon::CreatePacketContainer </td>
- <td>(</td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>Container</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>ItemModelID</em></td><td> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td><td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Handles the message sent for the creation of healing containers in a container.</p>
- <p>This function is called whenever a healing container should be created in the inventory of another object.</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>
- </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_healing_con_8cpp.html">cHealingCon.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>
|