35 lines
1.0 KiB
C++
35 lines
1.0 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "PixelStreamingInputEnums.h"
|
|
|
|
#include "Containers/Array.h"
|
|
#include "HAL/Platform.h"
|
|
|
|
class PIXELSTREAMINGINPUT_API FPixelStreamingInputMessage
|
|
{
|
|
public:
|
|
// Emtpy constructor. Sets ID to next available ID, and Structure to []
|
|
FPixelStreamingInputMessage();
|
|
|
|
// Constructor taking an ID. Sets Structure to []
|
|
FPixelStreamingInputMessage(uint8 InId);
|
|
|
|
// Constructor taking a Structure. Sets ID to next available ID
|
|
FPixelStreamingInputMessage(TArray<EPixelStreamingMessageTypes> InStructure);
|
|
|
|
// Constructor taking an ID and a Structure
|
|
FPixelStreamingInputMessage(uint8 InId, TArray<EPixelStreamingMessageTypes> InStructure);
|
|
|
|
UE_DEPRECATED(5.3, "ByteLength no longer exists on FPixelStreamingInputMessage.")
|
|
uint8 GetByteLength() const { return 0; }
|
|
uint8 GetID() const { return Id; }
|
|
TArray<EPixelStreamingMessageTypes> GetStructure() const { return Structure; }
|
|
|
|
private:
|
|
uint8 Id;
|
|
TArray<EPixelStreamingMessageTypes> Structure;
|
|
|
|
static uint8 CurrentId;
|
|
}; |