UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
StompFrame.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "StompCommand.h"
7#include "IStompClient.h"
8
9#if WITH_STOMP
10
14class FStompFrame
15{
16public:
17
18 // Create a frame for sending to the server
20
21 // Parse a frame from the server
22 FStompFrame(const uint8* Data, SIZE_T Length);
23
24 const FStompCommand& GetCommand() const
25 {
26 return Command;
27 }
28
29 FStompHeader& GetHeader()
30 {
31 return Header;
32 }
33
34 FStompBuffer& GetBody()
35 {
36 return Body;
37 }
38
39 void Encode(FStompBuffer& Out) const;
40private:
41 void Decode(const uint8* In, SIZE_T Length);;
42
46};
47
48#endif
FPlatformTypes::SIZE_T SIZE_T
An unsigned integer the same size as a pointer, the same as UPTRINT.
Definition Platform.h:1150
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
TArray< uint8 > FStompBuffer
Definition IStompClient.h:10
TMap< FName, FString > FStompHeader
Definition IStompClient.h:9
uint8_t uint8
Definition binka_ue_file_header.h:8
const Type Command
Definition GenericApplication.h:46
float Encode(EEncoding SourceEncoding, float Value)
Definition TransferFunctions.cpp:51
float Decode(EEncoding SourceEncoding, float Value)
Definition TransferFunctions.cpp:63