![]() |
Blamite Game Engine - Strings
00326.06.27.21.0407.blamite
A library containing general purpose utilities and classes for use in multiple projects.
|
Namespace containing functions related to product versions. More...
Functions | |
STRINGS_API bool | VerifyVersion (BlamVersion *version) |
Verifies the validity of a product version by ensuring it matches Semantic Versioning guidelines. More... | |
STRINGS_API std::string | GetVersionTypeLabel (BlamVersionType version_type) |
Generates a label from a given version type. More... | |
Namespace containing functions related to product versions.
std::string BlamStrings::Resources::VersionInfo::GetVersionTypeLabel | ( | BlamVersionType | version_type | ) |
Generates a label from a given version type.
Used when converting a BlamVersion to a string.
version_type | - The version type to create a label for. |
bool BlamStrings::Resources::VersionInfo::VerifyVersion | ( | BlamVersion * | version | ) |
Verifies the validity of a product version by ensuring it matches Semantic Versioning guidelines.
This test is performed using the regex provided on the Semantic Versioning webpage.
version | - The version to check. |
true
if the version is valid, otherwise returns false
.