Stream Chat Unreal SDK
Loading...
Searching...
No Matches
UUserBlueprintLibrary Class Referencefinal

Blueprint functions for the User struct. More...

#include <User.h>

Inherits UBlueprintFunctionLibrary.

Static Public Member Functions

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...
 

Detailed Description

Blueprint functions for the User struct.

Member Function Documentation

◆ GenerateUserId()

bool UUserBlueprintLibrary::GenerateUserId ( const FString &  Name,
FString &  OutUserId 
)
static

Generate a valid user ID from a human-readable name.

Parameters
NameUser's human-readable name
OutUserIdA 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
NameUser's human-readable name
SanitizedNameA valid user name

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