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: README.md
-2
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,6 @@
2
2
3
3
A blazing fast, feature complete and production ready Go library for parsing and analysing of Counter-Strike 2 and Counter-Strike: Global Offensive (CS:GO) demos (aka replays).
4
4
5
-
[](https://vshymanskyy.github.io/StandWithUkraine)
Copy file name to clipboardExpand all lines: pkg/demoinfocs/events/events.go
+4-3
Original file line number
Diff line number
Diff line change
@@ -203,7 +203,7 @@ type GrenadeEvent struct {
203
203
GrenadeType common.EquipmentType
204
204
Grenade*common.Equipment// Maybe nil for InfernoStart & InfernoExpired since we don't know the thrower (at least in old demos)
205
205
Position r3.Vector
206
-
Thrower*common.Player// May be nil if the demo is partially corrupt (player is 'unconnected', see #156 and #172).
206
+
Thrower*common.Player// May be nil with POV demos or if the demo is partially corrupt (player is 'unconnected', see #156 and #172).
207
207
GrenadeEntityIDint
208
208
}
209
209
@@ -308,7 +308,7 @@ const (
308
308
// BombEvent contains the common attributes of bomb events. Dont register
309
309
// handlers on this tho, you want BombEventIf for that.
310
310
typeBombEventstruct {
311
-
Player*common.Player
311
+
Player*common.Player// Can be nil with POV demos
312
312
SiteBombsite
313
313
}
314
314
@@ -421,7 +421,7 @@ const (
421
421
422
422
// PlayerHurt signals that a player has been damaged.
423
423
typePlayerHurtstruct {
424
-
Player*common.Player// May be nil if the demo is partially corrupt (player is 'unconnected', see #156 and #172).
424
+
Player*common.Player// May be nil with POV demos or if the demo is partially corrupt (player is 'unconnected', see #156 and #172).
425
425
Attacker*common.Player// May be nil if the player is taking world damage (e.g. fall damage) or if the demo is partially corrupt (player is 'unconnected', see #156 and #172).
426
426
Healthint
427
427
Armorint
@@ -590,6 +590,7 @@ const (
590
590
591
591
WarnTypeUnknownEquipmentIndex
592
592
WarnTypeMissingItemDefinitionIndex
593
+
WarnTypeStringTableParsingFailure// Should happen only with CS2 POV demos
593
594
)
594
595
595
596
// ParserWarn signals that a non-fatal problem occurred during parsing.
0 commit comments