Wowpedia
Advertisement
Wowpedia
230,043
pages
Game Flavors
Links
Patch
Added in 7.2.0

Returns the current state of a building, its completion percentage, and time until next state change.

contributionState, contributionPercentageComplete, timeOfNextStateChange, startTime = C_ContributionCollector.GetState(contributionID)

Arguments

contributionID 
number

Returns

contributionState 
Enum.ContributionState
contributionPercentageComplete 
number
timeOfNextStateChange 
number (nilable)
startTime 
number
Enum.ContributionState
Value Key Description
0 None
1 Building
2 Active
3 UnderAttack
4 Destroyed

Patch changes