Class Metrics
Inheritance
System.Object
Inherited Members
Show
Syntax
public class Metrics
Constructors
Metrics(Int32)
Declaration
public Metrics(int bitSize = 10)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | bitSize |
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
Type | Name | Description |
---|---|---|
System.Int32 | connectionCount |
OnSend(Int32)
Declaration
public void OnSend(int length)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | length |
OnResend(Int32)
Declaration
public void OnResend(int length)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | length |
OnReceive(Int32)
Declaration
public void OnReceive(int length)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | length |
OnReceiveUnconnected(Int32)
Declaration
public void OnReceiveUnconnected(int length)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | length |
OnSendMessageUnreliable(Int32)
Declaration
public void OnSendMessageUnreliable(int length)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | length |
OnReceiveMessageUnreliable(Int32)
Declaration
public void OnReceiveMessageUnreliable(int length)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | length |
OnSendMessageReliable(Int32)
Declaration
public void OnSendMessageReliable(int length)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | length |
OnReceiveMessageReliable(Int32)
Declaration
public void OnReceiveMessageReliable(int length)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | length |
OnSendMessageNotify(Int32)
Declaration
public void OnSendMessageNotify(int length)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | length |
OnReceiveMessageNotify(Int32)
Declaration
public void OnReceiveMessageNotify(int length)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | length |
OnReceiveMessage(PacketType, Int32)
Declaration
public void OnReceiveMessage(PacketType packetType, int length)
Parameters
Type | Name | Description |
---|---|---|
Mirage.SocketLayer.PacketType | packetType | |
System.Int32 | length |