add player num and player fouls to basketball

This commit is contained in:
2023-11-25 09:18:59 -06:00
parent 7d4bf79248
commit b62bd4547c
+2 -1
View File
@@ -317,7 +317,8 @@ class Console {
if (seqNum === 0x11) {
this.state.home.fouls = parseInt(this.currentBuffer.hex.substring(32, 34), 10);
this.state.guest.fouls = parseInt(this.currentBuffer.hex.substring(34, 36), 10);
this.state.period = parseInt(this.currentBuffer.hex.substring(31, 32), 10);
this.state.playerNum = parseInt(this.currentBuffer.hex.substring(36, 38), 10);
this.state.playerFoul = parseInt(this.currentBuffer.hex.substring(39, 40), 10);
}
// TODO(jwetzell): decode player stats in seqNum >= 22