miggor-StreamGraph/addons/no-obs-ws/Utility/Enums.gd
2023-11-27 07:45:23 +03:00

96 lines
2.1 KiB
GDScript

# This file is automatically generated, please do not change it. If you wish to edit it, check /addons/deckobsws/Utility/EnumGen.gd
enum EventSubscription {
NONE = 0,
GENERAL = 1,
CONFIG = 2,
SCENES = 4,
INPUTS = 8,
TRANSITIONS = 16,
FILTERS = 32,
OUTPUTS = 64,
SCENE_ITEMS = 128,
MEDIA_INPUTS = 256,
VENDORS = 512,
UI = 1024,
ALL = 2047,
INPUT_VOLUME_METERS = 65536,
INPUT_ACTIVE_STATE_CHANGED = 131072,
INPUT_SHOW_STATE_CHANGED = 262144,
SCENE_ITEM_TRANSFORM_CHANGED = 524288,
}
enum RequestBatchExecutionType {
NONE = -1,
SERIAL_REALTIME = 0,
SERIAL_FRAME = 1,
PARALLEL = 2,
}
enum RequestStatus {
UNKNOWN = 0,
NO_ERROR = 10,
SUCCESS = 100,
MISSING_REQUEST_TYPE = 203,
UNKNOWN_REQUEST_TYPE = 204,
GENERIC_ERROR = 205,
UNSUPPORTED_REQUEST_BATCH_EXECUTION_TYPE = 206,
MISSING_REQUEST_FIELD = 300,
MISSING_REQUEST_DATA = 301,
INVALID_REQUEST_FIELD = 400,
INVALID_REQUEST_FIELD_TYPE = 401,
REQUEST_FIELD_OUT_OF_RANGE = 402,
REQUEST_FIELD_EMPTY = 403,
TOO_MANY_REQUEST_FIELDS = 404,
OUTPUT_RUNNING = 500,
OUTPUT_NOT_RUNNING = 501,
OUTPUT_PAUSED = 502,
OUTPUT_NOT_PAUSED = 503,
OUTPUT_DISABLED = 504,
STUDIO_MODE_ACTIVE = 505,
STUDIO_MODE_NOT_ACTIVE = 506,
RESOURCE_NOT_FOUND = 600,
RESOURCE_ALREADY_EXISTS = 601,
INVALID_RESOURCE_TYPE = 602,
NOT_ENOUGH_RESOURCES = 603,
INVALID_RESOURCE_STATE = 604,
INVALID_INPUT_KIND = 605,
RESOURCE_NOT_CONFIGURABLE = 606,
INVALID_FILTER_KIND = 607,
RESOURCE_CREATION_FAILED = 700,
RESOURCE_ACTION_FAILED = 701,
REQUEST_PROCESSING_FAILED = 702,
CANNOT_ACT = 703,
}
enum WebSocketCloseCode {
DONT_CLOSE = 0,
UNKNOWN_REASON = 4000,
MESSAGE_DECODE_ERROR = 4002,
MISSING_DATA_FIELD = 4003,
INVALID_DATA_FIELD_TYPE = 4004,
INVALID_DATA_FIELD_VALUE = 4005,
UNKNOWN_OP_CODE = 4006,
NOT_IDENTIFIED = 4007,
ALREADY_IDENTIFIED = 4008,
AUTHENTICATION_FAILED = 4009,
UNSUPPORTED_RPC_VERSION = 4010,
SESSION_INVALIDATED = 4011,
UNSUPPORTED_FEATURE = 4012,
}
enum WebSocketOpCode {
HELLO = 0,
IDENTIFY = 1,
IDENTIFIED = 2,
REIDENTIFY = 3,
EVENT = 5,
REQUEST = 6,
REQUEST_RESPONSE = 7,
REQUEST_BATCH = 8,
REQUEST_BATCH_RESPONSE = 9,
}