Skip to main content

IHistoryManager

An interface in Root.Township, the global namespace.

An undo and redo history. The cosmetics editor uses one for outfit changes.

Properties​

MemberWhat it is
bool IsRedoPossible { get; }True if there is an undone action to redo.
bool IsUndoPossible { get; }True if there is an action to undo.

Events​

MemberWhat it is
event Action ItemPushedRaised when a new action is added.

Methods​

MemberWhat it is
void Clear()Empties the history.
void Redo()Redoes the last undone action.
void Undo()Undoes the last action.

Used in​

Members of other types that take, return or hold a IHistoryManager: