mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-15 09:04:10 +00:00
wire: add the Help game message
Server to client (475): a single int32 help ID, which the client's LWOCharacterComponent::ShowHelp turns into a one-time tutorial tooltip (pet bouncer and pet dig tutorials among them). Verified against GameMessage::Help::Serialize 0x00dc51e0 and Deserialize 0x00dc5220 in the 1.10.64 client, and against 2014 live captures, where the server sends it to the player (e.g. 14000000 = PR_BOUNCER_TUTORIAL_01). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -206,4 +206,12 @@ namespace GameMessages {
|
||||
VALIDATE_READ(BitStreamUtils::ReadOptional<uint32_t>(bitStream, uiHandle, 0));
|
||||
return true;
|
||||
}
|
||||
|
||||
void Help::Serialize(RakNet::BitStream& bitStream) const {
|
||||
bitStream.Write(helpId);
|
||||
}
|
||||
|
||||
bool Help::Deserialize(RakNet::BitStream& bitStream) {
|
||||
return bitStream.Read(helpId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user