-
Notifications
You must be signed in to change notification settings - Fork 20
FirePDU
Struct container for all information that is contained inside of a DIS Fire PDU.
struct FFirePDU
: public FWarfareFamilyPDU- CoreMinimal
- UObject/NoExportTypes.h
- <dis6/FirePdu.h>
- PDUs/WarfareFamily/GRILL_WarfareFamilyPDU.h
| Type | Name | Description |
|---|---|---|
| FBurstDescriptor | BurstDescriptor | Description of the detonation in the form of a munition descriptor, an explosion descriptor, or an expendable descriptor |
| FEventID | EventID | The event ID from the originating Fire PDU if one exist, otherwise the event number shall be 0. |
| int64 | FireMissionIndex | The index number of the fire mission. |
| FVector | EcefLocation | The location from which the munition was launched in world coordinates. |
| FEntityID | MunitionEntityID | The ID of the munition or expendable entity. |
| float | Range | The range that an entity's fire control system has assumed in computing the fire control solution in meters. For systems where the range is unknown, range shall be 0 |
| FVector | Velocity | The velocity of the fired munition at the point when the issuing simulation application intends the externally visable effects of the launch to first become apparent represented in world coordinates in meters per second. |
| Name | Description |
|---|---|
| FFirePDU() | Default constructor |
| Name | Description |
|---|---|
| ~FFirePDU() | Default destructor |
| Return | Name | Description |
|---|---|---|
| SetupFromOpenDIS(const DIS::FirePdu& FirePDUIn) | Converts an OpenDIS FirePdu struct to an FFirePDU struct. | |
| TArray<uint8> | ToBytes() | Conversion to an array of bytes. Allows for an FFirePDU struct to be sent out with a UDP send socket. |
| ToOpenDIS(DIS::FirePdu& FirePDUOut) | Conversion to OpenDIS FirePdu struct |
FBurstDescriptor BurstDescriptorDescription of the detonation in the form of a munition descriptor, an explosion descriptor, or an expendable descriptor
Category: GRILL DIS|Structs|PDUs|Fire
FEventID EventIDThe event ID from the originating Fire PDU if one exist, otherwise the event number shall be 0.
Category: GRILL DIS|Structs|PDUs|Fire
int64 FireMissionIndexThe index number of the fire mission
Category: GRILL DIS|Structs|PDUs|Fire
Range: [0, 4294967295]
FVector EcefLocationThe location from which the munition was launched in world coordinates
Category: GRILL DIS|Structs|PDUs|Fire
FEntityID MunitionEntityIDThe ID of the munition or expendable entity.
Category: GRILL DIS|Structs|PDUs|Fire
float RangeThe range that an entity's fire control system has assumed in computing the fire control solution in meters. For systems where the range is unknown, range shall be 0
FVector VelocityThe velocity of the fired munition at the point when the issuing simulation application intends the externally visable effects of the launch to first become apparent represented in world coordinates in meters per second.
Category: GRILL DIS|Structs|PDUs|Fire
FFirePDU() : FWarfareFamilyPDU()Default constructor.
virtual ~FFirePDU()Default destructor.
void SetupFromOpenDIS
(
const DIS::FirePdu& FirePDUIn
)Converts an OpenDIS FirePdu struct to an FFirePDU struct.
| Parameter | Description |
|---|---|
| FirePDUIn | The OpenDIS FirePdu struct to convert. |
virtual TArray<uint8> ToBytes() overrideConversion to OpenDIS FirePdu struct
| Returns |
|---|
| An array of bytes containing the information from this FFirePDU. |
void ToOpenDIS
(
DIS::FirePdu& FirePDUOut
)Conversion to an array of bytes. Allows for an FFirePDU struct to be sent out with a UDP send socket.
| Parameter | Description |
|---|---|
| FirePDUOut | The OpenDIS FirePdu struct representation of this FFirePDU. |