-
Notifications
You must be signed in to change notification settings - Fork 16
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. |
int32 | FireMissionIndex | The index number of the fire mission. |
FVector | Location | The location from which the munition was launched in world coordinates in float-precision. |
TArray<double> | LocationDouble | The location from which the munition was launched in world coordinates in double-precision. |
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(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 BurstDescriptor
Description of the detonation in the form of a munition descriptor, an explosion descriptor, or an expendable descriptor
Category: GRILL DIS|Structs|PDUs|Fire
FEventID EventID
The event ID from the originating Fire PDU if one exist, otherwise the event number shall be 0.
Category: GRILL DIS|Structs|PDUs|Fire
int32 FireMissionIndex
The index number of the fire mission
Category: GRILL DIS|Structs|PDUs|Fire
FVector Location
The location of the detonation in world coordinates in float-precision.
Category: GRILL DIS|Structs|PDUs|Fire
TArray<double> LocationDouble
The location of the detonation in world coordinates in double-precision.
FEntityID MunitionEntityID
The ID of the munition or expendable entity.
Category: GRILL DIS|Structs|PDUs|Fire
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.
Category: GRILL DIS|Structs|PDUs|Fire
FFirePDU() : FWarfareFamilyPDU()
Default constructor.
virtual ~FFirePDU()
Default destructor.
void SetupFromOpenDIS
(
DIS::FirePdu* FirePDUIn
)
Converts an OpenDIS FirePdu struct to an FFirePDU struct.
Parameter | Description |
---|---|
FirePDUIn | The OpenDIS FirePdu struct to convert. |
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. |
virtual TArray<uint8> ToBytes() override
Conversion to OpenDIS FirePdu struct
Returns |
---|
An array of bytes containing the information from this FFirePDU. |