ConsumableTriggerEntityData

Inherits from TriggerEntityData

Summary

Constructors

ConsumableTriggerEntityData()
ConsumableTriggerEntityData(guid: Guid)
ConsumableTriggerEntityData(other: TriggerEntityData)
ConsumableTriggerEntityData(other: GameEntityData)
ConsumableTriggerEntityData(other: SpatialEntityData)
ConsumableTriggerEntityData(other: EntityData)
ConsumableTriggerEntityData(other: GameObjectData)
ConsumableTriggerEntityData(other: GameDataContainer)
ConsumableTriggerEntityData(other: DataContainer)

Properties

Name Type
consumableGroup ConsumableGroup
persistent bool

Static members

Name Type
ConsumableTriggerEntityData.typeInfo TypeInformation

Constructors

ConsumableTriggerEntityData

ConsumableTriggerEntityData()

Creates a new ConsumableTriggerEntityData frostbite instance.

ConsumableTriggerEntityData

ConsumableTriggerEntityData(guid: Guid)

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

Parameters

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

ConsumableTriggerEntityData

ConsumableTriggerEntityData(other: TriggerEntityData)

Casts an instance of type TriggerEntityData to ConsumableTriggerEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other TriggerEntityData The instance to cast to ConsumableTriggerEntityData.

ConsumableTriggerEntityData

ConsumableTriggerEntityData(other: GameEntityData)

Casts an instance of type GameEntityData to ConsumableTriggerEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameEntityData The instance to cast to ConsumableTriggerEntityData.

ConsumableTriggerEntityData

ConsumableTriggerEntityData(other: SpatialEntityData)

Casts an instance of type SpatialEntityData to ConsumableTriggerEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other SpatialEntityData The instance to cast to ConsumableTriggerEntityData.

ConsumableTriggerEntityData

ConsumableTriggerEntityData(other: EntityData)

Casts an instance of type EntityData to ConsumableTriggerEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other EntityData The instance to cast to ConsumableTriggerEntityData.

ConsumableTriggerEntityData

ConsumableTriggerEntityData(other: GameObjectData)

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

Parameters

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

ConsumableTriggerEntityData

ConsumableTriggerEntityData(other: GameDataContainer)

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

Parameters

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

ConsumableTriggerEntityData

ConsumableTriggerEntityData(other: DataContainer)

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

Parameters

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

Properties

consumableGroup

ConsumableGroup

persistent

bool

Static members

typeInfo

TypeInformation

The type information for the ConsumableTriggerEntityData type.

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