User Tools

Site Tools


api:comp_resource_generator

COMP_RESOURCE_GENERATOR

Category: Component

Parent class: COMPONENT

Properties


GrowRate

  • Type: float
  • Default value: 1.0f

MaxQuantity

  • Type: integer
  • Default value: 1000

Functions


setResourceGeneratorData

void setResourceGeneratorData(resourceGeneratorData)

Name Type Description
resourceGeneratorData BUILDING_FUNCTION_RESOURCE_GENERATOR

setMaxQuantity

void setMaxQuantity(maxQuantity)

Name Type Description
maxQuantity integer
api/comp_resource_generator.txt · Last modified: 2020/08/14 17:04 (external edit)