User Tools

Site Tools


api:comp_immigration_manager

COMP_IMMIGRATION_MANAGER

Category: Component

Parent class: COMPONENT

Lazy-init

Properties


CheatInstantImmigration

Serialized

  • Type: boolean
  • Expected: boolean value
  • Default value: false

ImmigrantProfile

Serialized


ImmigrationVisitAction

Serialized


ImmigrationDaysDelay

Runtime only, Savegame

  • Type: integer
  • Expected: integer value
  • Default value: 7

Functions


getDaysUntilImmigration

integer getDaysUntilImmigration()


getIsImmigrationEnabled

boolean getIsImmigrationEnabled()


setIsImmigrationEnabled

void setIsImmigrationEnabled(isEnabled)

Name Type Description
isEnabled boolean

triggerImmigration

void triggerImmigration([forceImmigration [, forcedImmigrationCount]])

Name Type Description
forceImmigration boolean
forcedImmigrationCount integer
api/comp_immigration_manager.txt · Last modified: 2022/11/17 19:03 (external edit)