Tanks#

Entities that are used to describe tanks on WotBlitz.

class onewot.tanks.ArmorHull(front: int, rear: int, sides: int)[source]#

Interface of tank armor hull information.

class onewot.tanks.ArmorTurret(front: int, rear: int, sides: int)[source]#

Interface of tank armor turret information.

class onewot.tanks.ArmorType(front: int, rear: int, sides: int)[source]#

Interface of tank armor type information.

class onewot.tanks.DefaultArmor(hull: ArmorHull, turret: ArmorTurret)[source]#

Interface of tank default armor information.

class onewot.tanks.DefaultEngine(name: str, fire_chance: int, power: int, tier: int, weight: int)[source]#

Interface of tank default engine information.

class onewot.tanks.DefaultGun(name: str, aim_time: float, caliber: int, clip_capacity: int, clip_reload_time: float, dispersion: float, fire_rate: float, move_down_arc: int, move_up_arc: int, reload_time: int, tier: int, traverse_speed: int, weight: int)[source]#

Interface of tank default gun information.

class onewot.tanks.DefaultProfile(battle_level_range_max: int, battle_level_range_min: int, engine_id: snowflakes.Snowflake, firepower: int, gun_id: snowflakes.Snowflake, hp: int, hull_hp: int, hull_weight: int, is_default: bool, maneuverability: int, max_ammo: int, max_weight: int, profile_id: str, protection: int, shot_efficiency: int, signal_range: int, speed_backward: int, speed_forward: int, suspension_id: snowflakes.Snowflake, turret_id: snowflakes.Snowflake, weight: int, armor: DefaultArmor, engine: DefaultEngine, gun: DefaultGun, shells: DefaultShell, suspension: DefaultSuspension, turret: DefaultTurret)[source]#

Interface of tank default profile information.

class onewot.tanks.DefaultShell(damage: int, penetration: int, type: str)[source]#

Interface of tank default shell information.

class onewot.tanks.DefaultSuspension(name: str, load_limit: int, tier: int, traverse_speed: int, weight: int)[source]#

Interface of tank default suspension information.

class onewot.tanks.DefaultTurret(name: str, hp: int, tier: int, traverse_left_arc: int, traverse_right_arc: int, traverse_speed: int, view_range: int, weight: int)[source]#

Interface of tank default turret information.

class onewot.tanks.Tank(id: snowflakes.Snowflake, name: str, description: str, engines: list[snowflakes.Snowflake], guns: list[snowflakes.Snowflake], is_premium: bool, nation: str, next_tanks: dict[snowflakes.Snowflake, int], prices_xp: dict[snowflakes.Snowflake, int], suspensions: list[snowflakes.Snowflake], tier: int, turrets: list[snowflakes.Snowflake], type: str, cost: TankCost, default_profile: DefaultProfile, images: TankImage)[source]#

Interface of tank information.

class onewot.tanks.TankCost(price_credit: int, price_gold: int)[source]#

Interface of tank cost information.

class onewot.tanks.TankImage(preview: str, normal: str)[source]#

Interface of tank image information.