Skip to main content

Module shared

Module shared 

Source
Expand description

Shared typed components reused across generic wrappers. Types and engine sentinels more than one view needs.

Shared types, not shared schemas. A field block that several views declare is a claim that every axis matches at every path, which is a measurement, and it belongs beside the views that made it: GIT’s live in git::blocks. What is left here has no per-owner facts to diverge. ObjectId is a newtype over a handle the engine hands out, identical wherever it appears, and the constants are single values the engine itself uses as sentinels.

The distinction is the finding rather than a tidy-up. Of the sharing candidates GIT raised, most were refused because some copy differed on an axis. ObjectId never wobbled.

Structs§

ObjectId
A runtime object handle, as the engine hands them out.

Constants§

PORTRAIT_ID_USE_RESREF
The PortraitId value that hands control back to the Portrait resref.
REPOS_UNPLACED
The inventory-grid position an item that has never been placed holds.
REPOS_UNPLACED_WORD
REPOS_UNPLACED at the width the file declares.
SCRIPT_SLOT_SEED
The resref a script slot holds when a file does not name one.
SOUNDSET_UNASSIGNED
SoundSetFile’s “nothing assigned” sentinel.
TRAP_TYPE_ABSENT
TrapType’s value when a file does not carry one.