shoehive
Version:
WebSocket-based multiplayer game framework for real-time, event-driven gameplay
15 lines (14 loc) • 531 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.LOBBY_EVENTS = void 0;
/**
* Lobby events.
*
* You can use these events to listen for changes in the lobby state, or to trigger actions based on lobby events.
* Most events are emitted by the Shoehive lobby, but some are emitted from bubbling up from the table, player, or game.
*/
exports.LOBBY_EVENTS = {
UPDATED: "lobby:updated",
ATTRIBUTE_CHANGED: "lobby:attribute:changed",
ATTRIBUTES_CHANGED: "lobby:attributes:changed"
};