EntityMessageStatistics
A class in Root.Township, Alta.Profiling.Networking.
Profiling list of bytes sent, one statistic per entity message type.
- Listed in Networking and servers
- Inherits or implements
IndexedStatisticList<EntityMessageTypeStatistic, EntityMessageType>
Constructors
| Member | What it is |
|---|---|
EntityMessageStatistics() | Creates an EntityMessageStatistics with default values. |
Methods
| Member | What it is |
|---|---|
void RegisterMessageSend(EntityMessageType messageType, int byteCount) | Records a send of the given size for a message type. |
protected override EntityMessageTypeStatistic CreateNewStatistic(EntityMessageType creationArgument) | Makes a statistic for a message type the first time it is seen. |
Used in
Members of other types that take, return or hold a EntityMessageStatistics: