-
Notifications
You must be signed in to change notification settings - Fork 20
DetonationPDU
Struct container for all information that is contained inside of a DIS Detonation PDU.
struct FDetonationPDU
: public FWarfareFamilyPDU- CoreMinimal
- UObject/NoExportTypes.h
- <dis6/DetonationPdu.h>
- PDUs/WarfareFamily/GRILL_WarfareFamilyPDU.h
| Type | Name | Description |
|---|---|---|
| TArray<FArticulationParameters> | ArticulationParameters | A set of parameter values for each variable parameter record that is included. |
| FBurstDescriptor | BurstDescriptor | Description of the detonation in the form of a munition descriptor, an explosion descriptor, or an expendable descriptor |
| EDetonationResult | DetonationResult | The result of the detonation as denoted in SISO-REF-010-2015 UID 62 |
| FEventID | EventID | The event ID from the originating Detonation PDU if one exist, otherwise the event number shall be 0. |
| FVector | EcefLocation | The location of the detonation in world coordinates. |
| FVector | LocationInEntityCoords | The location of the munition detonation, the expendaable detonation, or the non-munition explosion in the entity coordinate system (right-hand system). |
| FEntityID | MunitionEntityID | The ID of the munition or expendable entity. |
| int32 | Pad | Unused padding |
| FVector | Velocity | The velocity of the munition immediately before detonation/impact, the velocity of a non-munition entity immediately before exploding, or the velocity of an expendable immediately before a chaff burst or ignition of a flare. Velocity is represented in world coordinates in meters per second. |
| Name | Description |
|---|---|
| FDetonationPDU() | Default constructor |
| Name | Description |
|---|---|
| ~FDetonationPDU() | Default destructor |
| Return | Name | Description |
|---|---|---|
| SetupFromOpenDIS(const DIS::DetonationPdu& DetonationPDUIn) | Converts an OpenDIS DetonationPdu struct to an FDetonationPDU struct. | |
| TArray<uint8> | ToBytes() | Conversion to an array of bytes. Allows for an FDetonationPDU struct to be sent out with a UDP send socket. |
| ToOpenDIS(DIS::DetonationPdu& DetonationPDUOut) | Conversion to OpenDIS DetonationPdu struct |
TArray<FArticulationParameters> ArticulationParametersA set of parameter values for each variable parameter record that is included.
Category: GRILL DIS|Structs|PDUs|Detonation
FBurstDescriptor BurstDescriptorDescription of the detonation in the form of a munition descriptor, an explosion descriptor, or an expendable descriptor
Category: GRILL DIS|Structs|PDUs|Detonation
EDetonationResult DetonationResultThe result of the detonation as denoted in SISO-REF-010-2015 UID 62
Category: GRILL DIS|Structs|PDUs|Detonation
FEventID EventIDThe event ID from the originating Fire PDU if one exist, otherwise the event number shall be 0.
Category: GRILL DIS|Structs|PDUs|Detonation
FVector EcefLocationThe location of the detonation in world coordinates
Category: GRILL DIS|Structs|PDUs|Detonation
FVector LocationInEntityCoordsThe location of the munition detonation, the expendaable detonation, or the non-munition explosion in the entity coordinate system (right-hand system).
Category: GRILL DIS|Structs|PDUs|Detonation
FEntityID MunitionEntityIDThe ID of the munition or expendable entity.
Category: GRILL DIS|Structs|PDUs|Detonation
int32 PadUnused padding
FVector VelocityThe velocity of the munition immediately before detonation/impact, the velocity of a non-munition entity immediately before exploding, or the velocity of an expendable immediately before a chaff burst or ignition of a flare. Velocity is represented in world coordinates in meters per second.
Category: GRILL DIS|Structs|PDUs|Detonation
FDetonationPDU() : FWarfareFamilyPDU()Default constructor.
virtual ~FDetonationPDU()Default destructor.
void SetupFromOpenDIS
(
const DIS::DetonationPdu& DetonationPDUIn
)Converts an OpenDIS DetonationPdu struct to an FDetonationPDU struct.
| Parameter | Description |
|---|---|
| DetonationPDUIn | The OpenDIS DetonationPdu struct to convert. |
virtual TArray<uint8> ToBytes() overrideConversion to OpenDIS DetonationPdu struct
| Returns |
|---|
| An array of bytes containing the information from this FDetonationPDU. |
void ToOpenDIS
(
DIS::DetonationPdu& DetonationPDUOut
)Conversion to an array of bytes. Allows for an FDetonationPDU struct to be sent out with a UDP send socket.
| Parameter | Description |
|---|---|
| DetonationPDUOut | The OpenDIS DetonationPdu struct representation of this FDetonationPDU. |