Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API C_ContributionCollector.GetState

From Wowpedia
Jump to: navigation, search

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 Type Description
0
None
1
Building
2
Active
3
UnderAttack
4
Destroyed

Patch changes

See also