ValvePython / csgo

🔫 Python package for interacting with CS:GO Game Coordinator
http://csgo.readthedocs.io
123 stars 17 forks source link

decoding inventory and game_data #36

Closed ghost closed 3 years ago

ghost commented 3 years ago

The response comes as bytes. How do I decode it?

ghost commented 3 years ago

Ok I got it... Proto().FromString(bytes)

rossengeorgiev commented 3 years ago

To inspect the inventory see https://csgo.readthedocs.io/en/stable/csgo.features.sharedobjects.html