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.
NetworkPacketThis is the packet for network transmission. It contains all the data below.
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.
GesturePacketThis packet is used for gestures.
MutationPacketThis packet is used for sending interruption commands.
RelationPacketThis packet is used for character relationship updates.
SessionResponsePacketThis packet is used for server's load scene response.
TextPacketThis is the packet for sending and receiving text contents.