/
ExitSpace (Unreal Engine)
ExitSpace (Unreal Engine)
- Declaration
static void ExitSpace(FCavrnusSpaceConnection SpaceConnection);
- Description
Disconnects you from a given space. You will stop receiving property updates, and lose user & voice connections. Note that you will remain Authenticated.
- Blueprint Sample
Exit Space
- Code Sample
SpaceManager.h:
#include "Types/CavrnusCallbackTypes.h"
#include "Types/CavrnusSpaceConnection.h"
#include "SpaceManager.generated.h"
UCLASS()
class MODULE_API USpaceManager
{
public:
USpaceManager();
void ExitSpace();
private:
FCavrnusSpaceConnection CurrentConnectedSpace;
};
SpaceManager.cpp:
#include "SpaceManager.h"
#include "CavrnusFunctionLibrary.h"
USpaceManager::USpaceManager()
{
}
void USpaceManager::ExitSpace()
{
// Note: CurrentConnectedSpace would be set by result of JoinSpace call
UCavrnusFunctionLibrary::ExitSpace(CurrentConnectedSpace);
}
, multiple selections available,
Related content
JoinSpace (Unreal Engine)
JoinSpace (Unreal Engine)
More like this
AwaitAnySpaceConnection (Unreal Engine)
AwaitAnySpaceConnection (Unreal Engine)
More like this
AuthenticateAsGuest (Unreal Engine)
AuthenticateAsGuest (Unreal Engine)
Read with this
ExitSpace (.NET)
ExitSpace (.NET)
More like this
AwaitAuthentication (Unreal Engine)
AwaitAuthentication (Unreal Engine)
Read with this
ExitSpace
ExitSpace
More like this