ELocResVersion

Data versions for LocRes files.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Internationalization/TextLocalizationResourceVersion.h

Include

#include "Internationalization/TextLocalizationResourceVersion.h"

Syntax

enum ELocResVersion
{
    Legacy                        = 0,
    Compact,
    Optimized_CRC32,
    Optimized_CityHash64_UTF16,
    LatestPlusOne,
    Latest                        = LatestPlusOne - 1,
}

Values

Name

Description

Legacy

Legacy format file - will be missing the magic number.

Compact

Compact format file - strings are stored in a LUT to avoid duplication.

Optimized_CRC32

Optimized format file - namespaces/keys are pre-hashed (CRC32), we know the number of elements up-front, and the number of references for each string in the LUT (to allow stealing).

Optimized_CityHash64_UTF16

Optimized format file - namespaces/keys are pre-hashed (CityHash64, UTF-16), we know the number of elements up-front, and the number of references for each string in the LUT (to allow stealing).

LatestPlusOne

Latest

Remarks

Data versions for LocRes files.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss