ViewPack beta
Interface of @v12-engine/client
ts
export interface ViewPackA part of the view a game opts into (GameView.packs), as its rules opt into a GamePack: what the HUD describes of it (describe), and the words it says that in (words, under the view's own). A later pack's describer of a slot takes the place of an earlier's, and the view's own (GameView.hud.describe) of both
Members
describe
ts
describe?: HudDescribers;What the pack describes for the HUD, a describer for each slot it fills (HudDescribers)
id
ts
id: string;Unique among the view's packs: what a game's view asks of (hasViewPack)
words
ts
words?: HudWordsChange;The words the pack says its descriptions in, laid under the view's own (HudWordsChange)