InworldMessenger
Module: Inworld.AI. Namespace: Inworld.Entities
This class is used to send/receive special interactive functions to/from Inworld server, via CustomPackets.
Properties
Properties | Description |
---|---|
NextTurn | The server signal of the next turn. |
GoalCompleteHead | The head of the signal in the goal complete message. |
API
Function | Description | Parameters |
---|---|---|
ProcessPacket | Get the enum of the InworldMessage by the giving packet. | CustomPacket: The CustomPacket returned by Inworld server. |
EnableGoal | Enable target goal. | goalName: the target goal to enable. brainName: the brain name of the target InworldCharacter. |
DisableGoal | Disable target goal. | goalName: the target goal to disable. brainName: the brain name of the target InworldCharacter. |
DebugSendError | Send general debug error message to Inworld server. | |
DebugSendCritical | Send critical debug error message to Inworld server. | |
DebugSendGoAway | Send go away debug error message to Inworld server. | |
DebugSendIncompleteInteraction | Send the debug error message to Inworld server with the incomplete Interaction. |