CoverEntityData
Inherits from SpatialEntityData
Summary
Constructors
| CoverEntityData() |
| CoverEntityData(guid: Guid) |
| CoverEntityData(other: SpatialEntityData) |
| CoverEntityData(other: EntityData) |
| CoverEntityData(other: GameObjectData) |
| CoverEntityData(other: GameDataContainer) |
| CoverEntityData(other: DataContainer) |
Properties
| Name | Type |
|---|---|
| width | float |
| coverType | CoverType |
| slots | CoverSlot[] |
| rightEdgeBlocked | bool |
| topBlocked | bool |
| leftEdgeBlocked | bool |
Static members
| Name | Type |
|---|---|
| CoverEntityData.typeInfo | TypeInformation |
Constructors
CoverEntityData
CoverEntityData()
Creates a new CoverEntityData frostbite instance.
CoverEntityData
CoverEntityData(guid: Guid)
Creates a new CoverEntityData frostbite instance and assigns it the provided Guid.
Parameters
| Name | Type | Description |
|---|---|---|
| guid | Guid | The Guid to assign to the newly created instance. |
CoverEntityData
CoverEntityData(other: SpatialEntityData)
Casts an instance of type SpatialEntityData to CoverEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | SpatialEntityData | The instance to cast to CoverEntityData. |
CoverEntityData
CoverEntityData(other: EntityData)
Casts an instance of type EntityData to CoverEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | EntityData | The instance to cast to CoverEntityData. |
CoverEntityData
CoverEntityData(other: GameObjectData)
Casts an instance of type GameObjectData to CoverEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | GameObjectData | The instance to cast to CoverEntityData. |
CoverEntityData
CoverEntityData(other: GameDataContainer)
Casts an instance of type GameDataContainer to CoverEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | GameDataContainer | The instance to cast to CoverEntityData. |
CoverEntityData
CoverEntityData(other: DataContainer)
Casts an instance of type DataContainer to CoverEntityData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | DataContainer | The instance to cast to CoverEntityData. |
Properties
width
float
coverType
slots
rightEdgeBlocked
bool
topBlocked
bool
leftEdgeBlocked
bool
Static members
typeInfo
The type information for the CoverEntityData type.