?? zigclient_8h.html
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>zigclient.h File Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> </center><hr><h1>zigclient.h File Reference</h1><a class="el" href="zigclient_8h.html">zigclient.h</a> exposes some useful enums that are sent as arguments to or received as return values from <a class="el" href="classzigclient__c.html">zigclient_c</a> methods. <a href="#_details">More...</a><p><code>#include "client.h"</code><br><code>#include "console.h"</code><br><code>#include "zigletman.h"</code><br><code>#include "address.h"</code><br><code>#include "pfilesys.h"</code><br><code>#include "zigdefs.h"</code><br><p><a href="zigclient_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Compounds</h2></td></tr><tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classzigclient__c.html">zigclient_c</a></td></tr><tr><td> </td><td><font size=-1><em>The client class; extend this class (overriding the marked methods) to implement your own "game client" class.</em> <a href="classzigclient__c.html#_details">More...</a><em></em></font><br><br></td></tr><tr><td colspan=2><br><h2>Enumerations</h2></td></tr><tr><td nowrap align=right valign=top>enum </td><td valign=bottom>{ <br> <a class="el" href="zigclient_8h.html#a12a1">ZIGCLIENT_DISCONNECTED</a> = 0, <a class="el" href="zigclient_8h.html#a12a2">ZIGCLIENT_DISCONNECTED_TIMEOUT</a>, <a class="el" href="zigclient_8h.html#a12a3">ZIGCLIENT_DISCONNECTED_PROTOCOL_VIOLATION</a>, <a class="el" href="zigclient_8h.html#a12a4">ZIGCLIENT_DISCONNECTED_FILE_DOWNLOAD_ERROR</a>, <br> <a class="el" href="zigclient_8h.html#a12a5">ZIGCLIENT_DISCONNECTED_SOCKET_ERROR</a>, <a class="el" href="zigclient_8h.html#a12a6">ZIGCLIENT_DISCONNECTED_LIMIT_CRITICALS</a>, <a class="el" href="zigclient_8h.html#a12a7">ZIGCLIENT_DISCONNECTED_LIMIT_RELDELTA</a>, <a class="el" href="zigclient_8h.html#a12a8">ZIGCLIENT_DISCONNECTED_LIMIT_ACKDELTA</a><br> }</td></tr><tr><td> </td><td><font size=-1><em>special disconnect reasons</em> <a href="#a12">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>enum </td><td valign=bottom>{ <a class="el" href="zigclient_8h.html#a13a9">ZIGCLIENT_CONNECTFAILED</a> = 0, <a class="el" href="zigclient_8h.html#a13a10">ZIGCLIENT_CONNECTFAILED_ZIGNET_VERSION_MISMATCH</a>, <a class="el" href="zigclient_8h.html#a13a11">ZIGCLIENT_CONNECTFAILED_UNKNOWN</a> }</td></tr><tr><td> </td><td><font size=-1><em>special connection failed reasons for the connection_refused(...) callbacks.</em> <a href="#a13">More...</a><em></em></font><br><br></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2><a class="el" href="zigclient_8h.html">zigclient.h</a> exposes some useful enums that are sent as arguments to or received as return values from <a class="el" href="classzigclient__c.html">zigclient_c</a> methods.<p><p><hr><h2>Enumeration Type Documentation</h2><a name="a12" doxytag="zigclient.h::@5"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> anonymous enum </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>special disconnect reasons<p><dl compact><dt><b>Enumeration values: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em><a name="a12a1" doxytag="ZIGCLIENT_DISCONNECTED"></a><em>ZIGCLIENT_DISCONNECTED</em></em> </td><td>no special int code-reason - server-side disconnect. DON'T CHANGE THIS DEFINE.</td></tr><tr><td valign=top><em><a name="a12a2" doxytag="ZIGCLIENT_DISCONNECTED_TIMEOUT"></a><em>ZIGCLIENT_DISCONNECTED_TIMEOUT</em></em> </td><td>client-side disconnection because server timed out</td></tr><tr><td valign=top><em><a name="a12a3" doxytag="ZIGCLIENT_DISCONNECTED_PROTOCOL_VIOLATION"></a><em>ZIGCLIENT_DISCONNECTED_PROTOCOL_VIOLATION</em></em> </td><td>there was a protocol violation, so the connection was terminated immediately.</td></tr><tr><td valign=top><em><a name="a12a4" doxytag="ZIGCLIENT_DISCONNECTED_FILE_DOWNLOAD_ERROR"></a><em>ZIGCLIENT_DISCONNECTED_FILE_DOWNLOAD_ERROR</em></em> </td><td>a necessary file couldn't be downloaded or the download was corrupted</td></tr><tr><td valign=top><em><a name="a12a5" doxytag="ZIGCLIENT_DISCONNECTED_SOCKET_ERROR"></a><em>ZIGCLIENT_DISCONNECTED_SOCKET_ERROR</em></em> </td><td>an internal socket function failed</td></tr><tr><td valign=top><em><a name="a12a6" doxytag="ZIGCLIENT_DISCONNECTED_LIMIT_CRITICALS"></a><em>ZIGCLIENT_DISCONNECTED_LIMIT_CRITICALS</em></em> </td><td>ZIGNET internal protocol limitation reached: too many outbound critical reliable messages pending.</td></tr><tr><td valign=top><em><a name="a12a7" doxytag="ZIGCLIENT_DISCONNECTED_LIMIT_RELDELTA"></a><em>ZIGCLIENT_DISCONNECTED_LIMIT_RELDELTA</em></em> </td><td>ZIGNET internal protocol limitation reached: outbound "reliable message id delta too big".</td></tr><tr><td valign=top><em><a name="a12a8" doxytag="ZIGCLIENT_DISCONNECTED_LIMIT_ACKDELTA"></a><em>ZIGCLIENT_DISCONNECTED_LIMIT_ACKDELTA</em></em> </td><td>ZIGNET internal protocol limitation reached: outbound "ack id delta too big".</td></tr></table></dl> </td> </tr></table><a name="a13" doxytag="zigclient.h::@6"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> anonymous enum </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>special connection failed reasons for the connection_refused(...) callbacks.<p><dl compact><dt><b>Enumeration values: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em><a name="a13a9" doxytag="ZIGCLIENT_CONNECTFAILED"></a><em>ZIGCLIENT_CONNECTFAILED</em></em> </td><td>regular failure: server sent a packet telling "no connection for you" with a custom reason block etc. DON'T CHANGE THIS DEFINE.</td></tr><tr><td valign=top><em><a name="a13a10" doxytag="ZIGCLIENT_CONNECTFAILED_ZIGNET_VERSION_MISMATCH"></a><em>ZIGCLIENT_CONNECTFAILED_ZIGNET_VERSION_MISMATCH</em></em> </td><td>server is using a too-different version of this library</td></tr><tr><td valign=top><em><a name="a13a11" doxytag="ZIGCLIENT_CONNECTFAILED_UNKNOWN"></a><em>ZIGCLIENT_CONNECTFAILED_UNKNOWN</em></em> </td><td>if things get really weird, this is the last resort code for the connection_refused(...) callback.</td></tr></table></dl> </td> </tr></table><hr><address style="align: right;"><small>Generated on Mon Jan 24 21:14:23 2005 for ZIG by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -