-
Notifications
You must be signed in to change notification settings - Fork 16
WarfareFamilyPDU
huggins edited this page May 3, 2023
·
4 revisions
Struct container for all information that is contained inside of DIS Warefare Family PDUs.
struct FWarfareFamilyPDU
: public FPDU
- CoreMinimal
- UObject/NoExportTypes.h
- <dis6/WarfareFamilyPdu.h>
- PDUs/GRILL_PDU.h
Type | Name | Description |
---|---|---|
FEntityID | FiringEntityID | The ID of the firing entity. |
FEntityID | TargetEntityID | The ID of the intended target if known. |
Name | Description |
---|---|
FWarfareFamilyPDU() | Default constructor |
Name | Description |
---|---|
~FWarfareFamilyPDU() | Default destructor |
Return | Name | Description |
---|---|---|
SetupFromOpenDIS(DIS::WarfareFamilyPdu* WarfareFamilyPDUIn) | Converts an OpenDIS WarfareFamilyPdu struct to an FWarfareFamilyPDU struct. | |
TArray<uint8> | ToBytes() | Conversion to an array of bytes. Allows for an FWarfareFamilyPDU struct to be sent out with a UDP send socket. |
ToOpenDIS(DIS::WarfareFamilyPdu& WarfareFamilyPDUIn) | Conversion to OpenDIS WarfareFamilyPdu struct |
FEntityID FiringEntityID
The ID of the firing entity.
Category: GRILL DIS|Structs|PDUs|WarfareFamily
FEntityID TargetEntityID
The ID of the intended target if known.
Category: GRILL DIS|Structs|PDUs|WarfareFamily
FWarfareFamilyPDU() : FPDU()
Default constructor.
virtual ~FWarfareFamilyPDU()
Default destructor.
void SetupFromOpenDIS
(
DIS::WarfareFamilyPdu* WarfareFamilyPDUIn
)
Converts an OpenDIS WarfareFamilyPdu struct to an FWarfareFamilyPDU struct.
Parameter | Description |
---|---|
WarfareFamilyPDUIn | The OpenDIS WarfareFamilyPdu struct to convert. |
void ToOpenDIS
(
DIS::WarfareFamilyPdu& WarfareFamilyPDUOut
)
Conversion to an array of bytes. Allows for an FWarfareFamilyPDU struct to be sent out with a UDP send socket.
Parameter | Description |
---|---|
WarfareFamilyPDUOut | The OpenDIS WarfareFamilyPdu struct representation of this FWarfareFamilyPDU. |
virtual TArray<uint8> ToBytes() override
Conversion to OpenDIS WarfareFamilyPdu struct
Returns |
---|
An array of bytes containing the information from this FWarfareFamilyPDU. |