Skip to main content

Class Metrics

Inheritance
System.Object
Inherited Members
Show
Syntax
public class Metrics

Constructors

Metrics(Int32)

Declaration
public Metrics(int bitSize = 10)
Parameters
TypeNameDescription
System.Int32bitSize

Fields

Sequencer

Declaration
public readonly Sequencer Sequencer

buffer

Declaration
public readonly Metrics.Frame[] buffer

tick

Declaration
public uint tick

Methods

OnTick(Int32)

Declaration
public void OnTick(int connectionCount)
Parameters
TypeNameDescription
System.Int32connectionCount

OnSend(Int32)

Declaration
public void OnSend(int length)
Parameters
TypeNameDescription
System.Int32length

OnResend(Int32)

Declaration
public void OnResend(int length)
Parameters
TypeNameDescription
System.Int32length

OnReceive(Int32)

Declaration
public void OnReceive(int length)
Parameters
TypeNameDescription
System.Int32length

OnReceiveUnconnected(Int32)

Declaration
public void OnReceiveUnconnected(int length)
Parameters
TypeNameDescription
System.Int32length

OnSendMessageUnreliable(Int32)

Declaration
public void OnSendMessageUnreliable(int length)
Parameters
TypeNameDescription
System.Int32length

OnReceiveMessageUnreliable(Int32)

Declaration
public void OnReceiveMessageUnreliable(int length)
Parameters
TypeNameDescription
System.Int32length

OnSendMessageReliable(Int32)

Declaration
public void OnSendMessageReliable(int length)
Parameters
TypeNameDescription
System.Int32length

OnReceiveMessageReliable(Int32)

Declaration
public void OnReceiveMessageReliable(int length)
Parameters
TypeNameDescription
System.Int32length

OnSendMessageNotify(Int32)

Declaration
public void OnSendMessageNotify(int length)
Parameters
TypeNameDescription
System.Int32length

OnReceiveMessageNotify(Int32)

Declaration
public void OnReceiveMessageNotify(int length)
Parameters
TypeNameDescription
System.Int32length

OnReceiveMessage(PacketType, Int32)

Declaration
public void OnReceiveMessage(PacketType packetType, int length)
Parameters
TypeNameDescription
Mirage.SocketLayer.PacketTypepacketType
System.Int32length