dcs-retribution/userdata/debriefing_parser.py
2018-06-02 22:35:17 +03:00

13 lines
256 B
Python

import typing
import json
class Debriefing:
def __init__(self):
self.destroyed_units = {} # type: typing.Dict[str, typing.Dict[str, int]]
def parse(self, path: str):
with open(path, "r") as f:
events = json.load(f)