Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

- 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);
}
  • No labels