Optional
abilityfrom protobuf field: optional uint32 ability_id = 15;
Optional
armorfrom protobuf field: optional float armor = 10;
Values include changes from upgrades
from protobuf field: repeated SC2APIProtocol.Attribute attributes = 8;
Optional
availablefrom protobuf field: optional bool available = 3;
Optional
buildfrom protobuf field: optional float build_time = 17;
Optional
cargofrom protobuf field: optional uint32 cargo_size = 4;
Optional
foodfrom protobuf field: optional float food_provided = 18;
Optional
foodfrom protobuf field: optional float food_required = 14;
Optional
hasfrom protobuf field: optional bool has_minerals = 20;
Optional
hasfrom protobuf field: optional bool has_vespene = 19;
Optional
mineralfrom protobuf field: optional uint32 mineral_cost = 12;
Optional
movementfrom protobuf field: optional float movement_speed = 9;
Optional
namefrom protobuf field: optional string name = 2;
Optional
racefrom protobuf field: optional SC2APIProtocol.Race race = 16;
Optional
requirefrom protobuf field: optional bool require_attached = 24;
Optional
sightfrom protobuf field: optional float sight_range = 25;
from protobuf field: repeated uint32 tech_alias = 21;
Optional
techfrom protobuf field: optional uint32 tech_requirement = 23;
Optional
unitfrom protobuf field: optional uint32 unit_alias = 22;
Optional
unitfrom protobuf field: optional uint32 unit_id = 1;
Optional
vespenefrom protobuf field: optional uint32 vespene_cost = 13;
from protobuf field: repeated SC2APIProtocol.Weapon weapons = 11;
Generated using TypeDoc
Generated
from protobuf message SC2APIProtocol.UnitTypeData