Struct __GHOST_NAME__SnapshotData
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Global Namespace
Syntax
public struct __GHOST_NAME__SnapshotData : ISnapshotData<__GHOST_NAME__SnapshotData>, IBufferElementData
Fields
tick
Declaration
public uint tick
Field Value
Type | Description |
---|---|
System.UInt32 |
Properties
Tick
Declaration
public readonly uint Tick { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Implements
Methods
Deserialize(UInt32, ref __GHOST_NAME__SnapshotData, DataStreamReader, ref DataStreamReader.Context, NetworkCompressionModel)
Declaration
public void Deserialize(uint tick, ref __GHOST_NAME__SnapshotData baseline, DataStreamReader reader, ref DataStreamReader.Context ctx, NetworkCompressionModel compressionModel)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | tick | |
__GHOST_NAME__SnapshotData | baseline | |
DataStreamReader | reader | |
DataStreamReader.Context | ctx | |
NetworkCompressionModel | compressionModel |
Interpolate(ref __GHOST_NAME__SnapshotData, Single)
Declaration
public void Interpolate(ref __GHOST_NAME__SnapshotData target, float factor)
Parameters
Type | Name | Description |
---|---|---|
__GHOST_NAME__SnapshotData | target | |
System.Single | factor |
Implements
PredictDelta(UInt32, ref __GHOST_NAME__SnapshotData, ref __GHOST_NAME__SnapshotData)
Declaration
public void PredictDelta(uint tick, ref __GHOST_NAME__SnapshotData baseline1, ref __GHOST_NAME__SnapshotData baseline2)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | tick | |
__GHOST_NAME__SnapshotData | baseline1 | |
__GHOST_NAME__SnapshotData | baseline2 |
Implements
Serialize(Int32, ref __GHOST_NAME__SnapshotData, DataStreamWriter, NetworkCompressionModel)
Declaration
public void Serialize(int networkId, ref __GHOST_NAME__SnapshotData baseline, DataStreamWriter writer, NetworkCompressionModel compressionModel)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | networkId | |
__GHOST_NAME__SnapshotData | baseline | |
DataStreamWriter | writer | |
NetworkCompressionModel | compressionModel |