NetworkPerformanceEvent
Inherits from MetricEvent
Summary
Constructors
NetworkPerformanceEvent() |
NetworkPerformanceEvent(guid: Guid) |
NetworkPerformanceEvent(other: MetricEvent) |
NetworkPerformanceEvent(other: DataContainer) |
Properties
Name | Type |
---|---|
received | int |
sent | int |
receivedAverage | float |
sentAverage | float |
performanceLink | Guid |
Static members
Name | Type |
---|---|
NetworkPerformanceEvent.typeInfo | TypeInformation |
Constructors
NetworkPerformanceEvent
NetworkPerformanceEvent()
Creates a new NetworkPerformanceEvent frostbite instance.
NetworkPerformanceEvent
NetworkPerformanceEvent(guid: Guid)
Creates a new NetworkPerformanceEvent frostbite instance and assigns it the provided Guid.
Parameters
Name | Type | Description |
---|---|---|
guid | Guid | The Guid to assign to the newly created instance. |
NetworkPerformanceEvent
NetworkPerformanceEvent(other: MetricEvent)
Casts an instance of type MetricEvent to NetworkPerformanceEvent. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | MetricEvent | The instance to cast to NetworkPerformanceEvent. |
NetworkPerformanceEvent
NetworkPerformanceEvent(other: DataContainer)
Casts an instance of type DataContainer to NetworkPerformanceEvent. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | DataContainer | The instance to cast to NetworkPerformanceEvent. |
Properties
received
int
sent
int
receivedAverage
float
sentAverage
float
performanceLink
Static members
typeInfo
The type information for the NetworkPerformanceEvent type.
Last modified April 26, 2020: Update frostbite type documentation (8b14351c)