123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651 |
- <!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: cMonster 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>cMonster Class Reference</h1><!-- doxytag: class="cMonster" --><!-- doxytag: inherits="cObject" --><div class="dynheader">
- Inheritance diagram for cMonster:</div>
- <div class="dynsection">
- <div class="center">
- <img src="classc_monster.png" usemap="#cMonster_map" alt=""/>
- <map id="cMonster_map" name="cMonster_map">
- <area href="classc_object.html" alt="cObject" shape="rect" coords="0,0,65,24"/>
- </map>
- </div>
- </div>
- <p><a href="classc_monster-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_monster.html#a67ff3c100dd32acaf527bb8f2bb3a6a6">cMonster</a> (DWORD dwGUID, DWORD dwMonsterID, <a class="el" href="structc_location.html">cLocation</a> *pcLoc, char *szName, char *szDesc, <a class="el" href="structc_mon_stats.html">cMonStats</a> *pcmsStats, DWORD dwRespawn, DWORD dwDecay, DWORD dwChase, DWORD dwInfluence, DWORD dwExp_Value, DWORD dwHealth, DWORD dwStamina, DWORD dwMana)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_monster.html#a193fc08e23f83528570730275859ff4a">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_monster.html#a1e7eee168a9de2e500b41fe6566855b1">Action</a> (<a class="el" href="classc_client.html">cClient</a> *who)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_monster.html#aba44fbb509b06ae4a5754f51b770b2d6">Attack</a> (<a class="el" href="classc_client.html">cClient</a> *who, float flDamageSlider, DWORD F7B0Sequence)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_monster.html#ad2ed9828e2616cc5c8ff1d32c34c8fd4">SpellAttack</a> (<a class="el" href="classc_client.html">cClient</a> *who, <a class="el" href="classc_war_spell.html">cWarSpell</a> *pcWarSpell, DWORD F7B0Sequence)</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_monster.html#a81596747a08432ed36a8864de0ed0bec">CreatePacket</a> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8ef8181e4d5407a50db790a1d367900a"></a><!-- doxytag: member="cMonster::Animation" ref="a8ef8181e4d5407a50db790a1d367900a" args="(WORD wAnim, float flPlaySpeed=1.0f)" -->
- <a class="el" href="classc_message.html">cMessage</a> </td><td class="memItemRight" valign="bottom"><b>Animation</b> (WORD wAnim, float flPlaySpeed=1.0f)</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_monster.html#a3c44446cdf5f87b0c49159d0bf961066">DoDamageMessage</a> (DWORD F7B0seq, std::string target, DWORD damagetype, double severity, DWORD amount)</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_monster.html#ab3dd7432fab3d59476294cc514627f5d">RecieveDamageMessage</a> (DWORD F7B0seq, std::string giver, DWORD damagetype, double severity, DWORD amount, DWORD location)</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_monster.html#ae1c89da88da55f46d37864057e289ebd">DecrementHealth</a> (DWORD dwGUID, WORD amount, signed int &newhealth)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1d70d27343a7a8356d04fac26662478e"></a><!-- doxytag: member="cMonster::SetHealth" ref="a1d70d27343a7a8356d04fac26662478e" args="(DWORD dwNewHealth)" -->
- <a class="el" href="classc_message.html">cMessage</a> </td><td class="memItemRight" valign="bottom"><b>SetHealth</b> (DWORD dwNewHealth)</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_monster.html#afebc7ba7cd5d2ed4d44ad2bad8bb94aa">AdjustBar</a> (DWORD dwGUID, DWORD F7B0Sequence)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4aa251bd2c94e8562f24e66ef99acfd6"></a><!-- doxytag: member="cMonster::ChangeCombatMode" ref="a4aa251bd2c94e8562f24e66ef99acfd6" args="(bool fMode)" -->
- <a class="el" href="classc_message.html">cMessage</a> </td><td class="memItemRight" valign="bottom"><b>ChangeCombatMode</b> (bool fMode)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a052e71be6966287f44c2333c0a17d31f"></a><!-- doxytag: member="cMonster::CombatAnimation" ref="a052e71be6966287f44c2333c0a17d31f" args="(DWORD dwTarget, WORD wAttackAnim)" -->
- <a class="el" href="classc_message.html">cMessage</a> </td><td class="memItemRight" valign="bottom"><b>CombatAnimation</b> (DWORD dwTarget, WORD wAttackAnim)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2863294d6047831f150981e06e130143"></a><!-- doxytag: member="cMonster::TurnToTarget" ref="a2863294d6047831f150981e06e130143" args="(float flHeading, DWORD dwTargetGUID)" -->
- <a class="el" href="classc_message.html">cMessage</a> </td><td class="memItemRight" valign="bottom"><b>TurnToTarget</b> (float flHeading, DWORD dwTargetGUID)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aec36634c75d7ba6ea359c727237edc0e"></a><!-- doxytag: member="cMonster::MoveToTarget" ref="aec36634c75d7ba6ea359c727237edc0e" args="(cClient *pcWho)" -->
- <a class="el" href="classc_message.html">cMessage</a> </td><td class="memItemRight" valign="bottom"><b>MoveToTarget</b> (<a class="el" href="classc_client.html">cClient</a> *pcWho)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a11f32ed5b462faff569c6ac95390d768"></a><!-- doxytag: member="cMonster::MoveTarget" ref="a11f32ed5b462faff569c6ac95390d768" args="(cClient *pcWho)" -->
- <a class="el" href="classc_message.html">cMessage</a> </td><td class="memItemRight" valign="bottom"><b>MoveTarget</b> (<a class="el" href="classc_client.html">cClient</a> *pcWho)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adc55cefc2d066d762d842c349e62c361"></a><!-- doxytag: member="cMonster::ReturnToSpawn" ref="adc55cefc2d066d762d842c349e62c361" args="()" -->
- <a class="el" href="classc_message.html">cMessage</a> </td><td class="memItemRight" valign="bottom"><b>ReturnToSpawn</b> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_monster.html#af9fd776f37a328ae148ea5aaa7faaa6b">ReSpawn</a> (<a class="el" href="classc_object.html">cObject</a> *pcObject)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4c5ecc22eeefc13b19b1db1af7cd2ff3"></a><!-- doxytag: member="cMonster::RemoveMonster" ref="a4c5ecc22eeefc13b19b1db1af7cd2ff3" args="(cObject *pcObject)" -->
- void </td><td class="memItemRight" valign="bottom"><b>RemoveMonster</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="a56ed25f5a7636710637adc02adb05973"></a><!-- doxytag: member="cMonster::MonsterCorpse" ref="a56ed25f5a7636710637adc02adb05973" args="()" -->
- void </td><td class="memItemRight" valign="bottom"><b>MonsterCorpse</b> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2a3a546e0fa7f5a7d586f7121fbdb8ca"></a><!-- doxytag: member="cMonster::SetPosition" ref="a2a3a546e0fa7f5a7d586f7121fbdb8ca" args="()" -->
- <a class="el" href="classc_message.html">cMessage</a> </td><td class="memItemRight" valign="bottom"><b>SetPosition</b> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae65bd067ec4ace1ed97635547e884d12"></a><!-- doxytag: member="cMonster::GetMonsterModelID" ref="ae65bd067ec4ace1ed97635547e884d12" args="()" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>GetMonsterModelID</b> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a04c14b8c696ef9fe923c5e6c63a2792a"></a><!-- doxytag: member="cMonster::GetTotalHealth" ref="a04c14b8c696ef9fe923c5e6c63a2792a" args="()" -->
- WORD </td><td class="memItemRight" valign="bottom"><b>GetTotalHealth</b> ()</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_monster.html#a16dda846eb5f02783ee0f5bea5d30887">DeathAnimation</a> (LPVOID wp, LPVOID lp)</td></tr>
- <tr><td colspan="2"><h2>Public Attributes</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a30c9304104fbe8f69ab327c214fbc9c2"></a><!-- doxytag: member="cMonster::m_dwMonsterModelID" ref="a30c9304104fbe8f69ab327c214fbc9c2" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwMonsterModelID</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6400e45be2ba7934c7ac6dbf33a921ac"></a><!-- doxytag: member="cMonster::m_wNumMovements" ref="a6400e45be2ba7934c7ac6dbf33a921ac" args="" -->
- WORD </td><td class="memItemRight" valign="bottom"><b>m_wNumMovements</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a79d039b37ee555d90331146316d1d130"></a><!-- doxytag: member="cMonster::m_wNumAnimInteracts" ref="a79d039b37ee555d90331146316d1d130" args="" -->
- WORD </td><td class="memItemRight" valign="bottom"><b>m_wNumAnimInteracts</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaa2668d4e8a89167f06fc85086ad122a"></a><!-- doxytag: member="cMonster::m_wNumBubbleModes" ref="aaa2668d4e8a89167f06fc85086ad122a" args="" -->
- WORD </td><td class="memItemRight" valign="bottom"><b>m_wNumBubbleModes</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6eab3f2776ddbbf02ffdcec8dbf28db4"></a><!-- doxytag: member="cMonster::m_wNumJumps" ref="a6eab3f2776ddbbf02ffdcec8dbf28db4" args="" -->
- WORD </td><td class="memItemRight" valign="bottom"><b>m_wNumJumps</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac18a161b968ebca0975ccb6cfe2083cd"></a><!-- doxytag: member="cMonster::m_wNumPortals" ref="ac18a161b968ebca0975ccb6cfe2083cd" args="" -->
- WORD </td><td class="memItemRight" valign="bottom"><b>m_wNumPortals</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a88553688d81ee2d952001126c7d4d96e"></a><!-- doxytag: member="cMonster::m_wAnimCount" ref="a88553688d81ee2d952001126c7d4d96e" args="" -->
- WORD </td><td class="memItemRight" valign="bottom"><b>m_wAnimCount</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab23d023bc80be21a969af23365c3e1b1"></a><!-- doxytag: member="cMonster::m_wNumOverrides" ref="ab23d023bc80be21a969af23365c3e1b1" args="" -->
- WORD </td><td class="memItemRight" valign="bottom"><b>m_wNumOverrides</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab17cd4c4d16eab2a900e2ebf6200ca0c"></a><!-- doxytag: member="cMonster::m_wNumLogins" ref="ab17cd4c4d16eab2a900e2ebf6200ca0c" args="" -->
- WORD </td><td class="memItemRight" valign="bottom"><b>m_wNumLogins</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af19d26a8c338371d7b21a17b1f469128"></a><!-- doxytag: member="cMonster::m_dwLevel" ref="af19d26a8c338371d7b21a17b1f469128" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwLevel</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acfb4dfdb9e3424de6bb6f67bd3b96423"></a><!-- doxytag: member="cMonster::m_dwCurrenthealth" ref="acfb4dfdb9e3424de6bb6f67bd3b96423" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwCurrenthealth</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa2b41a93a9c41891c8cc859e4f2f40a0"></a><!-- doxytag: member="cMonster::m_dwMaxHealth" ref="aa2b41a93a9c41891c8cc859e4f2f40a0" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwMaxHealth</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a794c7169d03de52e8d9c88ea5714a632"></a><!-- doxytag: member="cMonster::m_dwStr" ref="a794c7169d03de52e8d9c88ea5714a632" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwStr</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e4bc1f4a683000090ec497c00fd41b1"></a><!-- doxytag: member="cMonster::m_dwEnd" ref="a5e4bc1f4a683000090ec497c00fd41b1" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwEnd</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5921094b8f15224819530c375194d441"></a><!-- doxytag: member="cMonster::m_dwQuick" ref="a5921094b8f15224819530c375194d441" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwQuick</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a88637168a1c7c6a69fedbddd1cad924a"></a><!-- doxytag: member="cMonster::m_dwCoord" ref="a88637168a1c7c6a69fedbddd1cad924a" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwCoord</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac82f175aeefbab26eaaa7275341c6e14"></a><!-- doxytag: member="cMonster::m_dwFocus" ref="ac82f175aeefbab26eaaa7275341c6e14" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwFocus</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a30dd4ba3b75c0da776d561f84a1b595e"></a><!-- doxytag: member="cMonster::m_dwSelf" ref="a30dd4ba3b75c0da776d561f84a1b595e" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwSelf</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7e44d896b50542baa7237a33f080bb99"></a><!-- doxytag: member="cMonster::m_dwCurrentStamina" ref="a7e44d896b50542baa7237a33f080bb99" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwCurrentStamina</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab4cce67e26b99928cc9dccc814fc0224"></a><!-- doxytag: member="cMonster::m_dwCurrentMana" ref="ab4cce67e26b99928cc9dccc814fc0224" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwCurrentMana</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0b1981d6ea990eecd720d3ff20410382"></a><!-- doxytag: member="cMonster::m_dwMaxStamina" ref="a0b1981d6ea990eecd720d3ff20410382" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwMaxStamina</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="addd11b6a5db43da6bfc6c7c5805dfcfc"></a><!-- doxytag: member="cMonster::m_dwMaxMana" ref="addd11b6a5db43da6bfc6c7c5805dfcfc" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwMaxMana</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a90f8fcbee3d4327046904bfb7de1bc04"></a><!-- doxytag: member="cMonster::m_dwSpecies" ref="a90f8fcbee3d4327046904bfb7de1bc04" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwSpecies</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8221bab138c9ada1cf25e1a9e8232700"></a><!-- doxytag: member="cMonster::m_wCurAnim" ref="a8221bab138c9ada1cf25e1a9e8232700" args="" -->
- WORD </td><td class="memItemRight" valign="bottom"><b>m_wCurAnim</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6310c561e5fdc59058e819e4559f31d9"></a><!-- doxytag: member="cMonster::m_wMeleeSequence" ref="a6310c561e5fdc59058e819e4559f31d9" args="" -->
- WORD </td><td class="memItemRight" valign="bottom"><b>m_wMeleeSequence</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeda410666c54e635c511d7b49e207114"></a><!-- doxytag: member="cMonster::m_dwF7B0Sequence" ref="aeda410666c54e635c511d7b49e207114" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwF7B0Sequence</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6660e10d5c71aaeb9a18c9daf0dca091"></a><!-- doxytag: member="cMonster::m_bStatSequence" ref="a6660e10d5c71aaeb9a18c9daf0dca091" args="" -->
- BYTE </td><td class="memItemRight" valign="bottom"><b>m_bStatSequence</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6be6dd54d92ba49492b408454cd9cd36"></a><!-- doxytag: member="cMonster::m_dwUnknownCount" ref="a6be6dd54d92ba49492b408454cd9cd36" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwUnknownCount</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af75e00a8714bc6025ba459157a74b328"></a><!-- doxytag: member="cMonster::m_bInitialAnimation" ref="af75e00a8714bc6025ba459157a74b328" args="[200]" -->
- BYTE </td><td class="memItemRight" valign="bottom"><b>m_bInitialAnimation</b> [200]</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adcf9dbf00e28173cb28923ca5d77ee78"></a><!-- doxytag: member="cMonster::m_bCombatMode" ref="adcf9dbf00e28173cb28923ca5d77ee78" args="" -->
- BYTE </td><td class="memItemRight" valign="bottom"><b>m_bCombatMode</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaaf37e94e6dd58b228769f790afb3bf0"></a><!-- doxytag: member="cMonster::m_TargetLocation" ref="aaaf37e94e6dd58b228769f790afb3bf0" args="" -->
- <a class="el" href="structc_location.html">cLocation</a> </td><td class="memItemRight" valign="bottom"><b>m_TargetLocation</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8ab9156eda1d7aafe133b863bd050e42"></a><!-- doxytag: member="cMonster::m_iPosUpdateCount" ref="a8ab9156eda1d7aafe133b863bd050e42" args="" -->
- int </td><td class="memItemRight" valign="bottom"><b>m_iPosUpdateCount</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2b6c43db91a8caf011c6bc47653b1a01"></a><!-- doxytag: member="cMonster::m_fHasTarget" ref="a2b6c43db91a8caf011c6bc47653b1a01" args="" -->
- bool </td><td class="memItemRight" valign="bottom"><b>m_fHasTarget</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a36494fef0546414756525549b0a340ca"></a><!-- doxytag: member="cMonster::m_dwTargetGUID" ref="a36494fef0546414756525549b0a340ca" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwTargetGUID</b></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="cMonster::cClient" ref="a78e9d7036b7c968e4844315ec857b73d" args="" -->
- class </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_monster.html#a78e9d7036b7c968e4844315ec857b73d">cClient</a></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abb4e3bf0f0a0e65ec5f7a2776d264707"></a><!-- doxytag: member="cMonster::SimpleAI" ref="abb4e3bf0f0a0e65ec5f7a2776d264707" args="" -->
- class </td><td class="memItemRight" valign="bottom"><b>SimpleAI</b></td></tr>
- </table>
- <hr/><h2>Constructor & Destructor Documentation</h2>
- <a class="anchor" id="a67ff3c100dd32acaf527bb8f2bb3a6a6"></a><!-- doxytag: member="cMonster::cMonster" ref="a67ff3c100dd32acaf527bb8f2bb3a6a6" args="(DWORD dwGUID, DWORD dwMonsterID, cLocation *pcLoc, char *szName, char *szDesc, cMonStats *pcmsStats, DWORD dwRespawn, DWORD dwDecay, DWORD dwChase, DWORD dwInfluence, DWORD dwExp_Value, DWORD dwHealth, DWORD dwStamina, DWORD dwMana)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">cMonster::cMonster </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>dwModelID</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>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="structc_mon_stats.html">cMonStats</a> * </td>
- <td class="paramname"> <em>pcmsStats</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>dwRespawn</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>dwDecay</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>dwChase</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>dwInfluence</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>dwExp_Value</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>dwHealth</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>dwStamina</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>dwMana</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 monster object is initialized.</p>
- <p>Handles the creation of monsters.</p>
- <p>Called whenever a monster object should be initialized. </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/><h2>Member Function Documentation</h2>
- <a class="anchor" id="a1e7eee168a9de2e500b41fe6566855b1"></a><!-- doxytag: member="cMonster::Action" ref="a1e7eee168a9de2e500b41fe6566855b1" args="(cClient *who)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cMonster::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 monster objects.</p>
- <p>This member function is called whenever a monster should perform an action. </p>
- <p>Implements <a class="el" href="classc_object.html">cObject</a>.</p>
- </div>
- </div>
- <a class="anchor" id="afebc7ba7cd5d2ed4d44ad2bad8bb94aa"></a><!-- doxytag: member="cMonster::AdjustBar" ref="afebc7ba7cd5d2ed4d44ad2bad8bb94aa" args="(DWORD dwGUID, DWORD F7B0Sequence)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classc_message.html">cMessage</a> cMonster::AdjustBar </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>F7B0Sequence</em></td><td> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td><td><code> [virtual]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Handles the message sent for the setting of creatures' health bars.</p>
- <p>This member function is called when a monster's health should be altered for a client. </p>
- <dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classc_message.html">cMessage</a> - Returns a Game Event (0x0000F7B0) server message of type Update Health (0x000001C0). </dd></dl>
- <p>Reimplemented from <a class="el" href="classc_object.html">cObject</a>.</p>
- </div>
- </div>
- <a class="anchor" id="a193fc08e23f83528570730275859ff4a"></a><!-- doxytag: member="cMonster::Assess" ref="a193fc08e23f83528570730275859ff4a" args="(cClient *pcAssesser)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cMonster::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 monster objects.</p>
- <p>This member function is called whenever a monster is assessed by a client. 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="aba44fbb509b06ae4a5754f51b770b2d6"></a><!-- doxytag: member="cMonster::Attack" ref="aba44fbb509b06ae4a5754f51b770b2d6" args="(cClient *who, float flDamageSlider, DWORD F7B0Sequence)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cMonster::Attack </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classc_client.html">cClient</a> * </td>
- <td class="paramname"> <em>who</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">float </td>
- <td class="paramname"> <em>flDamageSlider</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>F7B0Sequence</em></td><td> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td><td><code> [virtual]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Handles functionality for when monster objects are physically attacked.</p>
- <p>This member function is called whenever a monster is physically attacked.</p>
- <dl><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>*who</em> </td><td>- A pointer to the client physically attacking the monster. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>flDamageSlider</em> </td><td>- The value of the client's damage slider. F7B0 Sequence - The given client's F7B0 sequence number. </td></tr>
- </table>
- </dd>
- </dl>
- <p>Reimplemented from <a class="el" href="classc_object.html">cObject</a>.</p>
- </div>
- </div>
- <a class="anchor" id="a81596747a08432ed36a8864de0ed0bec"></a><!-- doxytag: member="cMonster::CreatePacket" ref="a81596747a08432ed36a8864de0ed0bec" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classc_message.html">cMessage</a> cMonster::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 monsters.</p>
- <p>This member function is called whenever a monster 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="a16dda846eb5f02783ee0f5bea5d30887"></a><!-- doxytag: member="cMonster::DeathAnimation" ref="a16dda846eb5f02783ee0f5bea5d30887" args="(LPVOID wp, LPVOID lp)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">int cMonster::DeathAnimation </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 death animation for a killed monster. </p>
- </div>
- </div>
- <a class="anchor" id="ae1c89da88da55f46d37864057e289ebd"></a><!-- doxytag: member="cMonster::DecrementHealth" ref="ae1c89da88da55f46d37864057e289ebd" args="(DWORD dwGUID, WORD amount, signed int &newhealth)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classc_message.html">cMessage</a> cMonster::DecrementHealth </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">WORD </td>
- <td class="paramname"> <em>amount</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">signed int & </td>
- <td class="paramname"> <em>newhealth</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 updating of creatures' health bars.</p>
- <p>This member function is called whenever a monster's health 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 Game Event (0x0000F7B0) server message of type Update Health (0x000001C0). </dd></dl>
- </div>
- </div>
- <a class="anchor" id="a3c44446cdf5f87b0c49159d0bf961066"></a><!-- doxytag: member="cMonster::DoDamageMessage" ref="a3c44446cdf5f87b0c49159d0bf961066" args="(DWORD F7B0seq, std::string target, DWORD damagetype, double severity, DWORD amount)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classc_message.html">cMessage</a> cMonster::DoDamageMessage </td>
- <td>(</td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>F7B0seq</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">std::string </td>
- <td class="paramname"> <em>target</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>damagetype</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">double </td>
- <td class="paramname"> <em>severity</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>amount</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 clients' melee attacking of monsters.</p>
- <p>This member function is called whenever a client physically attacks a monster. </p>
- <dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classc_message.html">cMessage</a> - Returns a Game Event (0x0000F7B0) server message of type Inflict Melee damage (0x000001B1). </dd></dl>
- </div>
- </div>
- <a class="anchor" id="ab3dd7432fab3d59476294cc514627f5d"></a><!-- doxytag: member="cMonster::RecieveDamageMessage" ref="ab3dd7432fab3d59476294cc514627f5d" args="(DWORD F7B0seq, std::string giver, DWORD damagetype, double severity, DWORD amount, DWORD location)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classc_message.html">cMessage</a> cMonster::RecieveDamageMessage </td>
- <td>(</td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>F7B0seq</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">std::string </td>
- <td class="paramname"> <em>giver</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>damagetype</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">double </td>
- <td class="paramname"> <em>severity</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>amount</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>location</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 melee attacking of clients by monsters.</p>
- <p>This member function is called whenever a client is physically attacked by a monster. </p>
- <dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classc_message.html">cMessage</a> - Returns a Game Event (0x0000F7B0) server message of type Receieve Melee damage (0x000001B2). </dd></dl>
- </div>
- </div>
- <a class="anchor" id="af9fd776f37a328ae148ea5aaa7faaa6b"></a><!-- doxytag: member="cMonster::ReSpawn" ref="af9fd776f37a328ae148ea5aaa7faaa6b" args="(cObject *pcObject)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cMonster::ReSpawn </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classc_object.html">cObject</a> * </td>
- <td class="paramname"> <em>pcObject</em></td>
- <td> ) </td>
- <td><code> [virtual]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Handles the respawning of monster objects .</p>
- <p>This member function is called whenever a monster should be respawned.</p>
- <dl><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>*pcObject</em> </td><td>- A pointer to the monster object to be respawned. </td></tr>
- </table>
- </dd>
- </dl>
- <p>Reimplemented from <a class="el" href="classc_object.html">cObject</a>.</p>
- </div>
- </div>
- <a class="anchor" id="ad2ed9828e2616cc5c8ff1d32c34c8fd4"></a><!-- doxytag: member="cMonster::SpellAttack" ref="ad2ed9828e2616cc5c8ff1d32c34c8fd4" args="(cClient *who, cWarSpell *pcWarSpell, DWORD F7B0Sequence)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cMonster::SpellAttack </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classc_client.html">cClient</a> * </td>
- <td class="paramname"> <em>who</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></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>F7B0Sequence</em></td><td> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td><td></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Handles functionality for when spells are cast on monster objects.</p>
- <p>This member function is called whenever a spell is cast on a monster.</p>
- <dl><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>*who</em> </td><td>- A pointer to the client who cast the spell. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>*pcWarSpell</em> </td><td>- A pointer to the war spell cast by the client. </td></tr>
- <tr><td valign="top"></td><td valign="top"><em>F7B0Sequence</em> </td><td>- The given client's F7B0 sequence number. </td></tr>
- </table>
- </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="_monster_8cpp.html">Monster.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>
|