TrinityCore
Loading...
Searching...
No Matches
ClientBuild::PlatformType Struct Reference

#include <ClientBuildInfo.h>

Public Types

using Id = FourCC< PlatformType >
 

Static Public Member Functions

static TC_SHARED_API bool IsValid (std::string_view platformType)
 

Static Public Attributes

static constexpr Id Windows { "Win"_fourcc }
 
static constexpr Id macOS { "Mac"_fourcc }
 

Detailed Description

Definition at line 53 of file ClientBuildInfo.h.

Member Typedef Documentation

◆ Id

Member Function Documentation

◆ IsValid()

bool ClientBuild::PlatformType::IsValid ( std::string_view  platformType)
static

Definition at line 67 of file ClientBuildInfo.cpp.

References FourCC< Tag >::FromString(), macOS, and Windows.

Referenced by ClientBuild::LoadBuildInfo().

Member Data Documentation

◆ macOS

constexpr Id ClientBuild::PlatformType::macOS { "Mac"_fourcc }
staticconstexpr

Definition at line 58 of file ClientBuildInfo.h.

Referenced by IsValid().

◆ Windows

constexpr Id ClientBuild::PlatformType::Windows { "Win"_fourcc }
staticconstexpr

Definition at line 57 of file ClientBuildInfo.h.

Referenced by IsValid().


The documentation for this struct was generated from the following files: