/
AwaitAnySpaceBeginLoading (Unreal Engine)

AwaitAnySpaceBeginLoading (Unreal Engine)

- Declaration

static void AwaitAnySpaceBeginLoading(CavrnusSpaceBeginLoading OnBeginLoading);

Delegate Options:

typedef TFunction<void(const FString&)> CavrnusSpaceBeginLoading;

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); }

Related content

JoinSpace (Unreal Engine)
JoinSpace (Unreal Engine)
More like this
AwaitAnySpaceConnection (Unreal Engine)
AwaitAnySpaceConnection (Unreal Engine)
More like this
BindJoinableSpaces (Unreal Engine)
BindJoinableSpaces (Unreal Engine)
More like this
AuthenticateWithPassword (Unreal Engine)
AuthenticateWithPassword (Unreal Engine)
Read with this
AwaitAnySpaceBeginLoading (Unity)
AwaitAnySpaceBeginLoading (Unity)
More like this
GetXPropertyValue (Unreal Engine)
GetXPropertyValue (Unreal Engine)
Read with this