athena/classathena_1_1_z_quest_fil...

585 lines
35 KiB
HTML
Raw Permalink Normal View History

2016-09-17 20:12:02 +00:00
<!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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Athena IO Library: athena::ZQuestFile Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Athena IO Library
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;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>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classathena_1_1_z_quest_file.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classathena_1_1_z_quest_file-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">athena::ZQuestFile Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><a class="el" href="classathena_1_1_z_quest_file.html" title="ZQuestFile is an export format for save data. ">ZQuestFile</a> is an export format for save data.
<a href="classathena_1_1_z_quest_file.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="_z_quest_file_8hpp_source.html">ZQuestFile.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for athena::ZQuestFile:</div>
<div class="dyncontent">
<div class="center"><img src="classathena_1_1_z_quest_file__inherit__graph.png" border="0" usemap="#athena_1_1_z_quest_file_inherit__map" alt="Inheritance graph"/></div>
<map name="athena_1_1_z_quest_file_inherit__map" id="athena_1_1_z_quest_file_inherit__map">
<area shape="rect" id="node2" href="classathena_1_1_m_c_slot.html" title="{athena::MCSlot\n||+ MCSlot()\l}" alt="" coords="5,497,125,575"/>
<area shape="rect" id="node3" href="classathena_1_1_skyward_sword_quest.html" title="{athena::SkywardSwordQuest\n||+ SkywardSwordQuest()\l+ setPlayerName()\l+ playerName()\l+ setRupeeCount()\l+ rupeeCount()\l+ setAmmoCount()\l+ ammoCount()\l+ setMaxHP()\l+ maxHP()\l+ maxHearts()\land 16 more...\l}" alt="" coords="150,424,359,648"/>
</map>
</div>
<div class="dynheader">
Collaboration diagram for athena::ZQuestFile:</div>
<div class="dyncontent">
<div class="center"><img src="classathena_1_1_z_quest_file__coll__graph.png" border="0" usemap="#athena_1_1_z_quest_file_coll__map" alt="Collaboration graph"/></div>
<map name="athena_1_1_z_quest_file_coll__map" id="athena_1_1_z_quest_file_coll__map">
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:aa35ae676a70042d56600e90b9e7dc92b"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92b">Game</a> { <br />
&#160;&#160;<a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92baff1ada17bbc7866033c5ed575ccdb180">NoGame</a>,
<a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bae59b4295725dd3e20718d831ab5f8e38">LoZ</a>,
<a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bad379f8bbf9694c18ef98c1e560519201">AoL</a>,
<a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92baed072975c4cd28cfc139ef8092bf6068">ALttP</a>,
<br />
&#160;&#160;<a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bafecce45fe8ffa775e86aadf5873c1422">LA</a>,
<a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba42f63a0335ea97ce9f6a07f965658ba7">OoT</a>,
<a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bad641366da92e34f0ad1ac039ccd6c739">OoT3D</a>,
<a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba4c8342a63512be0a221ad5ff883a5e73">MM</a>,
<br />
&#160;&#160;<a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bad2517eb0a4731b899b36a32ac9553049">OoS</a>,
<a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92baa773dac297267b7ccd2e377da55de48f">OoA</a>,
<a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba42b3a8a28da7a3964f7fdd20f882f80c">FS</a>,
<a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bad811b56a0a960a2f4b06247da51de10f">WW</a>,
<br />
&#160;&#160;<a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba641ae3636cef076710a7d752b1e1e299">FSA</a>,
<a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba6c1c51262106d8dfa607fe4e3ddb14f3">MC</a>,
<a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba041b7d9329c95066a994abff457b53fd">TP</a>,
<a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba1a3584aba25f0d7033d091562bb42a4b">PH</a>,
<br />
&#160;&#160;<a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92bac1ad815d4278fae22b51a4f3e23bba91">ST</a>,
<a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba5f6aafc3ec7edf7532f070d44304bff6">SS</a>,
<a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba983c520bc406c73522b2f96d964c832d">ALBW</a>,
<a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92ba6655179eca8d417ece2a5739066e3300">GameCount</a>
<br />
}<tr class="memdesc:aa35ae676a70042d56600e90b9e7dc92b"><td class="mdescLeft">&#160;</td><td class="mdescRight">The list of games currently supported by ZQuest. <a href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92b">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:aa35ae676a70042d56600e90b9e7dc92b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aba3990131a19907f17947d1e42e168fa"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aba3990131a19907f17947d1e42e168fa"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_z_quest_file.html#aba3990131a19907f17947d1e42e168fa">ZQuestFile</a> ()</td></tr>
<tr class="memdesc:aba3990131a19907f17947d1e42e168fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">ZQuest. <br /></td></tr>
<tr class="separator:aba3990131a19907f17947d1e42e168fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a016fa4e58f15f0908c6c35e275d597f8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_z_quest_file.html#a016fa4e58f15f0908c6c35e275d597f8">ZQuestFile</a> (<a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92b">Game</a> <a class="el" href="classathena_1_1_z_quest_file.html#ab44ce802b398e5d8ef89a06144e5d5fa">game</a>, Endian <a class="el" href="classathena_1_1_z_quest_file.html#ada2732548478a0c16bf4a75382976b3f">endian</a>, std::unique_ptr&lt; atUint8[]&gt; &amp;&amp;<a class="el" href="classathena_1_1_z_quest_file.html#a3d1e224415a790c3ba4f20531256fec7">data</a>, atUint32 <a class="el" href="classathena_1_1_z_quest_file.html#afda5477a5edf2ad48dad703d60df8e88">length</a>, const std::string &amp;<a class="el" href="classathena_1_1_z_quest_file.html#a7c7825a6c97402d6aca343e72e89a22f">gameString</a>=std::string())</td></tr>
<tr class="memdesc:a016fa4e58f15f0908c6c35e275d597f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">ZQuest. <a href="#a016fa4e58f15f0908c6c35e275d597f8">More...</a><br /></td></tr>
<tr class="separator:a016fa4e58f15f0908c6c35e275d597f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca5386a08dc5d26510a098ad61b01976"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_z_quest_file.html#aca5386a08dc5d26510a098ad61b01976">setGame</a> (<a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92b">Game</a> <a class="el" href="classathena_1_1_z_quest_file.html#ab44ce802b398e5d8ef89a06144e5d5fa">game</a>)</td></tr>
<tr class="memdesc:aca5386a08dc5d26510a098ad61b01976"><td class="mdescLeft">&#160;</td><td class="mdescRight">setGame <a href="#aca5386a08dc5d26510a098ad61b01976">More...</a><br /></td></tr>
<tr class="separator:aca5386a08dc5d26510a098ad61b01976"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab44ce802b398e5d8ef89a06144e5d5fa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92b">Game</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_z_quest_file.html#ab44ce802b398e5d8ef89a06144e5d5fa">game</a> () const </td></tr>
<tr class="memdesc:ab44ce802b398e5d8ef89a06144e5d5fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">game <a href="#ab44ce802b398e5d8ef89a06144e5d5fa">More...</a><br /></td></tr>
<tr class="separator:ab44ce802b398e5d8ef89a06144e5d5fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79e7d3754b0d9cb3f040f98c7d966426"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_z_quest_file.html#a79e7d3754b0d9cb3f040f98c7d966426">setEndian</a> (Endian <a class="el" href="classathena_1_1_z_quest_file.html#ada2732548478a0c16bf4a75382976b3f">endian</a>)</td></tr>
<tr class="memdesc:a79e7d3754b0d9cb3f040f98c7d966426"><td class="mdescLeft">&#160;</td><td class="mdescRight">setEndian <a href="#a79e7d3754b0d9cb3f040f98c7d966426">More...</a><br /></td></tr>
<tr class="separator:a79e7d3754b0d9cb3f040f98c7d966426"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada2732548478a0c16bf4a75382976b3f"><td class="memItemLeft" align="right" valign="top">Endian&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_z_quest_file.html#ada2732548478a0c16bf4a75382976b3f">endian</a> () const </td></tr>
<tr class="memdesc:ada2732548478a0c16bf4a75382976b3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">endian <a href="#ada2732548478a0c16bf4a75382976b3f">More...</a><br /></td></tr>
<tr class="separator:ada2732548478a0c16bf4a75382976b3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab098e03596bc352412299355ae4a79f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_z_quest_file.html#ab098e03596bc352412299355ae4a79f7">setData</a> (std::unique_ptr&lt; atUint8[]&gt; &amp;&amp;<a class="el" href="classathena_1_1_z_quest_file.html#a3d1e224415a790c3ba4f20531256fec7">data</a>, atUint32 <a class="el" href="classathena_1_1_z_quest_file.html#afda5477a5edf2ad48dad703d60df8e88">length</a>)</td></tr>
<tr class="memdesc:ab098e03596bc352412299355ae4a79f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">setData <a href="#ab098e03596bc352412299355ae4a79f7">More...</a><br /></td></tr>
<tr class="separator:ab098e03596bc352412299355ae4a79f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d1e224415a790c3ba4f20531256fec7"><td class="memItemLeft" align="right" valign="top">atUint8 *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_z_quest_file.html#a3d1e224415a790c3ba4f20531256fec7">data</a> () const </td></tr>
<tr class="memdesc:a3d1e224415a790c3ba4f20531256fec7"><td class="mdescLeft">&#160;</td><td class="mdescRight">data <a href="#a3d1e224415a790c3ba4f20531256fec7">More...</a><br /></td></tr>
<tr class="separator:a3d1e224415a790c3ba4f20531256fec7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afda5477a5edf2ad48dad703d60df8e88"><td class="memItemLeft" align="right" valign="top">atUint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_z_quest_file.html#afda5477a5edf2ad48dad703d60df8e88">length</a> () const </td></tr>
<tr class="memdesc:afda5477a5edf2ad48dad703d60df8e88"><td class="mdescLeft">&#160;</td><td class="mdescRight">length <a href="#afda5477a5edf2ad48dad703d60df8e88">More...</a><br /></td></tr>
<tr class="separator:afda5477a5edf2ad48dad703d60df8e88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7dfd01f2f958d6fff15a62462affdbf0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7dfd01f2f958d6fff15a62462affdbf0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setGameString</b> (const std::string &amp;<a class="el" href="classathena_1_1_z_quest_file.html#a7c7825a6c97402d6aca343e72e89a22f">gameString</a>)</td></tr>
<tr class="separator:a7dfd01f2f958d6fff15a62462affdbf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c7825a6c97402d6aca343e72e89a22f"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_z_quest_file.html#a7c7825a6c97402d6aca343e72e89a22f">gameString</a> () const </td></tr>
<tr class="memdesc:a7c7825a6c97402d6aca343e72e89a22f"><td class="mdescLeft">&#160;</td><td class="mdescRight">gameString <a href="#a7c7825a6c97402d6aca343e72e89a22f">More...</a><br /></td></tr>
<tr class="separator:a7c7825a6c97402d6aca343e72e89a22f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ad944440546fe2fd205f84c98b17e9ff0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad944440546fe2fd205f84c98b17e9ff0"></a>
static const std::vector&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>gameStringList</b> ()</td></tr>
<tr class="separator:ad944440546fe2fd205f84c98b17e9ff0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:afd04e66aeec19eb08273c601757173b8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afd04e66aeec19eb08273c601757173b8"></a>
static const atUint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_z_quest_file.html#afd04e66aeec19eb08273c601757173b8">Major</a></td></tr>
<tr class="memdesc:afd04e66aeec19eb08273c601757173b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">The current major version of the ZQuest format. <br /></td></tr>
<tr class="separator:afd04e66aeec19eb08273c601757173b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6d6208c4d5c16e23fd4d8cba186a71e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab6d6208c4d5c16e23fd4d8cba186a71e"></a>
static const atUint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_z_quest_file.html#ab6d6208c4d5c16e23fd4d8cba186a71e">Minor</a></td></tr>
<tr class="memdesc:ab6d6208c4d5c16e23fd4d8cba186a71e"><td class="mdescLeft">&#160;</td><td class="mdescRight">The current minor version of the ZQuest format. <br /></td></tr>
<tr class="separator:ab6d6208c4d5c16e23fd4d8cba186a71e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7497f3b46e94769359fb21849089060"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af7497f3b46e94769359fb21849089060"></a>
static const atUint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_z_quest_file.html#af7497f3b46e94769359fb21849089060">Revision</a></td></tr>
<tr class="memdesc:af7497f3b46e94769359fb21849089060"><td class="mdescLeft">&#160;</td><td class="mdescRight">The current revision of the ZQuest format. <br /></td></tr>
<tr class="separator:af7497f3b46e94769359fb21849089060"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e4134fd492740304adaac603d79e3be"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8e4134fd492740304adaac603d79e3be"></a>
static const atUint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_z_quest_file.html#a8e4134fd492740304adaac603d79e3be">Version</a></td></tr>
<tr class="memdesc:a8e4134fd492740304adaac603d79e3be"><td class="mdescLeft">&#160;</td><td class="mdescRight">The current version of the ZQuest format. <br /></td></tr>
<tr class="separator:a8e4134fd492740304adaac603d79e3be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91268ff767f73ed703f2b0eebf947c81"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a91268ff767f73ed703f2b0eebf947c81"></a>
static const atUint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classathena_1_1_z_quest_file.html#a91268ff767f73ed703f2b0eebf947c81">Magic</a></td></tr>
<tr class="memdesc:a91268ff767f73ed703f2b0eebf947c81"><td class="mdescLeft">&#160;</td><td class="mdescRight">The magic number used to identify the file e.g. "ZQS1". <br /></td></tr>
<tr class="separator:a91268ff767f73ed703f2b0eebf947c81"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a1b7da6ee553556533566e283255b2eac"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1b7da6ee553556533566e283255b2eac"></a>
<a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92b">Game</a>&#160;</td><td class="memItemRight" valign="bottom"><b>m_game</b></td></tr>
<tr class="separator:a1b7da6ee553556533566e283255b2eac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a139bbb5007844b4b0495b866986bce50"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a139bbb5007844b4b0495b866986bce50"></a>
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>m_gameString</b></td></tr>
<tr class="separator:a139bbb5007844b4b0495b866986bce50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57aad2fb0b3548096ac4d8a56e9d22dd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a57aad2fb0b3548096ac4d8a56e9d22dd"></a>
Endian&#160;</td><td class="memItemRight" valign="bottom"><b>m_endian</b></td></tr>
<tr class="separator:a57aad2fb0b3548096ac4d8a56e9d22dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63a995b86d3ca1ffdf1b306a5f0653af"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a63a995b86d3ca1ffdf1b306a5f0653af"></a>
std::unique_ptr&lt; atUint8[]&gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_data</b></td></tr>
<tr class="separator:a63a995b86d3ca1ffdf1b306a5f0653af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa50293ff6be453ef1729a36241aaef26"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa50293ff6be453ef1729a36241aaef26"></a>
atUint32&#160;</td><td class="memItemRight" valign="bottom"><b>m_length</b></td></tr>
<tr class="separator:aa50293ff6be453ef1729a36241aaef26"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classathena_1_1_z_quest_file.html" title="ZQuestFile is an export format for save data. ">ZQuestFile</a> is an export format for save data. </p>
<p>Definition at line <a class="el" href="_z_quest_file_8hpp_source.html#l00034">34</a> of file <a class="el" href="_z_quest_file_8hpp_source.html">ZQuestFile.hpp</a>.</p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="aa35ae676a70042d56600e90b9e7dc92b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92b">athena::ZQuestFile::Game</a></td>
</tr>
</table>
</div><div class="memdoc">
<p>The list of games currently supported by ZQuest. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="aa35ae676a70042d56600e90b9e7dc92baff1ada17bbc7866033c5ed575ccdb180"></a>NoGame&#160;</td><td class="fielddoc">
<p>None or Unsupported. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aa35ae676a70042d56600e90b9e7dc92bae59b4295725dd3e20718d831ab5f8e38"></a>LoZ&#160;</td><td class="fielddoc">
<p>Legend of Zelda. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aa35ae676a70042d56600e90b9e7dc92bad379f8bbf9694c18ef98c1e560519201"></a>AoL&#160;</td><td class="fielddoc">
<p>Adventure of Link. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aa35ae676a70042d56600e90b9e7dc92baed072975c4cd28cfc139ef8092bf6068"></a>ALttP&#160;</td><td class="fielddoc">
<p>A Link to the Past. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aa35ae676a70042d56600e90b9e7dc92bafecce45fe8ffa775e86aadf5873c1422"></a>LA&#160;</td><td class="fielddoc">
<p>Links Awakening. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aa35ae676a70042d56600e90b9e7dc92ba42f63a0335ea97ce9f6a07f965658ba7"></a>OoT&#160;</td><td class="fielddoc">
<p>Ocarin of Time. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aa35ae676a70042d56600e90b9e7dc92bad641366da92e34f0ad1ac039ccd6c739"></a>OoT3D&#160;</td><td class="fielddoc">
<p>Ocarina of Time 3D. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aa35ae676a70042d56600e90b9e7dc92ba4c8342a63512be0a221ad5ff883a5e73"></a>MM&#160;</td><td class="fielddoc">
<p>Majora's Mask. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aa35ae676a70042d56600e90b9e7dc92bad2517eb0a4731b899b36a32ac9553049"></a>OoS&#160;</td><td class="fielddoc">
<p>Oracle of Season. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aa35ae676a70042d56600e90b9e7dc92baa773dac297267b7ccd2e377da55de48f"></a>OoA&#160;</td><td class="fielddoc">
<p>Oracle of Ages. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aa35ae676a70042d56600e90b9e7dc92ba42b3a8a28da7a3964f7fdd20f882f80c"></a>FS&#160;</td><td class="fielddoc">
<p>Four Swords. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aa35ae676a70042d56600e90b9e7dc92bad811b56a0a960a2f4b06247da51de10f"></a>WW&#160;</td><td class="fielddoc">
<p>Wind Waker. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aa35ae676a70042d56600e90b9e7dc92ba641ae3636cef076710a7d752b1e1e299"></a>FSA&#160;</td><td class="fielddoc">
<p>Four Swords Adventures. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aa35ae676a70042d56600e90b9e7dc92ba6c1c51262106d8dfa607fe4e3ddb14f3"></a>MC&#160;</td><td class="fielddoc">
<p>Minish Cap. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aa35ae676a70042d56600e90b9e7dc92ba041b7d9329c95066a994abff457b53fd"></a>TP&#160;</td><td class="fielddoc">
<p>Twilight Princess. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aa35ae676a70042d56600e90b9e7dc92ba1a3584aba25f0d7033d091562bb42a4b"></a>PH&#160;</td><td class="fielddoc">
<p>Phantom Hourglass. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aa35ae676a70042d56600e90b9e7dc92bac1ad815d4278fae22b51a4f3e23bba91"></a>ST&#160;</td><td class="fielddoc">
<p>Spirit Tracks. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aa35ae676a70042d56600e90b9e7dc92ba5f6aafc3ec7edf7532f070d44304bff6"></a>SS&#160;</td><td class="fielddoc">
<p>Skyward Sword. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aa35ae676a70042d56600e90b9e7dc92ba983c520bc406c73522b2f96d964c832d"></a>ALBW&#160;</td><td class="fielddoc">
<p>A Link Between Worlds. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="aa35ae676a70042d56600e90b9e7dc92ba6655179eca8d417ece2a5739066e3300"></a>GameCount&#160;</td><td class="fielddoc">
<p>Total number of supported games. </p>
</td></tr>
</table>
<p>Definition at line <a class="el" href="_z_quest_file_8hpp_source.html#l00063">63</a> of file <a class="el" href="_z_quest_file_8hpp_source.html">ZQuestFile.hpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a016fa4e58f15f0908c6c35e275d597f8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">athena::ZQuestFile::ZQuestFile </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92b">Game</a>&#160;</td>
<td class="paramname"><em>game</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">Endian&#160;</td>
<td class="paramname"><em>endian</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">std::unique_ptr&lt; atUint8[]&gt; &amp;&amp;&#160;</td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">atUint32&#160;</td>
<td class="paramname"><em>length</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>gameString</em> = <code>std::string()</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>ZQuest. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">game</td><td></td></tr>
<tr><td class="paramname">endian</td><td></td></tr>
<tr><td class="paramname">data</td><td></td></tr>
<tr><td class="paramname">length</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a3d1e224415a790c3ba4f20531256fec7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">atUint8* athena::ZQuestFile::data </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>data </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="ada2732548478a0c16bf4a75382976b3f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Endian athena::ZQuestFile::endian </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>endian </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="ab44ce802b398e5d8ef89a06144e5d5fa"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92b">Game</a> athena::ZQuestFile::game </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>game </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="a7c7825a6c97402d6aca343e72e89a22f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string athena::ZQuestFile::gameString </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>gameString </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="afda5477a5edf2ad48dad703d60df8e88"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">atUint32 athena::ZQuestFile::length </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>length </p>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="ab098e03596bc352412299355ae4a79f7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::ZQuestFile::setData </td>
<td>(</td>
<td class="paramtype">std::unique_ptr&lt; atUint8[]&gt; &amp;&amp;&#160;</td>
<td class="paramname"><em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">atUint32&#160;</td>
<td class="paramname"><em>length</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setData </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">data</td><td>The data to assign </td></tr>
<tr><td class="paramname">length</td><td>The length of the data </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a79e7d3754b0d9cb3f040f98c7d966426"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::ZQuestFile::setEndian </td>
<td>(</td>
<td class="paramtype">Endian&#160;</td>
<td class="paramname"><em>endian</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setEndian </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">endian</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aca5386a08dc5d26510a098ad61b01976"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void athena::ZQuestFile::setGame </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classathena_1_1_z_quest_file.html#aa35ae676a70042d56600e90b9e7dc92b">Game</a>&#160;</td>
<td class="paramname"><em>game</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>setGame </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">game</td><td></td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/athena/<a class="el" href="_z_quest_file_8hpp_source.html">ZQuestFile.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><b>athena</b></li><li class="navelem"><a class="el" href="classathena_1_1_z_quest_file.html">ZQuestFile</a></li>
<li class="footer">Generated on Sat Sep 17 2016 13:10:08 for Athena IO Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
</ul>
</div>
</body>
</html>