SwiftlyS2

INetChannelInfo

Interface INetChannelInfo

Namespace: SwiftlyS2.Shared.Engine

Assembly: SwiftlyS2.CS2.dll

public interface INetChannelInfo

Properties

Address

string Address { get; }
Property Value

AvgLatency

float AvgLatency { get; }
Property Value

DataRate

int DataRate { get; }
Property Value

EngineLatency

float EngineLatency { get; }
Property Value

IsLocalHost

bool IsLocalHost { get; }
Property Value

IsLoopback

bool IsLoopback { get; }
Property Value

IsPlayback

bool IsPlayback { get; }
Property Value

IsTimingOut

bool IsTimingOut { get; }
Property Value

Name

string Name { get; }
Property Value

RemoteAddress

NetworkAddress RemoteAddress { get; }
Property Value

RemoteFramerate

(float FrameTime, float FrameTimeStdDeviation, float FrameStartTimeStdDeviation) RemoteFramerate { get; }
Property Value

Time

float Time { get; }
Property Value

TimeConnected

float TimeConnected { get; }
Property Value

TimeSinceLastReceived

float TimeSinceLastReceived { get; }
Property Value

TimeUntilTimeout

float TimeUntilTimeout { get; }
Property Value

TimeoutSeconds

float TimeoutSeconds { get; }
Property Value

Methods

GetAvgChoke(NetworkFlow)

float GetAvgChoke(NetworkFlow flow)
Parameters
Returns

GetAvgData(NetworkFlow)

float GetAvgData(NetworkFlow flow)
Parameters
Returns

GetAvgLoss(NetworkFlow)

float GetAvgLoss(NetworkFlow flow)
Parameters
Returns

GetAvgPacketBytes(NetworkFlow)

float GetAvgPacketBytes(NetworkFlow flow)
Parameters
Returns

GetAvgPackets(NetworkFlow)

float GetAvgPackets(NetworkFlow flow)
Parameters
Returns

GetSequenceNr(NetworkFlow)

int GetSequenceNr(NetworkFlow flow)
Parameters
Returns

GetTotalData(NetworkFlow)

ulong GetTotalData(NetworkFlow flow)
Parameters
Returns

GetTotalPackets(NetworkFlow)

int GetTotalPackets(NetworkFlow flow)
Parameters
Returns

SetInterpolationAmount(float, float)

void SetInterpolationAmount(float InterpolationAmount, float UpdateRate)
Parameters

SetNumPredictionErrors(int)

void SetNumPredictionErrors(int num)
Parameters

SetShowNetMessages(bool)

void SetShowNetMessages(bool show)
Parameters

On this page