#include <ObservableArray.h>
◆ GetAction()
- Returns
- The action that caused the event.
◆ GetActionIndex()
Valid for the Add, Remove, RemoveSwap action. Use GetItems.Num() to know how many elements were added/removed. Add: The array index where we added the elements. Remove: The old array index before it removed the elements. The index is not valid anymore. RemoveSwap: The old array index before it removed the elements. The index is valid if the array is not empty.
- Returns
- The index the action started.
◆ GetItems()
- Returns
- The items added to the array or removed from the array. Valid for the Add, Remove and RemoveSwap action.
◆ GetRemovedSwapIndexes()
Valid for the RemoveSwap action.
- Returns
- The index of the removed elements and the index of the moved elements.
◆ GetSwapIndex()
Valid for the Swap action.
- Returns
- The indexes of the 2 swapped elements.
The documentation for this struct was generated from the following file: