UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
VerseVersion.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
4#include <cstdint>
5
6namespace Verse
7{
8 namespace Version
9 {
10 static constexpr uint32_t Primordial = 0; // A retroactively defined version for pre-versioned Verse.
11
12 static constexpr uint32_t V1 = 1;
13 // Changes in V1:
14 static constexpr uint32_t SetMutatesFallibility = V1;
15 static constexpr uint32_t MapLiteralKeysHandleIterationAndFailure = V1;
16 static constexpr uint32_t DontMixCommaAndSemicolonInBlocks = V1;
17 static constexpr uint32_t UniqueAttributeRequiresAllocatesEffect = V1;
18 static constexpr uint32_t LocalQualifiers = V1;
19 static constexpr uint32_t StructFieldsMustBePublic = V1;
20 // V1 is now stabilized, and further changes should not be added to it!
21
22 static constexpr uint32_t V2 = 2;
23 // Changes in V2 (note that more may be added as long as LatestStable < V2):
24 static constexpr uint32_t CommentsAreNotContentInStrings = V2;
25
26 static constexpr uint32_t LatestStable = V1;
27 static constexpr uint32_t LatestUnstable = V2;
28
29 static constexpr uint32_t Default = LatestStable;
30
31 // The minimum and maximum defined Verse versions: note that this is distinct from the minimum and maximum *allowed* Verse versions.
32 static constexpr uint32_t Minimum = Primordial;
33 static constexpr uint32_t Maximum = LatestUnstable;
34 }
35}
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition Archive.h:36