Struct __GHOST_NAME__GhostComponentSerializer
Syntax
[BurstCompile]
public struct __GHOST_NAME__GhostComponentSerializer
Fields
ChangeMaskBits
Declaration
public const int ChangeMaskBits = default(int)
Field Value
Properties
State
Declaration
public static readonly GhostComponentSerializer.State State { get; }
Property Value
Methods
CopyFromSnapshot(IntPtr, IntPtr, Int32, Int32, IntPtr, Int32, Int32)
Declaration
[BurstCompile(DisableDirectCall = true)]
[MonoPInvokeCallback(typeof(GhostComponentSerializer.CopyToFromSnapshotDelegate))]
public static void CopyFromSnapshot(IntPtr stateData, IntPtr snapshotData, int snapshotOffset, int snapshotStride, IntPtr componentData, int componentStride, int count)
Parameters
CopyToSnapshot(IntPtr, IntPtr, Int32, Int32, IntPtr, Int32, Int32)
Declaration
[BurstCompile(DisableDirectCall = true)]
[MonoPInvokeCallback(typeof(GhostComponentSerializer.CopyToFromSnapshotDelegate))]
public static void CopyToSnapshot(IntPtr stateData, IntPtr snapshotData, int snapshotOffset, int snapshotStride, IntPtr componentData, int componentStride, int count)
Parameters
Deserialize(IntPtr, IntPtr, ref DataStreamReader, ref NetworkCompressionModel, IntPtr, Int32)
Declaration
[BurstCompile(DisableDirectCall = true)]
[MonoPInvokeCallback(typeof(GhostComponentSerializer.DeserializeDelegate))]
public static void Deserialize(IntPtr snapshotData, IntPtr baselineData, ref DataStreamReader reader, ref NetworkCompressionModel compressionModel, IntPtr changeMaskData, int startOffset)
Parameters
PostSerializeBuffer(IntPtr, Int32, Int32, Int32, Int32, IntPtr, ref DataStreamWriter, ref NetworkCompressionModel, IntPtr, IntPtr, IntPtr, Int32)
Declaration
[BurstCompile(DisableDirectCall = true)]
[MonoPInvokeCallback(typeof(GhostComponentSerializer.PostSerializeBufferDelegate))]
public static void PostSerializeBuffer(IntPtr snapshotData, int snapshotOffset, int snapshotStride, int maskOffsetInBits, int count, IntPtr baselines, ref DataStreamWriter writer, ref NetworkCompressionModel compressionModel, IntPtr entityStartBit, IntPtr snapshotDynamicDataPtr, IntPtr dynamicSizePerEntity, int dynamicSnapshotMaxOffset)
Parameters
PredictDelta(IntPtr, IntPtr, IntPtr, ref GhostDeltaPredictor)
Declaration
[BurstCompile(DisableDirectCall = true)]
[MonoPInvokeCallback(typeof(GhostComponentSerializer.PredictDeltaDelegate))]
public static void PredictDelta(IntPtr snapshotData, IntPtr baseline1Data, IntPtr baseline2Data, ref GhostDeltaPredictor predictor)
Parameters
Type |
Name |
Description |
IntPtr |
snapshotData |
|
IntPtr |
baseline1Data |
|
IntPtr |
baseline2Data |
|
GhostDeltaPredictor |
predictor |
|
RestoreFromBackup(IntPtr, IntPtr)
Declaration
[BurstCompile(DisableDirectCall = true)]
[MonoPInvokeCallback(typeof(GhostComponentSerializer.RestoreFromBackupDelegate))]
public static void RestoreFromBackup(IntPtr componentData, IntPtr backupData)
Parameters
Type |
Name |
Description |
IntPtr |
componentData |
|
IntPtr |
backupData |
|
SerializeBuffer(IntPtr, IntPtr, Int32, Int32, Int32, IntPtr, IntPtr, Int32, IntPtr, ref DataStreamWriter, ref NetworkCompressionModel, IntPtr, IntPtr, ref Int32, IntPtr, Int32)
Declaration
[BurstCompile(DisableDirectCall = true)]
[MonoPInvokeCallback(typeof(GhostComponentSerializer.SerializeBufferDelegate))]
public static void SerializeBuffer(IntPtr stateData, IntPtr snapshotData, int snapshotOffset, int snapshotStride, int maskOffsetInBits, IntPtr componentData, IntPtr componentDataLen, int count, IntPtr baselines, ref DataStreamWriter writer, ref NetworkCompressionModel compressionModel, IntPtr entityStartBit, IntPtr snapshotDynamicDataPtr, ref int dynamicSnapshotDataOffset, IntPtr dynamicSizePerEntity, int dynamicSnapshotMaxOffset)
Parameters