Era.Common.DataDefinition.Trigger.ServerTriggerConfiguration

Description

Server trigger configuration.

Properties

Name JsonSchemaType Description
dynamicGroupAbsoluteSizeChangedTriggerCfg reference to Era.Common.DataDefinition.Trigger.Server.DynamicGroupAbsoluteSizeChangedTrigger Configuration for [triggerType]=DYNAMIC_GROUP_ABSOLUTE_SIZE_CHANGED.
dynamicGroupMembersChangedTriggerCfg reference to Era.Common.DataDefinition.Trigger.Server.DynamicGroupMembersChangedTrigger Configuration for [triggerType]=DYNAMIC_GROUP_MEMBERS_CHANGED.
dynamicGroupRelativeSizeChangedTriggerCfg reference to Era.Common.DataDefinition.Trigger.Server.DynamicGroupRelativeSizeChangedTrigger Configuration for [triggerType]=DYNAMIC_GROUP_RELATIVE_SIZE_CHANGED.
dynamicGroupsComparedSizeChangedTriggerCfg reference to Era.Common.DataDefinition.Trigger.Server.DynamicGroupsComparedSizeChangedTrigger Configuration for [triggerType]=DYNAMIC_GROUPS_COMPARED_SIZE_CHANGED.
eventLogTriggerCfg reference to Era.Common.DataDefinition.Trigger.EventLogTrigger Configuration for [triggerType]=EVENT_LOG.
onServerStartedTriggerCfg reference to Era.Common.DataDefinition.Trigger.Server.OnServerStartedTrigger Configuration for [triggerType]=ON_SERVER_STARTED.
schedulerTriggerCfg reference to Era.Common.DataDefinition.Trigger.SchedulerTrigger Configuration for [triggerType]=SCHEDULER.
stateTriggerCfg reference to Era.Common.DataDefinition.Trigger.Server.StateTrigger Configuration for [triggerType]=STATE.
triggerThrottle reference to Era.Common.DataDefinition.Trigger.TriggerThrottle Throttling configuration (suppress certain ticks).
triggerType enum of Era.Common.DataDefinition.Trigger.ServerTriggerConfiguration_Type Type of the trigger. For details refer to the enum documentation.

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcCreateNotificationRequest
Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcCreateServerTaskRequest
Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcGetNotificationResponse
Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcGetServerTaskResponse
Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcModifyNotificationRequest
Era.Common.NetworkMessage.ConsoleApi.TasksTriggers.RpcModifyServerTaskRequest

JsonSchema

{
    "title": "Era.Common.DataDefinition.Trigger.ServerTriggerConfiguration",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.DataDefinition.Trigger.ServerTriggerConfiguration"
    ],
    "properties": {
        "Era.Common.DataDefinition.Trigger.ServerTriggerConfiguration": {
            "$ref": "#/definitions/ServerTriggerConfiguration"
        }
    },
    "definitions": {
        "ServerTriggerConfiguration": {
            "additionalProperties": false,
            "required": [
                "triggerType"
            ],
            "type": "object",
            "properties": {
                "dynamicGroupAbsoluteSizeChangedTriggerCfg": {
                    "$ref": "Era.Common.DataDefinition.Trigger.Server.DynamicGroupAbsoluteSizeChangedTrigger#/definitions/DynamicGroupAbsoluteSizeChangedTrigger"
                },
                "dynamicGroupMembersChangedTriggerCfg": {
                    "$ref": "Era.Common.DataDefinition.Trigger.Server.DynamicGroupMembersChangedTrigger#/definitions/DynamicGroupMembersChangedTrigger"
                },
                "dynamicGroupRelativeSizeChangedTriggerCfg": {
                    "$ref": "Era.Common.DataDefinition.Trigger.Server.DynamicGroupRelativeSizeChangedTrigger#/definitions/DynamicGroupRelativeSizeChangedTrigger"
                },
                "dynamicGroupsComparedSizeChangedTriggerCfg": {
                    "$ref": "Era.Common.DataDefinition.Trigger.Server.DynamicGroupsComparedSizeChangedTrigger#/definitions/DynamicGroupsComparedSizeChangedTrigger"
                },
                "eventLogTriggerCfg": {
                    "$ref": "Era.Common.DataDefinition.Trigger.EventLogTrigger#/definitions/EventLogTrigger"
                },
                "onServerStartedTriggerCfg": {
                    "$ref": "Era.Common.DataDefinition.Trigger.Server.OnServerStartedTrigger#/definitions/OnServerStartedTrigger"
                },
                "schedulerTriggerCfg": {
                    "$ref": "Era.Common.DataDefinition.Trigger.SchedulerTrigger#/definitions/SchedulerTrigger"
                },
                "stateTriggerCfg": {
                    "$ref": "Era.Common.DataDefinition.Trigger.Server.StateTrigger#/definitions/StateTrigger"
                },
                "triggerThrottle": {
                    "$ref": "Era.Common.DataDefinition.Trigger.TriggerThrottle#/definitions/TriggerThrottle"
                },
                "triggerType": {
                    "enum": [
                        1,
                        2,
                        3,
                        4,
                        5,
                        6,
                        7,
                        8,
                        9,
                        10,
                        11,
                        12,
                        13
                    ]
                }
            }
        }
    }
}