CustomPacket
Module: Inworld.AI. Namespace: Inworld.Packet. Inherited from InworldPacket
This packet is used for triggers.
Variables | Description |
---|---|
custom | The CustomEvent of the packet. |
Properties | Description |
---|---|
TriggerName | Gets the name of the trigger. If it's from goal, delete the pattern part, otherwise return the name directly. |
Trigger | Gets the full string of the trigger name and it's parameter names and values for the trigger. The format is like {TriggerName} {param1.name}: {param1.value} {param2.name}: {param2.value} ... |
Message | Gets the InworldMessage if it's an additional connection message sent by Inworld server. |
Related Classes
TriggerParameter
Module: Inworld.AI. Namespace: Inworld.Packet.
Variables | Description |
---|---|
name | The name of the parameter. |
value | The value of the parameter. |
CustomEvent
Module: Inworld.AI. Namespace: Inworld.Packet.
Variables | Description |
---|---|
name | The name of the trigger |
parameters | A list of the TriggerParameter in the trigger. |