Files
UnrealEngine/Engine/Source/Developer/Zen/Internal/ZenVersion.h
2025-05-18 13:04:45 +08:00

26 lines
465 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "HAL/Platform.h"
#include "Containers/UnrealString.h"
namespace UE::Zen
{
struct FZenVersion
{
uint32 MajorVersion = 0;
uint32 MinorVersion = 0;
uint32 PatchVersion = 0;
FString Details;
void Reset();
bool TryParse(const TCHAR* InString);
FString ToString(bool bDetailed = true) const;
bool operator<(FZenVersion& Other) const;
operator bool() const;
};
} // namespace UE::Zen