API C ContributionCollector.GetState

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