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