Type alias AuthoritativePutComponentMessageBody

AuthoritativePutComponentMessageBody: {
    componentId: number;
    data: Uint8Array;
    entityId: Entity;
    timestamp: number;
    type: AUTHORITATIVE_PUT_COMPONENT;
}

Server authoritative message - identical to PutComponentMessageBody but with forced processing Min. length = header (8 bytes) + 16 bytes = 24 bytes

Param

Uint32 number of the entity

Param

Uint32 number of id

Param

Uint32 Lamport timestamp (server's authoritative timestamp)

Param

Uint8[] data of component => length(4 bytes) + block of bytes[0..length-1]

Type declaration