Open 3D Engine AzToolsFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzToolsFramework::Prefab::PrefabUndoCache Class Reference

Inherits AzToolsFramework::UndoSystem::UndoCacheInterface.

Public Member Functions

 AZ_CLASS_ALLOCATOR (PrefabUndoCache, AZ::SystemAllocator)
 
void Initialize ()
 
void Destroy ()
 
void UpdateCache (const AZ::EntityId &entityId) override
 Store the new entity state or replace the old state.
 
void PurgeCache (const AZ::EntityId &entityId) override
 Remove the cache line for the entity, if there is one.
 
void Clear () override
 Clear the entire cache.
 
void Validate (const AZ::EntityId &entityId) override
 Verify if any changes to the entity was not correctly notified.
 
bool Retrieve (const AZ::EntityId &entityId, AZ::EntityId &parentId)
 
void Store (const AZ::EntityId &entityId, const AZ::EntityId &parentId)
 

Member Function Documentation

◆ Clear()

void AzToolsFramework::Prefab::PrefabUndoCache::Clear ( )
overridevirtual

Clear the entire cache.

Implements AzToolsFramework::UndoSystem::UndoCacheInterface.

◆ PurgeCache()

void AzToolsFramework::Prefab::PrefabUndoCache::PurgeCache ( const AZ::EntityId &  entityId)
overridevirtual

Remove the cache line for the entity, if there is one.

Implements AzToolsFramework::UndoSystem::UndoCacheInterface.

◆ UpdateCache()

void AzToolsFramework::Prefab::PrefabUndoCache::UpdateCache ( const AZ::EntityId &  entityId)
overridevirtual

Store the new entity state or replace the old state.

Implements AzToolsFramework::UndoSystem::UndoCacheInterface.

◆ Validate()

void AzToolsFramework::Prefab::PrefabUndoCache::Validate ( const AZ::EntityId &  entityId)
overridevirtual

Verify if any changes to the entity was not correctly notified.

Implements AzToolsFramework::UndoSystem::UndoCacheInterface.


The documentation for this class was generated from the following file: