@@ -118,6 +118,17 @@ type EventPosition struct {
118118 HasDefuser bool `json:"has_defuser,omitempty"`
119119}
120120
121+ type EventFlash struct {
122+ Tick int `json:"tick"`
123+ Round int `json:"round,omitempty"`
124+ AttackerSteamID string `json:"attacker,omitempty"`
125+ AttackerTeam string `json:"attacker_team,omitempty"`
126+ VictimSteamID string `json:"victim,omitempty"`
127+ VictimTeam string `json:"victim_team,omitempty"`
128+ Duration float64 `json:"duration,omitempty"`
129+ TeamFlash bool `json:"team_flash,omitempty"`
130+ }
131+
121132type EventRoundInventory struct {
122133 Round int `json:"round,omitempty"`
123134 AttackerSteamID string `json:"attacker,omitempty"`
@@ -205,6 +216,7 @@ type Result struct {
205216 Spotted []EventSpotted `json:"spotted,omitempty"`
206217 GrenadeThrows []EventGrenadeThrow `json:"grenade_throws,omitempty"`
207218 GrenadeDetonations []EventGrenadeDetonate `json:"grenade_detonations,omitempty"`
219+ Flashes []EventFlash `json:"flashes,omitempty"`
208220 RoundInventory []EventRoundInventory `json:"round_inventory,omitempty"`
209221 Positions []EventPosition `json:"positions,omitempty"`
210222 KitDrops []EventKitDrop `json:"kit_drops,omitempty"`
0 commit comments