-
Notifications
You must be signed in to change notification settings - Fork 20
EntityAppearance
Container for Entity Appearance information. This record is related to Platforms of the Air Domain.
struct FEntityAppearance| Type | Name | Description |
|---|---|---|
| EEntityDamage | Damage | Describes the damaged appearance of an entity |
| bool | FirePowerKilled | Describes the visual effects characteristic of Fire-power kills |
| int | HatchState | Describes the state of the hatch |
| bool | IsDeactivated | Describes the state if a platform |
| bool | IsEngineSmoking | Describes whether or not the engine is emitting smoke |
| bool | IsFlaming | Describes whether flames are rising from an entity |
| bool | IsFrozen | Describes the Frozen status of a platform |
| bool | IsLandingGearExtended | Describes whether the landing gear is wholly retracted or extended |
| bool | IsSmoking | Describes status or location of smoke emanating from an entity |
| bool | LightCollision | Describes whether anti-collision lights are on or off |
| bool | LightPrimary | Describes whether landing lights are on or off |
| bool | LightSecondary | Describes whether navigation lights are on or off |
| bool | MobilityKilled | Describes visual effects characteristic of Mobility Kills |
| [EPaintScheme] | PaintScheme | Describes the paint scheme of the entity |
| int32 | RawVal | The raw value describing the Entity's Appearance |
| int | Trailing | Describes the size of trailing effects from an entity. Trailing effects include dust clouds for land platforms, wakes for surface platforms, rocket flames for guided munitions, contrails and ionization trails for air platforms, etc. |
| Name | Description |
|---|---|
| FEntityAppearance() | Default constructor |
| FEntityAppearance(uint32 val) | Constructor that takes in the entity appearance as an unsigned integer. |
| Return | Name | Description |
|---|---|---|
| int | getField(uint32 val, int mask, int pos) | Gets the bit at the given position of the given value using the given mask. |
| bool | getField(uint32 val, int pos) | Gets the bit at the given position of the given value. |
| int32 | UpdateValue() | Updates RawVal based on the current variable conditions. |
EEntityDamage Damage = EEntityDamage::NoDamageDescribes the damaged appearance of an entity
Category: GRILL DIS|Structs
bool FirePowerKilled = falseDescribes the visual effects characteristic of Fire-power kills
Category: GRILL DIS|Structs
int HatchState = 0Describes the state of the hatch
Category: GRILL DIS|Structs
bool IsDeactivated = falseDescribes the state if a platform
Category: GRILL DIS|Structs
bool IsEngineSmoking = falseDescribes whether or not the engine is emitting smoke
Category: GRILL DIS|Structs
bool IsFlaming = falseDescribes whether flames are rising from an entity
Category: GRILL DIS|Structs
bool IsFrozen = falseDescribes the Frozen status of a platform
Category: GRILL DIS|Structs
bool IsLandingGearExtended = falseDescribes whether the landing gear is wholly retracted or extended
Category: GRILL DIS|Structs
bool IsSmoking = falseDescribes status or location of smoke emanating from an entity
Category: GRILL DIS|Structs
bool LightCollision = falseDescribes whether anti-collision lights are on or off
Category: GRILL DIS|Structs
bool LightPrimary = falseDescribes whether landing lights are on or off
Category: GRILL DIS|Structs
bool LightSecondary = falseDescribes whether navigation lights are on or off
Category: GRILL DIS|Structs
bool MobilityKilled = falseDescribes visual effects characteristic of Mobility Kills
Category: GRILL DIS|Structs
EPaintScheme PaintScheme = falseDescribes the paint scheme of the entity
Category: GRILL DIS|Structs
int32 RawVal = 0The raw value describing the Entity's Appearance
Category: GRILL DIS|Structs
int Trailing = 0Describes the size of trailing effects from an entity. Trailing effects include dust clouds for land platforms, wakes for surface platforms, rocket flames for guided munitions, contrails and ionization trails for air platforms, etc.
Category: GRILL DIS|Structs
FEntityAppearance()Default constructor
FEntityAppearance
(
uint32 val
)Constructor that takes in the entity appearance as an unsigned integer.
| Parameter | Description |
|---|---|
| val | The entity appearance as an unsigned integer. |
static int getField
(
uint32 val,
int mask,
int pos
)Constructor that takes in the entity appearance as an unsigned integer.
| Parameter | Description |
|---|---|
| val | The value to get the bit position from. |
| mask | The mask to apply to the position. |
| pos | The position of the bit to get. |
|Returns| |The integer value of the masked bits at the given position|
static bool getField
(
uint32 val,
int pos
)Constructor that takes in the entity appearance as an unsigned integer.
| Parameter | Description |
|---|---|
| val | The value to get check the specific bit of. |
| pos | The position of the bit to check. |
|Returns| |Whether or not the bit at the given position is set|
int32 UpdateValue()Updates RawVal based on the current variable conditions.
|Returns| |The updated RawVal.|