Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The core header files in the Source/Public folder define the core structure and functionality of the Cavrnus Spatial Connector plugin for Unreal Engine.

CavrnusConnectorSettings.h:

  • Purpose: This file defines the UCavrnusConnectorSettings class, which stores the configuration settings for the plugin.

  • Functions:

    • PostInitProperties: Initialization function for the Connector.

    • GetRelayNetOptionalParameters: Generates a string representing the verbose parameter list for CavrnusRelayNet.

    • PostEditChangeProperty: Called when an edit is made to the settings (Available only in the editor)

  • Key Elements:

    • AutoStartConnector: Determines whether the connector should automatically start.

    • RelayNetPort, RelayNetIPAddress, RelayNetExecutableRelativeLocation: Settings for the RelayNet executable, the foundation for Cavrnus real-time collaboration.

    • RelayNetSilent, RelayNetVerboseLogging, RelayNetLogOutputToFile: Options for controlling the behavior and logging of RelayNet.

CavrnusFileUtilityLibrary.h:

  • Purpose: This file declares the UCavrnusFileUtilityLibrary class, a Blueprint function library that provides utility functions for file operations.

  • Key Elements:

    • OpenFileDialog: Opens a file dialog for selecting files.

    • OpenFolderDialog: Opens a folder dialog for selecting folders.

CavrnusFunctionLibrary.h

...

  • Purpose: This is the main Blueprint function library for interacting with the Cavrnus Spatial Connector. It provides a wide range of static utility functions for authentication, space management, property manipulation, permissions, user interactions, and more.

  • Key Elements:

    • Authentication functions: (AuthenticateWithPassword, AuthenticateAsGuest, etc.).

    • Space management functions: (FetchJoinableSpaces, JoinSpace, ExitSpace, etc.).

    • Property functions for various data types (color, bool, float, string, vector, transformfunctions: (Bool, Float, String, Vector, Transform, Color).

    • Permission functions: (BindGlobalPolicy, BindSpacePolicy).

    • Spawned Object functions: (SpawnObject, DestroyObject).

    • Space User functions: (AwaitLocalUser, GetCurrentSpaceUsers, BindSpaceUsers, etc.).

    • Voice and Video functions: (SetLocalUserMutedState, FetchSavedAudioInput, UpdateAudioInput, etc.).

    • Remote Content functions: (FetchFileById, FetchAllUploadedContent, UploadContent, etc.).

    • Chat functions: (FetchFileById, FetchAllUploadedContent, UploadContent, etc.).

    • Functions for handling permissions, spawned objects, space users, voice and video, and remote content.

CavrnusPropertiesContainer.h

...

  • Purpose: This file defines the UCavrnusPropertiesContainer component, which is attached to actors to manage property containers within the Cavrnus system. Containers are a way to uniquely identify synchronized values in the Journal of a Cavrnus Space.

  • Functions:

    • InitializeComponent: Called when the component is initialized, allowing for custom initialization logic..

  • Key Elements:

    • ContainerName: Stores the name of the container.

...