Skip to content

v0.5.0

Compare
Choose a tag to compare
@markus-wa markus-wa released this 02 Jun 21:25
· 1013 commits to master since this release

API Breaking Changes

  • Removed warnHandler parameter from NewParser(), replaced the old warning system with ParserWarnEvent
  • Replaced NewParserWithBufferSize() with NewParserWithConfig() to allow for changes in the future without breaking the API

New Features

  • Added events.GenericGameEvent which is fired for all currently unhandled events.
  • Parsing and handling of all net-messages via Parser.RegisterNetMessageHandler(). Currently unparsed net-messages can be parsed by adding an entry to ParserConfig.AdditionalNetMessageCreators. 1
  • Added ParserConfig.AdditionalEventEmitters which can be used to enable fuzzy logic from the fuzzy package. 1
    Currently there is only one EventEmitter implementation which emits fuzzy.TeamSwitchEvents for Valve MM demos. More will be added if this feature proves to be of use.

  1. Beta feature - this feature is subject to change / replacement without warning.