profectus-docs/assets/api_interfaces_game_state.Transient.md.44b00a39.js

1 line
3.4 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as e,c as a,o as t,N as r}from"./chunks/framework.0799945b.js";const b=JSON.parse('{"title":"Interface: Transient","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/interfaces/game/state.Transient.md","lastUpdated":null}'),n={name:"api/interfaces/game/state.Transient.md"},s=r('<h1 id="interface-transient" tabindex="-1">Interface: Transient <a class="header-anchor" href="#interface-transient" aria-label="Permalink to &quot;Interface: Transient&quot;"></a></h1><p><a href="./../../modules/game/state">game/state</a>.Transient</p><p>An object of global data that is not persistent.</p><h2 id="properties" tabindex="-1">Properties <a class="header-anchor" href="#properties" aria-label="Permalink to &quot;Properties&quot;"></a></h2><h3 id="nanpath" tabindex="-1">NaNPath <a class="header-anchor" href="#nanpath" aria-label="Permalink to &quot;NaNPath&quot;"></a></h3><p>• <code>Optional</code> <strong>NaNPath</strong>: <code>string</code>[]</p><p>The location within the player save data object of the NaN value.</p><h4 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/8c0a0c4/src/game/state.ts#L12" target="_blank" rel="noreferrer">profectus/src/game/state.ts:12</a></p><hr><h3 id="nanpersistent" tabindex="-1">NaNPersistent <a class="header-anchor" href="#nanpersistent" aria-label="Permalink to &quot;NaNPersistent&quot;"></a></h3><p>• <code>Optional</code> <strong>NaNPersistent</strong>: <a href="./../../modules/game/persistence#persistent"><code>Persistent</code></a>&lt;<a href="./../../modules/lib/break_eternity#decimalsource"><code>DecimalSource</code></a>&gt;</p><p>The ref that was being set to NaN.</p><h4 id="defined-in-1" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-1" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/8c0a0c4/src/game/state.ts#L14" target="_blank" rel="noreferrer">profectus/src/game/state.ts:14</a></p><hr><h3 id="hasnan" tabindex="-1">hasNaN <a class="header-anchor" href="#hasnan" aria-label="Permalink to &quot;hasNaN&quot;"></a></h3><p>• <strong>hasNaN</strong>: <code>boolean</code></p><p>Whether or not a NaN value has been detected and undealt with.</p><h4 id="defined-in-2" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-2" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/8c0a0c4/src/game/state.ts#L10" target="_blank" rel="noreferrer">profectus/src/game/state.ts:10</a></p><hr><h3 id="lasttenticks" tabindex="-1">lastTenTicks <a class="header-anchor" href="#lasttenticks" aria-label="Permalink to &quot;lastTenTicks&quot;"></a></h3><p>• <strong>lastTenTicks</strong>: <code>number</code>[]</p><p>A list of the duration, in ms, of the last 10 game ticks. Used for calculating TPS.</p><h4 id="defined-in-3" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-3" aria-label="Permalink to &quot;Defined in&quot;"></a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/8c0a0c4/src/game/state.ts#L8" target="_blank" rel="noreferrer">profectus/src/game/state.ts:8</a></p>',27),i=[s];function o(c,h,d,l,f,p){return t(),a("div",null,i)}const m=e(n,[["render",o]]);export{b as __pageData,m as default};