If true
, will visit building. If false
, will visit buildable (part or building). If fails, will visit owner of taxable component.
boolean
boolean value
false
boolean
boolean value
true
void finalize(instTaxationFunction)
Function called when taxation function is removed. You can cleanup components added during init (except TaxCollectables, those will be managed by the system).
Name | Type | Description |
---|---|---|
instTaxationFunction | INST_TAXATION_FUNCTION |
INST_TAXATION_COLLECT_INFO collect(compTaxCollectable)
Function called every frame to compute how much to cumulate.
Name | Type | Description |
---|---|---|
compTaxCollectable | COMP_TAX_COLLECTABLE |
integer_and_unsigned_integer getMaximumAmountToCollect(compTaxCollectable)
Name | Type | Description |
---|---|---|
compTaxCollectable | COMP_TAX_COLLECTABLE |
integer_and_unsigned_integer getTaxedCount(instTaxationFunction)
Name | Type | Description |
---|---|---|
instTaxationFunction | INST_TAXATION_FUNCTION |
void registerAmountAvailableToCollect(compTaxCollectable)
Name | Type | Description |
---|---|---|
compTaxCollectable | COMP_TAX_COLLECTABLE |