Kaszanas / SC2InfoExtractorGo

GNU General Public License v3.0
0 stars 2 forks source link

Event filtering #7

Closed Kaszanas closed 3 years ago

Kaszanas commented 3 years ago

Events that are available in the game replays are listed here: https://github.com/icza/s2prot/blob/2f1248f765db35f42f4262b33d952498da1f5dfb/build/80669.go It seems that events might change between game build versions.

Some of these events are not in inspected data sample and it is unclear that these will ever be present in 1v1 ladder games that are being processed.

Different events on the other hand are clearly associated with single player or coop modes of SC2.

It is unclear how to properly filter these events.

The simple solution would require creating a list of events that are accepted or a list of events which are to be ommited. Then performing a simple check such as:

if event in list:
    # append to new event list
else:
    continue