Skip to content

Home > @esengine/ecs-framework-monorepo > ISyncBatchMessage

ISyncBatchMessage interface

批量同步消息

Signature:

typescript
export interface ISyncBatchMessage extends INetworkMessage

Extends: INetworkMessage

Properties

Property

Modifiers

Type

Description

data

{ syncData: Array<{ networkId: number; componentType: string; changes: Record<string, any>; syncMode: SyncMode; }>; batchTimestamp: number; }

type

MessageType.SYNC_BATCH

基于 MIT 许可证发布