tynidev / RL_Overlay

Broadcasting overlay to use for streaming rocket league games.
GNU Lesser General Public License v3.0
2 stars 1 forks source link

Need to collect player stats and display after game stat screen #1

Closed tynidev closed 1 year ago

tynidev commented 1 year ago

image

tynidev commented 1 year ago

Should be able to get from:

"game:update_state": {
    "event": "string",
    "game": {
      "arena": "string",
      "ball": {
        "location": {
          "X": "number",
          "Y": "number",
          "Z": "number"
        },
        "speed": "number",
        "team": "number"
      },
      "hasTarget": "boolean",
      "hasWinner": "boolean",
      "isOT": "boolean",
      "isReplay": "boolean",
      "target": "string",
      "teams": {
        "0": {
          "color_primary": "string",
          "color_secondary": "string",
          "name": "string",
          "score": "number"
        },
        "1": {
          "color_primary": "string",
          "color_secondary": "string",
          "name": "string",
          "score": "number"
        }
      },
      "time": "number",
      "winner": "string"
    },
    "hasGame": "boolean",
    "players": {
      "PLAYER OBJECT": {
        "assists": "number",
        "attacker": "string",
        "boost": "number",
        "cartouches": "number",
        "demos": "number",
        "goals": "number",
        "hasCar": "boolean",
        "id": "string",
        "isDead": "boolean",
        "isPowersliding": "boolean",
        "isSonic": "boolean",
        "location": {
          "X": "number",
          "Y": "number",
          "Z": "number",
          "pitch": "number",
          "roll": "number",
          "yaw": "number"
        },
        "name": "string",
        "onGround": "boolean",
        "onWall": "boolean",
        "primaryID": "string",
        "saves": "number",
        "score": "number",
        "shortcut": "number",
        "shots": "number",
        "speed": "number",
        "team": "number",
        "touches": "number"
      }
    }
  }