profectus-docs/assets/api_interfaces_game_state.Transient.md.5c4227fb.js

1 line
3.3 KiB
JavaScript

import{_ as e,c as a,o as t,a as r}from"./app.ab34650d.js";const g=JSON.parse('{"title":"Interface: Transient","description":"","frontmatter":{"editLink":false},"headers":[{"level":2,"title":"Properties","slug":"properties"},{"level":3,"title":"NaNPath","slug":"nanpath"},{"level":3,"title":"NaNReceiver","slug":"nanreceiver"},{"level":3,"title":"hasNaN","slug":"hasnan"},{"level":3,"title":"lastTenTicks","slug":"lasttenticks"}],"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-hidden="true">#</a></h1><p><a href="./../../modules/game/state.html">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-hidden="true">#</a></h2><h3 id="nanpath" tabindex="-1">NaNPath <a class="header-anchor" href="#nanpath" aria-hidden="true">#</a></h3><p>\u2022 <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-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/013092f/src/game/state.ts#L10" target="_blank" rel="noopener noreferrer">profectus/src/game/state.ts:10</a></p><hr><h3 id="nanreceiver" tabindex="-1">NaNReceiver <a class="header-anchor" href="#nanreceiver" aria-hidden="true">#</a></h3><p>\u2022 <code>Optional</code> <strong>NaNReceiver</strong>: <code>Record</code>&lt;<code>string</code>, <code>unknown</code>&gt;</p><p>The parent object of the NaN value.</p><h4 id="defined-in-1" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-1" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/013092f/src/game/state.ts#L12" target="_blank" rel="noopener noreferrer">profectus/src/game/state.ts:12</a></p><hr><h3 id="hasnan" tabindex="-1">hasNaN <a class="header-anchor" href="#hasnan" aria-hidden="true">#</a></h3><p>\u2022 <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-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/013092f/src/game/state.ts#L8" target="_blank" rel="noopener noreferrer">profectus/src/game/state.ts:8</a></p><hr><h3 id="lasttenticks" tabindex="-1">lastTenTicks <a class="header-anchor" href="#lasttenticks" aria-hidden="true">#</a></h3><p>\u2022 <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-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/013092f/src/game/state.ts#L6" target="_blank" rel="noopener noreferrer">profectus/src/game/state.ts:6</a></p>',27),i=[s];function o(d,h,c,l,p,f){return t(),a("div",null,i)}var b=e(n,[["render",o]]);export{g as __pageData,b as default};