Skip to main content

ActionPacket

Module: Inworld.AI. Namespace: Inworld.Packet. Inherited from InworldPacket

This packet is designed for handling narrative actions.

Variables

VariablesDescription
actionThe ActionEvent contained within this packet.
PropertiesDescription
ToJsonGenerates the string of json to send to the Inworld server.

NarrativeAction

Module: Inworld.AI. Namespace: Inworld.Packet.

VariablesDescription
contentThe content of the NarrativeAction

ActionEvent

Module: Inworld.AI. Namespace: Inworld.Packet.

VariablesDescription
narratedActionThe NarrativeAction associated with this event.
playbackDetermines the method for presenting this narrative action. In the Unity SDK, this value is always set to Utterance.