Skip to content

DetonationPDU

huggins edited this page Apr 10, 2025 · 8 revisions

Detonation PDU

Struct container for all information that is contained inside of a DIS Detonation PDU.

struct FDetonationPDU
    : public FWarfareFamilyPDU

Includes

Back to Top


Members

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.

Back to Top


Constructors

Name Description
FDetonationPDU() Default constructor

Destructors

Name Description
~FDetonationPDU() Default destructor

Functions

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

Back to Top


Details

ArticulationParameters

TArray<FArticulationParameters> ArticulationParameters

A set of parameter values for each variable parameter record that is included.

Category: GRILL DIS|Structs|PDUs|Detonation

Back to Top


BurstDescriptor

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|Detonation

Back to Top


DetonationResult

EDetonationResult DetonationResult

The result of the detonation as denoted in SISO-REF-010-2015 UID 62

Category: GRILL DIS|Structs|PDUs|Detonation

Back to Top


EventID

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|Detonation

Back to Top


EcefLocation

FVector EcefLocation

The location of the detonation in world coordinates

Category: GRILL DIS|Structs|PDUs|Detonation

Back to Top


LocationInEntityCoords

FVector LocationInEntityCoords

The 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

Back to Top


MunitionEntityID

FEntityID MunitionEntityID

The ID of the munition or expendable entity.

Category: GRILL DIS|Structs|PDUs|Detonation

Back to Top


Pad

int32 Pad

Unused padding

Back to Top


Velocity

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.

Category: GRILL DIS|Structs|PDUs|Detonation

Back to Top


FDetonationPDU

FDetonationPDU() : FWarfareFamilyPDU()

Default constructor.

Back to Top


~FDetonationPDU

virtual ~FDetonationPDU()

Default destructor.

Back to Top


SetupFromOpenDIS

void SetupFromOpenDIS
(
    const DIS::DetonationPdu& DetonationPDUIn
)

Converts an OpenDIS DetonationPdu struct to an FDetonationPDU struct.

Parameter Description
DetonationPDUIn The OpenDIS DetonationPdu struct to convert.

Back to Top


ToBytes

virtual TArray<uint8> ToBytes() override

Conversion to OpenDIS DetonationPdu struct

Returns
An array of bytes containing the information from this FDetonationPDU.

Back to Top


ToOpenDIS

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.

Back to Top


Clone this wiki locally