UNPKG

hytopia

Version:

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

62 lines (29 loc) 760 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [ChatEvent](./server.chatevent.md) ## ChatEvent enum Event types a ChatManager instance can emit. See [ChatEventPayloads](./server.chateventpayloads.md) for the payloads. **Signature:** ```typescript export declare enum ChatEvent ``` ## Enumeration Members <table><thead><tr><th> Member </th><th> Value </th><th> Description </th></tr></thead> <tbody><tr><td> BROADCAST\_MESSAGE </td><td> `"CHAT.BROADCAST_MESSAGE"` </td><td> </td></tr> <tr><td> PLAYER\_MESSAGE </td><td> `"CHAT.PLAYER_MESSAGE"` </td><td> </td></tr> </tbody></table>