View Single Post
01/29/15, 09:45 AM   #16
Sasky
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 231
Originally Posted by ZOS_ChipHilseberg View Post
The Clear, Add, and Spend functions are meant to be used together in the following way:
1) Clear the pending point storage in the client.
2) Add points that you want to spend by passing the discipline (constellation) index, skill index, and number of points to spend.
3) Call SpendPendingChampion points. If are just adding points, pass in false and the pending points will be interpreted as points to add to each skill. If you are respecing, pass in true and the pending points will be interpreted as the final point values for each skill.

These functions have no impact on the UI. They are just used to pass all of the requested points to the client.
I'll try that. However, one of the cases that I'm thinking would be useful for an addon that distributes points would be to throw all the points into pending but leave the final submit/confirm to the user. That'd need it to update the UI.
  Reply With Quote