![]() |
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
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 : ContributionID
Returns
- contributionState
- Enum.ContributionState?
= None
| Value | Field | Description |
|---|---|---|
| 0 | None | |
| 1 | Building | |
| 2 | Active | |
| 3 | UnderAttack | |
| 4 | Destroyed |
- contributionPercentageComplete
- number
- timeOfNextStateChange
- number?
- startTime
- number
Patch changes
Patch 8.0.1 (2018-07-17): Added startTime return.
Patch 7.2.0 (2017-03-28): Added.
