-
Notifications
You must be signed in to change notification settings - Fork 7
EntityAppearance
Container for Entity Appearance information. This record is related to Platforms of the Air Domain.
public 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 |
| bool | PaintScheme | Describes the paint scheme of the entity |
| int | 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(int val) | Constructor that takes in the entity appearance as an integer. |
| Return | Name | Description |
|---|---|---|
| int | getField(int val, int mask, int pos) | Gets the bit at the given position of the given value using the given mask. |
| bool | getField(int val, int pos) | Gets the bit at the given position of the given value. |
| int | UpdateValue() | Updates RawVal based on the current variable conditions. |
EEntityDamage DamageDescribes the damaged appearance of an entity
bool FirePowerKilledDescribes the visual effects characteristic of Fire-power kills
int HatchStateDescribes the state of the hatch
bool IsDeactivatedDescribes the state if a platform
bool IsEngineSmokingDescribes whether or not the engine is emitting smoke
bool IsFlamingDescribes whether flames are rising from an entity
bool IsFrozenDescribes the Frozen status of a platform
bool IsLandingGearExtendedDescribes whether the landing gear is wholly retracted or extended
bool IsSmokingDescribes status or location of smoke emanating from an entity
bool LightCollisionDescribes whether anti-collision lights are on or off
bool LightPrimaryDescribes whether landing lights are on or off
bool LightSecondaryDescribes whether navigation lights are on or off
bool MobilityKilledDescribes visual effects characteristic of Mobility Kills
bool PaintSchemeDescribes the paint scheme of the entity
int32 RawValThe raw value describing the Entity's Appearance
int TrailingDescribes 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.
FEntityAppearance
(
int val
)Constructor that takes in the entity appearance as an unsigned integer.
| Parameter | Description |
|---|---|
| val | The entity appearance as an integer. |
static int getField
(
int 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
(
int 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|
int UpdateValue()Updates RawVal based on the current variable conditions.
|Returns| |The updated RawVal.|