- bulk<REG_TYPE, REG>(type: REG_TYPE, ...entries: Parameters<REG>[]): (<K, T>(target: T, key: K) => void)
-
Type Parameters
-
REG_TYPE extends "message" | "action" | "skill" | "status" | "stat" | "npc" | "doodad" | "tileEvent" | "item" | "creature" | "bindable" | "load" | "prompt" | "biome" | "registry" | "language" | "languageExtension" | "genericEnum" | "musicTrack" | "soundEffect" | "packet" | "helpArticle" | "note" | "terrain" | "tileGroup" | "terrainDecoration" | "dialog" | "quadrantComponent" | "dictionary" | "interruptChoice" | "messageSource" | "overlay" | "inspectionType" | "menuBarButton" | "itemGroup" | "doodadGroup" | "worldLayer" | "tileLayer" | "quest" | "questRequirement" | "magicalProperty" | "itemTag" | "doodadTag" | "entityTag" | "usableActions" | "usableActionType" | "usableActionTypePlaceholder" | "equipType" | "interModRegistry" | "interModRegistration" | "override" | "bulk" | "command" | "optionsSection"
-
REG extends AnyFunction<any> = typeof default[REG_TYPE]
Parameters
-
type: REG_TYPE
-
Rest
...entries: Parameters<REG>[]
Returns (<K, T>(target: T, key: K) => void)
-
- <K, T>(target: T, key: K): void
-
Type Parameters
-
K extends string | number | symbol
-
T extends Record<K, (REG extends ((...args: any) => infer F2) ? F2 extends ((t: infer T, k: infer K) => any) ? T[Extract<K, keyof T>] : never : never)[]>
Returns void
Registers any number of registrations of a single type. Any other registration type can be used.
Note: Not all registration types have been tested. If you run into any issues with one report a bug!
Example