Type alias PutComponentMessageBody

PutComponentMessageBody: {
    componentId: number;
    data: Uint8Array;
    entityId: Entity;
    timestamp: number;
    type: PUT_COMPONENT;
}

Min. length = header (8 bytes) + 16 bytes = 24 bytes

Param

Uint32 number of the entity

Param

Uint32 number of id

Param

Uint32 Lamport timestamp

Param

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

Type declaration