123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- <!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: cCharacterServer 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>cCharacterServer Class Reference</h1><!-- doxytag: class="cCharacterServer" -->
- <p>Inherited by <a class="el" href="classc_packet_pipe.html">cPacketPipe< cCharacterServer ></a>.</p>
- <p><a href="classc_character_server-members.html">List of all members.</a></p>
- <table border="0" cellpadding="0" cellspacing="0">
- <tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top">static DWORD </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_character_server.html#a4adf0db50f7a331caf74ce8d51b5201f">ReturnPadOffset</a> (DWORD dwLength)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af6acbbc663142cf135c105e768abbfca"></a><!-- doxytag: member="cCharacterServer::Initialize" ref="af6acbbc663142cf135c105e768abbfca" args="(short nPort, WORD wLogicalID, DWORD dwSendCRCSeed, DWORD dwRecvCRCSeed)" -->
- static void </td><td class="memItemRight" valign="bottom"><b>Initialize</b> (short nPort, WORD wLogicalID, DWORD dwSendCRCSeed, DWORD dwRecvCRCSeed)</td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0b7f69e971e30d63c3652afe9f4229ad"></a><!-- doxytag: member="cCharacterServer::Halt" ref="a0b7f69e971e30d63c3652afe9f4229ad" args="()" -->
- static void </td><td class="memItemRight" valign="bottom"><b>Halt</b> ()</td></tr>
- <tr><td colspan="2"><h2>Static Public Attributes</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a50cb962ab89df6a9cb4142e17580a99e"></a><!-- doxytag: member="cCharacterServer::m_dwClientCount" ref="a50cb962ab89df6a9cb4142e17580a99e" args="" -->
- static DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwClientCount</b></td></tr>
- <tr><td colspan="2"><h2>Static Protected Attributes</h2></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaf852ba43faf2d1796a8db3de8bbabd3"></a><!-- doxytag: member="cCharacterServer::m_dwSendCRCSeed" ref="aaf852ba43faf2d1796a8db3de8bbabd3" args="" -->
- static DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwSendCRCSeed</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af1dcc327ac2050fe96f96f44fe525fe3"></a><!-- doxytag: member="cCharacterServer::m_dwRecvCRCSeed" ref="af1dcc327ac2050fe96f96f44fe525fe3" args="" -->
- static DWORD </td><td class="memItemRight" valign="bottom"><b>m_dwRecvCRCSeed</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa926d4f925d72b3bbd7aca3cc7caa591"></a><!-- doxytag: member="cCharacterServer::m_wLogicalID" ref="aa926d4f925d72b3bbd7aca3cc7caa591" args="" -->
- static WORD </td><td class="memItemRight" valign="bottom"><b>m_wLogicalID</b></td></tr>
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abf23c8dfb6f18ff6e886f03199cd0d56"></a><!-- doxytag: member="cCharacterServer::m_Socket" ref="abf23c8dfb6f18ff6e886f03199cd0d56" args="" -->
- static SOCKET </td><td class="memItemRight" valign="bottom"><b>m_Socket</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="cCharacterServer::cMasterServer" ref="af9cf39fc065c0c9c6040c8d5849cbdce" args="" -->
- class </td><td class="memItemRight" valign="bottom"><a class="el" href="classc_character_server.html#af9cf39fc065c0c9c6040c8d5849cbdce">cMasterServer</a></td></tr>
- </table>
- <hr/><h2>Member Function Documentation</h2>
- <a class="anchor" id="a4adf0db50f7a331caf74ce8d51b5201f"></a><!-- doxytag: member="cCharacterServer::ReturnPadOffset" ref="a4adf0db50f7a331caf74ce8d51b5201f" args="(DWORD dwLength)" -->
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">DWORD cCharacterServer::ReturnPadOffset </td>
- <td>(</td>
- <td class="paramtype">DWORD </td>
- <td class="paramname"> <em>dwLength</em></td>
- <td> ) </td>
- <td><code> [static]</code></td>
- </tr>
- </table>
- </div>
- <div class="memdoc">
- <p>Pads messages to the DWORD boundary.</p>
- <p>Used for variable-length (text/char[]) fields. The client expects the next variable to start at the next whole DWORD (4 byte value) The variable length field is zero-padded until this boundary is reached.</p>
- <dl><dt><b>Parameters:</b></dt><dd>
- <table border="0" cellspacing="2" cellpadding="0">
- <tr><td valign="top"></td><td valign="top"><em>dwLength</em> </td><td>- The length of the variable-length field.</td></tr>
- </table>
- </dd>
- </dl>
- <dl class="return"><dt><b>Returns:</b></dt><dd>dwOffset - The BYTE value of padding required. </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="_character_server_8h_source.html">CharacterServer.h</a></li>
- <li>E:/uas2/Server/<a class="el" href="_character_server_8cpp.html">CharacterServer.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>
|