Skip to main content

Packets

This folder contains all the packet structures that would be serialized from websocket or NDK.

Packets are usually sent and received during live session.

File Reference

FileDescription
InworldPacketThis is the base class for packets sending and receiving from Inworld runtime server.
ActionPacketThis is the packet for narrative actions.
AudioPacketThis packet is used for audio chunks and phoneme information for lipsync.
ControlPacketThis packet is used for controlling interactions, such as starting or stopping the reception of audio for a character.
CustomPacketThis packet is used for triggers.
EmotionPacketThis packet is used for emotions.
MutationPacketThis packet is used for sending interruption commands.
RelationPacketThis packet is used for character relationship updates.
PacketDeserializerThis is the custom Json Serializer and Deserializer class based on Newtonsoft Json.
TextPacketThis is the packet for sending and receiving text contents.