get_undo_item(index) | → array[UndoRedoAction] | Gets an undo item from the undo stack. |
Gets an undo item from the undo stack. | ||
get_undo_item_count() | → uint | The number undo items in the undo stack. |
The number undo items in the undo stack. | ||
remove_undo_item(index) | Removes an undo item from the undo stack. | |
Removes an undo item from the undo stack. | ||
remove_undo_action(item_index, action_index) | Removes an undo action from the specified undo item on the undo stack. | |
Removes an undo action from the specified undo item on the undo stack. | ||
get_redo_item(index) | → array[UndoRedoAction] | Gets an undo item from the redo stack. |
Gets an undo item from the redo stack. | ||
get_redo_item_count() | → uint | The number of undo items in the redo stack. |
The number of undo items in the redo stack. | ||
remove_redo_item(index) | Removes an undo item from the redo stack. | |
Removes an undo item from the redo stack. | ||
remove_redo_action(item_index, action_index) | Removes an undo action from the specified undo item on the redo stack. | |
Removes an undo action from the specified undo item on the redo stack. | ||
get_undo_tags(item_index, action_index) | → Tags | Gets all tags for the given undo action. |
Gets all tags for the given undo action. | ||
get_undo_tag(item_index, action_index, tag_name) | → AnyBasic | Gets the tag with the given name from a specific undo item action, or |
Gets the tag with the given name from a specific undo item action, or | ||
set_undo_tag(item_index, action_index, tag_name, tag) | Sets a new tag with the given name and value on the specified undo item action. | |
Sets a new tag with the given name and value on the specified undo item action. | ||
remove_undo_tag(item_index, action_index, tag) | → boolean | Removes a tag with the given name from the specified undo item. |
Removes a tag with the given name from the specified undo item. | ||
get_redo_tags(item_index, action_index) | → Tags | Gets all tags for the given redo action. |
Gets all tags for the given redo action. | ||
get_redo_tag(item_index, action_index, tag_name) | → AnyBasic | Gets the tag with the given name from a specific redo item action, or |
Gets the tag with the given name from a specific redo item action, or | ||
set_redo_tag(item_index, action_index, tag_name, tag) | Sets a new tag with the given name and value on the specified redo item action. | |
Sets a new tag with the given name and value on the specified redo item action. | ||
remove_redo_tag(item_index, action_index, tag) | → boolean | Removes a tag with the given name from the specified redo item. |
Removes a tag with the given name from the specified redo item. | ||
player_index | :: R uint | The index of the player to whom this stack belongs to. |
The index of the player to whom this stack belongs to. | ||
valid | :: R boolean | Is this object valid? [...] |
Is this object valid? [...] | ||
object_name | :: R string | The class name of this object. [...] |
The class name of this object. [...] |
index | :: uint | The index of the undo item to get, ordered from most recent to oldest. |
The index of the undo item to get, ordered from most recent to oldest. |
index | :: uint | The index of the undo item to remove, ordered from most recent to oldest. |
The index of the undo item to remove, ordered from most recent to oldest. |
index | :: uint | The index of the item to get, ordered from most recent to oldest. |
The index of the item to get, ordered from most recent to oldest. |
index | :: uint | The index of the undo item to remove, ordered from most recent to oldest. |
The index of the undo item to remove, ordered from most recent to oldest. |
item_index | :: uint | The index of the undo item, ordered from most recent to oldest. |
The index of the undo item, ordered from most recent to oldest. | ||
action_index | :: uint | The index of the undo action. |
The index of the undo action. | ||
tag_name | :: string | The name of the tag to set. |
The name of the tag to set. | ||
tag | :: AnyBasic | The contents of the new tag. |
The contents of the new tag. |
item_index | :: uint | The index of the undo item, ordered from most recent to oldest. |
The index of the undo item, ordered from most recent to oldest. | ||
action_index | :: uint | The index of the undo action. |
The index of the undo action. | ||
tag | :: string | The name of the tag to remove. |
The name of the tag to remove. |
→ boolean | Whether the tag existed and was successfully removed. |
item_index | :: uint | The index of the redo item, ordered from most recent to oldest. |
The index of the redo item, ordered from most recent to oldest. | ||
action_index | :: uint | The index of the redo action. |
The index of the redo action. | ||
tag_name | :: string | The name of the tag to set. |
The name of the tag to set. | ||
tag | :: AnyBasic | The contents of the new tag. |
The contents of the new tag. |
item_index | :: uint | The index of the redo item, ordered from most recent to oldest. |
The index of the redo item, ordered from most recent to oldest. | ||
action_index | :: uint | The index of the redo action. |
The index of the redo action. | ||
tag | :: string | The name of the tag to remove. |
The name of the tag to remove. |
→ boolean | Whether the tag existed and was successfully removed. |