CavrnusSpatialConnectorSubSystem.h

Cavrnus Spatial Connector SubSystem Proxy

Proxy class for interacting with the Cavrnus Spatial Connector subsystem.

FUNCTIONS

SetObjectOwner - Sets the owner of the objects created within the core. If not set, default is transient package.

SetGameInstance - Sets the game instance for PIE or standalone mode. Requirement is to get the first local player. Editor mode provides its own local player.

RegisterCavrnusSpatialConnector - Registers the spatial connector.

GetCavrnusSpatialConnector - Gets the current spatial connector.

AuthenticateAndJoin - Authenticates and joins a space.

AttemptToJoinSpace - Attempts to join a space with the specified ID.

OnAuthSuccess - Called on authentication success.

OnAuthFailure - Called on authentication failure.

OnSpaceConnectionSuccess - Called on space connection success.

OnSpaceConnectionFailure - Called on space connection failure.

InitializeCavrnusActor - Initializes the Cavrnus actor.

OnPawnControllerChanged - Called when the pawn controller changes. (Private)

OnPossessedPawnChanged - Called when the possessed pawn changes. (Private)

SetupLocalUserPawn - Sets up the local user pawn. (Private)

DATA

UIManager - InstancePointer to the UI manager instance. (Private)

CurrentCavrnusSpatialConnector - Weak pointer to the current spatial connector. (Private)

AuthSuccess - Delegate for authentication success. (Private)

AuthFailure - Delegate for authentication failure. (Private)

SpaceConnectionSuccess - Delegate for space connection success. (Private)

SpaceConnectionFailure - Delegate for space connection failure. (Private)

Authentication - Property for authentication details. (Private)

hasSpaceConn - Boolean indicating if there is a space connection. (Private)

SpaceConn - Property for space connection details. (Private)

SpawnHelpers - Pointer to the spawn object helpers. (Private)

SpawnManager - Pointer to the spawned objects manager. (Private)

AvatarManager - Pointer to the avatar manager. (Private)

GameInstance - Weak pointer to the game instance. (Private)

ObjectOwner - Weak pointer to the object owner. (Private)

bInEditorMode - Boolean indicating if the subsystem is in editor mode.

 

UI Manager SubSystem

UI Manager class for handling Cavrnus UI widgets.

FUNCTIONS

GetUIManager - Gets the UI manager instance.

Initialize - Initializes the UI manager with the provided spatial connector.

SpawnWidget - Spawns a widget of the specified class.

RemoveWidget - Removes the specified widget.

RemoveAllWidgets - Removes all widgets managed by the UI manager.

ShowAuthWidget - Shows or hides the authentication widget.

ShowGuestLoginWidget - Shows the guest login widget.

ShowLoadingWidget - Shows or hides the loading widget.

ShowSpaceList - Shows the space list widget.

GetConnector - Gets the current spatial connector.

DATA

CavrnusWidgets - Array of weak pointers to Cavrnus widgets.

World - Pointer to the world context.

LoadingWidget - Weak pointer to the loading widget.

AuthWidget - Weak pointer to the authentication widget.

CurrentCavrnusSpatialConnector - Weak pointer to the current spatial connector.

 

UCavrnusSpatialConnectorSubSystem

Subsystem class for managing the lifecycle of the Cavrnus Spatial Connector.

FUNCTIONS

Initialize - Initializes the subsystem.

Deinitialize - Deinitializes the subsystem.

GetSystemProxy - Gets the subsystem proxy.

DATA

SystemProxy - Pointer to the SubSystem Proxy