IHistoryManager
An interface in Root.Township, the global namespace.
An undo and redo history. The cosmetics editor uses one for outfit changes.
- Listed in Global namespace: I to L
- Derived types
EmptyHistory<T>,HistoryAccess,HistoryManager<T>,IHistoryManager<T>
Properties
| Member | What 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
| Member | What it is |
|---|---|
event Action ItemPushed | Raised when a new action is added. |
Methods
| Member | What 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: