Scriptable Parser for Portal 2 Demos
    Preparing search index...

    Class CustomDataMessage

    Arbitrary custom data. Used by the co-op radial menu, and by plugins like SAR.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    tick: number

    The tick that this message was sent on.

    slot: number

    Index of the player that this message belongs to.

    callbackIndex: number

    Callback function index:

    • -1 - list of registered callback functions;
    • 0 - RadialMenuMouseCallback, also hijacked by SAR to inject timer data.
    cursor?: Vector

    2D vector containing radial menu cursor coordinates, available only if the callback is RadialMenuMouseCallback.

    data?: Uint8Array<ArrayBufferLike>

    Raw data buffer, available if the callback is not RadialMenuMouseCallback.

    Methods