← Packet index

Packet 98

NpcRequestPacket

A request is made from the client during an interaction with an NPC then the request is processed by the server. Actor MUST have the NPCComponent to be handled. We currently only use this for EDU, but the goal was to expose the NPC Component to creators.

Packet datagramWire order
HeaderID 98varuint
0NPC Runtime IDActorRuntimeID · variable
1Request Typeuint8 · 1 byte
2Actionsstring · variable
3Action Indexuint8 · 1 byte
4Scene Namestring · variable

Serialized fields

5 top-level fields
  1. 0NPC Runtime IDActorRuntimeID
    1. 0Actor Runtime IDCompressionvaruint64
  2. 1Request TypeEnum-as-ValueNpcRequestPacketPayload RequestTypeas uint8
    1. 0SetActions
    2. 1ExecuteAction
    3. 2ExecuteClosingCommands
    4. 3SetName
    5. 4SetSkin
    6. 5SetInteractText
    7. 6ExecuteOpeningCommands
  3. 2Actionsstring
  4. 3Action Indexuint8
  5. 4Scene Namestring

Changelog

Stable releases

Changes between stable protocol releases.

No stable release changes are recorded for this packet.