Skip to content

PDUConversions_BPFL

huggins edited this page Apr 3, 2023 · 5 revisions

PDU Conversions BPFL

PDU Conversions Blueprint Function Library. Houses functions for converting PDU structs to bytes prior to sending out via a UDP send socket.

class UPDUConversions_BPFL
    : public UBlueprintFunctionLibrary

Includes

Back to Top


Members

None

Back to Top


Functions

Access Return Name Description
Public static TArray<uint8> ConvertDetonationPDUToBytes(FDetonationPDU DetonationPDUIn) Converts a detonation PDU into bytes
Public static TArray<uint8> ConvertEntityInfoFamilyPDUToBytes(FEntityInformationFamilyPDU EntityInfoFamilyPDUIn) Converts an entity information family PDU into bytes
Public static TArray<uint8> ConvertEntityStatePDUToBytes(FEntityStatePDU EntityStatePDUIn) Converts an entity state PDU into bytes
Public static TArray<uint8> ConvertEntityStateUpdatePDUToBytes(FEntityStateUpdatePDU EntityStateUpdatePDUIn) Converts an entity state update PDU into bytes
Public static TArray<uint8> ConvertFirePDUToBytes(FFirePDU FirePDUIn) Converts a fire PDU into bytes
Public static TArray<uint8> ConvertPDUToBytes(FPDU PDUIn) Converts a PDU into bytes
Public static TArray<uint8> ConvertRemoveEntityPDUToBytes(FRemoveEntityPDU RemoveEntityPDUIn) Converts a remove entity PDU into bytes
Public static TArray<uint8> ConvertSimManagementFamilyPDUToBytes(FSimManagementFamilyPDU SimManagementFamilyPDUIn) Converts a simulation management family PDU into bytes
Public static TArray<uint8> ConvertStartResumePDUToBytes(FStartResumePDU StartResumePDUIn) Converts a start/resume PDU into bytes
Public static TArray<uint8> ConvertStopFreezePDUToBytes(FStopFreezePDU StopFreezePDUIn) Converts a stop/freeze PDU into bytes
Public static TArray<uint8> ConvertWarfareFamilyPDUToBytes(FWarfareFamilyPDU WarfareFamilyPDUIn) Converts a warfare family PDU into bytes

Back to Top


Details

Convert Detonation PDU To Bytes

public static TArray<uint8> ConvertDetonationPDUToBytes
(
    FDetonationPDU DetonationPDUIn
)

Converts a detonation PDU into bytes.

Category: GRILL DIS|PDU Conversions

Parameter Description
DetonationPDUIn The detonation PDU to be converted

Back to Top


Convert Entity Info Family PDU To Bytes

public static TArray<uint8> ConvertEntityInfoFamilyPDUToBytes
(
    FEntityInformationFamilyPDU EntityInfoFamilyPDUIn
)

Converts an information family PDU into bytes.

Category: GRILL DIS|PDU Conversions

Parameter Description
EntityInfoFamilyPDUIn The information family PDU to be converted
Returns
The byte representation of the information stored in the given information family PDU

Back to Top


Convert Entity State PDU To Bytes

public static TArray<uint8> ConvertEntityStatePDUToBytes
(
    FEntityStatePDU EntityStatePDUIn
)

Converts an entity state PDU into bytes.

Category: GRILL DIS|PDU Conversions

Parameter Description
EntityStatePDU The entity state pdu to convert
Returns
The byte representation of the given entity state PDU

Back to Top


Convert Entity State Update PDU To Bytes

public static TArray<uint8> ConvertEntityStateUpdatePDUToBytes
(
    FEntityStateUpdatePDU EntityStateUpdatePDUIn
)

Converts an entity state update PDU into bytes.

Category: GRILL DIS|PDU Conversions

Paramerter Description
EntityStateUpdatePDUIn The entity state update PDU to be converted
Returns
The byte representation of the given entity state update PDU

Back to Top


Convert Fire PDU To Bytes

public static TArray<uint8> ConvertFirePDUToBytes
(
    FFirePDU FirePDUIn
)

Converts a fire PDU into bytes.

Category: GRILL DIS|PDU Conversions

Parameter Description
FirePDUIn The fire PDU to be converted
Returns
The byte representation of the given fire PDU

Back to Top


Convert PDU To Bytes

public static TArray<uint8> ConvertPDUToBytes
(
    FPDU PDUIn
)

Converts a PDU into bytes

Category: GRILL DIS|PDU Conversions

Parameter Description
PDUIn The PDU to convert
Returns
The byte representation of the given PDU

Back to Top


Convert Remove Entity PDU To Bytes

public static TArray<uint8> ConvertRemoveEntityPDUToBytes
(
    FRemoveEntityPDU RemoveEntityPDUIn
)

Converts a remove entity PDU into bytes.

Parameter Description
RemoveEntityPDUIn The remove entity PDU to be converted
Returns
The byte representation of the given remove entity PDU

Back to Top


Convert Sim Management Family PDU To Bytes

public static TArary<uint8> ConvertSimManagementFamilyPDUToBytes
(
    FSimulationManagementFamilyPDU SimManagementFamilyPDUIn
)

Converts a simulation management family PDU into bytes.

Category: GRILL DIS|PDU Conversions

Parameter Description
SimManagementFamilyPDUIn The simulation management family PDU to convert
Returns
The byte representation of the given simulation management family PDU

Back to Top


Convert Start Resume PDU To Bytes

public static TArary<uint8> ConvertStartResumePDUToBytes
(
    FStartResumePDU StartResumePDUIn
)

Converts a start/resume PDU into bytes.

Category: GRILL DIS|PDU Conversions

Parameter Description
StartResumePDUIn The start/resume pdu to be converted
Returns
The byte representation of the given start/resume PDU

Back to Top


Convert Stop Freeze PDU To Bytes

public static TArary<uint8> ConvertStopFreezePDUToBytes
(
    FStopFreezePDU StopFreezePDUIn
)

Converts a stop/freeze PDU into bytes.

Category: GRILL DIS|PDU Conversions

Parameter Description
StopFreezePDUIn The stop/freeze pdu to be converted
Returns
The byte representation of the given stop/freeze PDU

Back to Top


Convert Warfare Family PDU To Bytes

public static TArary<uint8> ConvertWarfareFamilyPDUToBytes
(
    FWarfareFamilyPDU WarfareFamilyPDUIn
)

Converts a warfare family PDU into bytes.

Category: GRILL DIS|PDU Conversions

Parameter Description
WarfareFamilyPDUIn The warfare family pdu to be converted
Returns
The byte representation of the given warfare family PDU

Back to Top


Clone this wiki locally