UNPKG

hytopia

Version:

The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.

58 lines (27 loc) 996 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [BlockTypeRegistryEventPayloads](./server.blocktyperegistryeventpayloads.md) ## BlockTypeRegistryEventPayloads interface Event payloads for BlockTypeRegistry emitted events. **Signature:** ```typescript export interface BlockTypeRegistryEventPayloads ``` ## Properties <table><thead><tr><th> Property </th><th> Modifiers </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> ["BLOCK\_TYPE\_REGISTRY.REGISTER\_BLOCK\_TYPE"](./server.blocktyperegistryeventpayloads._block_type_registry.register_block_type_.md) </td><td> </td><td> { blockTypeRegistry: [BlockTypeRegistry](./server.blocktyperegistry.md)<!-- -->; id: number; blockType: [BlockType](./server.blocktype.md)<!-- -->; } </td><td> Emitted when a block type is registered. </td></tr> </tbody></table>