Language:
Discover
By Skill Level
By Category

FEditorUndoClient

Choose your OS:

Inheritance Hierarchy

Syntax

class FEditorUndoClient

Remarks

============================================================================= EditorUndoClient.h: Declares the FEditorUndoClient interface.

Interface for tools wanting to handle undo/redo operations

Destructors

Name Description

Public function Virtual

~FEditorUndoClient()

Always unregister for undo on destruction, just in case.

Functions

Name Description

Public function Virtual

FString

 

GetTransactionContext()

Return the transaction context for this client

Public function Virtual

bool

 

MatchesContext

(
    const FTransactionContext & InConte...,
    const TArray < TPair < UObject *,...
)

Called to see if the context of the current undo/redo operation is a match for the client Default state matching old context-less undo is Context="" and PrimaryObject=NULL

Public function Virtual

void

 

PostRedo

(
    bool bSuccess
)

Signal that client should run any PostRedo code

Public function Virtual

void

 

PostUndo

(
    bool bSuccess
)

Signal that client should run any PostUndo code

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/EditorUndoClient.h