class_docstr: Expose static data in a more useful form than the raw protos.
docstr: Takes data from RequestData.
docstr_tok: ["Takes","data","from","RequestData","."]
code: def __init__(self, data):
      """Takes data from RequestData."""
      self._units = {u.unit_id: u.name for u in data.units}
      self._unit_stats = {u.unit_id: u for u in data.units}
      self._upgrades = {a.upgrade_id: a for a in data.upgrades}
      self._abilities = {a.ability_id: a for a in data.abilities}
      self._general_abilities = {
          a.remaps_to_ability_id
          for a in data.abilities
          if a.remaps_to_ability_id
      }
  
      for a in self._abilities.values():
          a.hotkey = a.hotkey.lower()
  
file_path: pysc2/pysc2/lib/static_data.py
label_desc: Use image node_id 1 to create a new StaticData object from inherited base classes: object with example: obj = StaticData(data)