UnitOptions: {
    isAutoBuild?: boolean;
    type: "building";
    workersCanAssist?: boolean;
} | {
    type: "illusion";
} | {
    type: "corpse";
}

Type declaration

  • Optional isAutoBuild?: boolean
  • type: "building"
  • Optional workersCanAssist?: boolean

Type declaration

  • type: "illusion"

Type declaration

  • type: "corpse"

Generated using TypeDoc