Open Ellome opened 6 months ago
Can you create a pull request (with some tests)?
Yes, but since I only found out what .NET is yesterday, this will not be quick xD. By the way, with these same messages from the lobby, there was another moment akin to a magic header, specific to the game, so I'll get both sorted out at once.
We have the existing C++ code quoted here: #34
A magic header for game-specific data probably doesn't belong in this lib? It's hard for me to judge without seeing it though.
We have the existing C++ code quoted here: #34
A magic header for game-specific data probably doesn't belong in this lib? It's hard for me to judge without seeing it though.
Though there was none in lib. If you can make pull request or rewrite it, you will surely do it faster. Please tell then whether will you implement it, so i wont.
L4D series prepend int32be version to every lobbychat message, not sure about other games, and thats why NetHookAnalyzer2 didnt show them as KeyValues correctly and also its KV lib didnt support AlternateEnd \x0b, so i updated its code and used this lib for these messages to be shown convinient way as a tree.
Since i am not that familiar neither with git, nor c# it will be better if you will make commit for this
Was looking through steamapi msgs and found kv wstring type in lobby chat
In case one will need it, here is a short add for ValveKeyValue/Deserialization/KeyValues1/KV1BinaryReader.cs
replace
with