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) |
|
overridevirtual |
Clear the entire cache.
Implements AzToolsFramework::UndoSystem::UndoCacheInterface.
|
overridevirtual |
Remove the cache line for the entity, if there is one.
Implements AzToolsFramework::UndoSystem::UndoCacheInterface.
|
overridevirtual |
Store the new entity state or replace the old state.
Implements AzToolsFramework::UndoSystem::UndoCacheInterface.
|
overridevirtual |
Verify if any changes to the entity was not correctly notified.
Implements AzToolsFramework::UndoSystem::UndoCacheInterface.