18#ifndef TRINITYCORE_CLIENT_BUILD_INFO_H
19#define TRINITYCORE_CLIENT_BUILD_INFO_H
39consteval uint32 operator""_fourcc(
char const* chars, std::size_t length)
41 if (length >
sizeof(
uint32))
42 throw "Text can only be max 4 characters long";
103 static constexpr std::size_t
Size = 16;
106 std::array<uint8, Size>
Key;
TC_SHARED_API bool IsValid(std::string_view arch)
constexpr uint32 BetaRelease
constexpr uint32 RetailChina
TC_SHARED_API bool IsValid(std::string_view type)
constexpr uint32 PtrRelease
uint32 GetMinorMajorBugfixVersionForBuild(uint32 build)
constexpr uint32 ToFourCC(std::string_view text)
Info const * GetBuildInfo(uint32 build)
std::array< char, 5 > ToCharArray(uint32 value)
std::array< uint8, Size > Key
static constexpr std::size_t Size
std::array< char, 4 > HotfixVersion
std::vector< AuthKey > AuthKeys
friend bool operator==(VariantId const &left, VariantId const &right)=default