- Declaration
static void AwaitAnySpaceBeginLoading(FCavrnusSpaceBeginLoading OnBeginLoading);
Delegates Types:
DECLARE_DYNAMIC_DELEGATE_OneParam(FCavrnusSpaceBeginLoading, FString, SpaceIdBeingLoaded);
- 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); }