import{_ as e,c as d,o as r,a}from"./app.ab34650d.js";const b=JSON.parse('{"title":"Interface: BaseBoard","description":"","frontmatter":{"editLink":false},"headers":[{"level":2,"title":"Hierarchy","slug":"hierarchy"},{"level":2,"title":"Properties","slug":"properties"},{"level":3,"title":"[Component]","slug":"component"},{"level":3,"title":"[DefaultValue]","slug":"defaultvalue"},{"level":3,"title":"[Deleted]","slug":"deleted"},{"level":3,"title":"[GatherProps]","slug":"gatherprops"},{"level":3,"title":"[PersistentState]","slug":"persistentstate"},{"level":3,"title":"[RefSymbol]","slug":"refsymbol"},{"level":3,"title":"[StackTrace]","slug":"stacktrace"},{"level":3,"title":"id","slug":"id"},{"level":3,"title":"links","slug":"links"},{"level":3,"title":"nodes","slug":"nodes"},{"level":3,"title":"selectedAction","slug":"selectedaction"},{"level":3,"title":"selectedNode","slug":"selectednode"},{"level":3,"title":"type","slug":"type"},{"level":3,"title":"value","slug":"value"}],"relativePath":"api/interfaces/features/boards/board.BaseBoard.md","lastUpdated":null}'),o={name:"api/interfaces/features/boards/board.BaseBoard.md"},t=a('
features/boards/board.BaseBoard
A Ref that has been augmented with properties to allow it to be saved and loaded within the player save data object.
\u21B3 BaseBoard
\u2022 [Component]: DefineComponent
<__VLS_TypePropsToRuntimeProps
<{ [PersistentState]
: Ref
<BoardData
> ; classes?
: ProcessedComputable
<Record
<string
, boolean
>> ; height?
: ProcessedComputable
<string
> ; links
: Ref
<null
| BoardNodeLink
[]> ; nodes
: Ref
<BoardNode
[]> ; selectedAction
: Ref
<null
| GenericBoardNodeAction
> ; selectedNode
: Ref
<null
| BoardNode
> ; style?
: ProcessedComputable
<StyleValue
> ; types
: Record
<string
, GenericNodeType
> ; visibility
: ProcessedComputable
<Visibility
> ; width?
: ProcessedComputable
<string
> }>, {}, unknown
, {}, {}, ComponentOptionsMixin
, ComponentOptionsMixin
, Record
<string
, any
>, string
, PublicProps
, Readonly
<ExtractPropTypes
<__VLS_TypePropsToRuntimeProps
<{ [PersistentState]
: Ref
<BoardData
> ; classes?
: ProcessedComputable
<Record
<string
, boolean
>> ; height?
: ProcessedComputable
<string
> ; links
: Ref
<null
| BoardNodeLink
[]> ; nodes
: Ref
<BoardNode
[]> ; selectedAction
: Ref
<null
| GenericBoardNodeAction
> ; selectedNode
: Ref
<null
| BoardNode
> ; style?
: ProcessedComputable
<StyleValue
> ; types
: Record
<string
, GenericNodeType
> ; visibility
: ProcessedComputable
<Visibility
> ; width?
: ProcessedComputable
<string
> }>>>, {}>
profectus/src/features/boards/board.ts:176
\u2022 [DefaultValue]: BoardData
The value the ref should be set to in a fresh save, or when updating an old save to the current version.
Persistent.__@DefaultValue@25207
profectus/src/game/persistence.ts:52
\u2022 [Deleted]: boolean
This is a flag that can be set once the option func is evaluated, to mark that a persistent ref should not be saved to the player save data object.
See
deletePersistent for marking a persistent ref as deleted.
Persistent.__@Deleted@25209
profectus/src/game/persistence.ts:59
\u2022 [GatherProps]: () => Record
<string
, unknown
>
\u25B8 (): Record
<string
, unknown
>
Record
<string
, unknown
>
profectus/src/features/boards/board.ts:177
\u2022 [PersistentState]: Ref
<BoardData
>
A flag that this is a persistent property. Typically a circular reference.
Persistent.__@PersistentState@25206
profectus/src/game/persistence.ts:50
\u2022 [RefSymbol]: true
Type differentiator only. We need this to be in public d.ts but don't want it to show up in IDE autocomplete, so we use a private Symbol instead.
Persistent.__@RefSymbol@17474
node_modules/@vue/runtime-core/node_modules/@vue/reactivity/dist/reactivity.d.ts:198
\u2022 [StackTrace]: string
The stack trace of where the persistent ref was created. This is used for debugging purposes when a persistent ref is created but not placed in its layer object.
Persistent.__@StackTrace@25208
profectus/src/game/persistence.ts:54
\u2022 id: string
profectus/src/features/boards/board.ts:170
\u2022 links: Ref
<null
| BoardNodeLink
[]>
profectus/src/features/boards/board.ts:171
\u2022 nodes: Ref
<BoardNode
[]>
profectus/src/features/boards/board.ts:172
\u2022 selectedAction: Ref
<null
| GenericBoardNodeAction
>
profectus/src/features/boards/board.ts:174
\u2022 selectedNode: Ref
<null
| BoardNode
>
profectus/src/features/boards/board.ts:173
\u2022 type: typeof BoardType
profectus/src/features/boards/board.ts:175
\u2022 value: BoardData
Persistent.value
node_modules/@vue/runtime-core/node_modules/@vue/reactivity/dist/reactivity.d.ts:192
',98),s=[t];function c(n,i,h,l,f,u){return r(),d("div",null,s)}var g=e(o,[["render",c]]);export{b as __pageData,g as default};