<liclass="toctree-l3"><aclass="reference internal"href="../setup-tools.html#get-the-mobase-stubs">1. Get the <codeclass="docutils literal notranslate"><spanclass="pre">mobase</span></code> stubs</a></li>
<liclass="toctree-l3"><aclass="reference internal"href="../setup-tools.html#configure-visual-studio-code-for-mobase">2. Configure Visual Studio Code for <codeclass="docutils literal notranslate"><spanclass="pre">mobase</span></code></a></li>
<liclass="toctree-l3"><aclass="reference internal"href="../setup-tools.html#configure-mypy-to-find-the-mobase-stubs">3. Configure <codeclass="docutils literal notranslate"><spanclass="pre">mypy</span></code> to find the <codeclass="docutils literal notranslate"><spanclass="pre">mobase</span></code> stubs</a></li>
</ul>
</li>
<liclass="toctree-l2"><aclass="reference internal"href="../setup-tools.html#testing-the-setup">Testing the setup</a></li>
</ul>
</li>
<liclass="toctree-l1"><aclass="reference internal"href="../plugin-types.html">Type of Plugins</a><ul>
<liclass="toctree-l2"><aclass="reference internal"href="../faq.html#why-is-mo2-throwing-an-exception-when-i-try-to-create-a-type-inheriting-one-of-mo2-class">1. Why is MO2 throwing an exception when I try to create a type inheriting one of MO2 class?</a></li>
<liclass="toctree-l2"><aclass="reference internal"href="../faq.html#how-can-i-be-sure-to-implement-all-the-required-methods-when-creating-a-plugin">2. How can I be sure to implement all the required methods when creating a plugin?</a></li>
<liclass="toctree-l2"><aclass="reference internal"href="../faq.html#why-are-my-isinstance-x-qobject-and-isinstance-y-qwidget-not-working">3. Why are my <codeclass="docutils literal notranslate"><spanclass="pre">isinstance(x,</span><spanclass="pre">QObject)</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">isinstance(y,</span><spanclass="pre">QWidget)</span></code> not working?</a></li>
<h1>DataArchives<aclass="headerlink"href="#dataarchives"title="Permalink to this headline">¶</a></h1>
<dlclass="class">
<dtid="mobase.DataArchives">
<emclass="property">class </em><codeclass="sig-prename descclassname">mobase.</code><codeclass="sig-name descname">DataArchives</code><aclass="headerlink"href="#mobase.DataArchives"title="Permalink to this definition">¶</a></dt>
<td><p>Retrieve the list of vanilla archives.</p></td>
</tr>
</tbody>
</table>
<pclass="rubric">Methods Documentation</p>
<dlclass="method">
<dtid="mobase.DataArchives.addArchive">
<emclass="property">abstract </em><codeclass="sig-name descname">addArchive</code><spanclass="sig-paren">(</span><emclass="sig-param">profile</em>, <emclass="sig-param">index</em>, <emclass="sig-param">name</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.DataArchives.addArchive"title="Permalink to this definition">¶</a></dt>
<dd><p>Add an archive to the archive list.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>profile</strong>– Profile to add the archive to.</p></li>
<li><p><strong>index</strong>– Index to insert before. Use 0 for the beginning of the list or INT_MAX for the end of the list).</p></li>
<li><p><strong>name</strong>– Name of the archive to add.</p></li>
</ul>
</dd>
</dl>
</dd></dl>
<dlclass="method">
<dtid="mobase.DataArchives.archives">
<emclass="property">abstract </em><codeclass="sig-name descname">archives</code><spanclass="sig-paren">(</span><emclass="sig-param">profile</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.DataArchives.archives"title="Permalink to this definition">¶</a></dt>
<dd><p>Retrieve the list of archives in the given profile.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><p><strong>profile</strong>– Profile to retrieve archives from.</p>
</dd>
<dtclass="field-even">Returns</dt>
<ddclass="field-even"><p>The list of archives in the given profile.</p>
<emclass="property">abstract </em><codeclass="sig-name descname">removeArchive</code><spanclass="sig-paren">(</span><emclass="sig-param">profile</em>, <emclass="sig-param">name</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.DataArchives.removeArchive"title="Permalink to this definition">¶</a></dt>
<dd><p>Remove the given archive from the given profile.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>profile</strong>– Profile to remove the archive from.</p></li>
<li><p><strong>name</strong>– Name of the archive to remove.</p></li>
</ul>
</dd>
</dl>
</dd></dl>
<dlclass="method">
<dtid="mobase.DataArchives.vanillaArchives">
<emclass="property">abstract </em><codeclass="sig-name descname">vanillaArchives</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#mobase.DataArchives.vanillaArchives"title="Permalink to this definition">¶</a></dt>
<dd><p>Retrieve the list of vanilla archives.</p>
<p>Vanilla archives are archive files that are shipped with the original
game.</p>
<dlclass="field-list simple">
<dtclass="field-odd">Returns</dt>
<ddclass="field-odd"><p>The list of vanilla archives.</p>