C_ContributionCollector .GetState
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
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 : 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.