HealthStateData

Inherits from DataContainer

Summary

Constructors

HealthStateData()
HealthStateData(guid: Guid)
HealthStateData(other: DataContainer)

Properties

Name Type
objects GameObjectData[]
loosePartPhysics NetworkableLoosePartPhysicsData[]
spawnedBangerBlueprint ObjectBlueprint | nil
spawnedBangerImpulseParams BangerSpawnImpulseParams | nil
health float
partIndex int
physicsEnabled bool
copyDamageToBanger bool
canSupportOtherParts bool

Static members

Name Type
HealthStateData.typeInfo TypeInformation

Constructors

HealthStateData

HealthStateData()

Creates a new HealthStateData frostbite instance.

HealthStateData

HealthStateData(guid: Guid)

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

Parameters

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

HealthStateData

HealthStateData(other: DataContainer)

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

Parameters

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

Properties

objects

GameObjectData[]

loosePartPhysics

NetworkableLoosePartPhysicsData[]

spawnedBangerBlueprint

ObjectBlueprint | nil

spawnedBangerImpulseParams

BangerSpawnImpulseParams | nil

health

float

partIndex

int

physicsEnabled

bool

copyDamageToBanger

bool

canSupportOtherParts

bool

Static members

typeInfo

TypeInformation

The type information for the HealthStateData type.

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