MutationPacket
Module: Inworld.AI. Namespace: Inworld.Packet. Inherited from InworldPacket
This packet is used for sending interruption commands.
Variables | Description |
---|---|
mutation | The MutationEvent of the packet. |
Function | Description | Parameters |
---|---|---|
LoadScene | A static method to generate the json of LoadSceneRequest by the scene's full name. | sceneFullName: the full string of the InworldScene to load. |
LoadCharacters | A static method to generate the json of LoadCharactersRequest by the list of the character's full name. | characterFullName: the list of the InworldCharacters's full name to load. |
Related Classes
MutationEventDeserializer
Module: Inworld.AI. Namespace: Inworld.Packet. Inherited from JsonConverter
Properties | Description |
---|---|
CanWrite | Overwrote to always return false, as we'll use its default serializer. |
Function | Description | Parameters |
---|---|---|
WriteJson | Not used. Just overwrote the default one. | writer: the JsonWriter. value: the object. serializer: the JsonSerializer. |
ReadJson | The deserializing method to allocate into child classes. | reader: the JsonReader. value: the object. serializer: the JsonSerializer. |
CanConvert | Check if the json can be converted into this class. | objectType: the Type to convert. |
MutationEvent
Module: Inworld.AI. Namespace: Inworld.Packet.
It's an abstract class, that used to be sent by server, handled by its child classes. There isn't any variables or methods.
LoadCharactersRequest
Module: Inworld.AI. Namespace: Inworld.Packet.
Variables | Description |
---|---|
name | A list of the CharacterNames to load. |
LoadCharactersEvent
Module: Inworld.AI. Namespace: Inworld.Packet. Inherited from MutationEvent
Variables | Description |
---|---|
loadCharacters | The LoadCharactersRequest to send. |
LoadSceneRequest
Module: Inworld.AI. Namespace: Inworld.Packet.
Variables | Description |
---|---|
name | The full name of the InworldScene to load. |
LoadSceneEvent
Module: Inworld.AI. Namespace: Inworld.Packet. Inherited from MutationEvent
Variables | Description |
---|---|
loadScene | The LoadSceneRequest to send. |
CancelResponse
Module: Inworld.AI. Namespace: Inworld.Packet.
Variables | Description |
---|---|
interactionId | The InteractionID to cancel. |
utteranceId | The list of the UtteranceID to cancel. |
CancelResponseEvent
Module: Inworld.AI. Namespace: Inworld.Packet. Inherited from MutationEvent
Variables | Description |
---|---|
cancelResponses | The CancelResponse to send. |
ApplyResponse
Module: Inworld.AI. Namespace: Inworld.Packet.
Variables | Description |
---|---|
packetId | The PacketId to apply. |
ApplyResponseEvent
Module: Inworld.AI. Namespace: Inworld.Packet. Inherited from MutationEvent
Variables | Description |
---|---|
ApplyResponse | The ApplyResponse to send. |
RegenerateResponse
Module: Inworld.AI. Namespace: Inworld.Packet.
Variables | Description |
---|---|
interactionId | The InteractionID to regenerate. |
RegenerateResponseEvent
Module: Inworld.AI. Namespace: Inworld.Packet. Inherited from MutationEvent
Variables | Description |
---|---|
regenerateResponse | The ApplyResponse to send. |