⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 leet_8h-source.html

📁 用来介绍ZIG Library游戏网络引擎的文档
💻 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>leet.h Source File</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> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center><hr><h1>leet.h</h1><div class="fragment"><pre>00001 <span class="comment">/*</span>00002 <span class="comment">    ZIG - An extendable, portable game engine focused on networking &amp; scripting</span>00003 <span class="comment">    Project Home: http://zige.sourceforge.net</span>00004 <span class="comment">    Copyright (C) 2002  F醔io Reis Cecin &lt;fcecin AT inf DOT ufrgs DOT br&gt;</span>00005 <span class="comment"></span>00006 <span class="comment">    This library is free software; you can redistribute it and/or</span>00007 <span class="comment">    modify it under the terms of the GNU Lesser General Public</span>00008 <span class="comment">    License as published by the Free Software Foundation; either</span>00009 <span class="comment">    version 2.1 of the License, or (at your option) any later version.</span>00010 <span class="comment"></span>00011 <span class="comment">    This library is distributed in the hope that it will be useful,</span>00012 <span class="comment">    but WITHOUT ANY WARRANTY; without even the implied warranty of</span>00013 <span class="comment">    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>00014 <span class="comment">    Lesser General Public License for more details.</span>00015 <span class="comment"></span>00016 <span class="comment">    You should have received a copy of the GNU Lesser General Public</span>00017 <span class="comment">    License along with this library; if not, write to the Free Software</span>00018 <span class="comment">    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA   </span>00019 <span class="comment">*/</span>00020 <span class="comment">/*</span>00021 <span class="comment"></span>00022 <span class="comment">        internal class</span>00023 <span class="comment">        leet_c : ancestor of server_c and client_c</span>00024 <span class="comment"></span>00025 <span class="comment">*/</span>00026 00027 <span class="preprocessor">#ifndef _ZIG_HEADER_LEET_H_</span>00028 <span class="preprocessor"></span><span class="preprocessor">#define _ZIG_HEADER_LEET_H_</span>00029 <span class="preprocessor"></span>00030 <span class="comment">//include stuff</span>00031 <span class="preprocessor">#include "listensocket.h"</span>00032 <span class="preprocessor">#include "console.h"</span>00033 <span class="preprocessor">#include "<a class="code" href="zig_8h.html">zig.h</a>"</span>                                <span class="comment">//this is because of ZIGTHREADSPRIO_* enums, same values are used for LEETNET...</span>00034 00035 <span class="preprocessor">#ifndef NO_DOXYGEN              // internal class -- do not document</span>00036 <span class="preprocessor"></span>00037 <span class="comment">//leet class, the ancestor of server_c and client_c</span>00038 <span class="keyword">class </span>leet_c {00039 <span class="keyword">public</span>:00040 00042         leet_c() { con = 0; }00043 00045         <span class="keyword">virtual</span> ~leet_c() { }00046 00047         <span class="comment">//listen socket is telling the leet client/server of new connection.</span>00048         <span class="keyword">virtual</span> <span class="keywordtype">void</span> listen_socket_incoming_connection(listen_socket_c *ls, NLsocket sock) = 0;00049 00050 <span class="keyword">protected</span>:00051 00052         <span class="comment">//the listen socket for incoming channel connection requests</span>00053         <span class="comment">// ONE LISTEN SOCKET per client and per server! -- not per station.</span>00054         <span class="comment">// -&gt; station must register itself in the listensocket to receive incoming</span>00055         <span class="comment">//    connections from a specific address.</span>00056         listen_socket_c lsock;00057 00058         <span class="comment">//debug console (may be 0 - no debug output)</span>00059         <a class="code" href="classconsole__c.html">console_c</a>               *con;00060 };00061 00062 <span class="preprocessor">#endif // #ifndef NO_DOXYGEN            // internal class -- do not document</span>00063 <span class="preprocessor"></span>00064 <span class="preprocessor">#endif</span>00065 <span class="preprocessor"></span></pre></div><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 + -