- Declaration
static void AwaitAnySpaceBeginLoading(FCavrnusSpaceBeginLoading OnBeginLoading);
- Description
Triggers when you begin attempting to join a space, returning the ID of the space being joined.
- Blueprint Sample
- Code Sample
#include "CavrnusFunctionLibrary.h" #include "Types/CavrnusCallbackTypes.h" void UClassName::Init() { // Member is FCavrnusSpaceBeginLoading SpaceBeginLoading; SpaceBeginLoading.BindUFunction(this, GET_FUNCTION_NAME_CHECKED(UClassName, OnSpaceBeginLoading)); UCavrnusFunctionLibrary::AwaitAnySpaceBeginLoading(ReceiveSpacesList); } void UClassName::OnSpaceBeginLoading(FString SpaceIdBeingLoaded) { UE_LOG(LogTemp, Log, TEXT("Space Loading ID: %s"), *SpaceIdBeingLoaded); }