Skip to main content

EntityMessageStatistics

A class in Root.Township, Alta.Profiling.Networking.

Profiling list of bytes sent, one statistic per entity message type.

Constructors​

MemberWhat it is
EntityMessageStatistics()Creates an EntityMessageStatistics with default values.

Methods​

MemberWhat 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: