Table of Contents

Struct NetworkTimer

Namespace
Netick
Assembly
Netick.dll
public struct NetworkTimer : IEquatable<NetworkTimer>
Implements
Inherited Members

Properties

TargetTick

public int TargetTick { get; }

Property Value

int

Methods

Equals(NetworkTimer)

public bool Equals(NetworkTimer other)

Parameters

other NetworkTimer

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetElapsedTime(NetickEngine, bool)

public float GetElapsedTime(NetickEngine engine, bool usePredictedTiming = false)

Parameters

engine NetickEngine
usePredictedTiming bool

Returns

float

GetHashCode()

public override int GetHashCode()

Returns

int

GetRemainingTime(NetickEngine, bool)

public float GetRemainingTime(NetickEngine engine, bool usePredictedTiming = false)

Parameters

engine NetickEngine
usePredictedTiming bool

Returns

float

IsRunning(NetickEngine, bool)

public bool IsRunning(NetickEngine engine, bool usePredictedTiming = false)

Parameters

engine NetickEngine
usePredictedTiming bool

Returns

bool

IsStopped(NetickEngine, bool)

public bool IsStopped(NetickEngine engine, bool usePredictedTiming = false)

Parameters

engine NetickEngine
usePredictedTiming bool

Returns

bool

RestartTimer(float, NetickEngine, bool)

public static NetworkTimer RestartTimer(float time, NetickEngine engine, bool usePredictedTiming = false)

Parameters

time float
engine NetickEngine
usePredictedTiming bool

Returns

NetworkTimer

StartTimer(float, NetickEngine, bool)

public static NetworkTimer StartTimer(float time, NetickEngine engine, bool usePredictedTiming = false)

Parameters

time float
engine NetickEngine
usePredictedTiming bool

Returns

NetworkTimer

ToString()

public override string ToString()

Returns

string