Skip to main content

InworldMessenger

Module: Inworld.AI. Namespace: Inworld.Entities

This class is used to send/receive special interactive functions to/from Inworld server, via CustomPackets.

Properties

PropertiesDescription
NextTurnThe server signal of the next turn.
GoalCompleteHeadThe head of the signal in the goal complete message.

API

FunctionDescriptionParameters
ProcessPacketGet the enum of the InworldMessage by the giving packet.CustomPacket: The CustomPacket returned by Inworld server.
EnableGoalEnable target goal.goalName: the target goal to enable.
brainName: the brain name of the target InworldCharacter.
DisableGoalDisable target goal.goalName: the target goal to disable.
brainName: the brain name of the target InworldCharacter.
DebugSendErrorSend general debug error message to Inworld server.
DebugSendCriticalSend critical debug error message to Inworld server.
DebugSendGoAwaySend go away debug error message to Inworld server.
DebugSendIncompleteInteractionSend the debug error message to Inworld server with the incomplete Interaction.