class_docstr: Helper class for loading and extracting data using s2protocol library.
class_docstr_tok: ["Helper","class","for","loading","and","extracting","data","using","s2protocol","library","."]
docstr: Construct SC2Replay helper for extracting data from a replay.
docstr_tok: ["Construct","SC2Replay","helper","for","extracting","data","from","a","replay","."]
code: def __init__(self, replay_data):
      """Construct SC2Replay helper for extracting data from a replay."""
      (
          self._header,
          self._metadata,
          self._extracted,
          self._protocol,
      ) = _extract(replay_data)
  
file_path: pysc2/pysc2/lib/replay/sc2_replay.py
imports: import io
  import json
  import types
  import mpyq
  from s2protocol import versions
  import tree
label_desc: Use image node_id 1 to create a new SC2Replay object from inherited base classes: object with example: obj = SC2Replay(replay_data)