Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
EngineVersionComparison.h File Reference
#include "Runtime/Launch/Resources/Version.h"
+ Include dependency graph for EngineVersionComparison.h:

Go to the source code of this file.

Macros

#define UE_GREATER_SORT(Value, ValueToBeGreaterThan, TieBreaker)    (((Value) > (ValueToBeGreaterThan)) || (((Value) == (ValueToBeGreaterThan)) && (TieBreaker)))
 
#define UE_VERSION_NEWER_THAN(MajorVersion, MinorVersion, PatchVersion)    UE_GREATER_SORT(ENGINE_MAJOR_VERSION, MajorVersion, UE_GREATER_SORT(ENGINE_MINOR_VERSION, MinorVersion, UE_GREATER_SORT(ENGINE_PATCH_VERSION, PatchVersion, false)))
 
#define UE_VERSION_OLDER_THAN(MajorVersion, MinorVersion, PatchVersion)    UE_GREATER_SORT(MajorVersion, ENGINE_MAJOR_VERSION, UE_GREATER_SORT(MinorVersion, ENGINE_MINOR_VERSION, UE_GREATER_SORT(PatchVersion, ENGINE_PATCH_VERSION, false)))
 

Macro Definition Documentation

◆ UE_GREATER_SORT

#define UE_GREATER_SORT ( Value,
ValueToBeGreaterThan,
TieBreaker )    (((Value) > (ValueToBeGreaterThan)) || (((Value) == (ValueToBeGreaterThan)) && (TieBreaker)))

Definition at line 8 of file EngineVersionComparison.h.

◆ UE_VERSION_NEWER_THAN

◆ UE_VERSION_OLDER_THAN