SpottingComponentData

Inherits from ComponentData

Summary

Constructors

SpottingComponentData()
SpottingComponentData(guid: Guid)
SpottingComponentData(other: ComponentData)
SpottingComponentData(other: GameObjectData)
SpottingComponentData(other: GameDataContainer)
SpottingComponentData(other: DataContainer)

Properties

Name Type
spottingFov float
teamOrderFov float
spottingDistance float
passiveSpottingTimeInterval float
timeRequiredToPassiveSpot float
orderNeedAmmoPercentage float
orderHealPercentage float
orderRepairPercentage float
pickupOrderDistance float
healOrderDistance float
ammoOrderDistance float
repairOrderDistance float
coolDownHistoryTime float
coolDownAllowedSpotsWithinHistory int
onlyAllowedToHaveOneSpottedPlayer bool

Static members

Name Type
SpottingComponentData.typeInfo TypeInformation

Constructors

SpottingComponentData

SpottingComponentData()

Creates a new SpottingComponentData frostbite instance.

SpottingComponentData

SpottingComponentData(guid: Guid)

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

Parameters

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

SpottingComponentData

SpottingComponentData(other: ComponentData)

Casts an instance of type ComponentData to SpottingComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other ComponentData The instance to cast to SpottingComponentData.

SpottingComponentData

SpottingComponentData(other: GameObjectData)

Casts an instance of type GameObjectData to SpottingComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameObjectData The instance to cast to SpottingComponentData.

SpottingComponentData

SpottingComponentData(other: GameDataContainer)

Casts an instance of type GameDataContainer to SpottingComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameDataContainer The instance to cast to SpottingComponentData.

SpottingComponentData

SpottingComponentData(other: DataContainer)

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

Parameters

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

Properties

spottingFov

float

teamOrderFov

float

spottingDistance

float

passiveSpottingTimeInterval

float

timeRequiredToPassiveSpot

float

orderNeedAmmoPercentage

float

orderHealPercentage

float

orderRepairPercentage

float

pickupOrderDistance

float

healOrderDistance

float

ammoOrderDistance

float

repairOrderDistance

float

coolDownHistoryTime

float

coolDownAllowedSpotsWithinHistory

int

onlyAllowedToHaveOneSpottedPlayer

bool

Static members

typeInfo

TypeInformation

The type information for the SpottingComponentData type.

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