profectus-docs/assets/api_game_layers_variables_persistentRefs.md.Bz4jUtO6.js

1 line
1.8 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 t,c as a,a0 as r,o as s}from"./chunks/framework.P9qPzDnn.js";const h=JSON.parse('{"title":"Variable: persistentRefs","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/game/layers/variables/persistentRefs.md","filePath":"api/game/layers/variables/persistentRefs.md","lastUpdated":null}'),o={name:"api/game/layers/variables/persistentRefs.md"};function i(n,e,l,c,d,p){return s(),a("div",null,e[0]||(e[0]=[r('<p><a href="./../../../">Profectus</a> / <a href="./../">game/layers</a> / persistentRefs</p><h1 id="variable-persistentrefs" tabindex="-1">Variable: persistentRefs <a class="header-anchor" href="#variable-persistentrefs" aria-label="Permalink to &quot;Variable: persistentRefs&quot;"></a></h1><blockquote><p><code>const</code> <strong>persistentRefs</strong>: <a href="https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type" target="_blank" rel="noreferrer"><code>Record</code></a>&lt;<code>string</code>, <a href="https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set" target="_blank" rel="noreferrer"><code>Set</code></a>&lt;<a href="./../../persistence/type-aliases/Persistent"><code>Persistent</code></a>&gt;&gt; = <code>{}</code></p></blockquote><p>When creating layers, this object a map of layer ID to a set of any created persistent refs in order to check they&#39;re all included in the final layer object.</p><h2 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to &quot;Defined in&quot;"></a></h2><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/game/layers.tsx#L208" target="_blank" rel="noreferrer">profectus/src/game/layers.tsx:208</a></p>',6)]))}const b=t(o,[["render",i]]);export{h as __pageData,b as default};