Table of Contents

Class Replay.Play

Namespace
Netick
Assembly
Netick.dll
public sealed class Replay.Play
Inheritance
Replay.Play
Inherited Members

Fields

Engine

public readonly NetickEngine Engine

Field Value

NetickEngine

Transport

public readonly IReplayTransport Transport

Field Value

IReplayTransport

Properties

Duration

public float Duration { get; }

Property Value

float

FrameCount

public int FrameCount { get; }

Property Value

int

FrameIndex

public int FrameIndex { get; }

Property Value

int

IsFinished

public bool IsFinished { get; }

Property Value

bool

IsInitialized

public bool IsInitialized { get; }

Property Value

bool

Position

public float Position { get; }

Property Value

float

PositionNormalized

public float PositionNormalized { get; }

Property Value

float

RecordingRate

public float RecordingRate { get; }

Property Value

float

ReplayAddress

public string ReplayAddress { get; }

Property Value

string

Methods

ReceiveSnapshot(byte*, int)

public void ReceiveSnapshot(byte* dat, int sizeBytes)

Parameters

dat byte*
sizeBytes int

SeekToFrame(int)

public void SeekToFrame(int frameIndex)

Parameters

frameIndex int

SeekToFrameRelative(int)

public void SeekToFrameRelative(int frameOffset)

Parameters

frameOffset int

SeekToTime(float)

public void SeekToTime(float time)

Parameters

time float

SeekToTimeRelative(float)

public void SeekToTimeRelative(float timeOffset)

Parameters

timeOffset float

StartReplaying(string)

public void StartReplaying(string replayAddress)

Parameters

replayAddress string

TimeToFrameIndex(float)

public int TimeToFrameIndex(float time)

Parameters

time float

Returns

int

TryGetReplayMetadata(out byte[])

public bool TryGetReplayMetadata(out byte[] data)

Parameters

data byte[]

Returns

bool

Events

OnSeeked

public event Action<Tick, Tick> OnSeeked

Event Type

Action<Tick, Tick>