📄 zigserver_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>zigserver.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>zigserver.h File Reference</h1><a class="el" href="zigserver_8h.html">zigserver.h</a> exposes some useful enums that are sent as arguments to or received as return values from <a class="el" href="classzigserver__c.html">zigserver_c</a> methods. <a href="#_details">More...</a><p><code>#include "zigdefs.h"</code><br><code>#include "server.h"</code><br><code>#include "console.h"</code><br><code>#include "zigletman.h"</code><br><code>#include "<a class="el" href="zig_8h-source.html">zig.h</a>"</code><br><code>#include "address.h"</code><br><p><a href="zigserver_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><b>zig_remote_client_c</b></td></tr><tr><td nowrap align=right valign=top>class </td><td valign=bottom><b>ziglet_selector_c</b></td></tr><tr><td nowrap align=right valign=top>class </td><td valign=bottom><a class="el" href="classzigserver__c.html">zigserver_c</a></td></tr><tr><td> </td><td><font size=-1><em>The server class; extend this class (overriding the marked methods) to implement your own "game server" class.</em> <a href="classzigserver__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>{ <a class="el" href="zigserver_8h.html#a8a0">ZIGLET_NOT_FOUND</a> = 0, <a class="el" href="zigserver_8h.html#a8a1">ZIGLET_STATUS_NOT_REQUIRED</a>, <a class="el" href="zigserver_8h.html#a8a2">ZIGLET_STATUS_RECOMMENDED</a>, <a class="el" href="zigserver_8h.html#a8a3">ZIGLET_STATUS_REQUIRED</a> }</td></tr><tr><td> </td><td><font size=-1><em><a class="el" href="classzigserver__c.html">zigserver_c</a> ziglet status codes</em> <a href="#a8">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="zigserver_8h.html#a9a4">ZIGSERVER_DISCONNECTED</a> = 0, <a class="el" href="zigserver_8h.html#a9a5">ZIGSERVER_DISCONNECTED_LIMIT_CRITICALS</a>, <a class="el" href="zigserver_8h.html#a9a6">ZIGSERVER_DISCONNECTED_LIMIT_RELDELTA</a>, <a class="el" href="zigserver_8h.html#a9a7">ZIGSERVER_DISCONNECTED_LIMIT_ACKDELTA</a> }</td></tr><tr><td> </td><td><font size=-1><em>client_disconnected(int code_reason) possible parameter values</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2><a class="el" href="zigserver_8h.html">zigserver.h</a> exposes some useful enums that are sent as arguments to or received as return values from <a class="el" href="classzigserver__c.html">zigserver_c</a> methods.<p><p><hr><h2>Enumeration Type Documentation</h2><a name="a8" doxytag="zigserver.h::@7"></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><a class="el" href="classzigserver__c.html">zigserver_c</a> ziglet status codes<p><dl compact><dt><b>Enumeration values: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em><a name="a8a0" doxytag="ZIGLET_NOT_FOUND"></a><em>ZIGLET_NOT_FOUND</em></em> </td><td>0 = not found</td></tr><tr><td valign=top><em><a name="a8a1" doxytag="ZIGLET_STATUS_NOT_REQUIRED"></a><em>ZIGLET_STATUS_NOT_REQUIRED</em></em> </td><td>not needed by clients</td></tr><tr><td valign=top><em><a name="a8a2" doxytag="ZIGLET_STATUS_RECOMMENDED"></a><em>ZIGLET_STATUS_RECOMMENDED</em></em> </td><td>clients will need this in the future but not right now</td></tr><tr><td valign=top><em><a name="a8a3" doxytag="ZIGLET_STATUS_REQUIRED"></a><em>ZIGLET_STATUS_REQUIRED</em></em> </td><td>needed right now for playing</td></tr></table></dl> </td> </tr></table><a name="a9" doxytag="zigserver.h::@8"></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>client_disconnected(int code_reason) possible parameter values<p><dl compact><dt><b>Enumeration values: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em><a name="a9a4" doxytag="ZIGSERVER_DISCONNECTED"></a><em>ZIGSERVER_DISCONNECTED</em></em> </td><td>catch-all generic code: no special reason, might have been anything. DON'T CHANGE THIS DEFINE.</td></tr><tr><td valign=top><em><a name="a9a5" doxytag="ZIGSERVER_DISCONNECTED_LIMIT_CRITICALS"></a><em>ZIGSERVER_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="a9a6" doxytag="ZIGSERVER_DISCONNECTED_LIMIT_RELDELTA"></a><em>ZIGSERVER_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="a9a7" doxytag="ZIGSERVER_DISCONNECTED_LIMIT_ACKDELTA"></a><em>ZIGSERVER_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><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 + -