ValvePython / steam

☁️ Python package for interacting with Steam
http://steam.readthedocs.io
MIT License
1.06k stars 129 forks source link

I can not understand where to get the module with protobufs #348

Closed Qunik closed 2 years ago

Qunik commented 2 years ago

On this documentation page it says "The above code assumes that we have a myDotaModule that contains the appropriate protobufs needed to (de) serialize message for communication with GC." But where can I get this module

rossengeorgiev commented 2 years ago

You create it.

Example implementation: https://github.com/ValvePython/dota2/blob/master/dota2/client.py
In that case that module is dota2.protobufs.

https://github.com/ValvePython/dota2/blob/master/dota2/client.py#L17-L18