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. |
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. |
MutationPacket | This packet is used for sending interruption commands. |
RelationPacket | This packet is used for character relationship updates. |
PacketDeserializer | This is the custom Json Serializer and Deserializer class based on Newtonsoft Json. |
TextPacket | This is the packet for sending and receiving text contents. |