You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/demoinfocs/game_state.go
+23-15Lines changed: 23 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -20,10 +20,11 @@ type gameState struct {
20
20
ingameTickint
21
21
tState common.TeamState
22
22
ctState common.TeamState
23
-
playersByUserIDmap[int]*common.Player// Maps user-IDs to players
24
-
playersByEntityIDmap[int]*common.Player// Maps entity-IDs to players
25
-
playersBySteamID32map[uint32]*common.Player// Maps 32-bit-steam-IDs to players
26
-
playerResourceEntity st.Entity// CCSPlayerResource entity instance, contains scoreboard info and more
23
+
playersByUserIDmap[int]*common.Player// Maps user-IDs to players
24
+
playersByEntityIDmap[int]*common.Player// Maps entity-IDs to players
25
+
playersBySteamID32map[uint32]*common.Player// Maps 32-bit-steam-IDs to players
26
+
playerResourceEntity st.Entity// CCSPlayerResource entity instance, contains scoreboard info and more
27
+
playerControllerEntitiesmap[int]st.Entity
27
28
grenadeProjectilesmap[int]*common.GrenadeProjectile// Maps entity-IDs to active nade-projectiles. That's grenades that have been thrown, but have not yet detonated.
28
29
infernosmap[int]*common.Inferno// Maps entity-IDs to active infernos.
29
30
weaponsmap[int]*common.Equipment// Maps entity IDs to weapons. Used to remember what a weapon is (p250 / cz etc.)
0 commit comments