Delegate GhostComponentSerializer.PostSerializeDelegate
Delegate method to use to post-serialize the component when the ghost use pre-serialization optimization.
Namespace: Unity.NetCode.LowLevel.Unsafe
Syntax
public delegate void PostSerializeDelegate(IntPtr snapshotData, int snapshotOffset, int snapshotStride, int maskOffsetInBits, int count, IntPtr baselines, ref DataStreamWriter writer, ref StreamCompressionModel compressionModel, IntPtr entityStartBit);
Parameters
Type | Name | Description |
---|---|---|
IntPtr | snapshotData | |
Int32 | snapshotOffset | |
Int32 | snapshotStride | |
Int32 | maskOffsetInBits | |
Int32 | count | |
IntPtr | baselines | |
DataStreamWriter | writer | |
StreamCompressionModel | compressionModel | |
IntPtr | entityStartBit |