123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360 |
- <!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: cWarSpell 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>cWarSpell Class Reference</h1><!-- doxytag: class="cWarSpell" --><!-- doxytag: inherits="cObject" --><div class="dynheader">
- Inheritance diagram for cWarSpell:</div>
- <div class="dynsection">
- <div class="center">
- <img src="classc_war_spell.png" usemap="#cWarSpell_map" alt=""/>
- <map id="cWarSpell_map" name="cWarSpell_map">
- <area href="classc_object.html" alt="cObject" shape="rect" coords="0,0,70,24"/>
- </map>
- </div>
- </div>
- <p><a href="classc_war_spell-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_war_spell.html#a7c191dc5ab8ddf64e87ecbabe6d1d834">cWarSpell</a> (DWORD dwGUID, DWORD dwSpellID, <a class="el" href="structc_location.html">cLocation</a> &Loc, <a class="el" href="structc_velocity.html">cVelocity</a> tarVel, DWORD dwSpellModel)</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_war_spell.html#add6d30d37271bbb78f5e405afd66ffcf">CreatePacket</a> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_war_spell.html#a283dba5efdd20687249adcd1d5600bac">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_war_spell.html#ab5472610ded8a20fb6b463be96b0f53e">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_war_spell.html#af13cee1ac53277bf82bc645b681dec7c">WarParticle</a> (<a class="el" href="classc_war_spell.html">cWarSpell</a> *pcWarSpell, DWORD dwEffect, float flSpeed)</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_war_spell.html#abc86c660f7666699d199d17fa541d74e">SpellAnim</a> (<a class="el" href="classc_war_spell.html">cWarSpell</a> *pcWarSpell, WORD wWarAnim, WORD wWarAnim2)</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_war_spell.html#ae776c832cd7218ae6ec3b25e7eaeac50">SetPosition</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_war_spell.html#a5a594bd8410ee159d5b5f0287d76f647">SpellImpact</a> (<a class="el" href="classc_war_spell.html">cWarSpell</a> *pcWarSpell, DWORD dwEffect, float flSpeed)</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_war_spell.html#aa1faff9979e28270e4748118111d9688">SpellVis</a> (<a class="el" href="classc_war_spell.html">cWarSpell</a> *pcWarSpell)</td></tr>
- <tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">static int </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_war_spell.html#a32b1c87fe57acfe28c39694da110c0b0">Move</a> (LPVOID wp, LPVOID lp)</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="cWarSpell::cClient" ref="a78e9d7036b7c968e4844315ec857b73d" args="" -->
- class </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_war_spell.html#a78e9d7036b7c968e4844315ec857b73d">cClient</a></td></tr>
- </table>
- <hr/><h2>Constructor & Destructor Documentation</h2>
- <a class="anchor" id="a7c191dc5ab8ddf64e87ecbabe6d1d834"></a><!-- doxytag: member="cWarSpell::cWarSpell" ref="a7c191dc5ab8ddf64e87ecbabe6d1d834" args="(DWORD dwGUID, DWORD dwSpellID, cLocation &Loc, cVelocity tarVel, DWORD dwSpellModel)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">cWarSpell::cWarSpell </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>dwSpellID</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"><a class="el" href="structc_velocity.html">cVelocity</a> </td>
- <td class="paramname"> <em>tarVel</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>dwSpellModel</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 warspell object is initialized. </p>
- </div>
- </div>
- <hr/><h2>Member Function Documentation</h2>
- <a class="anchor" id="ab5472610ded8a20fb6b463be96b0f53e"></a><!-- doxytag: member="cWarSpell::Action" ref="ab5472610ded8a20fb6b463be96b0f53e" args="(cClient *who)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cWarSpell::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 general actions of war spell objects. </p>
- <p>Implements <a class="el" href="classc_object.html">cObject</a>.</p>
- </div>
- </div>
- <a class="anchor" id="a283dba5efdd20687249adcd1d5600bac"></a><!-- doxytag: member="cWarSpell::Assess" ref="a283dba5efdd20687249adcd1d5600bac" args="(cClient *pcAssesser)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cWarSpell::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 war spell objects. This should not be called. </p>
- <p>Reimplemented from <a class="el" href="classc_object.html">cObject</a>.</p>
- </div>
- </div>
- <a class="anchor" id="add6d30d37271bbb78f5e405afd66ffcf"></a><!-- doxytag: member="cWarSpell::CreatePacket" ref="add6d30d37271bbb78f5e405afd66ffcf" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classc_message.html">cMessage</a> cWarSpell::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 war spells.</p>
- <p>This function is called whenever a war spells should be created 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="a32b1c87fe57acfe28c39694da110c0b0"></a><!-- doxytag: member="cWarSpell::Move" ref="a32b1c87fe57acfe28c39694da110c0b0" args="(LPVOID wp, LPVOID lp)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">int cWarSpell::Move </td>
- <td>(</td>
- <td class="paramtype">LPVOID </td>
- <td class="paramname"> <em>wp</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">LPVOID </td>
- <td class="paramname"> <em>lp</em></td><td> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td><td><code> [static]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Handles the movement of war spells.</p>
- <p>This function is called whenever a war spell's position should be updated. </p>
- </div>
- </div>
- <a class="anchor" id="ae776c832cd7218ae6ec3b25e7eaeac50"></a><!-- doxytag: member="cWarSpell::SetPosition" ref="ae776c832cd7218ae6ec3b25e7eaeac50" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classc_message.html">cMessage</a> cWarSpell::SetPosition </td>
- <td>(</td>
- <td class="paramname"></td>
- <td> ) </td>
- <td><code> [virtual]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Sets the location for war spell objects.</p>
- <p>This function is called whenever the location of a war spell should be updated for a client. </p>
- <dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classc_message.html">cMessage</a> - Returns a Set Position and Motion (0x0000F748) server message. </dd></dl>
- <p>Reimplemented from <a class="el" href="classc_object.html">cObject</a>.</p>
- </div>
- </div>
- <a class="anchor" id="abc86c660f7666699d199d17fa541d74e"></a><!-- doxytag: member="cWarSpell::SpellAnim" ref="abc86c660f7666699d199d17fa541d74e" args="(cWarSpell *pcWarSpell, WORD wWarAnim, WORD wWarAnim2)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classc_message.html">cMessage</a> cWarSpell::SpellAnim </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classc_war_spell.html">cWarSpell</a> * </td>
- <td class="paramname"> <em>pcWarSpell</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">WORD </td>
- <td class="paramname"> <em>wWarAnim</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">WORD </td>
- <td class="paramname"> <em>wWarAnim2</em></td><td> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td><td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Sends a war spell animation.</p>
- <p>This function is called when an animation for a war spell should sent to a client. </p>
- <dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classc_message.html">cMessage</a> - Returns a Set Animation (0x0000F74C) server message. </dd></dl>
- </div>
- </div>
- <a class="anchor" id="a5a594bd8410ee159d5b5f0287d76f647"></a><!-- doxytag: member="cWarSpell::SpellImpact" ref="a5a594bd8410ee159d5b5f0287d76f647" args="(cWarSpell *pcWarSpell, DWORD dwEffect, float flSpeed)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classc_message.html">cMessage</a> cWarSpell::SpellImpact </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classc_war_spell.html">cWarSpell</a> * </td>
- <td class="paramname"> <em>pcWarSpell</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>dwEffect</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"> <em>flSpeed</em></td><td> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td><td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Impact effects for war spell objects.</p>
- <p>This function is called when a war spell should display an impact effect. </p>
- <dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classc_message.html">cMessage</a> - Returns an Apply Visual/Sound Effect (0x0000F755) server message. </dd></dl>
- </div>
- </div>
- <a class="anchor" id="aa1faff9979e28270e4748118111d9688"></a><!-- doxytag: member="cWarSpell::SpellVis" ref="aa1faff9979e28270e4748118111d9688" args="(cWarSpell *pcWarSpell)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classc_message.html">cMessage</a> cWarSpell::SpellVis </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classc_war_spell.html">cWarSpell</a> * </td>
- <td class="paramname"> <em>pcWarSpell</em></td>
- <td> ) </td>
- <td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Toggles war spell visibility.</p>
- <p>This function is called when the visibility of a war spell should change for a client. </p>
- <dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classc_message.html">cMessage</a> - Returns a Toggle Object Visibility (0x0000F74B) server message. </dd></dl>
- </div>
- </div>
- <a class="anchor" id="af13cee1ac53277bf82bc645b681dec7c"></a><!-- doxytag: member="cWarSpell::WarParticle" ref="af13cee1ac53277bf82bc645b681dec7c" args="(cWarSpell *pcWarSpell, DWORD dwEffect, float flSpeed)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classc_message.html">cMessage</a> cWarSpell::WarParticle </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classc_war_spell.html">cWarSpell</a> * </td>
- <td class="paramname"> <em>pcWarSpell</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>dwEffect</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"> <em>flSpeed</em></td><td> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td><td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Particle effects for war spell objects.</p>
- <p>This function is called when a war spell should display a particle effect. </p>
- <dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classc_message.html">cMessage</a> - Returns an Apply Visual/Sound Effect (0x0000F755) 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="_war_spell_8cpp.html">WarSpell.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>
|