Skip to content
Circle CI edited this page Aug 30, 2018 · 1 revision

element:PreUpdate(unit)

Called before the element has been updated.

  • self - the Reputation element
  • unit - the unit for which the update has been triggered (string)

element:PostUpdate(unit, cur, max, factionName, factionID, standingID, standingText, pendingReward)

Called after the element has been updated.

  • self - the Reputation element
  • unit - the unit for which the update has been triggered (string)
  • cur - the current reputation with the tracked faction (number)
  • max - the maximum reputation with the tracked faction (number)
  • factionName - the name of the tracked faction (string)
  • factionID - the identifier for the tracked faction (number)
  • standingID - the identifier for the standing for the tracked faction (number)
  • standingText - the name of the standing for the tracked faction (string)
  • pendingReward - indicates if there's a pending paragon reward with the faction (boolean)