Era.Common.NetworkMessage.ConsoleApi.Security.RpcSetUserRememberedUIStateRequest

Description

Sets UI state for current user. The UI can use this request to store any necessary state in the form of key-value pairs.
If there already is some data associated with the key in [rememberedUIState], the original value on server is overwritten.
If only the key is specified in [rememberedUIState] and value is omited, then the key (and value) is removed from server.

Properties

Name JsonSchemaType Description
rememberedUIState array of references to Era.Common.DataDefinition.Security.ConsoleUserState_KeyValuePair The new UI states as key-value pairs.

Dual message (request/response)

Era.Common.NetworkMessage.ConsoleApi.Security.RpcSetUserRememberedUIStateResponse

Referenced in messages

No references.

JsonSchema

{
    "title": "Era.Common.NetworkMessage.ConsoleApi.Security.RpcSetUserRememberedUIStateRequest",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.NetworkMessage.ConsoleApi.Security.RpcSetUserRememberedUIStateRequest"
    ],
    "properties": {
        "Era.Common.NetworkMessage.ConsoleApi.Security.RpcSetUserRememberedUIStateRequest": {
            "$ref": "#/definitions/RpcSetUserRememberedUIStateRequest"
        }
    },
    "definitions": {
        "RpcSetUserRememberedUIStateRequest": {
            "additionalProperties": false,
            "type": "object",
            "properties": {
                "rememberedUIState": {
                    "type": "array",
                    "items": [
                        {
                            "$ref": "Era.Common.DataDefinition.Security.ConsoleUserState_KeyValuePair#/definitions/ConsoleUserState_KeyValuePair"
                        }
                    ]
                }
            }
        }
    }
}