Allows for altering scenes in nodes.
More...
#include <G:/UE5/UEProjects/5.6/VisualUEx/Plugins/VisualU/Source/VisualU/Public/VisualVersioningSubsystem.h>
|
| void | AlterDataTable (const UDataTable *DataTable, const FName &SceneName, const FVisualScenarioInfo &Version) |
| | Alters scene in the data table by provided version.
|
| |
| template<typename T = FVisualScenarioInfo, typename... V> |
| void | AlterDataTable (const UDataTable *DataTable, const FName &SceneName, V T::*... Members, const V &... Values) |
| | Template version.
|
| |
| template<typename T = FVisualScenarioInfo, typename... V> |
| void | AlterDataTable (FScenario *Scene, V T::*... Members, const V &... Values) |
| | Template version.
|
| |
| void | Checkout (FScenario *Scene) const |
| | Switches scene to an older version.
|
| |
| void | CheckoutAll (const UDataTable *DataTable) const |
| | Switches all scenes in the data table to an older version.
|
| |
| virtual void | SerializeSubsystem (FArchive &Ar) |
| | Serializes versioning subsystem to the provided archive.
|
| |
| virtual void | Serialize (FArchive &Ar) override |
| | Serializes versioning subsystem to the provided archive.
|
| |
| virtual void | Deinitialize () override |
| | Discards all versions bringing scenes to original state.
|
| |
Allows for altering scenes in nodes.
All versions are applied and discared at runtime.
◆ AlterDataTable() [1/3]
| void UVisualVersioningSubsystem::AlterDataTable |
( |
const UDataTable * | DataTable, |
|
|
const FName & | SceneName, |
|
|
const FVisualScenarioInfo & | Version ) |
Alters scene in the data table by provided version.
- Parameters
-
| DataTable | data table that contains desired scene |
| SceneName | row name of the desired scene |
| Version | altered scene |
- Returns
- result of requesting node
- See also
- UVisualUBlueprintStatics::Choose()
◆ AlterDataTable() [2/3]
template<typename T = FVisualScenarioInfo, typename... V>
| void UVisualVersioningSubsystem::AlterDataTable |
( |
const UDataTable * | DataTable, |
|
|
const FName & | SceneName, |
|
|
V T::*... | Members, |
|
|
const V &... | Values ) |
|
inline |
◆ AlterDataTable() [3/3]
template<typename T = FVisualScenarioInfo, typename... V>
| void UVisualVersioningSubsystem::AlterDataTable |
( |
FScenario * | Scene, |
|
|
V T::*... | Members, |
|
|
const V &... | Values ) |
|
inline |
◆ Checkout()
| void UVisualVersioningSubsystem::Checkout |
( |
FScenario * | Scene | ) |
const |
Switches scene to an older version.
Has no effect for scene not altered by this subsystem.
- Parameters
-
| Scene | scene to revert back to the previous version |
◆ CheckoutAll()
| void UVisualVersioningSubsystem::CheckoutAll |
( |
const UDataTable * | DataTable | ) |
const |
Switches all scenes in the data table to an older version.
Has no effect for scenes not altered by this subsystem.
- Parameters
-
| DataTable | node which scenes will be reverted to previous version |
◆ Deinitialize()
| void UVisualVersioningSubsystem::Deinitialize |
( |
| ) |
|
|
overridevirtual |
Discards all versions bringing scenes to original state.
Called when local player is destroyed.
◆ GetSceneChecked() [1/2]
Will trigger assertion for invalid scenario id.
- Parameters
-
| Id | identity of requested scene |
- Returns
- identified scene
◆ GetSceneChecked() [2/2]
| FScenario * UVisualVersioningSubsystem::GetSceneChecked |
( |
const UDataTable * | DataTable, |
|
|
const FName & | SceneName ) const |
|
private |
Will trigger assertion for invalid data table or name.
- Parameters
-
| DataTable | data table that contains desired scene |
| SceneName | row name of desired scene |
- Returns
- scene from data table at given location
◆ Serialize()
| void UVisualVersioningSubsystem::Serialize |
( |
FArchive & | Ar | ) |
|
|
overridevirtual |
Serializes versioning subsystem to the provided archive.
Uses FVisualUCustomVersion.
- Parameters
-
| Ar | archive to serialize this subsystem |
◆ SerializeSubsystem()
| void UVisualVersioningSubsystem::SerializeSubsystem |
( |
FArchive & | Ar | ) |
|
|
virtual |
Serializes versioning subsystem to the provided archive.
Uses FVisualUCustomVersion.
- Parameters
-
| Ar | archive to serialize this subsystem |
The documentation for this class was generated from the following files:
- VisualVersioningSubsystem.h
- VisualVersioningSubsystem.cpp