Skip to content

v2.0.0-beta.10

Pre-release
Pre-release
Compare
Choose a tag to compare
@markus-wa markus-wa released this 19 Apr 13:12
· 163 commits to v2 since this release
fb96d60

Doc Links

The new docs are hosted on the fabulous new go.dev page.

Package docs: https://pkg.go.dev/mod/github.com/markus-wa/demoinfocs-golang/[email protected]
API docs: https://pkg.go.dev/github.com/markus-wa/demoinfocs-golang/[email protected]/pkg/demoinfocs?tab=doc

Go Get

Watch out, there's a new module path for go get and import!

go get -u github.com/markus-wa/demoinfocs-golang/v2/pkg/demoinfocs

Breaking Changes

  • See v2.0.0-beta.9 for more breaking changes since v1.x
  • Removed func Entity.BindPosition()
  • Removed func PropertyValue.Float64Val()
  • Changed type of common.Zoom{None,Half,Full} from int to ZoomLevel

Fixes

  • Fixed issue where Entity.Property() was not returning nil if the property wasn't found
  • Fixed nil-pointer de-reference error when trying to retrieve player data when there is no Player.Entity