>wowhelm_
~/forever/addon-api/function/C_Traits.GetStagedChanges

C_Traits.GetStagedChanges

documented function · SharedTraits
C_Traits.GetStagedChanges(configID) : nodeIDsWithPurchases, nodeIDsWithRefunds, nodeIDsWithSelectionSwaps

Returns IDs of Trait Nodes with pending changes, grouped by the type of change; Returns nothing if there are no pending changes

──ARGUMENTS
configID
number
──RETURNS
nodeIDsWithPurchases
table<number>
nodeIDsWithRefunds
table<number>
nodeIDsWithSelectionSwaps
table<number> (Selection nodes that had a previously committed selected entry, and now have a different selected entry pending)
──DETAILS
May Return Nothing
true
Secret Arguments
AllowedWhenUntainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.