123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238 |
- <!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: cHealingKits 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>cHealingKits Class Reference</h1><!-- doxytag: class="cHealingKits" --><!-- doxytag: inherits="cObject" --><div class="dynheader">
- Inheritance diagram for cHealingKits:</div>
- <div class="dynsection">
- <div class="center">
- <img src="classc_healing_kits.png" usemap="#cHealingKits_map" alt=""/>
- <map id="cHealingKits_map" name="cHealingKits_map">
- <area href="classc_object.html" alt="cObject" shape="rect" coords="0,0,82,24"/>
- </map>
- </div>
- </div>
- <p><a href="classc_healing_kits-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_kits.html#a643cba292fce6c581ae68e5cfd3ec4fe">cHealingKits</a> (DWORD dwGUID, <a class="el" href="structc_location.html">cLocation</a> &Loc, DWORD dwModel, float flScale, BOOL fSolid, DWORD dwIcon, std::string strName, std::string strDescription, DWORD dwValue, WORD wWeight, WORD wUses, WORD wUseLimit)</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_kits.html#a202123662e64bf7b91e71636b613634f">CreatePacket</a> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_healing_kits.html#af1aaaa03464b1041de5240dfa3cac5ce">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_kits.html#a3cd8e5ccb307ff7705435590ca0bba6b">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="ac7308c4d0523773c34745b26f2f8acfc"></a><!-- doxytag: member="cHealingKits::GetItemModelID" ref="ac7308c4d0523773c34745b26f2f8acfc" args="()" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>GetItemModelID</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="ac6a72cabf7dd42cf00cd7b2d2adb00ac"></a><!-- doxytag: member="cHealingKits::m_dwItemModelID" ref="ac6a72cabf7dd42cf00cd7b2d2adb00ac" 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="adeaaf03b4b32d166be0e94f3a2134e68"></a><!-- doxytag: member="cHealingKits::m_wWeight" ref="adeaaf03b4b32d166be0e94f3a2134e68" args="" -->
- WORD </td><td class="memItemRight" valign="bottom"><b>m_wWeight</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa9496ae775862ff6591a20658ef312d9"></a><!-- doxytag: member="cHealingKits::m_dwValue" ref="aa9496ae775862ff6591a20658ef312d9" 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="a40a1c086a8fa3869fb05c97e83b260e5"></a><!-- doxytag: member="cHealingKits::m_wUses" ref="a40a1c086a8fa3869fb05c97e83b260e5" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_wUses</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6c890bf8bea50a2f820e75413caab9f6"></a><!-- doxytag: member="cHealingKits::m_wUseLimit" ref="a6c890bf8bea50a2f820e75413caab9f6" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_wUseLimit</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4e14ea2a240c4240d3849b7ca495622d"></a><!-- doxytag: member="cHealingKits::m_fIsStackable" ref="a4e14ea2a240c4240d3849b7ca495622d" 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="ae463b1520e43790a82062325779848e5"></a><!-- doxytag: member="cHealingKits::m_fEquippable" ref="ae463b1520e43790a82062325779848e5" 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="ac37c0efc5972adec1027427daf445703"></a><!-- doxytag: member="cHealingKits::m_fIsSolid" ref="ac37c0efc5972adec1027427daf445703" 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="a47fe97fa12bff70e2bad831a0c5f55ee"></a><!-- doxytag: member="cHealingKits::m_strDescription" ref="a47fe97fa12bff70e2bad831a0c5f55ee" 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="a643cba292fce6c581ae68e5cfd3ec4fe"></a><!-- doxytag: member="cHealingKits::cHealingKits" ref="a643cba292fce6c581ae68e5cfd3ec4fe" args="(DWORD dwGUID, cLocation &Loc, DWORD dwModel, float flScale, BOOL fSolid, DWORD dwIcon, std::string strName, std::string strDescription, DWORD dwValue, WORD wWeight, WORD wUses, WORD wUseLimit)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">cHealingKits::cHealingKits </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">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>dwValue</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">WORD </td>
- <td class="paramname"> <em>wWeight</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><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 kit object is initialized. </p>
- </div>
- </div>
- <hr/><h2>Member Function Documentation</h2>
- <a class="anchor" id="a3cd8e5ccb307ff7705435590ca0bba6b"></a><!-- doxytag: member="cHealingKits::Action" ref="a3cd8e5ccb307ff7705435590ca0bba6b" args="(cClient *who)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cHealingKits::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 message sent for the creation of healing kits in a container.</p>
- <p>This function is called whenever a healing kit 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>
- <p>Implements <a class="el" href="classc_object.html">cObject</a>.</p>
- </div>
- </div>
- <a class="anchor" id="af1aaaa03464b1041de5240dfa3cac5ce"></a><!-- doxytag: member="cHealingKits::Assess" ref="af1aaaa03464b1041de5240dfa3cac5ce" args="(cClient *pcAssesser)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cHealingKits::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 kit objects.</p>
- <p>This function is called whenever a healing kit 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="a202123662e64bf7b91e71636b613634f"></a><!-- doxytag: member="cHealingKits::CreatePacket" ref="a202123662e64bf7b91e71636b613634f" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classc_message.html">cMessage</a> cHealingKits::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 kits in the world.</p>
- <p>This function is called whenever a healing kit 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_healing_kits_8cpp.html">cHealingKits.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>
|