Link Search Menu Expand Document

troops.d overview


Table of contents


utils

DataTroop (interface)

Signature

export interface DataTroop extends DataBaseBase {
  members: TroopMember[]
  pages: DataTroopPage[]
}

DataTroopPage (interface)

Signature

export interface DataTroopPage {
  conditions: TroopPageCondition
  list: DataCommand[]
  span: number
}

TroopMember (interface)

Signature

export interface TroopMember {
  enemyId: EnemyID
  x: number
  y: number
  hidden: boolean
}

TroopPageCondition (interface)

Signature

export interface TroopPageCondition {
  turnEnding: boolean
  turnValid: boolean
  turnA: number
  turnB: number
  enemyValid: boolean
  enemyHp: number
  enemyIndex: number
  actorValid: boolean
  actorHp: number
  actorId: ActorID
  switchValid: boolean
  switchId: SwitchID
}