Skip to main content

[NodeMod Core]

/ .. / MenuState

Interface: MenuState

Defined in: src/core/menu.ts:67

Internal state tracking for active menus.

Properties​

menu: Menu

Defined in: src/core/menu.ts:69

Currently displayed menu

currentPage​

currentPage: number

Defined in: src/core/menu.ts:71

Current page number (0-based)

history​

history: Menu[]

Defined in: src/core/menu.ts:73

Navigation history for back functionality

isAll​

isAll: boolean

Defined in: src/core/menu.ts:75

Whether this menu is shown to all players

used​

used: number[]

Defined in: src/core/menu.ts:77

Array of client indices that have used this menu

timeoutId?​

optional timeoutId: any

Defined in: src/core/menu.ts:79

Timeout ID for auto-close functionality