![]() |
Blamite Game Engine - Strings
00390.07.02.23.1947.blamite
A library containing general purpose utilities and classes for use in multiple projects.
|
Namespace for Blamite's shared C++ library. More...
Namespaces | |
Converters | |
Namespace containing functions to convert between various types of variables. | |
Events | |
Namespace for handling things related to Events. | |
Hooks | |
Interface | |
Logger | |
Namespace containing functions for the unified logger. | |
Resources | |
Functions used in loading and accessing resources. | |
Settings | |
Utils | |
Namespace containing general-purpose utilities. | |
Functions | |
const STRINGS_API char * | GetStringFromID (int string_id, int max_length) |
Retrieves a string from its ID. More... | |
STRINGS_API HMODULE | GetStringsDLLHandle () |
Retrieves the module handle for the Strings library. More... | |
STRINGS_API BlamVersion | GetVersion () |
Retrieves the current version of Strings. More... | |
Namespace for Blamite's shared C++ library.
This namespace contains everything within the library that is publicly usable. It acts as a general purpose utility and resource library used by both the game engine and the various tools that use it.
const char * BlamStrings::GetStringFromID | ( | int | string_id, |
int | max_length | ||
) |
Retrieves a string from its ID.
string_id | - The ID of the string within the DLL's string table. |
max_length | - The maximum length of the string to retrieve. The source string will be trimmed if it is longer than this. If it is the same or longer than the source string, the entire string will be returned. |
nullptr
if no matching string was found.HMODULE BlamStrings::GetStringsDLLHandle | ( | ) |
Retrieves the module handle for the Strings library.
BlamVersion BlamStrings::GetVersion | ( | ) |
Retrieves the current version of Strings.