rednode API - v0.80.1
    Preparing search index...

    Interface GameEvent

    A game event, as sent by the REDnode plugin.

    interface GameEvent {
        entityId?: string;
        entityType?: string;
        frame: number;
        language?: string;
        name: string;
        text?: string;
        value: number;
    }

    Hierarchy (View Summary)

    Index
    entityId?: string

    For entity events (see world): the entity's ID hash, as a string.

    entityType?: string

    For entity events: the entity's class, for example "gameObject".

    frame: number

    The plugin's frame counter when the event was sent.

    language?: string

    For the "language" event: the game's new interface language, such as "fr-fr".

    name: string

    The event name, for example "PlayerPuppet.OnGameAttached".

    text?: string

    For entity events a script sends with a text (REDnode_EntityText), such as quickhacks's: the text.

    value: number

    A number sent with the event.