Skip to content

callingsOf beta ​

Function of @v12-engine/engine

ts
export declare function callingsOf(game: Registry | Pick<Rules, 'packs' | 'settings'>): readonly CallingDef[];

The callings of a game: those of its heroes pack (heroesPack({ callings })), what the rules say of heroes (RuleSettings.heroes.callings), or the engine's own (defaultCallings). Asked of a registry, the game's settings as they came out; of rules, what they say