Skip to main content

PlayerProfile

This file contains user data used to load the Inworld Scene.

Classes

UserRequest

Module: Inworld.AI. Namespace: Inworld.Entities.

VariablesDescription
nameThe user's name. By default, it's the first part of the user's email address but can be edited by the user.
idThe unique user ID at runtime. By default, it's set to SystemInfo.deviceUniqueIdentifier
userSettingThe user's UserSetting.
PropertiesDescription
ToPacketGenerate the UserConfigPacket to send to the Inworld server.
FunctionDescriptionParameters
ToStringReturns the detail of the user request.

UserSetting

Module: Inworld.AI. Namespace: Inworld.Entities.

VariablesDescription
playerProfileThe PlayerProfile of the user. Editable in the scriptable object UserData named after the user's username.

PlayerProfile

Module: Inworld.AI. Namespace: Inworld.Entities.

VariablesDescription
fieldsA list of the PlayerProfileField.

PlayerProfileField

Module: Inworld.AI. Namespace: Inworld.Entities.

VariablesDescription
fieldIdthe name of the field in the PlayerProfile.
fieldValuethe value of the field in the PlayerProfile.

UserEvent

Module: Inworld.AI. Namespace: Inworld.Entities.

VariablesDescription
userConfigurationthe UserRequest to send to the Inworld server.

UserConfigPacket

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

VariablesDescription
sessionControlThe UserEvent to send.
ToJsonGenerates the json string to send.