Releases: markus-wa/demoinfocs-golang
Releases · markus-wa/demoinfocs-golang
v1.7.4
v1.7.3
v1.7.2
v1.7.1
Fixes
- Fixed
PlayerHurt.WeaponInstance
beingnil
in some cases (#171) - Fixed weapon identification for older demos (no more
EqUnknown
) - Documented that
Player.Entity
may benil
between the player's death and his re-spawn (#170) - Documented more events where
Player
fields may benil
(#172) - Documented
Player.ViewDirection{X,Y}
ranges (#116)
v1.7.0
Deprecations
- Deprecated
Inferno.Owner()
in favour ofInferno.Thrower()
New Features / Changes
- Improved grenade tracking (#160 - thanks @xavier-rodet)
- Added
GrenadeEvent.Grenade
- Added
GrenadeProjectile.WeaponInstance
- Added
- Added Player bot utility functions (#164)
Player.IsControllingBot()
Player.ControlledBot()
- Added
IParticipants.AllByUserID()
(#167 - thanks @BestAwperEver)
v1.6.1
v1.6.0
New Features / Changes
- Added
PlayerFlashed.Projectile
, contains a reference to the flashbang'sGrenadeProjectile
(#158)
Fixes
- Fixed
nil pointer dereference
panic that occurred in some demos after the Operation Shattered Web update (#162 / #165)
Some players may now be "unknown" which can be dected by the new flagPlayer.IsUnknown
.
These players are also named "unknown" (and lack a avatar) when replaying these demos in GOTV.
v1.6.0-rc0
New Features / Changes
- Added
PlayerFlashed.Projectile
, contains a reference to the flashbang'sGrenadeProjectile
(#158)
Fixes
- Fixed
nil pointer dereference
panic that occurred in some demos after the Operation Shattered Web update (#162 / #165)
Some players may now be "unknown" which can be dected by the new flagPlayer.IsUnknown
.
These players are also named "unknown" (and lack a avatar) when replaying these demos in GOTV.
v1.5.1
Fixes
- Fixed a potential issue with a missing transitive dependency (
imghash
) - see also jteeuwen/go-bindata#5
v1.5.0
New Features / Changes
- Added
Player.IsPlanting
, true if a player is currently planting the bomb (#132) - Added
Player.IsReloading
, true if a player is currently reloading (#132) - Added
Player.IsAirborne()
, returns true if the player is currently in the air (jumping / falling) (#132) - Changed weapon
worldspawn
fromEqUnknown
toEqWorld
(#156)
Fixes
- Documented that
Kill.Killer
andWeaponFire.Shooter
may be nil in some cases (#156)