Item: {
    coordinates: Coordinates;
    flags: {
        isBuildSite: boolean;
        isHomeBase: boolean;
        isLaunchedRocketSite: boolean;
        isScorched: boolean;
        isTownClaimed: boolean;
        isVictoryBase: boolean;
    };
    icon: Icon;
    team: Team | undefined;
}

Type declaration

  • coordinates: Coordinates

    Normalized map coordinates.

  • flags: {
        isBuildSite: boolean;
        isHomeBase: boolean;
        isLaunchedRocketSite: boolean;
        isScorched: boolean;
        isTownClaimed: boolean;
        isVictoryBase: boolean;
    }
    • isBuildSite: boolean

      If this item is a build site.

    • isHomeBase: boolean

      If this item is a home base.

      Deprecated

      Removed in API v0.29

    • isLaunchedRocketSite: boolean

      If this item is a launched rocket site.

    • isScorched: boolean

      If this item is scorched.

    • isTownClaimed: boolean
    • isVictoryBase: boolean

      If this item is a victory base.

  • icon: Icon
  • team: Team | undefined

    The team this item belongs to.