mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-20 03:32:48 +00:00
test(messages): UpdatePlayerStatistic against live capture packets
Live sent UpdatePlayerStatistic (1481) server to client; the struct already reads and writes those packets. Documents what the client does with it. Needs the FromLiveCapture test helper. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -100,7 +100,9 @@ namespace GameMessages {
|
||||
LWOMAPID zoneID{ LWOMAPID_INVALID }; // optional
|
||||
};
|
||||
|
||||
// Client -> server.
|
||||
// Client -> server here; live sent it server -> client (live captures hold no client -> server copy). The client's CharacterComponent adds updateValue
|
||||
// to the passport statistic and, for every statistic but MetersTraveled, updates the passport UI. updateID is a
|
||||
// StatisticID. See docs/CaptureUnknowns.md.
|
||||
struct UpdatePlayerStatistic : public NetGameMsg {
|
||||
UpdatePlayerStatistic() : NetGameMsg(MessageType::Game::UPDATE_PLAYER_STATISTIC) {}
|
||||
void Serialize(RakNet::BitStream& bitStream) const override;
|
||||
|
||||
Reference in New Issue
Block a user