EntityInteractionComponentData
Inherits from ComponentData
Summary
Constructors
Properties
Name | Type |
---|---|
pickupRadius | float |
maxAmmoPickupTimer | float |
maxAmmoCrateTimer | float |
interactWithTypes | InteractionTypesData |
maxLookAtAngle | float |
soldierInteractRadius | float |
soldierInteractInputAction | EntryInputActionEnum |
allowInteractionWithSoldiers | bool |
onlyAllowInteractionWithManDownSoldiers | bool |
Static members
Name | Type |
---|---|
EntityInteractionComponentData.typeInfo | TypeInformation |
Constructors
EntityInteractionComponentData
EntityInteractionComponentData()
Creates a new EntityInteractionComponentData frostbite instance.
EntityInteractionComponentData
EntityInteractionComponentData(guid: Guid)
Creates a new EntityInteractionComponentData frostbite instance and assigns it the provided Guid.
Parameters
Name | Type | Description |
---|---|---|
guid | Guid | The Guid to assign to the newly created instance. |
EntityInteractionComponentData
EntityInteractionComponentData(other: ComponentData)
Casts an instance of type ComponentData to EntityInteractionComponentData. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | ComponentData | The instance to cast to EntityInteractionComponentData. |
EntityInteractionComponentData
EntityInteractionComponentData(other: GameObjectData)
Casts an instance of type GameObjectData to EntityInteractionComponentData. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | GameObjectData | The instance to cast to EntityInteractionComponentData. |
EntityInteractionComponentData
EntityInteractionComponentData(other: GameDataContainer)
Casts an instance of type GameDataContainer to EntityInteractionComponentData. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | GameDataContainer | The instance to cast to EntityInteractionComponentData. |
EntityInteractionComponentData
EntityInteractionComponentData(other: DataContainer)
Casts an instance of type DataContainer to EntityInteractionComponentData. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | DataContainer | The instance to cast to EntityInteractionComponentData. |
Properties
pickupRadius
float
maxAmmoPickupTimer
float
maxAmmoCrateTimer
float
interactWithTypes
maxLookAtAngle
float
soldierInteractRadius
float
soldierInteractInputAction
allowInteractionWithSoldiers
bool
onlyAllowInteractionWithManDownSoldiers
bool
Static members
typeInfo
The type information for the EntityInteractionComponentData type.