Blizzard / s2client-api

StarCraft II Client - C++ library supported on Windows, Linux and Mac designed for building scripted bots and research using the SC2API.
MIT License
1.66k stars 282 forks source link

bug for UnitTypeData::require_attached #247

Closed ayu-mail closed 6 years ago

ayu-mail commented 6 years ago

const ObservationInterface* obs = Observation();

obs->GetUnitTypeData()[sc2::UNIT_TYPEID::TERRAN_GHOST].require_attached //return false obs->GetUnitTypeData()[sc2::UNIT_TYPEID::TERRAN_THOR].require_attached //return false obs->GetUnitTypeData()[sc2::TERRAN_BATTLECRUISER].require_attached //return false