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

📄 classziglet__manager__c.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>ziglet_manager_c class 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> &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>ziglet_manager_c Class Reference</h1>The ziglet manager is the object responsible for locating ziglets on disk and creating <a class="el" href="classziglet__c.html">ziglet_c</a> instances that represent those ziglets on disk. You will not instantiate this class yourself; you may get a reference to it calling <a class="el" href="classzigclient__c.html#a48">zigclient_c::get_ziglet_manager()</a> or <a class="el" href="classzigserver__c.html#a43">zigserver_c::get_ziglet_manager()</a>. <a href="#_details">More...</a><p><code>#include &lt;<a class="el" href="zigletman_8h-source.html">zigletman.h</a>&gt;</code><p><a href="classziglet__manager__c-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Public Methods</h2></td></tr><tr><td nowrap align=right valign=top><a name="a4" doxytag="ziglet_manager_c::add_path"></a>void&nbsp;</td><td valign=bottom><a class="el" href="classziglet__manager__c.html#a4">add_path</a> (std::string path)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>add to ziglet search path. call <a class="el" href="classziglet__manager__c.html#a8">scan()</a> later to update ziglets list.</em></font><br><br></td></tr><tr><td nowrap align=right valign=top><a name="a5" doxytag="ziglet_manager_c::remove_path"></a>void&nbsp;</td><td valign=bottom><a class="el" href="classziglet__manager__c.html#a5">remove_path</a> (std::string path)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>remove from ziglet search path. call <a class="el" href="classziglet__manager__c.html#a8">scan()</a> later to update ziglets list.</em></font><br><br></td></tr><tr><td nowrap align=right valign=top><a name="a6" doxytag="ziglet_manager_c::get_path"></a>std::vector&lt; std::string &gt;&nbsp;</td><td valign=bottom><a class="el" href="classziglet__manager__c.html#a6">get_path</a> ()</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>get all componentes of the ziglet search path</em></font><br><br></td></tr><tr><td nowrap align=right valign=top><a name="a7" doxytag="ziglet_manager_c::set_path"></a>void&nbsp;</td><td valign=bottom><a class="el" href="classziglet__manager__c.html#a7">set_path</a> (std::string path)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>set the single ziglet search path (causes to forget all previous path info)call <a class="el" href="classziglet__manager__c.html#a8">scan()</a> later to update ziglets list.</em></font><br><br></td></tr><tr><td nowrap align=right valign=top><a name="a8" doxytag="ziglet_manager_c::scan"></a>void&nbsp;</td><td valign=bottom><a class="el" href="classziglet__manager__c.html#a8">scan</a> ()</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>re-scan all paths for ziglets. this method add new ziglets, may remove some zigletsfrom the internal map (causing <a class="el" href="classziglet__c.html">ziglet_c</a>* references from <a class="el" href="classziglet__manager__c.html#a9">get()</a> to become invalid) orcause the update of some ziglets (add/remove components). in any case, it's better tocall <a class="el" href="classziglet__manager__c.html#a9">get()</a> again to get new references to ziglets after you do a <a class="el" href="classziglet__manager__c.html#a8">scan()</a> on the manager.</em></font><br><br></td></tr><tr><td nowrap align=right valign=top><a name="a9" doxytag="ziglet_manager_c::get"></a><a class="el" href="classziglet__c.html">ziglet_c</a> *&nbsp;</td><td valign=bottom><a class="el" href="classziglet__manager__c.html#a9">get</a> (std::string name)</td></tr><tr><td>&nbsp;</td><td><font size=-1><em>returns a ziglet wrapper object from the map. the wrapper DOES NOT load all the ziglet's data from disk automatically, just the namesand file-types (and possibly version, author...?) of its components. "name" is the nameof the ziglet directory.</em></font><br><br></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>The ziglet manager is the object responsible for locating ziglets on disk and creating <a class="el" href="classziglet__c.html">ziglet_c</a> instances that represent those ziglets on disk. You will not instantiate this class yourself; you may get a reference to it calling <a class="el" href="classzigclient__c.html#a48">zigclient_c::get_ziglet_manager()</a> or <a class="el" href="classzigserver__c.html#a43">zigserver_c::get_ziglet_manager()</a>.<p><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="zigletman_8h-source.html">zigletman.h</a><li>zigletman.cpp</ul><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 + -