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
File | Description |
---|---|
InworldPacket | This is the base class for packets sending and receiving from Inworld runtime server. |
NetworkPacket | This is the packet for network transmission. It contains all the data below. |
ActionPacket | This is the packet for narrative actions. |
AudioPacket | This packet is used for audio chunks and phoneme information for lipsync. |
ControlPacket | This packet is used for controlling interactions, such as starting or stopping the reception of audio for a character. |
CustomPacket | This packet is used for triggers. |
EmotionPacket | This packet is used for emotions. |
GesturePacket | This packet is used for gestures. |
MutationPacket | This packet is used for sending interruption commands. |
RelationPacket | This packet is used for character relationship updates. |
SessionResponsePacket | This packet is used for server's load scene response. |
TextPacket | This is the packet for sending and receiving text contents. |