Interface IEventQueueData

interface IEventQueueData {
    domainId: string;
    event:
        | EventChatMessage
        | EventLogLine
        | EventPlayerConnected
        | EventPlayerDisconnected
        | EventPlayerDeath
        | EventEntityKilled;
    gameServerId: string;
    type: ValueOf<
        {
            CHAT_MESSAGE: "chat-message";
            ENTITY_KILLED: "entity-killed";
            LOG_LINE: "log";
            PLAYER_CONNECTED: "player-connected";
            PLAYER_DEATH: "player-death";
            PLAYER_DISCONNECTED: "player-disconnected";
        },
    >;
    [key: string]: unknown;
}

Hierarchy (View Summary)

Indexable

  • [key: string]: unknown

Properties

domainId: string
gameServerId: string
type: ValueOf<
    {
        CHAT_MESSAGE: "chat-message";
        ENTITY_KILLED: "entity-killed";
        LOG_LINE: "log";
        PLAYER_CONNECTED: "player-connected";
        PLAYER_DEATH: "player-death";
        PLAYER_DISCONNECTED: "player-disconnected";
    },
>