Skip to content

#protoman4smash

Pre-release
Pre-release
Compare
Choose a tag to compare
@nosoop nosoop released this 21 Sep 22:40
· 32 commits to master since this release

This release adds support for protobuf-defined paintkits, and raw access to the protoscript manager.
It also adds support for reading statically-defined rarities out of item definitions.

Added

  • Native TF2Econ_GetPaintKitDefinitionList, which returns an ArrayList containing paintkit proto definition indices. So now you have a list of valid values for the paintkit_proto_def_index attribute.
  • Native TF2Econ_GetProtoDefManagerAddress, which returns the address of the CProtoBufScriptObjectDefinitionManager, which holds all the new protobuf-based objects.
  • Native TF2Econ_GetPaintKitDefinitionAddress, which returns the address of the CPaintKitDefinition instance.
  • Native TF2Econ_GetItemRarity, returning the static rarity value of the given item definition.