...
The
UCavrnusLivePropertyUpdate
class hierarchy provides a flexible and extensible way to handle real-time updates of various property types.These classes and functions handle synchronization of property values between different users and the Cavrnus server.
The use of BlueprintCallable functions makes these classes easily accessible and usable within Unreal Engine's visual scripting system.
General Workflow (How Transients Work (General Flow):
The separation of temporary and final updates allows for smooth user interactions while ensuring data consistency.
...
The header files in the LivePropertyUpdates
folder define a set of classes designed to handle real-time updates of different property types within the Cavrnus collaborative environment. These classes share a common base class, UCavrnusLivePropertyUpdate
, and provide specialized functionality for specific data types.
...
Base Class (BUCavrnusLivePropertyUpdate
):
Purpose: This abstract class serves as the foundation for all live property update classes. It provides essential functions for managing the update process, such as:
Cancel()
: Cancels any ongoing property updates.GetLastUpdatedTimeSeconds()
: Retrieves the time elapsed since the last update.
Key Members:
livePropertyUpdate
: A pointer to the underlying implementation of the property update (likely in the Cavrnus backend).
...