2024-06-10 18:35:05 +01:00
|
|
|
|
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SessionSaveData | pokemon-rogue-battle</title><meta name="description" content="Documentation for pokemon-rogue-battle"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">pokemon-rogue-battle</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">pokemon-rogue-battle</a></li><li><a href="../modules/system_game_data.html">system/game-data</a></li><li><a href="system_game_data.SessionSaveData.html">SessionSaveData</a></li></ul><h1>Interface SessionSaveData</h1></div><div class="tsd-signature"><span class="tsd-signature-keyword">interface </span><span class="tsd-kind-interface">SessionSaveData</span> <span class="tsd-signature-symbol">{ </span><br/><span> </span><a class="tsd-kind-property" href="system_game_data.SessionSaveData.html#arena">arena</a><span class="tsd-signature-symbol">: </span><a href="../classes/system_arena_data.default.html" class="tsd-signature-type tsd-kind-class">default</a><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="system_game_data.SessionSaveData.html#battleType">battleType</a><span class="tsd-signature-symbol">: </span><a href="../enums/battle.BattleType.html" class="tsd-signature-type tsd-kind-enum">BattleType</a><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="system_game_data.SessionSaveData.html#challenges">challenges</a><span class="tsd-signature-symbol">: </span><a href="../classes/system_challenge_data.default.html" class="tsd-signature-type tsd-kind-class">default</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="system_game_data.SessionSaveData.html#enemyModifiers">enemyModifiers</a><span class="tsd-signature-symbol">: </span><a href="../classes/system_modifier_data.default.html" class="tsd-signature-type tsd-kind-class">default</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span> </span><a class="tsd-kind-property" href="system_game_data.SessionSaveData.html#enemyParty">enemyParty</a><span class="tsd-signature-symbol">: </span><a href="../classes/system_pokemon_data.default.html" class="tsd-signature-type tsd-kind-class">default</a><span
|
2024-05-31 14:57:14 +01:00
|
|
|
|
<a href="system_game_data.SessionSaveData.html#battleType" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>battle<wbr/>Type</span></a>
|
2024-06-08 06:08:50 +01:00
|
|
|
|
<a href="system_game_data.SessionSaveData.html#challenges" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>challenges</span></a>
|
2024-05-31 14:57:14 +01:00
|
|
|
|
<a href="system_game_data.SessionSaveData.html#enemyModifiers" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>enemy<wbr/>Modifiers</span></a>
|
|
|
|
|
<a href="system_game_data.SessionSaveData.html#enemyParty" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>enemy<wbr/>Party</span></a>
|
|
|
|
|
<a href="system_game_data.SessionSaveData.html#gameMode" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>game<wbr/>Mode</span></a>
|
|
|
|
|
<a href="system_game_data.SessionSaveData.html#gameVersion" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>game<wbr/>Version</span></a>
|
|
|
|
|
<a href="system_game_data.SessionSaveData.html#modifiers" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>modifiers</span></a>
|
|
|
|
|
<a href="system_game_data.SessionSaveData.html#money" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>money</span></a>
|
|
|
|
|
<a href="system_game_data.SessionSaveData.html#party" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>party</span></a>
|
|
|
|
|
<a href="system_game_data.SessionSaveData.html#playTime" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>play<wbr/>Time</span></a>
|
|
|
|
|
<a href="system_game_data.SessionSaveData.html#pokeballCounts" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>pokeball<wbr/>Counts</span></a>
|
|
|
|
|
<a href="system_game_data.SessionSaveData.html#score" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>score</span></a>
|
|
|
|
|
<a href="system_game_data.SessionSaveData.html#seed" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>seed</span></a>
|
|
|
|
|
<a href="system_game_data.SessionSaveData.html#timestamp" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>timestamp</span></a>
|
|
|
|
|
<a href="system_game_data.SessionSaveData.html#trainer" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>trainer</span></a>
|
|
|
|
|
<a href="system_game_data.SessionSaveData.html#waveIndex" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>wave<wbr/>Index</span></a>
|
2024-06-10 18:35:05 +01:00
|
|
|
|
</div></section></div></details></section></section><section class="tsd-panel-group tsd-member-group"><h2>Properties</h2><section class="tsd-panel tsd-member"><a id="arena" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>arena</span><a href="#arena" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">arena</span><span class="tsd-signature-symbol">:</span> <a href="../classes/system_arena_data.default.html" class="tsd-signature-type tsd-kind-class">default</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/36f3cc6b4761a41f9d6ea08cd3f43098a817ad8b/src/system/game-data.ts#L102">src/system/game-data.ts:102</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="battleType" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>battle<wbr/>Type</span><a href="#battleType" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">battle<wbr/>Type</span><span class="tsd-signature-symbol">:</span> <a href="../enums/battle.BattleType.html" class="tsd-signature-type tsd-kind-enum">BattleType</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/36f3cc6b4761a41f9d6ea08cd3f43098a817ad8b/src/system/game-data.ts#L107">src/system/game-data.ts:107</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="challenges" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>challenges</span><a href="#challenges" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">challenges</span><span class="tsd-signature-symbol">:</span> <a href="../classes/system_challenge_data.default.html" class="tsd-signature-type tsd-kind-class">default</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/36f3cc6b4761a41f9d6ea08cd3f43098a817ad8b/src/system/game-data.ts#L111">src/system/game-data.ts:111</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="enemyModifiers" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enemy<wbr/>Modifiers</span><a href="#enemyModifiers" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">enemy<wbr/>Modifiers</span><span class="tsd-signature-symbol">:</span> <a href="../classes/system_modifier_data.default.html" class="tsd-signature-type tsd-kind-class">default</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/36f3cc6b4761a41f9d6ea08cd3f43098a817ad8b/src/system/game-data.ts#L101">src/system/game-data.ts:101</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="enemyParty" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>enemy<wbr/>Party</span><a href="#enemyParty" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">enemy<wbr/>Party</span><span class="tsd-signature-symbol">:</span> <a href="../classes/system_pokemon_data.default.html" class="tsd-signature-type tsd-kind-class">default</a><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/pagefaultgames/pokerogue/blob/36f3cc6b4761a41f9d6ea08cd3f43098a817ad8b/src/system/game-data.ts#L99">src/system/game-data.ts:99</a></li></ul></aside></section><section class="tsd-panel tsd-member
|