← Packet index

Packet 169

NpcDialoguePacket

Sent from the server to client when remote firing an NPC dialogue window for a client

Packet datagramWire order
HeaderID 169varuint
0Npc Id Raw Iduint64 · 8 bytes
1Npc Dialogue Action Typevarint32 · variable (up to 5 bytes)
2Dialoguestring · variable
3Scene Namestring · variable
4Npc Namestring · variable
5Action JSONstring · variable

Serialized fields

6 top-level fields
  1. 0Npc Id Raw IdThe ActorUniqueID of the NPC being remote fireduint64
  2. 1Npc Dialogue Action TypeCompressionEnum-as-ValueNpcDialogueActionTypeas varint32
    1. 0Open
    2. 1Close
  3. 2DialogueThe text to be displayed to the clientstring
  4. 3Scene NameThe scene the data has been pulled from for the client to referencestring
  5. 4Npc NameThe name of the NPC to be displayed to the clientstring
  6. 5Action JSONThe JSON string of the buttons/actions the server can perform. The server is still authoritative on what actions can be performedstring

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this packet.