Struct Replay.ReplaySnapshot
- Namespace
- Netick
- Assembly
- Netick.dll
public struct Replay.ReplaySnapshot
- Inherited Members
-
Fields
BufferSizeWords
public long BufferSizeWords
Field Value
- long
FrameId
Field Value
- int
Position
Field Value
- int
Ptr
Field Value
- int*
Properties
BufferSizeBytes
public long BufferSizeBytes { get; }
Property Value
- long
CountWords
public int CountWords { get; }
Property Value
- int
Methods
AddAllocator(NetickAllocator)
public void AddAllocator(NetickAllocator netickAllocator)
Parameters
netickAllocator NetickAllocator
AddData(int*, long)
public void AddData(int* data, long sizeWords)
Parameters
data int*
sizeWords long
AddEntity(Entity)
public void AddEntity(Entity entity)
Parameters
entity Entity
AddInt(int)
public void AddInt(int value)
Parameters
value int
Allocate(int)
public void Allocate(int sizeBytes)
Parameters
sizeBytes int
Clear()
CopyTo(ref ReplaySnapshot)
public void CopyTo(ref Replay.ReplaySnapshot buffer)
Parameters
buffer Replay.ReplaySnapshot
Free()
InsertInt(int, int)
public void InsertInt(int value, int offset)
Parameters
value int
offset int
ResizeIfRequired(long, bool)
public void ResizeIfRequired(long sizeWordsToWrite, bool copyFromPrevious)
Parameters
sizeWordsToWrite long
copyFromPrevious bool