packClassifier
packClassifier(
packId,category,assetIdPrefix?):PlacementClassifier
Defined in: packages/declarative-hex-worlds/src/classifiers/classifiers.ts:113
Build a PlacementClassifier for a recognized pack (RFC0-TAGb). A placement
belongs to the pack when EITHER its sourcePack metadata equals packId OR its
assetId is namespaced under <packId>: (the adventurer:knight convention).
Matching placements receive the pack category’s default classifiers
(packDefaultClassifiers); everything else gets none, so pack classifiers
compose cleanly on top of the kind-based DEFAULT_PLACEMENT_CLASSIFIERS.
Parameters
Section titled “Parameters”packId
Section titled “packId”string
The registered pack id (e.g. adventurers, skeletons).
category
Section titled “category”The pack’s registry category (thread packDescriptor(id).category).
assetIdPrefix?
Section titled “assetIdPrefix?”string = packId
Optional assetId namespace to also match (defaults to packId).