123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- <!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: cNPCModels 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>cNPCModels Class Reference</h1><!-- doxytag: class="cNPCModels" -->
- <p><a href="classc_n_p_c_models-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"><a class="anchor" id="a5650b24658d38dff8af93d8a796c368d"></a><!-- doxytag: member="cNPCModels::cNPCModels" ref="a5650b24658d38dff8af93d8a796c368d" args="(DWORD dwModelID, BOOL fAddToHash=TRUE)" -->
- </td><td class="memItemRight" valign="bottom"><b>cNPCModels</b> (DWORD dwModelID, BOOL fAddToHash=TRUE)</td></tr>
- <tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa2031c12e20beb7d4f21fd1d58ef7184"></a><!-- doxytag: member="cNPCModels::Hash_Load" ref="aa2031c12e20beb7d4f21fd1d58ef7184" args="()" -->
- static void </td><td class="memItemRight" valign="bottom"><b>Hash_Load</b> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7df779f11552b0a96091d5ebf3b489f2"></a><!-- doxytag: member="cNPCModels::Hash_New" ref="a7df779f11552b0a96091d5ebf3b489f2" args="(DWORD &dwModelID)" -->
- static <a class="el" href="classc_n_p_c_models.html">cNPCModels</a> * </td><td class="memItemRight" valign="bottom"><b>Hash_New</b> (DWORD &dwModelID)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_n_p_c_models.html#a814894333870ff61c8d61095c99eb112">Hash_Erase</a> ()</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_n_p_c_models.html#a5e939cf1b4863caf13cd62a6d98447bb">Hash_Remove</a> (<a class="el" href="classc_n_p_c_models.html">cNPCModels</a> *pcModel)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classc_n_p_c_models.html">cNPCModels</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_n_p_c_models.html#a948d342908872def4afaa35941aae53f">FindModel</a> (DWORD dwModelID)</td></tr>
- <tr><td colspan="2"><h2>Public Attributes</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab079b1f6a0d72c53a277a79e39f89628"></a><!-- doxytag: member="cNPCModels::m_strName" ref="ab079b1f6a0d72c53a277a79e39f89628" args="" -->
- std::string </td><td class="memItemRight" valign="bottom"><b>m_strName</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac295fe7f5cfb1aebd822679ca649ef7a"></a><!-- doxytag: member="cNPCModels::m_strDescription" ref="ac295fe7f5cfb1aebd822679ca649ef7a" args="" -->
- std::string </td><td class="memItemRight" valign="bottom"><b>m_strDescription</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a76344af0fc2208af9611e3b9db80fed8"></a><!-- doxytag: member="cNPCModels::m_wPaletteCode" ref="a76344af0fc2208af9611e3b9db80fed8" args="" -->
- WORD </td><td class="memItemRight" valign="bottom"><b>m_wPaletteCode</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7a8acd513274f02d5b7d96918621e75d"></a><!-- doxytag: member="cNPCModels::m_dwModelID" ref="a7a8acd513274f02d5b7d96918621e75d" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwModelID</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5cc63c174f016feaf19489189b86361e"></a><!-- doxytag: member="cNPCModels::m_flScale" ref="a5cc63c174f016feaf19489189b86361e" args="" -->
- float </td><td class="memItemRight" valign="bottom"><b>m_flScale</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a195f53e93961c32d8b5ed2a33fff35e7"></a><!-- doxytag: member="cNPCModels::m_bPaletteChange" ref="a195f53e93961c32d8b5ed2a33fff35e7" args="" -->
- BYTE </td><td class="memItemRight" valign="bottom"><b>m_bPaletteChange</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af0a7b8778b032bea8848560dcb769304"></a><!-- doxytag: member="cNPCModels::m_wPaletteVector" ref="af0a7b8778b032bea8848560dcb769304" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_wPaletteVector</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6078c464443bc594cd5b642051984af3"></a><!-- doxytag: member="cNPCModels::m_vectorPal" ref="a6078c464443bc594cd5b642051984af3" args="[255]" -->
- <a class="el" href="structs_palette_change.html">sPaletteChange</a> </td><td class="memItemRight" valign="bottom"><b>m_vectorPal</b> [255]</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a04bce713a952daa996413bd697a7e1fa"></a><!-- doxytag: member="cNPCModels::m_bTextureChange" ref="a04bce713a952daa996413bd697a7e1fa" args="" -->
- BYTE </td><td class="memItemRight" valign="bottom"><b>m_bTextureChange</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a30522b6a9d33af802b38760336b953ae"></a><!-- doxytag: member="cNPCModels::m_wTextureVector" ref="a30522b6a9d33af802b38760336b953ae" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_wTextureVector</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8d4e60020b22204efce2627ad67d9d16"></a><!-- doxytag: member="cNPCModels::m_vectorTex" ref="a8d4e60020b22204efce2627ad67d9d16" args="[255]" -->
- <a class="el" href="structs_texture_change.html">sTextureChange</a> </td><td class="memItemRight" valign="bottom"><b>m_vectorTex</b> [255]</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afeb84d923ebdd1436cb8f79e2b4942d8"></a><!-- doxytag: member="cNPCModels::m_bModelChange" ref="afeb84d923ebdd1436cb8f79e2b4942d8" args="" -->
- BYTE </td><td class="memItemRight" valign="bottom"><b>m_bModelChange</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="accbbd8432551ddfeecc34cc9379583b3"></a><!-- doxytag: member="cNPCModels::m_wModelVector" ref="accbbd8432551ddfeecc34cc9379583b3" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_wModelVector</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af8160005e166faa773236b9ffd012549"></a><!-- doxytag: member="cNPCModels::m_vectorMod" ref="af8160005e166faa773236b9ffd012549" args="[255]" -->
- <a class="el" href="structs_model_change.html">sModelChange</a> </td><td class="memItemRight" valign="bottom"><b>m_vectorMod</b> [255]</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac1bc436ca5671c4d41b4ef1883110a46"></a><!-- doxytag: member="cNPCModels::m_wModel" ref="ac1bc436ca5671c4d41b4ef1883110a46" args="" -->
- WORD </td><td class="memItemRight" valign="bottom"><b>m_wModel</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ada149054a2472c45a52e1c437d35d011"></a><!-- doxytag: member="cNPCModels::m_wIcon" ref="ada149054a2472c45a52e1c437d35d011" args="" -->
- WORD </td><td class="memItemRight" valign="bottom"><b>m_wIcon</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a481f534af7f1f8def8459cad9fae2e4c"></a><!-- doxytag: member="cNPCModels::m_dwModelNumber" ref="a481f534af7f1f8def8459cad9fae2e4c" args="" -->
- DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwModelNumber</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aef87a7f604079757cf2f53d34d3462fe"></a><!-- doxytag: member="cNPCModels::m_cAnimations" ref="aef87a7f604079757cf2f53d34d3462fe" args="" -->
- <a class="el" href="structc_animates.html">cAnimates</a> </td><td class="memItemRight" valign="bottom"><b>m_cAnimations</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0fec02eecc20a8c2b96d5b43a2d0711b"></a><!-- doxytag: member="cNPCModels::m_pcNext" ref="a0fec02eecc20a8c2b96d5b43a2d0711b" args="" -->
- <a class="el" href="classc_n_p_c_models.html">cNPCModels</a> * </td><td class="memItemRight" valign="bottom"><b>m_pcNext</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a77faf25500da4534c6909701d3fd53a4"></a><!-- doxytag: member="cNPCModels::m_pcPrev" ref="a77faf25500da4534c6909701d3fd53a4" args="" -->
- <a class="el" href="classc_n_p_c_models.html">cNPCModels</a> * </td><td class="memItemRight" valign="bottom"><b>m_pcPrev</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a76de976f9504424260c76cdcda2ebfcc"></a><!-- doxytag: member="cNPCModels::m_lstNPCModels" ref="a76de976f9504424260c76cdcda2ebfcc" args="" -->
- std::list< <a class="el" href="classc_n_p_c_models.html">cNPCModels</a> * > </td><td class="memItemRight" valign="bottom"><b>m_lstNPCModels</b></td></tr>
- <tr><td colspan="2"><h2>Friends</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af9cf39fc065c0c9c6040c8d5849cbdce"></a><!-- doxytag: member="cNPCModels::cMasterServer" ref="af9cf39fc065c0c9c6040c8d5849cbdce" args="" -->
- class </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_n_p_c_models.html#af9cf39fc065c0c9c6040c8d5849cbdce">cMasterServer</a></td></tr>
- </table>
- <hr/><h2>Member Function Documentation</h2>
- <a class="anchor" id="a948d342908872def4afaa35941aae53f"></a><!-- doxytag: member="cNPCModels::FindModel" ref="a948d342908872def4afaa35941aae53f" args="(DWORD dwModelID)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname"><a class="el" href="classc_n_p_c_models.html">cNPCModels</a> * cNPCModels::FindModel </td>
- <td>(</td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>dwModelID</em></td>
- <td> ) </td>
- <td><code> [static]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Finds an NPC model.</p>
- <p>This function is called when a particular NPC model needs to be found. The search is performed by searching for the NPC model's model ID.</p>
- <dl><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>dwModelID</em> </td><td>- The NPC model's model ID.</td></tr>
- </table>
- </dd>
- </dl>
- <dl class="return"><dt><b>Returns:</b></dt><dd>*cNPCModels - A pointer to the NPC model. </dd></dl>
- </div>
- </div>
- <a class="anchor" id="a814894333870ff61c8d61095c99eb112"></a><!-- doxytag: member="cNPCModels::Hash_Erase" ref="a814894333870ff61c8d61095c99eb112" args="()" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cNPCModels::Hash_Erase </td>
- <td>(</td>
- <td class="paramname"></td>
- <td> ) </td>
- <td><code> [static]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Erases all NPC models from the NPC model hash list. </p>
- </div>
- </div>
- <a class="anchor" id="a5e939cf1b4863caf13cd62a6d98447bb"></a><!-- doxytag: member="cNPCModels::Hash_Remove" ref="a5e939cf1b4863caf13cd62a6d98447bb" args="(cNPCModels *pcModel)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void cNPCModels::Hash_Remove </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="classc_n_p_c_models.html">cNPCModels</a> * </td>
- <td class="paramname"> <em>pcModel</em></td>
- <td> ) </td>
- <td><code> [static]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Removes an NPC model from the NPC model hash list.</p>
- <dl><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>*pcModel</em> </td><td>- A pointer to the NPC model to be removed. </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="c_n_p_c_models_8h_source.html">cNPCModels.h</a></li>
- <li>E:/uas2/Server/<a class="el" href="c_n_p_c_models_8cpp.html">cNPCModels.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>
|