PlayerState

Inherits from MetricState

Summary

Constructors

PlayerState()
PlayerState(guid: Guid)
PlayerState(other: MetricState)
PlayerState(other: MetricEvent)
PlayerState(other: DataContainer)

Properties

Name Type
onlineId int

Static members

Name Type
PlayerState.typeInfo TypeInformation

Constructors

PlayerState

PlayerState()

Creates a new PlayerState frostbite instance.

PlayerState

PlayerState(guid: Guid)

Creates a new PlayerState frostbite instance and assigns it the provided Guid.

Parameters

Name Type Description
guid Guid The Guid to assign to the newly created instance.

PlayerState

PlayerState(other: MetricState)

Casts an instance of type MetricState to PlayerState. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other MetricState The instance to cast to PlayerState.

PlayerState

PlayerState(other: MetricEvent)

Casts an instance of type MetricEvent to PlayerState. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other MetricEvent The instance to cast to PlayerState.

PlayerState

PlayerState(other: DataContainer)

Casts an instance of type DataContainer to PlayerState. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other DataContainer The instance to cast to PlayerState.

Properties

onlineId

int

Static members

typeInfo

TypeInformation

The type information for the PlayerState type.

Last modified April 26, 2020: Update frostbite type documentation (8b14351c)