Struct IncomingSnapshotDataStreamBuffer
One per NetworkConnection. Stores the incoming, yet-to-be-processed snapshot stream data for a connection. Each snapshot is designed to fit inside Unity.Networking.Transport.NetworkParameterConstants.MaxMessageSize, so expect this to be MaxMessageSize or less.
Implements
IBufferElementData
Inherited Members
Namespace: Unity.NetCode
Assembly: Unity.NetCode.dll
Syntax
[InternalBufferCapacity(0)]
public struct IncomingSnapshotDataStreamBuffer : IBufferElementData
Fields
Value
The buffer content
Declaration
public byte Value
Field Value
Type | Description |
---|---|
byte |
Implements
Unity.Entities.IBufferElementData