-
Notifications
You must be signed in to change notification settings - Fork 102
Hight Level Architecture
Markus edited this page Jun 20, 2020
·
1 revision
This diagram gives a rough overview of how the parser utilizes parallel processing. In one thread the demo packages are parsed and in the second thread they are processed.
Here is a more detailed diagram of the parsing loop. First we read the binary data (read: byte-arrays), then decode it to structs via gogo/protobuf and finally write it to the queue for the processing loop to take over.
In the processing loop we update the game-state and send out events to the registered handlers.