UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Protocol1.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5// HEADER_UNIT_SKIP - Not included directly
6
7namespace UE {
8namespace Trace {
9
10#if defined(TRACE_PRIVATE_PROTOCOL_1)
11inline
12#endif
13namespace Protocol1
14{
15
17enum EProtocol : uint8 { Id = 1 };
18
22
24enum class EEventFlags : uint8
25{
26 Important = 1 << 0,
27 MaybeHasAux = 1 << 1,
28 NoSync = 1 << 2,
29};
30
33{
35 User,
36 Max = (1 << 15) - 1,
37 UidMask = Max,
38 Invalid = Max,
39};
40
49
52{
53 enum : uint32
54 {
55 AuxDataBit = 0x80,
56 FieldMask = 0x7f,
57 SizeLimit = 1 << 24,
58 };
59
60 union
61 {
62 uint8 FieldIndex; // 7 bits max (MSB is used to indicate aux data)
63 uint32 Size; // encoded as (Size & 0x00ffffff) << 8
64 };
66};
67
68} // namespace Protocol1
69} // namespace Trace
70} // namespace UE
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
uint8_t uint8
Definition binka_ue_file_header.h:8
uint16_t uint16
Definition binka_ue_file_header.h:7
uint32_t uint32
Definition binka_ue_file_header.h:6
@ Trace
Definition NetTraceConfig.h:23
EFieldType
Definition Protocol0.h:52
EEventFlags
Definition Protocol1.h:25
EKnownEventUids
Definition Protocol1.h:33
EProtocol
Definition Protocol1.h:17
@ Id
Definition Protocol1.h:17
Definition AdvancedWidgetsModule.cpp:13
Definition Protocol0.h:72
Definition Protocol1.h:52
uint8 FieldIndex
Definition Protocol1.h:62
uint8 Data[]
Definition Protocol1.h:65
@ AuxDataBit
Definition Protocol1.h:55
@ SizeLimit
Definition Protocol1.h:57
@ FieldMask
Definition Protocol1.h:56
uint32 Size
Definition Protocol1.h:63
Definition Protocol1.h:43
uint16 Uid
Definition Protocol1.h:44
uint16 Serial
Definition Protocol1.h:46
uint16 Size
Definition Protocol1.h:45
uint8 EventData[]
Definition Protocol1.h:47