UVoxtaHelperFunctionLibrary Library of functionality exposed to blueprints.
More...
#include <VoxtaHelperFunctionLibrary.h>
|
static bool | IsIpv4Valid (const FString &address) |
| Check if the given string is a valid IPv4 address (or localhost)
|
|
static FString | FloatToStringPrecision (float input, int digitsAfterPoint=2) |
| Converts a float to a string value with a given amount of precision.
|
|
|
static const FString | LOCALHOST = TEXT("localhost") |
|
UVoxtaHelperFunctionLibrary Library of functionality exposed to blueprints.
Mainly used for simple C++ utility that would require a ton of BP nodes to emulate.
◆ FloatToStringPrecision()
FString UVoxtaHelperFunctionLibrary::FloatToStringPrecision |
( |
float | input, |
|
|
int | digitsAfterPoint = 2 ) |
|
static |
Converts a float to a string value with a given amount of precision.
- Parameters
-
input | The raw float value to convert. |
digitsAfterPoint | The number of digits after point it should use before rounding the value. |
- Returns
- The converted string value
◆ IsIpv4Valid()
bool UVoxtaHelperFunctionLibrary::IsIpv4Valid |
( |
const FString & | address | ) |
|
|
static |
Check if the given string is a valid IPv4 address (or localhost)
- Parameters
-
address | The string to check. |
- Returns
- True if the given string is a valid IPv4 (or localhost), false otherwise.
◆ LOCALHOST
const FString UVoxtaHelperFunctionLibrary::LOCALHOST = TEXT("localhost") |
|
inlinestatic |
The documentation for this class was generated from the following files: