ValvePython / csgo

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

ByteBuffer payload #44

Closed ghost closed 3 years ago

ghost commented 3 years ago

How do I replicate this so that I can set payload for steam.core.msg.Msg:

let payload = new ByteBuffer(12, ByteBuffer.LITTLE_ENDIAN); payload.writeInt64(25523252); payload.writeInt32(1);

rossengeorgiev commented 3 years ago

Look into Python's struct module