feat(capture): decode every game message both ways by its struct

GameMessageDecoder reads every NetGameMsg struct (generated member lists in GameMessageFields.inc) instead of 10
hand-written ones; DisplayTooltip gets the Deserialize it lacked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-09-30 04:23:32 -05:00
parent 19aa691ff7
commit 8df9084a72
5 changed files with 2997 additions and 72 deletions

View File

@@ -337,6 +337,7 @@ namespace GameMessages {
std::u16string imageName{};
std::u16string text{};
void Serialize(RakNet::BitStream& bitStream) const override;
bool Deserialize(RakNet::BitStream& bitStream) override;
};
struct EmotePlayed : public NetGameMsg {