Blueprint functions for the User struct.
More...
#include <User.h>
Inherits UBlueprintFunctionLibrary.
|
static bool | GenerateUserId (const FString &Name, FString &OutUserId) |
| Generate a valid user ID from a human-readable name. More...
|
|
static bool | SanitizeName (const FString &Name, FString &SanitizedName) |
| Ensure a human readable user name is valid by removing bad characters. More...
|
|
Blueprint functions for the User struct.
◆ GenerateUserId()
bool UUserBlueprintLibrary::GenerateUserId |
( |
const FString & |
Name, |
|
|
FString & |
OutUserId |
|
) |
| |
|
static |
Generate a valid user ID from a human-readable name.
- Parameters
-
Name | User's human-readable name |
OutUserId | A valid UserId, with all disallowed characters replaced with '_' |
◆ SanitizeName()
bool UUserBlueprintLibrary::SanitizeName |
( |
const FString & |
Name, |
|
|
FString & |
SanitizedName |
|
) |
| |
|
static |
Ensure a human readable user name is valid by removing bad characters.
- Parameters
-
Name | User's human-readable name |
SanitizedName | A valid user name |
The documentation for this class was generated from the following files:
- Source/StreamChat/Public/User/User.h
- Source/StreamChat/Private/User/User.cpp