From 8ada8f57bbb56b084865449074dd4b7fe41baae7 Mon Sep 17 00:00:00 2001 From: Brian Peterson Date: Thu, 9 Nov 2023 16:13:39 -0600 Subject: [PATCH] version to align with 0.7.0 --- dcs/atmosphere/v0/atmosphere_pb2.py | 28 +-- dcs/atmosphere/v0/atmosphere_pb2.pyi | 12 +- dcs/coalition/v0/coalition_pb2.py | 110 ++++----- dcs/coalition/v0/coalition_pb2.pyi | 16 +- dcs/common/v0/common_pb2.py | 80 ++++--- dcs/common/v0/common_pb2.pyi | 100 ++++++-- dcs/controller/v0/controller_pb2.py | 25 +- dcs/controller/v0/controller_pb2.pyi | 36 ++- dcs/controller/v0/controller_pb2_grpc.py | 34 +++ dcs/dcs_pb2.py | 3 +- dcs/dcs_pb2.pyi | 1 + dcs/hook/v0/hook_pb2.py | 14 +- dcs/hook/v0/hook_pb2.pyi | 20 ++ dcs/hook/v0/hook_pb2_grpc.py | 68 ++++++ dcs/mission/v0/mission_pb2.py | 276 ++++++++++++----------- dcs/mission/v0/mission_pb2.pyi | 40 +++- dcs/mission/v0/mission_pb2_grpc.py | 35 +++ dcs/trigger/v0/trigger_pb2.py | 104 ++++----- dcs/trigger/v0/trigger_pb2.pyi | 36 +-- dcs/tts/v0/tts_pb2.py | 39 ++++ dcs/tts/v0/tts_pb2.pyi | 57 +++++ dcs/tts/v0/tts_pb2_grpc.py | 72 ++++++ dcs/unit/v0/unit_pb2.py | 44 ++-- dcs/unit/v0/unit_pb2.pyi | 34 +-- pyproject.toml | 2 +- rust-server | 2 +- 26 files changed, 874 insertions(+), 414 deletions(-) create mode 100644 dcs/tts/v0/tts_pb2.py create mode 100644 dcs/tts/v0/tts_pb2.pyi create mode 100644 dcs/tts/v0/tts_pb2_grpc.py diff --git a/dcs/atmosphere/v0/atmosphere_pb2.py b/dcs/atmosphere/v0/atmosphere_pb2.py index 3cd0bb9..3dcad95 100644 --- a/dcs/atmosphere/v0/atmosphere_pb2.py +++ b/dcs/atmosphere/v0/atmosphere_pb2.py @@ -14,7 +14,7 @@ from dcs.common.v0 import common_pb2 as dcs_dot_common_dot_v0_dot_common__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"dcs/atmosphere/v0/atmosphere.proto\x12\x11\x64\x63s.atmosphere.v0\x1a\x1a\x64\x63s/common/v0/common.proto\";\n\x0eGetWindRequest\x12)\n\x08position\x18\x01 \x01(\x0b\x32\x17.dcs.common.v0.Position\"4\n\x0fGetWindResponse\x12\x0f\n\x07heading\x18\x01 \x01(\x02\x12\x10\n\x08strength\x18\x02 \x01(\x02\"I\n\x1cGetWindWithTurbulenceRequest\x12)\n\x08position\x18\x01 \x01(\x0b\x32\x17.dcs.common.v0.Position\"B\n\x1dGetWindWithTurbulenceResponse\x12\x0f\n\x07heading\x18\x01 \x01(\x02\x12\x10\n\x08strength\x18\x02 \x01(\x02\"M\n GetTemperatureAndPressureRequest\x12)\n\x08position\x18\x01 \x01(\x0b\x32\x17.dcs.common.v0.Position\"J\n!GetTemperatureAndPressureResponse\x12\x13\n\x0btemperature\x18\x01 \x01(\x02\x12\x10\n\x08pressure\x18\x02 \x01(\x02\x32\xf0\x02\n\x11\x41tmosphereService\x12R\n\x07GetWind\x12!.dcs.atmosphere.v0.GetWindRequest\x1a\".dcs.atmosphere.v0.GetWindResponse\"\x00\x12|\n\x15GetWindWithTurbulence\x12/.dcs.atmosphere.v0.GetWindWithTurbulenceRequest\x1a\x30.dcs.atmosphere.v0.GetWindWithTurbulenceResponse\"\x00\x12\x88\x01\n\x19GetTemperatureAndPressure\x12\x33.dcs.atmosphere.v0.GetTemperatureAndPressureRequest\x1a\x34.dcs.atmosphere.v0.GetTemperatureAndPressureResponse\"\x00\x42YZ1github.com/DCS-gRPC/go-bindings/dcs/v0/atmosphere\xaa\x02#RurouniJones.Dcs.Grpc.V0.Atmosphereb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"dcs/atmosphere/v0/atmosphere.proto\x12\x11\x64\x63s.atmosphere.v0\x1a\x1a\x64\x63s/common/v0/common.proto\"@\n\x0eGetWindRequest\x12.\n\x08position\x18\x01 \x01(\x0b\x32\x1c.dcs.common.v0.InputPosition\"4\n\x0fGetWindResponse\x12\x0f\n\x07heading\x18\x01 \x01(\x02\x12\x10\n\x08strength\x18\x02 \x01(\x02\"N\n\x1cGetWindWithTurbulenceRequest\x12.\n\x08position\x18\x01 \x01(\x0b\x32\x1c.dcs.common.v0.InputPosition\"B\n\x1dGetWindWithTurbulenceResponse\x12\x0f\n\x07heading\x18\x01 \x01(\x02\x12\x10\n\x08strength\x18\x02 \x01(\x02\"R\n GetTemperatureAndPressureRequest\x12.\n\x08position\x18\x01 \x01(\x0b\x32\x1c.dcs.common.v0.InputPosition\"J\n!GetTemperatureAndPressureResponse\x12\x13\n\x0btemperature\x18\x01 \x01(\x02\x12\x10\n\x08pressure\x18\x02 \x01(\x02\x32\xf0\x02\n\x11\x41tmosphereService\x12R\n\x07GetWind\x12!.dcs.atmosphere.v0.GetWindRequest\x1a\".dcs.atmosphere.v0.GetWindResponse\"\x00\x12|\n\x15GetWindWithTurbulence\x12/.dcs.atmosphere.v0.GetWindWithTurbulenceRequest\x1a\x30.dcs.atmosphere.v0.GetWindWithTurbulenceResponse\"\x00\x12\x88\x01\n\x19GetTemperatureAndPressure\x12\x33.dcs.atmosphere.v0.GetTemperatureAndPressureRequest\x1a\x34.dcs.atmosphere.v0.GetTemperatureAndPressureResponse\"\x00\x42YZ1github.com/DCS-gRPC/go-bindings/dcs/v0/atmosphere\xaa\x02#RurouniJones.Dcs.Grpc.V0.Atmosphereb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -23,17 +23,17 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z1github.com/DCS-gRPC/go-bindings/dcs/v0/atmosphere\252\002#RurouniJones.Dcs.Grpc.V0.Atmosphere' _globals['_GETWINDREQUEST']._serialized_start=85 - _globals['_GETWINDREQUEST']._serialized_end=144 - _globals['_GETWINDRESPONSE']._serialized_start=146 - _globals['_GETWINDRESPONSE']._serialized_end=198 - _globals['_GETWINDWITHTURBULENCEREQUEST']._serialized_start=200 - _globals['_GETWINDWITHTURBULENCEREQUEST']._serialized_end=273 - _globals['_GETWINDWITHTURBULENCERESPONSE']._serialized_start=275 - _globals['_GETWINDWITHTURBULENCERESPONSE']._serialized_end=341 - _globals['_GETTEMPERATUREANDPRESSUREREQUEST']._serialized_start=343 - _globals['_GETTEMPERATUREANDPRESSUREREQUEST']._serialized_end=420 - _globals['_GETTEMPERATUREANDPRESSURERESPONSE']._serialized_start=422 - _globals['_GETTEMPERATUREANDPRESSURERESPONSE']._serialized_end=496 - _globals['_ATMOSPHERESERVICE']._serialized_start=499 - _globals['_ATMOSPHERESERVICE']._serialized_end=867 + _globals['_GETWINDREQUEST']._serialized_end=149 + _globals['_GETWINDRESPONSE']._serialized_start=151 + _globals['_GETWINDRESPONSE']._serialized_end=203 + _globals['_GETWINDWITHTURBULENCEREQUEST']._serialized_start=205 + _globals['_GETWINDWITHTURBULENCEREQUEST']._serialized_end=283 + _globals['_GETWINDWITHTURBULENCERESPONSE']._serialized_start=285 + _globals['_GETWINDWITHTURBULENCERESPONSE']._serialized_end=351 + _globals['_GETTEMPERATUREANDPRESSUREREQUEST']._serialized_start=353 + _globals['_GETTEMPERATUREANDPRESSUREREQUEST']._serialized_end=435 + _globals['_GETTEMPERATUREANDPRESSURERESPONSE']._serialized_start=437 + _globals['_GETTEMPERATUREANDPRESSURERESPONSE']._serialized_end=511 + _globals['_ATMOSPHERESERVICE']._serialized_start=514 + _globals['_ATMOSPHERESERVICE']._serialized_end=882 # @@protoc_insertion_point(module_scope) diff --git a/dcs/atmosphere/v0/atmosphere_pb2.pyi b/dcs/atmosphere/v0/atmosphere_pb2.pyi index 5bca7b5..747c82b 100644 --- a/dcs/atmosphere/v0/atmosphere_pb2.pyi +++ b/dcs/atmosphere/v0/atmosphere_pb2.pyi @@ -8,8 +8,8 @@ DESCRIPTOR: _descriptor.FileDescriptor class GetWindRequest(_message.Message): __slots__ = ["position"] POSITION_FIELD_NUMBER: _ClassVar[int] - position: _common_pb2.Position - def __init__(self, position: _Optional[_Union[_common_pb2.Position, _Mapping]] = ...) -> None: ... + position: _common_pb2.InputPosition + def __init__(self, position: _Optional[_Union[_common_pb2.InputPosition, _Mapping]] = ...) -> None: ... class GetWindResponse(_message.Message): __slots__ = ["heading", "strength"] @@ -22,8 +22,8 @@ class GetWindResponse(_message.Message): class GetWindWithTurbulenceRequest(_message.Message): __slots__ = ["position"] POSITION_FIELD_NUMBER: _ClassVar[int] - position: _common_pb2.Position - def __init__(self, position: _Optional[_Union[_common_pb2.Position, _Mapping]] = ...) -> None: ... + position: _common_pb2.InputPosition + def __init__(self, position: _Optional[_Union[_common_pb2.InputPosition, _Mapping]] = ...) -> None: ... class GetWindWithTurbulenceResponse(_message.Message): __slots__ = ["heading", "strength"] @@ -36,8 +36,8 @@ class GetWindWithTurbulenceResponse(_message.Message): class GetTemperatureAndPressureRequest(_message.Message): __slots__ = ["position"] POSITION_FIELD_NUMBER: _ClassVar[int] - position: _common_pb2.Position - def __init__(self, position: _Optional[_Union[_common_pb2.Position, _Mapping]] = ...) -> None: ... + position: _common_pb2.InputPosition + def __init__(self, position: _Optional[_Union[_common_pb2.InputPosition, _Mapping]] = ...) -> None: ... class GetTemperatureAndPressureResponse(_message.Message): __slots__ = ["temperature", "pressure"] diff --git a/dcs/coalition/v0/coalition_pb2.py b/dcs/coalition/v0/coalition_pb2.py index fa46a82..308aa6a 100644 --- a/dcs/coalition/v0/coalition_pb2.py +++ b/dcs/coalition/v0/coalition_pb2.py @@ -14,7 +14,7 @@ from dcs.common.v0 import common_pb2 as dcs_dot_common_dot_v0_dot_common__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n dcs/coalition/v0/coalition.proto\x12\x10\x64\x63s.coalition.v0\x1a\x1a\x64\x63s/common/v0/common.proto\"\xe8\x0e\n\x0f\x41\x64\x64GroupRequest\x12\'\n\x07\x63ountry\x18\x02 \x01(\x0e\x32\x16.dcs.common.v0.Country\x12\x34\n\x0egroup_category\x18\x03 \x01(\x0e\x32\x1c.dcs.common.v0.GroupCategory\x12P\n\x0fground_template\x18\x04 \x01(\x0b\x32\x35.dcs.coalition.v0.AddGroupRequest.GroundGroupTemplateH\x00\x12L\n\rship_template\x18\x05 \x01(\x0b\x32\x33.dcs.coalition.v0.AddGroupRequest.ShipGroupTemplateH\x00\x12X\n\x13helicopter_template\x18\x06 \x01(\x0b\x32\x39.dcs.coalition.v0.AddGroupRequest.HelicopterGroupTemplateH\x00\x12N\n\x0eplane_template\x18\x07 \x01(\x0b\x32\x34.dcs.coalition.v0.AddGroupRequest.PlaneGroupTemplateH\x00\x1a\xb5\x03\n\x13GroundGroupTemplate\x12\x15\n\x08group_id\x18\x01 \x01(\rH\x00\x88\x01\x01\x12\x0e\n\x06hidden\x18\x02 \x01(\x08\x12\x17\n\x0flate_activation\x18\x03 \x01(\x08\x12\x0c\n\x04name\x18\x04 \x01(\t\x12)\n\x08position\x18\x05 \x01(\x0b\x32\x17.dcs.common.v0.Position\x12:\n\twaypoints\x18\x06 \x03(\x0b\x32\'.dcs.coalition.v0.AddGroupRequest.Point\x12\x12\n\nstart_time\x18\x07 \x01(\r\x12\x0c\n\x04task\x18\x08 \x01(\t\x12\x15\n\rtask_selected\x18\t \x01(\x08\x12\x35\n\x05tasks\x18\n \x03(\x0b\x32&.dcs.coalition.v0.AddGroupRequest.Task\x12\x16\n\x0euncontrollable\x18\x0b \x01(\x08\x12\x43\n\x05units\x18\x0c \x03(\x0b\x32\x34.dcs.coalition.v0.AddGroupRequest.GroundUnitTemplate\x12\x0f\n\x07visible\x18\r \x01(\x08\x42\x0b\n\t_group_id\x1a\xd7\x01\n\x12GroundUnitTemplate\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12)\n\x08position\x18\x03 \x01(\x0b\x32\x17.dcs.common.v0.Position\x12\x14\n\x07unit_id\x18\x04 \x01(\rH\x00\x88\x01\x01\x12\x14\n\x07heading\x18\x05 \x01(\rH\x01\x88\x01\x01\x12\x36\n\x05skill\x18\x06 \x01(\x0e\x32\'.dcs.coalition.v0.AddGroupRequest.SkillB\n\n\x08_unit_idB\n\n\x08_heading\x1a\x13\n\x11ShipGroupTemplate\x1a\x12\n\x10ShipUnitTemplate\x1a\x19\n\x17HelicopterGroupTemplate\x1a\x18\n\x16HelicopterUnitTemplate\x1a\x14\n\x12PlaneGroupTemplate\x1a\x13\n\x11PlaneUnitTemplate\x1a\x87\x04\n\x05Point\x12)\n\x08position\x18\x01 \x01(\x0b\x32\x17.dcs.common.v0.Position\x12K\n\raltitude_type\x18\x02 \x01(\x0e\x32\x34.dcs.coalition.v0.AddGroupRequest.Point.AltitudeType\x12?\n\x04type\x18\x03 \x01(\x0e\x32\x31.dcs.coalition.v0.AddGroupRequest.Point.PointType\x12\x0e\n\x06\x61\x63tion\x18\x04 \x01(\t\x12\x0c\n\x04\x66orm\x18\x05 \x01(\t\x12\r\n\x05speed\x18\x06 \x01(\x01\"d\n\x0c\x41ltitudeType\x12\x1d\n\x19\x41LTITUDE_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41LTITUDE_TYPE_BAROMETRIC\x10\x01\x12\x17\n\x13\x41LTITUDE_TYPE_RADIO\x10\x02\"\xb1\x01\n\tPointType\x12\x15\n\x11POINT_TYPE_RANDOM\x10\x00\x12\x16\n\x12POINT_TYPE_TAKEOFF\x10\x01\x12\x1e\n\x1aPOINT_TYPE_TAKEOFF_PARKING\x10\x02\x12\x1c\n\x18POINT_TYPE_TURNING_POINT\x10\x03\x12\"\n\x1ePOINT_TYPE_TAKEOFF_PARKING_HOT\x10\x04\x12\x13\n\x0fPOINT_TYPE_LAND\x10\x05\x1a\x06\n\x04Task\"s\n\x05Skill\x12\x10\n\x0cSKILL_RANDOM\x10\x00\x12\x11\n\rSKILL_AVERAGE\x10\x01\x12\x0e\n\nSKILL_GOOD\x10\x02\x12\x0e\n\nSKILL_HIGH\x10\x03\x12\x13\n\x0fSKILL_EXCELLENT\x10\x04\x12\x10\n\x0cSKILL_PLAYER\x10\x05\x42\n\n\x08template\"7\n\x10\x41\x64\x64GroupResponse\x12#\n\x05group\x18\x01 \x01(\x0b\x32\x14.dcs.common.v0.Group\"F\n\x17GetStaticObjectsRequest\x12+\n\tcoalition\x18\x01 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\"B\n\x18GetStaticObjectsResponse\x12&\n\x07statics\x18\x01 \x03(\x0b\x32\x15.dcs.common.v0.Static\"\xe7\x01\n\x16\x41\x64\x64StaticObjectRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\'\n\x07\x63ountry\x18\x02 \x01(\x0e\x32\x16.dcs.common.v0.Country\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x0e\n\x06livery\x18\x04 \x01(\t\x12\x0c\n\x04\x64\x65\x61\x64\x18\x05 \x01(\x08\x12\x11\n\x04rate\x18\x06 \x01(\rH\x00\x88\x01\x01\x12\x0f\n\x07heading\x18\x07 \x01(\x01\x12)\n\x08position\x18\x08 \x01(\x0b\x32\x17.dcs.common.v0.Position\x12\x12\n\ncargo_mass\x18\t \x01(\rB\x07\n\x05_rate\"\'\n\x17\x41\x64\x64StaticObjectResponse\x12\x0c\n\x04name\x18\x01 \x01(\t\"\xca\x01\n\x16\x41\x64\x64LinkedStaticRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\'\n\x07\x63ountry\x18\x02 \x01(\x0e\x32\x16.dcs.common.v0.Country\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x0e\n\x06livery\x18\x04 \x01(\t\x12\x0c\n\x04\x64\x65\x61\x64\x18\x05 \x01(\x08\x12\x11\n\x04rate\x18\x06 \x01(\rH\x00\x88\x01\x01\x12\x0c\n\x04unit\x18\x07 \x01(\t\x12\r\n\x05\x61ngle\x18\x08 \x01(\x01\x12\t\n\x01x\x18\t \x01(\x01\x12\t\n\x01y\x18\n \x01(\x01\x42\x07\n\x05_rate\"\'\n\x17\x41\x64\x64LinkedStaticResponse\x12\x0c\n\x04name\x18\x01 \x01(\t\"o\n\x10GetGroupsRequest\x12+\n\tcoalition\x18\x01 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12.\n\x08\x63\x61tegory\x18\x02 \x01(\x0e\x32\x1c.dcs.common.v0.GroupCategory\"9\n\x11GetGroupsResponse\x12$\n\x06groups\x18\x01 \x03(\x0b\x32\x14.dcs.common.v0.Group\"A\n\x12GetBullseyeRequest\x12+\n\tcoalition\x18\x01 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\"@\n\x13GetBullseyeResponse\x12)\n\x08position\x18\x01 \x01(\x0b\x32\x17.dcs.common.v0.Position\"D\n\x15GetPlayerUnitsRequest\x12+\n\tcoalition\x18\x01 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\"<\n\x16GetPlayerUnitsResponse\x12\"\n\x05units\x18\x01 \x03(\x0b\x32\x13.dcs.common.v0.Unit2\xc5\x05\n\x10\x43oalitionService\x12S\n\x08\x41\x64\x64Group\x12!.dcs.coalition.v0.AddGroupRequest\x1a\".dcs.coalition.v0.AddGroupResponse\"\x00\x12k\n\x10GetStaticObjects\x12).dcs.coalition.v0.GetStaticObjectsRequest\x1a*.dcs.coalition.v0.GetStaticObjectsResponse\"\x00\x12h\n\x0f\x41\x64\x64StaticObject\x12(.dcs.coalition.v0.AddStaticObjectRequest\x1a).dcs.coalition.v0.AddStaticObjectResponse\"\x00\x12h\n\x0f\x41\x64\x64LinkedStatic\x12(.dcs.coalition.v0.AddLinkedStaticRequest\x1a).dcs.coalition.v0.AddLinkedStaticResponse\"\x00\x12V\n\tGetGroups\x12\".dcs.coalition.v0.GetGroupsRequest\x1a#.dcs.coalition.v0.GetGroupsResponse\"\x00\x12\\\n\x0bGetBullseye\x12$.dcs.coalition.v0.GetBullseyeRequest\x1a%.dcs.coalition.v0.GetBullseyeResponse\"\x00\x12\x65\n\x0eGetPlayerUnits\x12\'.dcs.coalition.v0.GetPlayerUnitsRequest\x1a(.dcs.coalition.v0.GetPlayerUnitsResponse\"\x00\x42WZ0github.com/DCS-gRPC/go-bindings/dcs/v0/coalition\xaa\x02\"RurouniJones.Dcs.Grpc.V0.Coalitionb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n dcs/coalition/v0/coalition.proto\x12\x10\x64\x63s.coalition.v0\x1a\x1a\x64\x63s/common/v0/common.proto\"\xf7\x0e\n\x0f\x41\x64\x64GroupRequest\x12\'\n\x07\x63ountry\x18\x02 \x01(\x0e\x32\x16.dcs.common.v0.Country\x12\x34\n\x0egroup_category\x18\x03 \x01(\x0e\x32\x1c.dcs.common.v0.GroupCategory\x12P\n\x0fground_template\x18\x04 \x01(\x0b\x32\x35.dcs.coalition.v0.AddGroupRequest.GroundGroupTemplateH\x00\x12L\n\rship_template\x18\x05 \x01(\x0b\x32\x33.dcs.coalition.v0.AddGroupRequest.ShipGroupTemplateH\x00\x12X\n\x13helicopter_template\x18\x06 \x01(\x0b\x32\x39.dcs.coalition.v0.AddGroupRequest.HelicopterGroupTemplateH\x00\x12N\n\x0eplane_template\x18\x07 \x01(\x0b\x32\x34.dcs.coalition.v0.AddGroupRequest.PlaneGroupTemplateH\x00\x1a\xba\x03\n\x13GroundGroupTemplate\x12\x15\n\x08group_id\x18\x01 \x01(\rH\x00\x88\x01\x01\x12\x0e\n\x06hidden\x18\x02 \x01(\x08\x12\x17\n\x0flate_activation\x18\x03 \x01(\x08\x12\x0c\n\x04name\x18\x04 \x01(\t\x12.\n\x08position\x18\x05 \x01(\x0b\x32\x1c.dcs.common.v0.InputPosition\x12:\n\twaypoints\x18\x06 \x03(\x0b\x32\'.dcs.coalition.v0.AddGroupRequest.Point\x12\x12\n\nstart_time\x18\x07 \x01(\r\x12\x0c\n\x04task\x18\x08 \x01(\t\x12\x15\n\rtask_selected\x18\t \x01(\x08\x12\x35\n\x05tasks\x18\n \x03(\x0b\x32&.dcs.coalition.v0.AddGroupRequest.Task\x12\x16\n\x0euncontrollable\x18\x0b \x01(\x08\x12\x43\n\x05units\x18\x0c \x03(\x0b\x32\x34.dcs.coalition.v0.AddGroupRequest.GroundUnitTemplate\x12\x0f\n\x07visible\x18\r \x01(\x08\x42\x0b\n\t_group_id\x1a\xdc\x01\n\x12GroundUnitTemplate\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12.\n\x08position\x18\x03 \x01(\x0b\x32\x1c.dcs.common.v0.InputPosition\x12\x14\n\x07unit_id\x18\x04 \x01(\rH\x00\x88\x01\x01\x12\x14\n\x07heading\x18\x05 \x01(\rH\x01\x88\x01\x01\x12\x36\n\x05skill\x18\x06 \x01(\x0e\x32\'.dcs.coalition.v0.AddGroupRequest.SkillB\n\n\x08_unit_idB\n\n\x08_heading\x1a\x13\n\x11ShipGroupTemplate\x1a\x12\n\x10ShipUnitTemplate\x1a\x19\n\x17HelicopterGroupTemplate\x1a\x18\n\x16HelicopterUnitTemplate\x1a\x14\n\x12PlaneGroupTemplate\x1a\x13\n\x11PlaneUnitTemplate\x1a\x8c\x04\n\x05Point\x12.\n\x08position\x18\x01 \x01(\x0b\x32\x1c.dcs.common.v0.InputPosition\x12K\n\raltitude_type\x18\x02 \x01(\x0e\x32\x34.dcs.coalition.v0.AddGroupRequest.Point.AltitudeType\x12?\n\x04type\x18\x03 \x01(\x0e\x32\x31.dcs.coalition.v0.AddGroupRequest.Point.PointType\x12\x0e\n\x06\x61\x63tion\x18\x04 \x01(\t\x12\x0c\n\x04\x66orm\x18\x05 \x01(\t\x12\r\n\x05speed\x18\x06 \x01(\x01\"d\n\x0c\x41ltitudeType\x12\x1d\n\x19\x41LTITUDE_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41LTITUDE_TYPE_BAROMETRIC\x10\x01\x12\x17\n\x13\x41LTITUDE_TYPE_RADIO\x10\x02\"\xb1\x01\n\tPointType\x12\x15\n\x11POINT_TYPE_RANDOM\x10\x00\x12\x16\n\x12POINT_TYPE_TAKEOFF\x10\x01\x12\x1e\n\x1aPOINT_TYPE_TAKEOFF_PARKING\x10\x02\x12\x1c\n\x18POINT_TYPE_TURNING_POINT\x10\x03\x12\"\n\x1ePOINT_TYPE_TAKEOFF_PARKING_HOT\x10\x04\x12\x13\n\x0fPOINT_TYPE_LAND\x10\x05\x1a\x06\n\x04Task\"s\n\x05Skill\x12\x10\n\x0cSKILL_RANDOM\x10\x00\x12\x11\n\rSKILL_AVERAGE\x10\x01\x12\x0e\n\nSKILL_GOOD\x10\x02\x12\x0e\n\nSKILL_HIGH\x10\x03\x12\x13\n\x0fSKILL_EXCELLENT\x10\x04\x12\x10\n\x0cSKILL_PLAYER\x10\x05\x42\n\n\x08template\"7\n\x10\x41\x64\x64GroupResponse\x12#\n\x05group\x18\x01 \x01(\x0b\x32\x14.dcs.common.v0.Group\"F\n\x17GetStaticObjectsRequest\x12+\n\tcoalition\x18\x01 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\"B\n\x18GetStaticObjectsResponse\x12&\n\x07statics\x18\x01 \x03(\x0b\x32\x15.dcs.common.v0.Static\"\xec\x01\n\x16\x41\x64\x64StaticObjectRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\'\n\x07\x63ountry\x18\x02 \x01(\x0e\x32\x16.dcs.common.v0.Country\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x0e\n\x06livery\x18\x04 \x01(\t\x12\x0c\n\x04\x64\x65\x61\x64\x18\x05 \x01(\x08\x12\x11\n\x04rate\x18\x06 \x01(\rH\x00\x88\x01\x01\x12\x0f\n\x07heading\x18\x07 \x01(\x01\x12.\n\x08position\x18\x08 \x01(\x0b\x32\x1c.dcs.common.v0.InputPosition\x12\x12\n\ncargo_mass\x18\t \x01(\rB\x07\n\x05_rate\"\'\n\x17\x41\x64\x64StaticObjectResponse\x12\x0c\n\x04name\x18\x01 \x01(\t\"\xca\x01\n\x16\x41\x64\x64LinkedStaticRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\'\n\x07\x63ountry\x18\x02 \x01(\x0e\x32\x16.dcs.common.v0.Country\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\x0e\n\x06livery\x18\x04 \x01(\t\x12\x0c\n\x04\x64\x65\x61\x64\x18\x05 \x01(\x08\x12\x11\n\x04rate\x18\x06 \x01(\rH\x00\x88\x01\x01\x12\x0c\n\x04unit\x18\x07 \x01(\t\x12\r\n\x05\x61ngle\x18\x08 \x01(\x01\x12\t\n\x01x\x18\t \x01(\x01\x12\t\n\x01y\x18\n \x01(\x01\x42\x07\n\x05_rate\"\'\n\x17\x41\x64\x64LinkedStaticResponse\x12\x0c\n\x04name\x18\x01 \x01(\t\"o\n\x10GetGroupsRequest\x12+\n\tcoalition\x18\x01 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12.\n\x08\x63\x61tegory\x18\x02 \x01(\x0e\x32\x1c.dcs.common.v0.GroupCategory\"9\n\x11GetGroupsResponse\x12$\n\x06groups\x18\x01 \x03(\x0b\x32\x14.dcs.common.v0.Group\"A\n\x12GetBullseyeRequest\x12+\n\tcoalition\x18\x01 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\"@\n\x13GetBullseyeResponse\x12)\n\x08position\x18\x01 \x01(\x0b\x32\x17.dcs.common.v0.Position\"D\n\x15GetPlayerUnitsRequest\x12+\n\tcoalition\x18\x01 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\"<\n\x16GetPlayerUnitsResponse\x12\"\n\x05units\x18\x01 \x03(\x0b\x32\x13.dcs.common.v0.Unit2\xc5\x05\n\x10\x43oalitionService\x12S\n\x08\x41\x64\x64Group\x12!.dcs.coalition.v0.AddGroupRequest\x1a\".dcs.coalition.v0.AddGroupResponse\"\x00\x12k\n\x10GetStaticObjects\x12).dcs.coalition.v0.GetStaticObjectsRequest\x1a*.dcs.coalition.v0.GetStaticObjectsResponse\"\x00\x12h\n\x0f\x41\x64\x64StaticObject\x12(.dcs.coalition.v0.AddStaticObjectRequest\x1a).dcs.coalition.v0.AddStaticObjectResponse\"\x00\x12h\n\x0f\x41\x64\x64LinkedStatic\x12(.dcs.coalition.v0.AddLinkedStaticRequest\x1a).dcs.coalition.v0.AddLinkedStaticResponse\"\x00\x12V\n\tGetGroups\x12\".dcs.coalition.v0.GetGroupsRequest\x1a#.dcs.coalition.v0.GetGroupsResponse\"\x00\x12\\\n\x0bGetBullseye\x12$.dcs.coalition.v0.GetBullseyeRequest\x1a%.dcs.coalition.v0.GetBullseyeResponse\"\x00\x12\x65\n\x0eGetPlayerUnits\x12\'.dcs.coalition.v0.GetPlayerUnitsRequest\x1a(.dcs.coalition.v0.GetPlayerUnitsResponse\"\x00\x42WZ0github.com/DCS-gRPC/go-bindings/dcs/v0/coalition\xaa\x02\"RurouniJones.Dcs.Grpc.V0.Coalitionb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -23,59 +23,59 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z0github.com/DCS-gRPC/go-bindings/dcs/v0/coalition\252\002\"RurouniJones.Dcs.Grpc.V0.Coalition' _globals['_ADDGROUPREQUEST']._serialized_start=83 - _globals['_ADDGROUPREQUEST']._serialized_end=1979 + _globals['_ADDGROUPREQUEST']._serialized_end=1994 _globals['_ADDGROUPREQUEST_GROUNDGROUPTEMPLATE']._serialized_start=528 - _globals['_ADDGROUPREQUEST_GROUNDGROUPTEMPLATE']._serialized_end=965 - _globals['_ADDGROUPREQUEST_GROUNDUNITTEMPLATE']._serialized_start=968 - _globals['_ADDGROUPREQUEST_GROUNDUNITTEMPLATE']._serialized_end=1183 - _globals['_ADDGROUPREQUEST_SHIPGROUPTEMPLATE']._serialized_start=1185 - _globals['_ADDGROUPREQUEST_SHIPGROUPTEMPLATE']._serialized_end=1204 - _globals['_ADDGROUPREQUEST_SHIPUNITTEMPLATE']._serialized_start=1206 - _globals['_ADDGROUPREQUEST_SHIPUNITTEMPLATE']._serialized_end=1224 - _globals['_ADDGROUPREQUEST_HELICOPTERGROUPTEMPLATE']._serialized_start=1226 - _globals['_ADDGROUPREQUEST_HELICOPTERGROUPTEMPLATE']._serialized_end=1251 - _globals['_ADDGROUPREQUEST_HELICOPTERUNITTEMPLATE']._serialized_start=1253 - _globals['_ADDGROUPREQUEST_HELICOPTERUNITTEMPLATE']._serialized_end=1277 - _globals['_ADDGROUPREQUEST_PLANEGROUPTEMPLATE']._serialized_start=1279 - _globals['_ADDGROUPREQUEST_PLANEGROUPTEMPLATE']._serialized_end=1299 - _globals['_ADDGROUPREQUEST_PLANEUNITTEMPLATE']._serialized_start=1301 - _globals['_ADDGROUPREQUEST_PLANEUNITTEMPLATE']._serialized_end=1320 - _globals['_ADDGROUPREQUEST_POINT']._serialized_start=1323 - _globals['_ADDGROUPREQUEST_POINT']._serialized_end=1842 - _globals['_ADDGROUPREQUEST_POINT_ALTITUDETYPE']._serialized_start=1562 - _globals['_ADDGROUPREQUEST_POINT_ALTITUDETYPE']._serialized_end=1662 - _globals['_ADDGROUPREQUEST_POINT_POINTTYPE']._serialized_start=1665 - _globals['_ADDGROUPREQUEST_POINT_POINTTYPE']._serialized_end=1842 - _globals['_ADDGROUPREQUEST_TASK']._serialized_start=1844 - _globals['_ADDGROUPREQUEST_TASK']._serialized_end=1850 - _globals['_ADDGROUPREQUEST_SKILL']._serialized_start=1852 - _globals['_ADDGROUPREQUEST_SKILL']._serialized_end=1967 - _globals['_ADDGROUPRESPONSE']._serialized_start=1981 - _globals['_ADDGROUPRESPONSE']._serialized_end=2036 - _globals['_GETSTATICOBJECTSREQUEST']._serialized_start=2038 - _globals['_GETSTATICOBJECTSREQUEST']._serialized_end=2108 - _globals['_GETSTATICOBJECTSRESPONSE']._serialized_start=2110 - _globals['_GETSTATICOBJECTSRESPONSE']._serialized_end=2176 - _globals['_ADDSTATICOBJECTREQUEST']._serialized_start=2179 - _globals['_ADDSTATICOBJECTREQUEST']._serialized_end=2410 - _globals['_ADDSTATICOBJECTRESPONSE']._serialized_start=2412 - _globals['_ADDSTATICOBJECTRESPONSE']._serialized_end=2451 - _globals['_ADDLINKEDSTATICREQUEST']._serialized_start=2454 - _globals['_ADDLINKEDSTATICREQUEST']._serialized_end=2656 - _globals['_ADDLINKEDSTATICRESPONSE']._serialized_start=2658 - _globals['_ADDLINKEDSTATICRESPONSE']._serialized_end=2697 - _globals['_GETGROUPSREQUEST']._serialized_start=2699 - _globals['_GETGROUPSREQUEST']._serialized_end=2810 - _globals['_GETGROUPSRESPONSE']._serialized_start=2812 - _globals['_GETGROUPSRESPONSE']._serialized_end=2869 - _globals['_GETBULLSEYEREQUEST']._serialized_start=2871 - _globals['_GETBULLSEYEREQUEST']._serialized_end=2936 - _globals['_GETBULLSEYERESPONSE']._serialized_start=2938 - _globals['_GETBULLSEYERESPONSE']._serialized_end=3002 - _globals['_GETPLAYERUNITSREQUEST']._serialized_start=3004 - _globals['_GETPLAYERUNITSREQUEST']._serialized_end=3072 - _globals['_GETPLAYERUNITSRESPONSE']._serialized_start=3074 - _globals['_GETPLAYERUNITSRESPONSE']._serialized_end=3134 - _globals['_COALITIONSERVICE']._serialized_start=3137 - _globals['_COALITIONSERVICE']._serialized_end=3846 + _globals['_ADDGROUPREQUEST_GROUNDGROUPTEMPLATE']._serialized_end=970 + _globals['_ADDGROUPREQUEST_GROUNDUNITTEMPLATE']._serialized_start=973 + _globals['_ADDGROUPREQUEST_GROUNDUNITTEMPLATE']._serialized_end=1193 + _globals['_ADDGROUPREQUEST_SHIPGROUPTEMPLATE']._serialized_start=1195 + _globals['_ADDGROUPREQUEST_SHIPGROUPTEMPLATE']._serialized_end=1214 + _globals['_ADDGROUPREQUEST_SHIPUNITTEMPLATE']._serialized_start=1216 + _globals['_ADDGROUPREQUEST_SHIPUNITTEMPLATE']._serialized_end=1234 + _globals['_ADDGROUPREQUEST_HELICOPTERGROUPTEMPLATE']._serialized_start=1236 + _globals['_ADDGROUPREQUEST_HELICOPTERGROUPTEMPLATE']._serialized_end=1261 + _globals['_ADDGROUPREQUEST_HELICOPTERUNITTEMPLATE']._serialized_start=1263 + _globals['_ADDGROUPREQUEST_HELICOPTERUNITTEMPLATE']._serialized_end=1287 + _globals['_ADDGROUPREQUEST_PLANEGROUPTEMPLATE']._serialized_start=1289 + _globals['_ADDGROUPREQUEST_PLANEGROUPTEMPLATE']._serialized_end=1309 + _globals['_ADDGROUPREQUEST_PLANEUNITTEMPLATE']._serialized_start=1311 + _globals['_ADDGROUPREQUEST_PLANEUNITTEMPLATE']._serialized_end=1330 + _globals['_ADDGROUPREQUEST_POINT']._serialized_start=1333 + _globals['_ADDGROUPREQUEST_POINT']._serialized_end=1857 + _globals['_ADDGROUPREQUEST_POINT_ALTITUDETYPE']._serialized_start=1577 + _globals['_ADDGROUPREQUEST_POINT_ALTITUDETYPE']._serialized_end=1677 + _globals['_ADDGROUPREQUEST_POINT_POINTTYPE']._serialized_start=1680 + _globals['_ADDGROUPREQUEST_POINT_POINTTYPE']._serialized_end=1857 + _globals['_ADDGROUPREQUEST_TASK']._serialized_start=1859 + _globals['_ADDGROUPREQUEST_TASK']._serialized_end=1865 + _globals['_ADDGROUPREQUEST_SKILL']._serialized_start=1867 + _globals['_ADDGROUPREQUEST_SKILL']._serialized_end=1982 + _globals['_ADDGROUPRESPONSE']._serialized_start=1996 + _globals['_ADDGROUPRESPONSE']._serialized_end=2051 + _globals['_GETSTATICOBJECTSREQUEST']._serialized_start=2053 + _globals['_GETSTATICOBJECTSREQUEST']._serialized_end=2123 + _globals['_GETSTATICOBJECTSRESPONSE']._serialized_start=2125 + _globals['_GETSTATICOBJECTSRESPONSE']._serialized_end=2191 + _globals['_ADDSTATICOBJECTREQUEST']._serialized_start=2194 + _globals['_ADDSTATICOBJECTREQUEST']._serialized_end=2430 + _globals['_ADDSTATICOBJECTRESPONSE']._serialized_start=2432 + _globals['_ADDSTATICOBJECTRESPONSE']._serialized_end=2471 + _globals['_ADDLINKEDSTATICREQUEST']._serialized_start=2474 + _globals['_ADDLINKEDSTATICREQUEST']._serialized_end=2676 + _globals['_ADDLINKEDSTATICRESPONSE']._serialized_start=2678 + _globals['_ADDLINKEDSTATICRESPONSE']._serialized_end=2717 + _globals['_GETGROUPSREQUEST']._serialized_start=2719 + _globals['_GETGROUPSREQUEST']._serialized_end=2830 + _globals['_GETGROUPSRESPONSE']._serialized_start=2832 + _globals['_GETGROUPSRESPONSE']._serialized_end=2889 + _globals['_GETBULLSEYEREQUEST']._serialized_start=2891 + _globals['_GETBULLSEYEREQUEST']._serialized_end=2956 + _globals['_GETBULLSEYERESPONSE']._serialized_start=2958 + _globals['_GETBULLSEYERESPONSE']._serialized_end=3022 + _globals['_GETPLAYERUNITSREQUEST']._serialized_start=3024 + _globals['_GETPLAYERUNITSREQUEST']._serialized_end=3092 + _globals['_GETPLAYERUNITSRESPONSE']._serialized_start=3094 + _globals['_GETPLAYERUNITSRESPONSE']._serialized_end=3154 + _globals['_COALITIONSERVICE']._serialized_start=3157 + _globals['_COALITIONSERVICE']._serialized_end=3866 # @@protoc_insertion_point(module_scope) diff --git a/dcs/coalition/v0/coalition_pb2.pyi b/dcs/coalition/v0/coalition_pb2.pyi index 1344e82..1d3cea8 100644 --- a/dcs/coalition/v0/coalition_pb2.pyi +++ b/dcs/coalition/v0/coalition_pb2.pyi @@ -42,7 +42,7 @@ class AddGroupRequest(_message.Message): hidden: bool late_activation: bool name: str - position: _common_pb2.Position + position: _common_pb2.InputPosition waypoints: _containers.RepeatedCompositeFieldContainer[AddGroupRequest.Point] start_time: int task: str @@ -51,7 +51,7 @@ class AddGroupRequest(_message.Message): uncontrollable: bool units: _containers.RepeatedCompositeFieldContainer[AddGroupRequest.GroundUnitTemplate] visible: bool - def __init__(self, group_id: _Optional[int] = ..., hidden: bool = ..., late_activation: bool = ..., name: _Optional[str] = ..., position: _Optional[_Union[_common_pb2.Position, _Mapping]] = ..., waypoints: _Optional[_Iterable[_Union[AddGroupRequest.Point, _Mapping]]] = ..., start_time: _Optional[int] = ..., task: _Optional[str] = ..., task_selected: bool = ..., tasks: _Optional[_Iterable[_Union[AddGroupRequest.Task, _Mapping]]] = ..., uncontrollable: bool = ..., units: _Optional[_Iterable[_Union[AddGroupRequest.GroundUnitTemplate, _Mapping]]] = ..., visible: bool = ...) -> None: ... + def __init__(self, group_id: _Optional[int] = ..., hidden: bool = ..., late_activation: bool = ..., name: _Optional[str] = ..., position: _Optional[_Union[_common_pb2.InputPosition, _Mapping]] = ..., waypoints: _Optional[_Iterable[_Union[AddGroupRequest.Point, _Mapping]]] = ..., start_time: _Optional[int] = ..., task: _Optional[str] = ..., task_selected: bool = ..., tasks: _Optional[_Iterable[_Union[AddGroupRequest.Task, _Mapping]]] = ..., uncontrollable: bool = ..., units: _Optional[_Iterable[_Union[AddGroupRequest.GroundUnitTemplate, _Mapping]]] = ..., visible: bool = ...) -> None: ... class GroundUnitTemplate(_message.Message): __slots__ = ["name", "type", "position", "unit_id", "heading", "skill"] NAME_FIELD_NUMBER: _ClassVar[int] @@ -62,11 +62,11 @@ class AddGroupRequest(_message.Message): SKILL_FIELD_NUMBER: _ClassVar[int] name: str type: str - position: _common_pb2.Position + position: _common_pb2.InputPosition unit_id: int heading: int skill: AddGroupRequest.Skill - def __init__(self, name: _Optional[str] = ..., type: _Optional[str] = ..., position: _Optional[_Union[_common_pb2.Position, _Mapping]] = ..., unit_id: _Optional[int] = ..., heading: _Optional[int] = ..., skill: _Optional[_Union[AddGroupRequest.Skill, str]] = ...) -> None: ... + def __init__(self, name: _Optional[str] = ..., type: _Optional[str] = ..., position: _Optional[_Union[_common_pb2.InputPosition, _Mapping]] = ..., unit_id: _Optional[int] = ..., heading: _Optional[int] = ..., skill: _Optional[_Union[AddGroupRequest.Skill, str]] = ...) -> None: ... class ShipGroupTemplate(_message.Message): __slots__ = [] def __init__(self) -> None: ... @@ -115,13 +115,13 @@ class AddGroupRequest(_message.Message): ACTION_FIELD_NUMBER: _ClassVar[int] FORM_FIELD_NUMBER: _ClassVar[int] SPEED_FIELD_NUMBER: _ClassVar[int] - position: _common_pb2.Position + position: _common_pb2.InputPosition altitude_type: AddGroupRequest.Point.AltitudeType type: AddGroupRequest.Point.PointType action: str form: str speed: float - def __init__(self, position: _Optional[_Union[_common_pb2.Position, _Mapping]] = ..., altitude_type: _Optional[_Union[AddGroupRequest.Point.AltitudeType, str]] = ..., type: _Optional[_Union[AddGroupRequest.Point.PointType, str]] = ..., action: _Optional[str] = ..., form: _Optional[str] = ..., speed: _Optional[float] = ...) -> None: ... + def __init__(self, position: _Optional[_Union[_common_pb2.InputPosition, _Mapping]] = ..., altitude_type: _Optional[_Union[AddGroupRequest.Point.AltitudeType, str]] = ..., type: _Optional[_Union[AddGroupRequest.Point.PointType, str]] = ..., action: _Optional[str] = ..., form: _Optional[str] = ..., speed: _Optional[float] = ...) -> None: ... class Task(_message.Message): __slots__ = [] def __init__(self) -> None: ... @@ -175,9 +175,9 @@ class AddStaticObjectRequest(_message.Message): dead: bool rate: int heading: float - position: _common_pb2.Position + position: _common_pb2.InputPosition cargo_mass: int - def __init__(self, name: _Optional[str] = ..., country: _Optional[_Union[_common_pb2.Country, str]] = ..., type: _Optional[str] = ..., livery: _Optional[str] = ..., dead: bool = ..., rate: _Optional[int] = ..., heading: _Optional[float] = ..., position: _Optional[_Union[_common_pb2.Position, _Mapping]] = ..., cargo_mass: _Optional[int] = ...) -> None: ... + def __init__(self, name: _Optional[str] = ..., country: _Optional[_Union[_common_pb2.Country, str]] = ..., type: _Optional[str] = ..., livery: _Optional[str] = ..., dead: bool = ..., rate: _Optional[int] = ..., heading: _Optional[float] = ..., position: _Optional[_Union[_common_pb2.InputPosition, _Mapping]] = ..., cargo_mass: _Optional[int] = ...) -> None: ... class AddStaticObjectResponse(_message.Message): __slots__ = ["name"] diff --git a/dcs/common/v0/common_pb2.py b/dcs/common/v0/common_pb2.py index 86868c6..bd28a18 100644 --- a/dcs/common/v0/common_pb2.py +++ b/dcs/common/v0/common_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x64\x63s/common/v0/common.proto\x12\rdcs.common.v0\"1\n\x08Position\x12\x0b\n\x03lat\x18\x01 \x01(\x01\x12\x0b\n\x03lon\x18\x02 \x01(\x01\x12\x0b\n\x03\x61lt\x18\x03 \x01(\x01\"\x17\n\x07Unknown\x12\x0c\n\x04name\x18\x01 \x01(\t\"\xbf\x02\n\x04Unit\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08\x63\x61llsign\x18\x03 \x01(\t\x12+\n\tcoalition\x18\x04 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12\x0c\n\x04type\x18\x05 \x01(\t\x12)\n\x08position\x18\x06 \x01(\x0b\x32\x17.dcs.common.v0.Position\x12\x18\n\x0bplayer_name\x18\x07 \x01(\tH\x00\x88\x01\x01\x12\x12\n\ngroup_name\x18\x08 \x01(\t\x12\x17\n\x0fnumber_in_group\x18\t \x01(\r\x12\r\n\x05speed\x18\n \x01(\x01\x12\x0f\n\x07heading\x18\x0b \x01(\x01\x12.\n\x08\x63\x61tegory\x18\x0c \x01(\x0e\x32\x1c.dcs.common.v0.GroupCategoryB\x0e\n\x0c_player_name\"~\n\x05Group\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0c\n\x04name\x18\x02 \x01(\t\x12+\n\tcoalition\x18\x03 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12.\n\x08\x63\x61tegory\x18\x04 \x01(\x0e\x32\x1c.dcs.common.v0.GroupCategory\"M\n\x06Weapon\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0c\n\x04type\x18\x02 \x01(\t\x12)\n\x08position\x18\x03 \x01(\x0b\x32\x17.dcs.common.v0.Position\"\x88\x01\n\x06Static\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12+\n\tcoalition\x18\x04 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12)\n\x08position\x18\x05 \x01(\x0b\x32\x17.dcs.common.v0.Position\"P\n\x07Scenery\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12)\n\x08position\x18\x03 \x01(\x0b\x32\x17.dcs.common.v0.Position\"\xe1\x01\n\x07\x41irbase\x12\x0f\n\x02id\x18\x01 \x01(\rH\x00\x88\x01\x01\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08\x63\x61llsign\x18\x03 \x01(\t\x12+\n\tcoalition\x18\x04 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12)\n\x08position\x18\x06 \x01(\x0b\x32\x17.dcs.common.v0.Position\x12\x30\n\x08\x63\x61tegory\x18\x07 \x01(\x0e\x32\x1e.dcs.common.v0.AirbaseCategory\x12\x14\n\x0c\x64isplay_name\x18\x08 \x01(\tB\x05\n\x03_id\"\x07\n\x05\x43\x61rgo\"\xb7\x02\n\tInitiator\x12)\n\x07unknown\x18\x01 \x01(\x0b\x32\x16.dcs.common.v0.UnknownH\x00\x12#\n\x04unit\x18\x02 \x01(\x0b\x32\x13.dcs.common.v0.UnitH\x00\x12\'\n\x06weapon\x18\x03 \x01(\x0b\x32\x15.dcs.common.v0.WeaponH\x00\x12\'\n\x06static\x18\x04 \x01(\x0b\x32\x15.dcs.common.v0.StaticH\x00\x12)\n\x07scenery\x18\x05 \x01(\x0b\x32\x16.dcs.common.v0.SceneryH\x00\x12)\n\x07\x61irbase\x18\x06 \x01(\x0b\x32\x16.dcs.common.v0.AirbaseH\x00\x12%\n\x05\x63\x61rgo\x18\x07 \x01(\x0b\x32\x14.dcs.common.v0.CargoH\x00\x42\x0b\n\tinitiator\"\xb1\x02\n\x06Target\x12)\n\x07unknown\x18\x01 \x01(\x0b\x32\x16.dcs.common.v0.UnknownH\x00\x12#\n\x04unit\x18\x02 \x01(\x0b\x32\x13.dcs.common.v0.UnitH\x00\x12\'\n\x06weapon\x18\x03 \x01(\x0b\x32\x15.dcs.common.v0.WeaponH\x00\x12\'\n\x06static\x18\x04 \x01(\x0b\x32\x15.dcs.common.v0.StaticH\x00\x12)\n\x07scenery\x18\x05 \x01(\x0b\x32\x16.dcs.common.v0.SceneryH\x00\x12)\n\x07\x61irbase\x18\x06 \x01(\x0b\x32\x16.dcs.common.v0.AirbaseH\x00\x12%\n\x05\x63\x61rgo\x18\x07 \x01(\x0b\x32\x14.dcs.common.v0.CargoH\x00\x42\x08\n\x06target\"\xf8\x01\n\tMarkPanel\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0c\n\x04time\x18\x02 \x01(\x01\x12&\n\tinitiator\x18\x03 \x01(\x0b\x32\x13.dcs.common.v0.Unit\x12\x30\n\tcoalition\x18\x04 \x01(\x0e\x32\x18.dcs.common.v0.CoalitionH\x00\x88\x01\x01\x12\x15\n\x08group_id\x18\x05 \x01(\rH\x01\x88\x01\x01\x12\x11\n\x04text\x18\x06 \x01(\tH\x02\x88\x01\x01\x12)\n\x08position\x18\x07 \x01(\x0b\x32\x17.dcs.common.v0.PositionB\x0c\n\n_coalitionB\x0b\n\t_group_idB\x07\n\x05_text\")\n\x06Vector\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\x12\t\n\x01z\x18\x03 \x01(\x01*\xd5\x01\n\x0eObjectCategory\x12\x1f\n\x1bOBJECT_CATEGORY_UNSPECIFIED\x10\x00\x12\x18\n\x14OBJECT_CATEGORY_UNIT\x10\x01\x12\x1a\n\x16OBJECT_CATEGORY_WEAPON\x10\x02\x12\x1a\n\x16OBJECT_CATEGORY_STATIC\x10\x03\x12\x1b\n\x17OBJECT_CATEGORY_SCENERY\x10\x04\x12\x18\n\x14OBJECT_CATEGORY_BASE\x10\x05\x12\x19\n\x15OBJECT_CATEGORY_CARGO\x10\x06*\x8b\x01\n\x0f\x41irbaseCategory\x12 \n\x1c\x41IRBASE_CATEGORY_UNSPECIFIED\x10\x00\x12\x1d\n\x19\x41IRBASE_CATEGORY_AIRDROME\x10\x01\x12\x1c\n\x18\x41IRBASE_CATEGORY_HELIPAD\x10\x02\x12\x19\n\x15\x41IRBASE_CATEGORY_SHIP\x10\x03*\\\n\tCoalition\x12\x11\n\rCOALITION_ALL\x10\x00\x12\x15\n\x11\x43OALITION_NEUTRAL\x10\x01\x12\x11\n\rCOALITION_RED\x10\x02\x12\x12\n\x0e\x43OALITION_BLUE\x10\x03*\xd9\x0f\n\x07\x43ountry\x12\x17\n\x13\x43OUNTRY_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x43OUNTRY_RUSSIA\x10\x01\x12\x13\n\x0f\x43OUNTRY_UKRAINE\x10\x02\x12$\n COUNTRY_UNITED_STATES_OF_AMERICA\x10\x03\x12\x12\n\x0e\x43OUNTRY_TURKEY\x10\x04\x12\x1a\n\x16\x43OUNTRY_UNITED_KINGDOM\x10\x05\x12\x12\n\x0e\x43OUNTRY_FRANCE\x10\x06\x12\x13\n\x0f\x43OUNTRY_GERMANY\x10\x07\x12\x16\n\x12\x43OUNTRY_AGGRESSORS\x10\x08\x12\x12\n\x0e\x43OUNTRY_CANADA\x10\t\x12\x11\n\rCOUNTRY_SPAIN\x10\n\x12\x1b\n\x17\x43OUNTRY_THE_NETHERLANDS\x10\x0b\x12\x13\n\x0f\x43OUNTRY_BELGIUM\x10\x0c\x12\x12\n\x0e\x43OUNTRY_NORWAY\x10\r\x12\x13\n\x0f\x43OUNTRY_DENMARK\x10\x0e\x12\x12\n\x0e\x43OUNTRY_UNUSED\x10\x0f\x12\x12\n\x0e\x43OUNTRY_ISRAEL\x10\x10\x12\x13\n\x0f\x43OUNTRY_GEORGIA\x10\x11\x12\x16\n\x12\x43OUNTRY_INSURGENTS\x10\x12\x12\x14\n\x10\x43OUNTRY_ABKHAZIA\x10\x13\x12\x18\n\x14\x43OUNTRY_SOUTH_OSETIA\x10\x14\x12\x11\n\rCOUNTRY_ITALY\x10\x15\x12\x15\n\x11\x43OUNTRY_AUSTRALIA\x10\x16\x12\x17\n\x13\x43OUNTRY_SWITZERLAND\x10\x17\x12\x13\n\x0f\x43OUNTRY_AUSTRIA\x10\x18\x12\x13\n\x0f\x43OUNTRY_BELARUS\x10\x19\x12\x14\n\x10\x43OUNTRY_BULGARIA\x10\x1a\x12\x1a\n\x16\x43OUNTRY_CZECH_REPUBLIC\x10\x1b\x12\x11\n\rCOUNTRY_CHINA\x10\x1c\x12\x13\n\x0f\x43OUNTRY_CROATIA\x10\x1d\x12\x11\n\rCOUNTRY_EGYPT\x10\x1e\x12\x13\n\x0f\x43OUNTRY_FINLAND\x10\x1f\x12\x12\n\x0e\x43OUNTRY_GREECE\x10 \x12\x13\n\x0f\x43OUNTRY_HUNGARY\x10!\x12\x11\n\rCOUNTRY_INDIA\x10\"\x12\x10\n\x0c\x43OUNTRY_IRAN\x10#\x12\x10\n\x0c\x43OUNTRY_IRAQ\x10$\x12\x11\n\rCOUNTRY_JAPAN\x10%\x12\x16\n\x12\x43OUNTRY_KAZAKHSTAN\x10&\x12\x17\n\x13\x43OUNTRY_NORTH_KOREA\x10\'\x12\x14\n\x10\x43OUNTRY_PAKISTAN\x10(\x12\x12\n\x0e\x43OUNTRY_POLAND\x10)\x12\x13\n\x0f\x43OUNTRY_ROMANIA\x10*\x12\x18\n\x14\x43OUNTRY_SAUDI_ARABIA\x10+\x12\x12\n\x0e\x43OUNTRY_SERBIA\x10,\x12\x14\n\x10\x43OUNTRY_SLOVAKIA\x10-\x12\x17\n\x13\x43OUNTRY_SOUTH_KOREA\x10.\x12\x12\n\x0e\x43OUNTRY_SWEDEN\x10/\x12\x11\n\rCOUNTRY_SYRIA\x10\x30\x12\x11\n\rCOUNTRY_YEMEN\x10\x31\x12\x13\n\x0f\x43OUNTRY_VIETNAM\x10\x32\x12\x15\n\x11\x43OUNTRY_VENEZUELA\x10\x33\x12\x13\n\x0f\x43OUNTRY_TUNISIA\x10\x34\x12\x14\n\x10\x43OUNTRY_THAILAND\x10\x35\x12\x11\n\rCOUNTRY_SUDAN\x10\x36\x12\x17\n\x13\x43OUNTRY_PHILIPPINES\x10\x37\x12\x13\n\x0f\x43OUNTRY_MOROCCO\x10\x38\x12\x12\n\x0e\x43OUNTRY_MEXICO\x10\x39\x12\x14\n\x10\x43OUNTRY_MALAYSIA\x10:\x12\x11\n\rCOUNTRY_LIBYA\x10;\x12\x12\n\x0e\x43OUNTRY_JORDAN\x10<\x12\x15\n\x11\x43OUNTRY_INDONESIA\x10=\x12\x14\n\x10\x43OUNTRY_HONDURAS\x10>\x12\x14\n\x10\x43OUNTRY_ETHIOPIA\x10?\x12\x11\n\rCOUNTRY_CHILE\x10@\x12\x12\n\x0e\x43OUNTRY_BRAZIL\x10\x41\x12\x13\n\x0f\x43OUNTRY_BAHRAIN\x10\x42\x12\x16\n\x12\x43OUNTRY_THIRDREICH\x10\x43\x12\x16\n\x12\x43OUNTRY_YUGOSLAVIA\x10\x44\x12\x18\n\x14\x43OUNTRY_SOVIET_UNION\x10\x45\x12#\n\x1f\x43OUNTRY_ITALIAN_SOCIAL_REPUBLIC\x10\x46\x12\x13\n\x0f\x43OUNTRY_ALGERIA\x10G\x12\x12\n\x0e\x43OUNTRY_KUWAIT\x10H\x12\x11\n\rCOUNTRY_QATAR\x10I\x12\x10\n\x0c\x43OUNTRY_OMAN\x10J\x12 \n\x1c\x43OUNTRY_UNITED_ARAB_EMIRATES\x10K\x12\x18\n\x14\x43OUNTRY_SOUTH_AFRICA\x10L\x12\x10\n\x0c\x43OUNTRY_CUBA\x10M\x12\x14\n\x10\x43OUNTRY_PORTUGAL\x10N\x12&\n\"COUNTRY_GERMAN_DEMOCRATIC_REPUBLIC\x10O\x12\x13\n\x0f\x43OUNTRY_LEBANON\x10P\x12*\n&COUNTRY_COMBINED_JOINT_TASK_FORCE_BLUE\x10Q\x12)\n%COUNTRY_COMBINED_JOINT_TASK_FORCE_RED\x10R\x12\'\n#COUNTRY_UNITED_NATIONS_PEACEKEEPERS\x10S\x12\x15\n\x11\x43OUNTRY_ARGENTINA\x10T\x12\x12\n\x0e\x43OUNTRY_CYPRUS\x10U\x12\x14\n\x10\x43OUNTRY_SLOVENIA\x10V*\xb9\x01\n\rGroupCategory\x12\x1e\n\x1aGROUP_CATEGORY_UNSPECIFIED\x10\x00\x12\x1b\n\x17GROUP_CATEGORY_AIRPLANE\x10\x01\x12\x1d\n\x19GROUP_CATEGORY_HELICOPTER\x10\x02\x12\x19\n\x15GROUP_CATEGORY_GROUND\x10\x03\x12\x17\n\x13GROUP_CATEGORY_SHIP\x10\x04\x12\x18\n\x14GROUP_CATEGORY_TRAIN\x10\x05\x42QZ-github.com/DCS-gRPC/go-bindings/dcs/v0/common\xaa\x02\x1fRurouniJones.Dcs.Grpc.V0.Commonb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x64\x63s/common/v0/common.proto\x12\rdcs.common.v0\"G\n\x08Position\x12\x0b\n\x03lat\x18\x01 \x01(\x01\x12\x0b\n\x03lon\x18\x02 \x01(\x01\x12\x0b\n\x03\x61lt\x18\x03 \x01(\x01\x12\t\n\x01u\x18\x04 \x01(\x01\x12\t\n\x01v\x18\x05 \x01(\x01\"6\n\rInputPosition\x12\x0b\n\x03lat\x18\x01 \x01(\x01\x12\x0b\n\x03lon\x18\x02 \x01(\x01\x12\x0b\n\x03\x61lt\x18\x03 \x01(\x01\"\x17\n\x07Unknown\x12\x0c\n\x04name\x18\x01 \x01(\t\"\xdc\x02\n\x04Unit\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08\x63\x61llsign\x18\x03 \x01(\t\x12+\n\tcoalition\x18\x04 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12\x0c\n\x04type\x18\x05 \x01(\t\x12)\n\x08position\x18\x06 \x01(\x0b\x32\x17.dcs.common.v0.Position\x12/\n\x0borientation\x18\x07 \x01(\x0b\x32\x1a.dcs.common.v0.Orientation\x12)\n\x08velocity\x18\x08 \x01(\x0b\x32\x17.dcs.common.v0.Velocity\x12\x18\n\x0bplayer_name\x18\t \x01(\tH\x00\x88\x01\x01\x12#\n\x05group\x18\n \x01(\x0b\x32\x14.dcs.common.v0.Group\x12\x17\n\x0fnumber_in_group\x18\x0b \x01(\rB\x0e\n\x0c_player_name\"~\n\x05Group\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0c\n\x04name\x18\x02 \x01(\t\x12+\n\tcoalition\x18\x03 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12.\n\x08\x63\x61tegory\x18\x04 \x01(\x0e\x32\x1c.dcs.common.v0.GroupCategory\"\xa9\x01\n\x06Weapon\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0c\n\x04type\x18\x02 \x01(\t\x12)\n\x08position\x18\x03 \x01(\x0b\x32\x17.dcs.common.v0.Position\x12/\n\x0borientation\x18\x04 \x01(\x0b\x32\x1a.dcs.common.v0.Orientation\x12)\n\x08velocity\x18\x05 \x01(\x0b\x32\x17.dcs.common.v0.Velocity\"\x88\x01\n\x06Static\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12+\n\tcoalition\x18\x04 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12)\n\x08position\x18\x05 \x01(\x0b\x32\x17.dcs.common.v0.Position\"N\n\x07Scenery\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0c\n\x04type\x18\x02 \x01(\t\x12)\n\x08position\x18\x03 \x01(\x0b\x32\x17.dcs.common.v0.Position\"\xfa\x01\n\x07\x41irbase\x12&\n\x04unit\x18\x01 \x01(\x0b\x32\x13.dcs.common.v0.UnitH\x00\x88\x01\x01\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x10\n\x08\x63\x61llsign\x18\x03 \x01(\t\x12+\n\tcoalition\x18\x04 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12)\n\x08position\x18\x06 \x01(\x0b\x32\x17.dcs.common.v0.Position\x12\x30\n\x08\x63\x61tegory\x18\x07 \x01(\x0e\x32\x1e.dcs.common.v0.AirbaseCategory\x12\x14\n\x0c\x64isplay_name\x18\x08 \x01(\tB\x07\n\x05_unit\"\x07\n\x05\x43\x61rgo\"\xb7\x02\n\tInitiator\x12)\n\x07unknown\x18\x01 \x01(\x0b\x32\x16.dcs.common.v0.UnknownH\x00\x12#\n\x04unit\x18\x02 \x01(\x0b\x32\x13.dcs.common.v0.UnitH\x00\x12\'\n\x06weapon\x18\x03 \x01(\x0b\x32\x15.dcs.common.v0.WeaponH\x00\x12\'\n\x06static\x18\x04 \x01(\x0b\x32\x15.dcs.common.v0.StaticH\x00\x12)\n\x07scenery\x18\x05 \x01(\x0b\x32\x16.dcs.common.v0.SceneryH\x00\x12)\n\x07\x61irbase\x18\x06 \x01(\x0b\x32\x16.dcs.common.v0.AirbaseH\x00\x12%\n\x05\x63\x61rgo\x18\x07 \x01(\x0b\x32\x14.dcs.common.v0.CargoH\x00\x42\x0b\n\tinitiator\"\xb1\x02\n\x06Target\x12)\n\x07unknown\x18\x01 \x01(\x0b\x32\x16.dcs.common.v0.UnknownH\x00\x12#\n\x04unit\x18\x02 \x01(\x0b\x32\x13.dcs.common.v0.UnitH\x00\x12\'\n\x06weapon\x18\x03 \x01(\x0b\x32\x15.dcs.common.v0.WeaponH\x00\x12\'\n\x06static\x18\x04 \x01(\x0b\x32\x15.dcs.common.v0.StaticH\x00\x12)\n\x07scenery\x18\x05 \x01(\x0b\x32\x16.dcs.common.v0.SceneryH\x00\x12)\n\x07\x61irbase\x18\x06 \x01(\x0b\x32\x16.dcs.common.v0.AirbaseH\x00\x12%\n\x05\x63\x61rgo\x18\x07 \x01(\x0b\x32\x14.dcs.common.v0.CargoH\x00\x42\x08\n\x06target\"\x8b\x02\n\tMarkPanel\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0c\n\x04time\x18\x02 \x01(\x01\x12+\n\tinitiator\x18\x03 \x01(\x0b\x32\x13.dcs.common.v0.UnitH\x00\x88\x01\x01\x12\x30\n\tcoalition\x18\x04 \x01(\x0e\x32\x18.dcs.common.v0.CoalitionH\x01\x88\x01\x01\x12\x15\n\x08group_id\x18\x05 \x01(\rH\x02\x88\x01\x01\x12\x11\n\x04text\x18\x06 \x01(\tH\x03\x88\x01\x01\x12)\n\x08position\x18\x07 \x01(\x0b\x32\x17.dcs.common.v0.PositionB\x0c\n\n_initiatorB\x0c\n\n_coalitionB\x0b\n\t_group_idB\x07\n\x05_text\")\n\x06Vector\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\x12\t\n\x01z\x18\x03 \x01(\x01\"\xb9\x01\n\x0bOrientation\x12\x0f\n\x07heading\x18\x01 \x01(\x01\x12\x0b\n\x03yaw\x18\x02 \x01(\x01\x12\r\n\x05pitch\x18\x03 \x01(\x01\x12\x0c\n\x04roll\x18\x04 \x01(\x01\x12&\n\x07\x66orward\x18\x05 \x01(\x0b\x32\x15.dcs.common.v0.Vector\x12$\n\x05right\x18\x06 \x01(\x0b\x32\x15.dcs.common.v0.Vector\x12!\n\x02up\x18\x07 \x01(\x0b\x32\x15.dcs.common.v0.Vector\"S\n\x08Velocity\x12\x0f\n\x07heading\x18\x01 \x01(\x01\x12\r\n\x05speed\x18\x02 \x01(\x01\x12\'\n\x08velocity\x18\x03 \x01(\x0b\x32\x15.dcs.common.v0.Vector\"\xba\x01\n\x07\x43ontact\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0f\n\x07visible\x18\x02 \x01(\x08\x12\x10\n\x08\x64istance\x18\x03 \x01(\x08\x12(\n\x06object\x18\x04 \x01(\x0b\x32\x16.dcs.common.v0.UnknownH\x00\x12#\n\x04unit\x18\x05 \x01(\x0b\x32\x13.dcs.common.v0.UnitH\x00\x12\'\n\x06weapon\x18\x06 \x01(\x0b\x32\x15.dcs.common.v0.WeaponH\x00\x42\x08\n\x06target*\xd5\x01\n\x0eObjectCategory\x12\x1f\n\x1bOBJECT_CATEGORY_UNSPECIFIED\x10\x00\x12\x18\n\x14OBJECT_CATEGORY_UNIT\x10\x01\x12\x1a\n\x16OBJECT_CATEGORY_WEAPON\x10\x02\x12\x1a\n\x16OBJECT_CATEGORY_STATIC\x10\x03\x12\x1b\n\x17OBJECT_CATEGORY_SCENERY\x10\x04\x12\x18\n\x14OBJECT_CATEGORY_BASE\x10\x05\x12\x19\n\x15OBJECT_CATEGORY_CARGO\x10\x06*\x8b\x01\n\x0f\x41irbaseCategory\x12 \n\x1c\x41IRBASE_CATEGORY_UNSPECIFIED\x10\x00\x12\x1d\n\x19\x41IRBASE_CATEGORY_AIRDROME\x10\x01\x12\x1c\n\x18\x41IRBASE_CATEGORY_HELIPAD\x10\x02\x12\x19\n\x15\x41IRBASE_CATEGORY_SHIP\x10\x03*\\\n\tCoalition\x12\x11\n\rCOALITION_ALL\x10\x00\x12\x15\n\x11\x43OALITION_NEUTRAL\x10\x01\x12\x11\n\rCOALITION_RED\x10\x02\x12\x12\n\x0e\x43OALITION_BLUE\x10\x03*\xd9\x0f\n\x07\x43ountry\x12\x17\n\x13\x43OUNTRY_UNSPECIFIED\x10\x00\x12\x12\n\x0e\x43OUNTRY_RUSSIA\x10\x01\x12\x13\n\x0f\x43OUNTRY_UKRAINE\x10\x02\x12$\n COUNTRY_UNITED_STATES_OF_AMERICA\x10\x03\x12\x12\n\x0e\x43OUNTRY_TURKEY\x10\x04\x12\x1a\n\x16\x43OUNTRY_UNITED_KINGDOM\x10\x05\x12\x12\n\x0e\x43OUNTRY_FRANCE\x10\x06\x12\x13\n\x0f\x43OUNTRY_GERMANY\x10\x07\x12\x16\n\x12\x43OUNTRY_AGGRESSORS\x10\x08\x12\x12\n\x0e\x43OUNTRY_CANADA\x10\t\x12\x11\n\rCOUNTRY_SPAIN\x10\n\x12\x1b\n\x17\x43OUNTRY_THE_NETHERLANDS\x10\x0b\x12\x13\n\x0f\x43OUNTRY_BELGIUM\x10\x0c\x12\x12\n\x0e\x43OUNTRY_NORWAY\x10\r\x12\x13\n\x0f\x43OUNTRY_DENMARK\x10\x0e\x12\x12\n\x0e\x43OUNTRY_UNUSED\x10\x0f\x12\x12\n\x0e\x43OUNTRY_ISRAEL\x10\x10\x12\x13\n\x0f\x43OUNTRY_GEORGIA\x10\x11\x12\x16\n\x12\x43OUNTRY_INSURGENTS\x10\x12\x12\x14\n\x10\x43OUNTRY_ABKHAZIA\x10\x13\x12\x18\n\x14\x43OUNTRY_SOUTH_OSETIA\x10\x14\x12\x11\n\rCOUNTRY_ITALY\x10\x15\x12\x15\n\x11\x43OUNTRY_AUSTRALIA\x10\x16\x12\x17\n\x13\x43OUNTRY_SWITZERLAND\x10\x17\x12\x13\n\x0f\x43OUNTRY_AUSTRIA\x10\x18\x12\x13\n\x0f\x43OUNTRY_BELARUS\x10\x19\x12\x14\n\x10\x43OUNTRY_BULGARIA\x10\x1a\x12\x1a\n\x16\x43OUNTRY_CZECH_REPUBLIC\x10\x1b\x12\x11\n\rCOUNTRY_CHINA\x10\x1c\x12\x13\n\x0f\x43OUNTRY_CROATIA\x10\x1d\x12\x11\n\rCOUNTRY_EGYPT\x10\x1e\x12\x13\n\x0f\x43OUNTRY_FINLAND\x10\x1f\x12\x12\n\x0e\x43OUNTRY_GREECE\x10 \x12\x13\n\x0f\x43OUNTRY_HUNGARY\x10!\x12\x11\n\rCOUNTRY_INDIA\x10\"\x12\x10\n\x0c\x43OUNTRY_IRAN\x10#\x12\x10\n\x0c\x43OUNTRY_IRAQ\x10$\x12\x11\n\rCOUNTRY_JAPAN\x10%\x12\x16\n\x12\x43OUNTRY_KAZAKHSTAN\x10&\x12\x17\n\x13\x43OUNTRY_NORTH_KOREA\x10\'\x12\x14\n\x10\x43OUNTRY_PAKISTAN\x10(\x12\x12\n\x0e\x43OUNTRY_POLAND\x10)\x12\x13\n\x0f\x43OUNTRY_ROMANIA\x10*\x12\x18\n\x14\x43OUNTRY_SAUDI_ARABIA\x10+\x12\x12\n\x0e\x43OUNTRY_SERBIA\x10,\x12\x14\n\x10\x43OUNTRY_SLOVAKIA\x10-\x12\x17\n\x13\x43OUNTRY_SOUTH_KOREA\x10.\x12\x12\n\x0e\x43OUNTRY_SWEDEN\x10/\x12\x11\n\rCOUNTRY_SYRIA\x10\x30\x12\x11\n\rCOUNTRY_YEMEN\x10\x31\x12\x13\n\x0f\x43OUNTRY_VIETNAM\x10\x32\x12\x15\n\x11\x43OUNTRY_VENEZUELA\x10\x33\x12\x13\n\x0f\x43OUNTRY_TUNISIA\x10\x34\x12\x14\n\x10\x43OUNTRY_THAILAND\x10\x35\x12\x11\n\rCOUNTRY_SUDAN\x10\x36\x12\x17\n\x13\x43OUNTRY_PHILIPPINES\x10\x37\x12\x13\n\x0f\x43OUNTRY_MOROCCO\x10\x38\x12\x12\n\x0e\x43OUNTRY_MEXICO\x10\x39\x12\x14\n\x10\x43OUNTRY_MALAYSIA\x10:\x12\x11\n\rCOUNTRY_LIBYA\x10;\x12\x12\n\x0e\x43OUNTRY_JORDAN\x10<\x12\x15\n\x11\x43OUNTRY_INDONESIA\x10=\x12\x14\n\x10\x43OUNTRY_HONDURAS\x10>\x12\x14\n\x10\x43OUNTRY_ETHIOPIA\x10?\x12\x11\n\rCOUNTRY_CHILE\x10@\x12\x12\n\x0e\x43OUNTRY_BRAZIL\x10\x41\x12\x13\n\x0f\x43OUNTRY_BAHRAIN\x10\x42\x12\x16\n\x12\x43OUNTRY_THIRDREICH\x10\x43\x12\x16\n\x12\x43OUNTRY_YUGOSLAVIA\x10\x44\x12\x18\n\x14\x43OUNTRY_SOVIET_UNION\x10\x45\x12#\n\x1f\x43OUNTRY_ITALIAN_SOCIAL_REPUBLIC\x10\x46\x12\x13\n\x0f\x43OUNTRY_ALGERIA\x10G\x12\x12\n\x0e\x43OUNTRY_KUWAIT\x10H\x12\x11\n\rCOUNTRY_QATAR\x10I\x12\x10\n\x0c\x43OUNTRY_OMAN\x10J\x12 \n\x1c\x43OUNTRY_UNITED_ARAB_EMIRATES\x10K\x12\x18\n\x14\x43OUNTRY_SOUTH_AFRICA\x10L\x12\x10\n\x0c\x43OUNTRY_CUBA\x10M\x12\x14\n\x10\x43OUNTRY_PORTUGAL\x10N\x12&\n\"COUNTRY_GERMAN_DEMOCRATIC_REPUBLIC\x10O\x12\x13\n\x0f\x43OUNTRY_LEBANON\x10P\x12*\n&COUNTRY_COMBINED_JOINT_TASK_FORCE_BLUE\x10Q\x12)\n%COUNTRY_COMBINED_JOINT_TASK_FORCE_RED\x10R\x12\'\n#COUNTRY_UNITED_NATIONS_PEACEKEEPERS\x10S\x12\x15\n\x11\x43OUNTRY_ARGENTINA\x10T\x12\x12\n\x0e\x43OUNTRY_CYPRUS\x10U\x12\x14\n\x10\x43OUNTRY_SLOVENIA\x10V*\xb9\x01\n\rGroupCategory\x12\x1e\n\x1aGROUP_CATEGORY_UNSPECIFIED\x10\x00\x12\x1b\n\x17GROUP_CATEGORY_AIRPLANE\x10\x01\x12\x1d\n\x19GROUP_CATEGORY_HELICOPTER\x10\x02\x12\x19\n\x15GROUP_CATEGORY_GROUND\x10\x03\x12\x17\n\x13GROUP_CATEGORY_SHIP\x10\x04\x12\x18\n\x14GROUP_CATEGORY_TRAIN\x10\x05\x42QZ-github.com/DCS-gRPC/go-bindings/dcs/v0/common\xaa\x02\x1fRurouniJones.Dcs.Grpc.V0.Commonb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -21,40 +21,48 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z-github.com/DCS-gRPC/go-bindings/dcs/v0/common\252\002\037RurouniJones.Dcs.Grpc.V0.Common' - _globals['_OBJECTCATEGORY']._serialized_start=2025 - _globals['_OBJECTCATEGORY']._serialized_end=2238 - _globals['_AIRBASECATEGORY']._serialized_start=2241 - _globals['_AIRBASECATEGORY']._serialized_end=2380 - _globals['_COALITION']._serialized_start=2382 - _globals['_COALITION']._serialized_end=2474 - _globals['_COUNTRY']._serialized_start=2477 - _globals['_COUNTRY']._serialized_end=4486 - _globals['_GROUPCATEGORY']._serialized_start=4489 - _globals['_GROUPCATEGORY']._serialized_end=4674 + _globals['_OBJECTCATEGORY']._serialized_start=2729 + _globals['_OBJECTCATEGORY']._serialized_end=2942 + _globals['_AIRBASECATEGORY']._serialized_start=2945 + _globals['_AIRBASECATEGORY']._serialized_end=3084 + _globals['_COALITION']._serialized_start=3086 + _globals['_COALITION']._serialized_end=3178 + _globals['_COUNTRY']._serialized_start=3181 + _globals['_COUNTRY']._serialized_end=5190 + _globals['_GROUPCATEGORY']._serialized_start=5193 + _globals['_GROUPCATEGORY']._serialized_end=5378 _globals['_POSITION']._serialized_start=45 - _globals['_POSITION']._serialized_end=94 - _globals['_UNKNOWN']._serialized_start=96 - _globals['_UNKNOWN']._serialized_end=119 - _globals['_UNIT']._serialized_start=122 - _globals['_UNIT']._serialized_end=441 - _globals['_GROUP']._serialized_start=443 - _globals['_GROUP']._serialized_end=569 - _globals['_WEAPON']._serialized_start=571 - _globals['_WEAPON']._serialized_end=648 - _globals['_STATIC']._serialized_start=651 - _globals['_STATIC']._serialized_end=787 - _globals['_SCENERY']._serialized_start=789 - _globals['_SCENERY']._serialized_end=869 - _globals['_AIRBASE']._serialized_start=872 - _globals['_AIRBASE']._serialized_end=1097 - _globals['_CARGO']._serialized_start=1099 - _globals['_CARGO']._serialized_end=1106 - _globals['_INITIATOR']._serialized_start=1109 - _globals['_INITIATOR']._serialized_end=1420 - _globals['_TARGET']._serialized_start=1423 - _globals['_TARGET']._serialized_end=1728 - _globals['_MARKPANEL']._serialized_start=1731 - _globals['_MARKPANEL']._serialized_end=1979 - _globals['_VECTOR']._serialized_start=1981 - _globals['_VECTOR']._serialized_end=2022 + _globals['_POSITION']._serialized_end=116 + _globals['_INPUTPOSITION']._serialized_start=118 + _globals['_INPUTPOSITION']._serialized_end=172 + _globals['_UNKNOWN']._serialized_start=174 + _globals['_UNKNOWN']._serialized_end=197 + _globals['_UNIT']._serialized_start=200 + _globals['_UNIT']._serialized_end=548 + _globals['_GROUP']._serialized_start=550 + _globals['_GROUP']._serialized_end=676 + _globals['_WEAPON']._serialized_start=679 + _globals['_WEAPON']._serialized_end=848 + _globals['_STATIC']._serialized_start=851 + _globals['_STATIC']._serialized_end=987 + _globals['_SCENERY']._serialized_start=989 + _globals['_SCENERY']._serialized_end=1067 + _globals['_AIRBASE']._serialized_start=1070 + _globals['_AIRBASE']._serialized_end=1320 + _globals['_CARGO']._serialized_start=1322 + _globals['_CARGO']._serialized_end=1329 + _globals['_INITIATOR']._serialized_start=1332 + _globals['_INITIATOR']._serialized_end=1643 + _globals['_TARGET']._serialized_start=1646 + _globals['_TARGET']._serialized_end=1951 + _globals['_MARKPANEL']._serialized_start=1954 + _globals['_MARKPANEL']._serialized_end=2221 + _globals['_VECTOR']._serialized_start=2223 + _globals['_VECTOR']._serialized_end=2264 + _globals['_ORIENTATION']._serialized_start=2267 + _globals['_ORIENTATION']._serialized_end=2452 + _globals['_VELOCITY']._serialized_start=2454 + _globals['_VELOCITY']._serialized_end=2537 + _globals['_CONTACT']._serialized_start=2540 + _globals['_CONTACT']._serialized_end=2726 # @@protoc_insertion_point(module_scope) diff --git a/dcs/common/v0/common_pb2.pyi b/dcs/common/v0/common_pb2.pyi index ae7c0fd..ab8ac5b 100644 --- a/dcs/common/v0/common_pb2.pyi +++ b/dcs/common/v0/common_pb2.pyi @@ -237,6 +237,20 @@ GROUP_CATEGORY_SHIP: GroupCategory GROUP_CATEGORY_TRAIN: GroupCategory class Position(_message.Message): + __slots__ = ["lat", "lon", "alt", "u", "v"] + LAT_FIELD_NUMBER: _ClassVar[int] + LON_FIELD_NUMBER: _ClassVar[int] + ALT_FIELD_NUMBER: _ClassVar[int] + U_FIELD_NUMBER: _ClassVar[int] + V_FIELD_NUMBER: _ClassVar[int] + lat: float + lon: float + alt: float + u: float + v: float + def __init__(self, lat: _Optional[float] = ..., lon: _Optional[float] = ..., alt: _Optional[float] = ..., u: _Optional[float] = ..., v: _Optional[float] = ...) -> None: ... + +class InputPosition(_message.Message): __slots__ = ["lat", "lon", "alt"] LAT_FIELD_NUMBER: _ClassVar[int] LON_FIELD_NUMBER: _ClassVar[int] @@ -253,32 +267,30 @@ class Unknown(_message.Message): def __init__(self, name: _Optional[str] = ...) -> None: ... class Unit(_message.Message): - __slots__ = ["id", "name", "callsign", "coalition", "type", "position", "player_name", "group_name", "number_in_group", "speed", "heading", "category"] + __slots__ = ["id", "name", "callsign", "coalition", "type", "position", "orientation", "velocity", "player_name", "group", "number_in_group"] ID_FIELD_NUMBER: _ClassVar[int] NAME_FIELD_NUMBER: _ClassVar[int] CALLSIGN_FIELD_NUMBER: _ClassVar[int] COALITION_FIELD_NUMBER: _ClassVar[int] TYPE_FIELD_NUMBER: _ClassVar[int] POSITION_FIELD_NUMBER: _ClassVar[int] + ORIENTATION_FIELD_NUMBER: _ClassVar[int] + VELOCITY_FIELD_NUMBER: _ClassVar[int] PLAYER_NAME_FIELD_NUMBER: _ClassVar[int] - GROUP_NAME_FIELD_NUMBER: _ClassVar[int] + GROUP_FIELD_NUMBER: _ClassVar[int] NUMBER_IN_GROUP_FIELD_NUMBER: _ClassVar[int] - SPEED_FIELD_NUMBER: _ClassVar[int] - HEADING_FIELD_NUMBER: _ClassVar[int] - CATEGORY_FIELD_NUMBER: _ClassVar[int] id: int name: str callsign: str coalition: Coalition type: str position: Position + orientation: Orientation + velocity: Velocity player_name: str - group_name: str + group: Group number_in_group: int - speed: float - heading: float - category: GroupCategory - def __init__(self, id: _Optional[int] = ..., name: _Optional[str] = ..., callsign: _Optional[str] = ..., coalition: _Optional[_Union[Coalition, str]] = ..., type: _Optional[str] = ..., position: _Optional[_Union[Position, _Mapping]] = ..., player_name: _Optional[str] = ..., group_name: _Optional[str] = ..., number_in_group: _Optional[int] = ..., speed: _Optional[float] = ..., heading: _Optional[float] = ..., category: _Optional[_Union[GroupCategory, str]] = ...) -> None: ... + def __init__(self, id: _Optional[int] = ..., name: _Optional[str] = ..., callsign: _Optional[str] = ..., coalition: _Optional[_Union[Coalition, str]] = ..., type: _Optional[str] = ..., position: _Optional[_Union[Position, _Mapping]] = ..., orientation: _Optional[_Union[Orientation, _Mapping]] = ..., velocity: _Optional[_Union[Velocity, _Mapping]] = ..., player_name: _Optional[str] = ..., group: _Optional[_Union[Group, _Mapping]] = ..., number_in_group: _Optional[int] = ...) -> None: ... class Group(_message.Message): __slots__ = ["id", "name", "coalition", "category"] @@ -293,14 +305,18 @@ class Group(_message.Message): def __init__(self, id: _Optional[int] = ..., name: _Optional[str] = ..., coalition: _Optional[_Union[Coalition, str]] = ..., category: _Optional[_Union[GroupCategory, str]] = ...) -> None: ... class Weapon(_message.Message): - __slots__ = ["id", "type", "position"] + __slots__ = ["id", "type", "position", "orientation", "velocity"] ID_FIELD_NUMBER: _ClassVar[int] TYPE_FIELD_NUMBER: _ClassVar[int] POSITION_FIELD_NUMBER: _ClassVar[int] + ORIENTATION_FIELD_NUMBER: _ClassVar[int] + VELOCITY_FIELD_NUMBER: _ClassVar[int] id: int type: str position: Position - def __init__(self, id: _Optional[int] = ..., type: _Optional[str] = ..., position: _Optional[_Union[Position, _Mapping]] = ...) -> None: ... + orientation: Orientation + velocity: Velocity + def __init__(self, id: _Optional[int] = ..., type: _Optional[str] = ..., position: _Optional[_Union[Position, _Mapping]] = ..., orientation: _Optional[_Union[Orientation, _Mapping]] = ..., velocity: _Optional[_Union[Velocity, _Mapping]] = ...) -> None: ... class Static(_message.Message): __slots__ = ["id", "type", "name", "coalition", "position"] @@ -317,32 +333,32 @@ class Static(_message.Message): def __init__(self, id: _Optional[int] = ..., type: _Optional[str] = ..., name: _Optional[str] = ..., coalition: _Optional[_Union[Coalition, str]] = ..., position: _Optional[_Union[Position, _Mapping]] = ...) -> None: ... class Scenery(_message.Message): - __slots__ = ["type", "name", "position"] + __slots__ = ["id", "type", "position"] + ID_FIELD_NUMBER: _ClassVar[int] TYPE_FIELD_NUMBER: _ClassVar[int] - NAME_FIELD_NUMBER: _ClassVar[int] POSITION_FIELD_NUMBER: _ClassVar[int] + id: int type: str - name: str position: Position - def __init__(self, type: _Optional[str] = ..., name: _Optional[str] = ..., position: _Optional[_Union[Position, _Mapping]] = ...) -> None: ... + def __init__(self, id: _Optional[int] = ..., type: _Optional[str] = ..., position: _Optional[_Union[Position, _Mapping]] = ...) -> None: ... class Airbase(_message.Message): - __slots__ = ["id", "name", "callsign", "coalition", "position", "category", "display_name"] - ID_FIELD_NUMBER: _ClassVar[int] + __slots__ = ["unit", "name", "callsign", "coalition", "position", "category", "display_name"] + UNIT_FIELD_NUMBER: _ClassVar[int] NAME_FIELD_NUMBER: _ClassVar[int] CALLSIGN_FIELD_NUMBER: _ClassVar[int] COALITION_FIELD_NUMBER: _ClassVar[int] POSITION_FIELD_NUMBER: _ClassVar[int] CATEGORY_FIELD_NUMBER: _ClassVar[int] DISPLAY_NAME_FIELD_NUMBER: _ClassVar[int] - id: int + unit: Unit name: str callsign: str coalition: Coalition position: Position category: AirbaseCategory display_name: str - def __init__(self, id: _Optional[int] = ..., name: _Optional[str] = ..., callsign: _Optional[str] = ..., coalition: _Optional[_Union[Coalition, str]] = ..., position: _Optional[_Union[Position, _Mapping]] = ..., category: _Optional[_Union[AirbaseCategory, str]] = ..., display_name: _Optional[str] = ...) -> None: ... + def __init__(self, unit: _Optional[_Union[Unit, _Mapping]] = ..., name: _Optional[str] = ..., callsign: _Optional[str] = ..., coalition: _Optional[_Union[Coalition, str]] = ..., position: _Optional[_Union[Position, _Mapping]] = ..., category: _Optional[_Union[AirbaseCategory, str]] = ..., display_name: _Optional[str] = ...) -> None: ... class Cargo(_message.Message): __slots__ = [] @@ -411,3 +427,47 @@ class Vector(_message.Message): y: float z: float def __init__(self, x: _Optional[float] = ..., y: _Optional[float] = ..., z: _Optional[float] = ...) -> None: ... + +class Orientation(_message.Message): + __slots__ = ["heading", "yaw", "pitch", "roll", "forward", "right", "up"] + HEADING_FIELD_NUMBER: _ClassVar[int] + YAW_FIELD_NUMBER: _ClassVar[int] + PITCH_FIELD_NUMBER: _ClassVar[int] + ROLL_FIELD_NUMBER: _ClassVar[int] + FORWARD_FIELD_NUMBER: _ClassVar[int] + RIGHT_FIELD_NUMBER: _ClassVar[int] + UP_FIELD_NUMBER: _ClassVar[int] + heading: float + yaw: float + pitch: float + roll: float + forward: Vector + right: Vector + up: Vector + def __init__(self, heading: _Optional[float] = ..., yaw: _Optional[float] = ..., pitch: _Optional[float] = ..., roll: _Optional[float] = ..., forward: _Optional[_Union[Vector, _Mapping]] = ..., right: _Optional[_Union[Vector, _Mapping]] = ..., up: _Optional[_Union[Vector, _Mapping]] = ...) -> None: ... + +class Velocity(_message.Message): + __slots__ = ["heading", "speed", "velocity"] + HEADING_FIELD_NUMBER: _ClassVar[int] + SPEED_FIELD_NUMBER: _ClassVar[int] + VELOCITY_FIELD_NUMBER: _ClassVar[int] + heading: float + speed: float + velocity: Vector + def __init__(self, heading: _Optional[float] = ..., speed: _Optional[float] = ..., velocity: _Optional[_Union[Vector, _Mapping]] = ...) -> None: ... + +class Contact(_message.Message): + __slots__ = ["id", "visible", "distance", "object", "unit", "weapon"] + ID_FIELD_NUMBER: _ClassVar[int] + VISIBLE_FIELD_NUMBER: _ClassVar[int] + DISTANCE_FIELD_NUMBER: _ClassVar[int] + OBJECT_FIELD_NUMBER: _ClassVar[int] + UNIT_FIELD_NUMBER: _ClassVar[int] + WEAPON_FIELD_NUMBER: _ClassVar[int] + id: int + visible: bool + distance: bool + object: Unknown + unit: Unit + weapon: Weapon + def __init__(self, id: _Optional[int] = ..., visible: bool = ..., distance: bool = ..., object: _Optional[_Union[Unknown, _Mapping]] = ..., unit: _Optional[_Union[Unit, _Mapping]] = ..., weapon: _Optional[_Union[Weapon, _Mapping]] = ...) -> None: ... diff --git a/dcs/controller/v0/controller_pb2.py b/dcs/controller/v0/controller_pb2.py index d53b977..a1cb290 100644 --- a/dcs/controller/v0/controller_pb2.py +++ b/dcs/controller/v0/controller_pb2.py @@ -11,9 +11,10 @@ _sym_db = _symbol_database.Default() +from dcs.common.v0 import common_pb2 as dcs_dot_common_dot_v0_dot_common__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"dcs/controller/v0/controller.proto\x12\x11\x64\x63s.controller.v0\"\xff\x01\n\x14SetAlarmStateRequest\x12\x14\n\ngroup_name\x18\x01 \x01(\tH\x00\x12\x13\n\tunit_name\x18\x02 \x01(\tH\x00\x12G\n\x0b\x61larm_state\x18\x03 \x01(\x0e\x32\x32.dcs.controller.v0.SetAlarmStateRequest.AlarmState\"k\n\nAlarmState\x12\x1b\n\x17\x41LARM_STATE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41LARM_STATE_AUTO\x10\x01\x12\x15\n\x11\x41LARM_STATE_GREEN\x10\x02\x12\x13\n\x0f\x41LARM_STATE_RED\x10\x03\x42\x06\n\x04name\"\x17\n\x15SetAlarmStateResponse2y\n\x11\x43ontrollerService\x12\x64\n\rSetAlarmState\x12\'.dcs.controller.v0.SetAlarmStateRequest\x1a(.dcs.controller.v0.SetAlarmStateResponse\"\x00\x42YZ1github.com/DCS-gRPC/go-bindings/dcs/v0/controller\xaa\x02#RurouniJones.Dcs.Grpc.V0.Controllerb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"dcs/controller/v0/controller.proto\x12\x11\x64\x63s.controller.v0\x1a\x1a\x64\x63s/common/v0/common.proto\"\xff\x01\n\x14SetAlarmStateRequest\x12\x14\n\ngroup_name\x18\x01 \x01(\tH\x00\x12\x13\n\tunit_name\x18\x02 \x01(\tH\x00\x12G\n\x0b\x61larm_state\x18\x03 \x01(\x0e\x32\x32.dcs.controller.v0.SetAlarmStateRequest.AlarmState\"k\n\nAlarmState\x12\x1b\n\x17\x41LARM_STATE_UNSPECIFIED\x10\x00\x12\x14\n\x10\x41LARM_STATE_AUTO\x10\x01\x12\x15\n\x11\x41LARM_STATE_GREEN\x10\x02\x12\x13\n\x0f\x41LARM_STATE_RED\x10\x03\x42\x06\n\x04name\"\x17\n\x15SetAlarmStateResponse\"\x96\x03\n\x19GetDetectedTargetsRequest\x12\x11\n\tunit_name\x18\x01 \x01(\t\x12\x1b\n\x0einclude_object\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12W\n\x0e\x64\x65tection_type\x18\x03 \x01(\x0e\x32:.dcs.controller.v0.GetDetectedTargetsRequest.DetectionTypeH\x01\x88\x01\x01\"\xc9\x01\n\rDetectionType\x12\x1e\n\x1a\x44\x45TECTION_TYPE_UNSPECIFIED\x10\x00\x12\x19\n\x15\x44\x45TECTION_TYPE_VISUAL\x10\x01\x12\x18\n\x14\x44\x45TECTION_TYPE_OPTIC\x10\x02\x12\x18\n\x14\x44\x45TECTION_TYPE_RADAR\x10\x04\x12\x17\n\x13\x44\x45TECTION_TYPE_IRST\x10\x08\x12\x16\n\x12\x44\x45TECTION_TYPE_RWR\x10\x10\x12\x18\n\x14\x44\x45TECTION_TYPE_DLINK\x10 B\x11\n\x0f_include_objectB\x11\n\x0f_detection_type\"F\n\x1aGetDetectedTargetsResponse\x12(\n\x08\x63ontacts\x18\x01 \x03(\x0b\x32\x16.dcs.common.v0.Contact2\xee\x01\n\x11\x43ontrollerService\x12\x64\n\rSetAlarmState\x12\'.dcs.controller.v0.SetAlarmStateRequest\x1a(.dcs.controller.v0.SetAlarmStateResponse\"\x00\x12s\n\x12GetDetectedTargets\x12,.dcs.controller.v0.GetDetectedTargetsRequest\x1a-.dcs.controller.v0.GetDetectedTargetsResponse\"\x00\x42YZ1github.com/DCS-gRPC/go-bindings/dcs/v0/controller\xaa\x02#RurouniJones.Dcs.Grpc.V0.Controllerb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -21,12 +22,18 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z1github.com/DCS-gRPC/go-bindings/dcs/v0/controller\252\002#RurouniJones.Dcs.Grpc.V0.Controller' - _globals['_SETALARMSTATEREQUEST']._serialized_start=58 - _globals['_SETALARMSTATEREQUEST']._serialized_end=313 - _globals['_SETALARMSTATEREQUEST_ALARMSTATE']._serialized_start=198 - _globals['_SETALARMSTATEREQUEST_ALARMSTATE']._serialized_end=305 - _globals['_SETALARMSTATERESPONSE']._serialized_start=315 - _globals['_SETALARMSTATERESPONSE']._serialized_end=338 - _globals['_CONTROLLERSERVICE']._serialized_start=340 - _globals['_CONTROLLERSERVICE']._serialized_end=461 + _globals['_SETALARMSTATEREQUEST']._serialized_start=86 + _globals['_SETALARMSTATEREQUEST']._serialized_end=341 + _globals['_SETALARMSTATEREQUEST_ALARMSTATE']._serialized_start=226 + _globals['_SETALARMSTATEREQUEST_ALARMSTATE']._serialized_end=333 + _globals['_SETALARMSTATERESPONSE']._serialized_start=343 + _globals['_SETALARMSTATERESPONSE']._serialized_end=366 + _globals['_GETDETECTEDTARGETSREQUEST']._serialized_start=369 + _globals['_GETDETECTEDTARGETSREQUEST']._serialized_end=775 + _globals['_GETDETECTEDTARGETSREQUEST_DETECTIONTYPE']._serialized_start=536 + _globals['_GETDETECTEDTARGETSREQUEST_DETECTIONTYPE']._serialized_end=737 + _globals['_GETDETECTEDTARGETSRESPONSE']._serialized_start=777 + _globals['_GETDETECTEDTARGETSRESPONSE']._serialized_end=847 + _globals['_CONTROLLERSERVICE']._serialized_start=850 + _globals['_CONTROLLERSERVICE']._serialized_end=1088 # @@protoc_insertion_point(module_scope) diff --git a/dcs/controller/v0/controller_pb2.pyi b/dcs/controller/v0/controller_pb2.pyi index 7ab0644..cddf007 100644 --- a/dcs/controller/v0/controller_pb2.pyi +++ b/dcs/controller/v0/controller_pb2.pyi @@ -1,7 +1,9 @@ +from dcs.common.v0 import common_pb2 as _common_pb2 +from google.protobuf.internal import containers as _containers from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message -from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union DESCRIPTOR: _descriptor.FileDescriptor @@ -28,3 +30,35 @@ class SetAlarmStateRequest(_message.Message): class SetAlarmStateResponse(_message.Message): __slots__ = [] def __init__(self) -> None: ... + +class GetDetectedTargetsRequest(_message.Message): + __slots__ = ["unit_name", "include_object", "detection_type"] + class DetectionType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + DETECTION_TYPE_UNSPECIFIED: _ClassVar[GetDetectedTargetsRequest.DetectionType] + DETECTION_TYPE_VISUAL: _ClassVar[GetDetectedTargetsRequest.DetectionType] + DETECTION_TYPE_OPTIC: _ClassVar[GetDetectedTargetsRequest.DetectionType] + DETECTION_TYPE_RADAR: _ClassVar[GetDetectedTargetsRequest.DetectionType] + DETECTION_TYPE_IRST: _ClassVar[GetDetectedTargetsRequest.DetectionType] + DETECTION_TYPE_RWR: _ClassVar[GetDetectedTargetsRequest.DetectionType] + DETECTION_TYPE_DLINK: _ClassVar[GetDetectedTargetsRequest.DetectionType] + DETECTION_TYPE_UNSPECIFIED: GetDetectedTargetsRequest.DetectionType + DETECTION_TYPE_VISUAL: GetDetectedTargetsRequest.DetectionType + DETECTION_TYPE_OPTIC: GetDetectedTargetsRequest.DetectionType + DETECTION_TYPE_RADAR: GetDetectedTargetsRequest.DetectionType + DETECTION_TYPE_IRST: GetDetectedTargetsRequest.DetectionType + DETECTION_TYPE_RWR: GetDetectedTargetsRequest.DetectionType + DETECTION_TYPE_DLINK: GetDetectedTargetsRequest.DetectionType + UNIT_NAME_FIELD_NUMBER: _ClassVar[int] + INCLUDE_OBJECT_FIELD_NUMBER: _ClassVar[int] + DETECTION_TYPE_FIELD_NUMBER: _ClassVar[int] + unit_name: str + include_object: bool + detection_type: GetDetectedTargetsRequest.DetectionType + def __init__(self, unit_name: _Optional[str] = ..., include_object: bool = ..., detection_type: _Optional[_Union[GetDetectedTargetsRequest.DetectionType, str]] = ...) -> None: ... + +class GetDetectedTargetsResponse(_message.Message): + __slots__ = ["contacts"] + CONTACTS_FIELD_NUMBER: _ClassVar[int] + contacts: _containers.RepeatedCompositeFieldContainer[_common_pb2.Contact] + def __init__(self, contacts: _Optional[_Iterable[_Union[_common_pb2.Contact, _Mapping]]] = ...) -> None: ... diff --git a/dcs/controller/v0/controller_pb2_grpc.py b/dcs/controller/v0/controller_pb2_grpc.py index 4eee2e9..d117d20 100644 --- a/dcs/controller/v0/controller_pb2_grpc.py +++ b/dcs/controller/v0/controller_pb2_grpc.py @@ -19,6 +19,11 @@ def __init__(self, channel): request_serializer=dcs_dot_controller_dot_v0_dot_controller__pb2.SetAlarmStateRequest.SerializeToString, response_deserializer=dcs_dot_controller_dot_v0_dot_controller__pb2.SetAlarmStateResponse.FromString, ) + self.GetDetectedTargets = channel.unary_unary( + '/dcs.controller.v0.ControllerService/GetDetectedTargets', + request_serializer=dcs_dot_controller_dot_v0_dot_controller__pb2.GetDetectedTargetsRequest.SerializeToString, + response_deserializer=dcs_dot_controller_dot_v0_dot_controller__pb2.GetDetectedTargetsResponse.FromString, + ) class ControllerServiceServicer(object): @@ -31,6 +36,13 @@ def SetAlarmState(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def GetDetectedTargets(self, request, context): + """https://wiki.hoggitworld.com/view/DCS_func_getDetectedTargets + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_ControllerServiceServicer_to_server(servicer, server): rpc_method_handlers = { @@ -39,6 +51,11 @@ def add_ControllerServiceServicer_to_server(servicer, server): request_deserializer=dcs_dot_controller_dot_v0_dot_controller__pb2.SetAlarmStateRequest.FromString, response_serializer=dcs_dot_controller_dot_v0_dot_controller__pb2.SetAlarmStateResponse.SerializeToString, ), + 'GetDetectedTargets': grpc.unary_unary_rpc_method_handler( + servicer.GetDetectedTargets, + request_deserializer=dcs_dot_controller_dot_v0_dot_controller__pb2.GetDetectedTargetsRequest.FromString, + response_serializer=dcs_dot_controller_dot_v0_dot_controller__pb2.GetDetectedTargetsResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'dcs.controller.v0.ControllerService', rpc_method_handlers) @@ -65,3 +82,20 @@ def SetAlarmState(request, dcs_dot_controller_dot_v0_dot_controller__pb2.SetAlarmStateResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetDetectedTargets(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dcs.controller.v0.ControllerService/GetDetectedTargets', + dcs_dot_controller_dot_v0_dot_controller__pb2.GetDetectedTargetsRequest.SerializeToString, + dcs_dot_controller_dot_v0_dot_controller__pb2.GetDetectedTargetsResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/dcs/dcs_pb2.py b/dcs/dcs_pb2.py index 8ad38a4..a90cb0b 100644 --- a/dcs/dcs_pb2.py +++ b/dcs/dcs_pb2.py @@ -22,11 +22,12 @@ from dcs.net.v0 import net_pb2 as dcs_dot_net_dot_v0_dot_net__pb2 from dcs.timer.v0 import timer_pb2 as dcs_dot_timer_dot_v0_dot_timer__pb2 from dcs.trigger.v0 import trigger_pb2 as dcs_dot_trigger_dot_v0_dot_trigger__pb2 +from dcs.tts.v0 import tts_pb2 as dcs_dot_tts_dot_v0_dot_tts__pb2 from dcs.unit.v0 import unit_pb2 as dcs_dot_unit_dot_v0_dot_unit__pb2 from dcs.world.v0 import world_pb2 as dcs_dot_world_dot_v0_dot_world__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rdcs/dcs.proto\x12\x03\x64\x63s\x1a\"dcs/atmosphere/v0/atmosphere.proto\x1a dcs/coalition/v0/coalition.proto\x1a\x1a\x64\x63s/common/v0/common.proto\x1a\"dcs/controller/v0/controller.proto\x1a\x1a\x64\x63s/custom/v0/custom.proto\x1a\x18\x64\x63s/group/v0/group.proto\x1a\x16\x64\x63s/hook/v0/hook.proto\x1a\x1c\x64\x63s/mission/v0/mission.proto\x1a\x14\x64\x63s/net/v0/net.proto\x1a\x18\x64\x63s/timer/v0/timer.proto\x1a\x1c\x64\x63s/trigger/v0/trigger.proto\x1a\x16\x64\x63s/unit/v0/unit.proto\x1a\x18\x64\x63s/world/v0/world.protob\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\rdcs/dcs.proto\x12\x03\x64\x63s\x1a\"dcs/atmosphere/v0/atmosphere.proto\x1a dcs/coalition/v0/coalition.proto\x1a\x1a\x64\x63s/common/v0/common.proto\x1a\"dcs/controller/v0/controller.proto\x1a\x1a\x64\x63s/custom/v0/custom.proto\x1a\x18\x64\x63s/group/v0/group.proto\x1a\x16\x64\x63s/hook/v0/hook.proto\x1a\x1c\x64\x63s/mission/v0/mission.proto\x1a\x14\x64\x63s/net/v0/net.proto\x1a\x18\x64\x63s/timer/v0/timer.proto\x1a\x1c\x64\x63s/trigger/v0/trigger.proto\x1a\x14\x64\x63s/tts/v0/tts.proto\x1a\x16\x64\x63s/unit/v0/unit.proto\x1a\x18\x64\x63s/world/v0/world.protob\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) diff --git a/dcs/dcs_pb2.pyi b/dcs/dcs_pb2.pyi index b49e07d..490d4aa 100644 --- a/dcs/dcs_pb2.pyi +++ b/dcs/dcs_pb2.pyi @@ -9,6 +9,7 @@ from dcs.mission.v0 import mission_pb2 as _mission_pb2 from dcs.net.v0 import net_pb2 as _net_pb2 from dcs.timer.v0 import timer_pb2 as _timer_pb2 from dcs.trigger.v0 import trigger_pb2 as _trigger_pb2 +from dcs.tts.v0 import tts_pb2 as _tts_pb2 from dcs.unit.v0 import unit_pb2 as _unit_pb2 from dcs.world.v0 import world_pb2 as _world_pb2 from google.protobuf import descriptor as _descriptor diff --git a/dcs/hook/v0/hook_pb2.py b/dcs/hook/v0/hook_pb2.py index c18fe85..86800e2 100644 --- a/dcs/hook/v0/hook_pb2.py +++ b/dcs/hook/v0/hook_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16\x64\x63s/hook/v0/hook.proto\x12\x0b\x64\x63s.hook.v0\"\x17\n\x15GetMissionNameRequest\"&\n\x16GetMissionNameResponse\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1b\n\x19GetMissionFilenameRequest\"*\n\x1aGetMissionFilenameResponse\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1e\n\x1cGetMissionDescriptionRequest\"4\n\x1dGetMissionDescriptionResponse\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\"\x12\n\x10GetPausedRequest\"#\n\x11GetPausedResponse\x12\x0e\n\x06paused\x18\x01 \x01(\x08\"\"\n\x10SetPausedRequest\x12\x0e\n\x06paused\x18\x01 \x01(\x08\"\x13\n\x11SetPausedResponse\"\x1d\n\x1bReloadCurrentMissionRequest\"\x1e\n\x1cReloadCurrentMissionResponse\"\x18\n\x16LoadNextMissionRequest\")\n\x17LoadNextMissionResponse\x12\x0e\n\x06loaded\x18\x01 \x01(\x08\"\'\n\x12LoadMissionRequest\x12\x11\n\tfile_name\x18\x01 \x01(\t\"\x15\n\x13LoadMissionResponse\"\x14\n\x12StopMissionRequest\"\x15\n\x13StopMissionResponse\"\x1a\n\x0b\x45valRequest\x12\x0b\n\x03lua\x18\x01 \x01(\t\"\x1c\n\x0c\x45valResponse\x12\x0c\n\x04json\x18\x01 \x01(\t\"\x14\n\x12\x45xitProcessRequest\"\x15\n\x13\x45xitProcessResponse\"\x16\n\x14IsMultiplayerRequest\",\n\x15IsMultiplayerResponse\x12\x13\n\x0bmultiplayer\x18\x01 \x01(\x08\"\x11\n\x0fIsServerRequest\"\"\n\x10IsServerResponse\x12\x0e\n\x06server\x18\x01 \x01(\x08\">\n\x10\x42\x61nPlayerRequest\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0e\n\x06period\x18\x02 \x01(\r\x12\x0e\n\x06reason\x18\x03 \x01(\t\"#\n\x11\x42\x61nPlayerResponse\x12\x0e\n\x06\x62\x61nned\x18\x01 \x01(\x08\"\"\n\x12UnbanPlayerRequest\x12\x0c\n\x04ucid\x18\x01 \x01(\t\"\'\n\x13UnbanPlayerResponse\x12\x10\n\x08unbanned\x18\x01 \x01(\x08\"\x19\n\x17GetBannedPlayersRequest\"A\n\x18GetBannedPlayersResponse\x12%\n\x04\x62\x61ns\x18\x01 \x03(\x0b\x32\x17.dcs.hook.v0.BanDetails\"~\n\nBanDetails\x12\x0c\n\x04ucid\x18\x01 \x01(\t\x12\x12\n\nip_address\x18\x02 \x01(\t\x12\x13\n\x0bplayer_name\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12\x13\n\x0b\x62\x61nned_from\x18\x05 \x01(\x04\x12\x14\n\x0c\x62\x61nned_until\x18\x06 \x01(\x04\" \n\x12GetUnitTypeRequest\x12\n\n\x02id\x18\x01 \x01(\t\"#\n\x13GetUnitTypeResponse\x12\x0c\n\x04type\x18\x01 \x01(\t2\xe9\x0b\n\x0bHookService\x12[\n\x0eGetMissionName\x12\".dcs.hook.v0.GetMissionNameRequest\x1a#.dcs.hook.v0.GetMissionNameResponse\"\x00\x12g\n\x12GetMissionFilename\x12&.dcs.hook.v0.GetMissionFilenameRequest\x1a\'.dcs.hook.v0.GetMissionFilenameResponse\"\x00\x12p\n\x15GetMissionDescription\x12).dcs.hook.v0.GetMissionDescriptionRequest\x1a*.dcs.hook.v0.GetMissionDescriptionResponse\"\x00\x12L\n\tGetPaused\x12\x1d.dcs.hook.v0.GetPausedRequest\x1a\x1e.dcs.hook.v0.GetPausedResponse\"\x00\x12L\n\tSetPaused\x12\x1d.dcs.hook.v0.SetPausedRequest\x1a\x1e.dcs.hook.v0.SetPausedResponse\"\x00\x12R\n\x0bStopMission\x12\x1f.dcs.hook.v0.StopMissionRequest\x1a .dcs.hook.v0.StopMissionResponse\"\x00\x12m\n\x14ReloadCurrentMission\x12(.dcs.hook.v0.ReloadCurrentMissionRequest\x1a).dcs.hook.v0.ReloadCurrentMissionResponse\"\x00\x12^\n\x0fLoadNextMission\x12#.dcs.hook.v0.LoadNextMissionRequest\x1a$.dcs.hook.v0.LoadNextMissionResponse\"\x00\x12R\n\x0bLoadMission\x12\x1f.dcs.hook.v0.LoadMissionRequest\x1a .dcs.hook.v0.LoadMissionResponse\"\x00\x12=\n\x04\x45val\x12\x18.dcs.hook.v0.EvalRequest\x1a\x19.dcs.hook.v0.EvalResponse\"\x00\x12R\n\x0b\x45xitProcess\x12\x1f.dcs.hook.v0.ExitProcessRequest\x1a .dcs.hook.v0.ExitProcessResponse\"\x00\x12X\n\rIsMultiplayer\x12!.dcs.hook.v0.IsMultiplayerRequest\x1a\".dcs.hook.v0.IsMultiplayerResponse\"\x00\x12I\n\x08IsServer\x12\x1c.dcs.hook.v0.IsServerRequest\x1a\x1d.dcs.hook.v0.IsServerResponse\"\x00\x12L\n\tBanPlayer\x12\x1d.dcs.hook.v0.BanPlayerRequest\x1a\x1e.dcs.hook.v0.BanPlayerResponse\"\x00\x12R\n\x0bUnbanPlayer\x12\x1f.dcs.hook.v0.UnbanPlayerRequest\x1a .dcs.hook.v0.UnbanPlayerResponse\"\x00\x12\x61\n\x10GetBannedPlayers\x12$.dcs.hook.v0.GetBannedPlayersRequest\x1a%.dcs.hook.v0.GetBannedPlayersResponse\"\x00\x12R\n\x0bGetUnitType\x12\x1f.dcs.hook.v0.GetUnitTypeRequest\x1a .dcs.hook.v0.GetUnitTypeResponse\"\x00\x42MZ+github.com/DCS-gRPC/go-bindings/dcs/v0/hook\xaa\x02\x1dRurouniJones.Dcs.Grpc.V0.Hookb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16\x64\x63s/hook/v0/hook.proto\x12\x0b\x64\x63s.hook.v0\"\x17\n\x15GetMissionNameRequest\"&\n\x16GetMissionNameResponse\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1b\n\x19GetMissionFilenameRequest\"*\n\x1aGetMissionFilenameResponse\x12\x0c\n\x04name\x18\x01 \x01(\t\"\x1e\n\x1cGetMissionDescriptionRequest\"4\n\x1dGetMissionDescriptionResponse\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\"\x12\n\x10GetPausedRequest\"#\n\x11GetPausedResponse\x12\x0e\n\x06paused\x18\x01 \x01(\x08\"\"\n\x10SetPausedRequest\x12\x0e\n\x06paused\x18\x01 \x01(\x08\"\x13\n\x11SetPausedResponse\"\x1d\n\x1bReloadCurrentMissionRequest\"\x1e\n\x1cReloadCurrentMissionResponse\"\x18\n\x16LoadNextMissionRequest\")\n\x17LoadNextMissionResponse\x12\x0e\n\x06loaded\x18\x01 \x01(\x08\"\'\n\x12LoadMissionRequest\x12\x11\n\tfile_name\x18\x01 \x01(\t\"\x15\n\x13LoadMissionResponse\"\x14\n\x12StopMissionRequest\"\x15\n\x13StopMissionResponse\"\x1a\n\x0b\x45valRequest\x12\x0b\n\x03lua\x18\x01 \x01(\t\"\x1c\n\x0c\x45valResponse\x12\x0c\n\x04json\x18\x01 \x01(\t\"\x14\n\x12\x45xitProcessRequest\"\x15\n\x13\x45xitProcessResponse\"\x16\n\x14IsMultiplayerRequest\",\n\x15IsMultiplayerResponse\x12\x13\n\x0bmultiplayer\x18\x01 \x01(\x08\"\x11\n\x0fIsServerRequest\"\"\n\x10IsServerResponse\x12\x0e\n\x06server\x18\x01 \x01(\x08\">\n\x10\x42\x61nPlayerRequest\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0e\n\x06period\x18\x02 \x01(\r\x12\x0e\n\x06reason\x18\x03 \x01(\t\"#\n\x11\x42\x61nPlayerResponse\x12\x0e\n\x06\x62\x61nned\x18\x01 \x01(\x08\"\"\n\x12UnbanPlayerRequest\x12\x0c\n\x04ucid\x18\x01 \x01(\t\"\'\n\x13UnbanPlayerResponse\x12\x10\n\x08unbanned\x18\x01 \x01(\x08\"\x19\n\x17GetBannedPlayersRequest\"A\n\x18GetBannedPlayersResponse\x12%\n\x04\x62\x61ns\x18\x01 \x03(\x0b\x32\x17.dcs.hook.v0.BanDetails\"~\n\nBanDetails\x12\x0c\n\x04ucid\x18\x01 \x01(\t\x12\x12\n\nip_address\x18\x02 \x01(\t\x12\x13\n\x0bplayer_name\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12\x13\n\x0b\x62\x61nned_from\x18\x05 \x01(\x04\x12\x14\n\x0c\x62\x61nned_until\x18\x06 \x01(\x04\" \n\x12GetUnitTypeRequest\x12\n\n\x02id\x18\x01 \x01(\t\"#\n\x13GetUnitTypeResponse\x12\x0c\n\x04type\x18\x01 \x01(\t\"\x14\n\x12GetRealTimeRequest\"#\n\x13GetRealTimeResponse\x12\x0c\n\x04time\x18\x01 \x01(\x01\"\x1b\n\x19GetBallisticsCountRequest\"+\n\x1aGetBallisticsCountResponse\x12\r\n\x05\x63ount\x18\x01 \x01(\r2\xa6\r\n\x0bHookService\x12[\n\x0eGetMissionName\x12\".dcs.hook.v0.GetMissionNameRequest\x1a#.dcs.hook.v0.GetMissionNameResponse\"\x00\x12g\n\x12GetMissionFilename\x12&.dcs.hook.v0.GetMissionFilenameRequest\x1a\'.dcs.hook.v0.GetMissionFilenameResponse\"\x00\x12p\n\x15GetMissionDescription\x12).dcs.hook.v0.GetMissionDescriptionRequest\x1a*.dcs.hook.v0.GetMissionDescriptionResponse\"\x00\x12L\n\tGetPaused\x12\x1d.dcs.hook.v0.GetPausedRequest\x1a\x1e.dcs.hook.v0.GetPausedResponse\"\x00\x12L\n\tSetPaused\x12\x1d.dcs.hook.v0.SetPausedRequest\x1a\x1e.dcs.hook.v0.SetPausedResponse\"\x00\x12R\n\x0bStopMission\x12\x1f.dcs.hook.v0.StopMissionRequest\x1a .dcs.hook.v0.StopMissionResponse\"\x00\x12m\n\x14ReloadCurrentMission\x12(.dcs.hook.v0.ReloadCurrentMissionRequest\x1a).dcs.hook.v0.ReloadCurrentMissionResponse\"\x00\x12^\n\x0fLoadNextMission\x12#.dcs.hook.v0.LoadNextMissionRequest\x1a$.dcs.hook.v0.LoadNextMissionResponse\"\x00\x12R\n\x0bLoadMission\x12\x1f.dcs.hook.v0.LoadMissionRequest\x1a .dcs.hook.v0.LoadMissionResponse\"\x00\x12=\n\x04\x45val\x12\x18.dcs.hook.v0.EvalRequest\x1a\x19.dcs.hook.v0.EvalResponse\"\x00\x12R\n\x0b\x45xitProcess\x12\x1f.dcs.hook.v0.ExitProcessRequest\x1a .dcs.hook.v0.ExitProcessResponse\"\x00\x12X\n\rIsMultiplayer\x12!.dcs.hook.v0.IsMultiplayerRequest\x1a\".dcs.hook.v0.IsMultiplayerResponse\"\x00\x12I\n\x08IsServer\x12\x1c.dcs.hook.v0.IsServerRequest\x1a\x1d.dcs.hook.v0.IsServerResponse\"\x00\x12L\n\tBanPlayer\x12\x1d.dcs.hook.v0.BanPlayerRequest\x1a\x1e.dcs.hook.v0.BanPlayerResponse\"\x00\x12R\n\x0bUnbanPlayer\x12\x1f.dcs.hook.v0.UnbanPlayerRequest\x1a .dcs.hook.v0.UnbanPlayerResponse\"\x00\x12\x61\n\x10GetBannedPlayers\x12$.dcs.hook.v0.GetBannedPlayersRequest\x1a%.dcs.hook.v0.GetBannedPlayersResponse\"\x00\x12R\n\x0bGetUnitType\x12\x1f.dcs.hook.v0.GetUnitTypeRequest\x1a .dcs.hook.v0.GetUnitTypeResponse\"\x00\x12R\n\x0bGetRealTime\x12\x1f.dcs.hook.v0.GetRealTimeRequest\x1a .dcs.hook.v0.GetRealTimeResponse\"\x00\x12g\n\x12GetBallisticsCount\x12&.dcs.hook.v0.GetBallisticsCountRequest\x1a\'.dcs.hook.v0.GetBallisticsCountResponse\"\x00\x42MZ+github.com/DCS-gRPC/go-bindings/dcs/v0/hook\xaa\x02\x1dRurouniJones.Dcs.Grpc.V0.Hookb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -91,6 +91,14 @@ _globals['_GETUNITTYPEREQUEST']._serialized_end=1278 _globals['_GETUNITTYPERESPONSE']._serialized_start=1280 _globals['_GETUNITTYPERESPONSE']._serialized_end=1315 - _globals['_HOOKSERVICE']._serialized_start=1318 - _globals['_HOOKSERVICE']._serialized_end=2831 + _globals['_GETREALTIMEREQUEST']._serialized_start=1317 + _globals['_GETREALTIMEREQUEST']._serialized_end=1337 + _globals['_GETREALTIMERESPONSE']._serialized_start=1339 + _globals['_GETREALTIMERESPONSE']._serialized_end=1374 + _globals['_GETBALLISTICSCOUNTREQUEST']._serialized_start=1376 + _globals['_GETBALLISTICSCOUNTREQUEST']._serialized_end=1403 + _globals['_GETBALLISTICSCOUNTRESPONSE']._serialized_start=1405 + _globals['_GETBALLISTICSCOUNTRESPONSE']._serialized_end=1448 + _globals['_HOOKSERVICE']._serialized_start=1451 + _globals['_HOOKSERVICE']._serialized_end=3153 # @@protoc_insertion_point(module_scope) diff --git a/dcs/hook/v0/hook_pb2.pyi b/dcs/hook/v0/hook_pb2.pyi index 97b3806..0abdb1d 100644 --- a/dcs/hook/v0/hook_pb2.pyi +++ b/dcs/hook/v0/hook_pb2.pyi @@ -196,3 +196,23 @@ class GetUnitTypeResponse(_message.Message): TYPE_FIELD_NUMBER: _ClassVar[int] type: str def __init__(self, type: _Optional[str] = ...) -> None: ... + +class GetRealTimeRequest(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + +class GetRealTimeResponse(_message.Message): + __slots__ = ["time"] + TIME_FIELD_NUMBER: _ClassVar[int] + time: float + def __init__(self, time: _Optional[float] = ...) -> None: ... + +class GetBallisticsCountRequest(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + +class GetBallisticsCountResponse(_message.Message): + __slots__ = ["count"] + COUNT_FIELD_NUMBER: _ClassVar[int] + count: int + def __init__(self, count: _Optional[int] = ...) -> None: ... diff --git a/dcs/hook/v0/hook_pb2_grpc.py b/dcs/hook/v0/hook_pb2_grpc.py index d16e318..e38a58d 100644 --- a/dcs/hook/v0/hook_pb2_grpc.py +++ b/dcs/hook/v0/hook_pb2_grpc.py @@ -100,6 +100,16 @@ def __init__(self, channel): request_serializer=dcs_dot_hook_dot_v0_dot_hook__pb2.GetUnitTypeRequest.SerializeToString, response_deserializer=dcs_dot_hook_dot_v0_dot_hook__pb2.GetUnitTypeResponse.FromString, ) + self.GetRealTime = channel.unary_unary( + '/dcs.hook.v0.HookService/GetRealTime', + request_serializer=dcs_dot_hook_dot_v0_dot_hook__pb2.GetRealTimeRequest.SerializeToString, + response_deserializer=dcs_dot_hook_dot_v0_dot_hook__pb2.GetRealTimeResponse.FromString, + ) + self.GetBallisticsCount = channel.unary_unary( + '/dcs.hook.v0.HookService/GetBallisticsCount', + request_serializer=dcs_dot_hook_dot_v0_dot_hook__pb2.GetBallisticsCountRequest.SerializeToString, + response_deserializer=dcs_dot_hook_dot_v0_dot_hook__pb2.GetBallisticsCountResponse.FromString, + ) class HookServiceServicer(object): @@ -229,6 +239,20 @@ def GetUnitType(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def GetRealTime(self, request, context): + """https://wiki.hoggitworld.com/view/DCS_func_getRealTime + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetBallisticsCount(self, request, context): + """Get a count of ballistics objects + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_HookServiceServicer_to_server(servicer, server): rpc_method_handlers = { @@ -317,6 +341,16 @@ def add_HookServiceServicer_to_server(servicer, server): request_deserializer=dcs_dot_hook_dot_v0_dot_hook__pb2.GetUnitTypeRequest.FromString, response_serializer=dcs_dot_hook_dot_v0_dot_hook__pb2.GetUnitTypeResponse.SerializeToString, ), + 'GetRealTime': grpc.unary_unary_rpc_method_handler( + servicer.GetRealTime, + request_deserializer=dcs_dot_hook_dot_v0_dot_hook__pb2.GetRealTimeRequest.FromString, + response_serializer=dcs_dot_hook_dot_v0_dot_hook__pb2.GetRealTimeResponse.SerializeToString, + ), + 'GetBallisticsCount': grpc.unary_unary_rpc_method_handler( + servicer.GetBallisticsCount, + request_deserializer=dcs_dot_hook_dot_v0_dot_hook__pb2.GetBallisticsCountRequest.FromString, + response_serializer=dcs_dot_hook_dot_v0_dot_hook__pb2.GetBallisticsCountResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'dcs.hook.v0.HookService', rpc_method_handlers) @@ -616,3 +650,37 @@ def GetUnitType(request, dcs_dot_hook_dot_v0_dot_hook__pb2.GetUnitTypeResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetRealTime(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dcs.hook.v0.HookService/GetRealTime', + dcs_dot_hook_dot_v0_dot_hook__pb2.GetRealTimeRequest.SerializeToString, + dcs_dot_hook_dot_v0_dot_hook__pb2.GetRealTimeResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetBallisticsCount(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dcs.hook.v0.HookService/GetBallisticsCount', + dcs_dot_hook_dot_v0_dot_hook__pb2.GetBallisticsCountRequest.SerializeToString, + dcs_dot_hook_dot_v0_dot_hook__pb2.GetBallisticsCountResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/dcs/mission/v0/mission_pb2.py b/dcs/mission/v0/mission_pb2.py index 3b60ac2..386e96f 100644 --- a/dcs/mission/v0/mission_pb2.py +++ b/dcs/mission/v0/mission_pb2.py @@ -15,7 +15,7 @@ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x64\x63s/mission/v0/mission.proto\x12\x0e\x64\x63s.mission.v0\x1a\x1a\x64\x63s/common/v0/common.proto\x1a\x1cgoogle/protobuf/struct.proto\"\x15\n\x13StreamEventsRequest\"\xdf\x39\n\x14StreamEventsResponse\x12\x0c\n\x04time\x18\x01 \x01(\x01\x12>\n\x04shot\x18\x04 \x01(\x0b\x32..dcs.mission.v0.StreamEventsResponse.ShotEventH\x00\x12<\n\x03hit\x18\x05 \x01(\x0b\x32-.dcs.mission.v0.StreamEventsResponse.HitEventH\x00\x12\x44\n\x07takeoff\x18\x06 \x01(\x0b\x32\x31.dcs.mission.v0.StreamEventsResponse.TakeoffEventH\x00\x12>\n\x04land\x18\x07 \x01(\x0b\x32..dcs.mission.v0.StreamEventsResponse.LandEventH\x00\x12@\n\x05\x63rash\x18\x08 \x01(\x0b\x32/.dcs.mission.v0.StreamEventsResponse.CrashEventH\x00\x12\x46\n\x08\x65jection\x18\t \x01(\x0b\x32\x32.dcs.mission.v0.StreamEventsResponse.EjectionEventH\x00\x12H\n\trefueling\x18\n \x01(\x0b\x32\x33.dcs.mission.v0.StreamEventsResponse.RefuelingEventH\x00\x12>\n\x04\x64\x65\x61\x64\x18\x0b \x01(\x0b\x32..dcs.mission.v0.StreamEventsResponse.DeadEventH\x00\x12I\n\npilot_dead\x18\x0c \x01(\x0b\x32\x33.dcs.mission.v0.StreamEventsResponse.PilotDeadEventH\x00\x12M\n\x0c\x62\x61se_capture\x18\r \x01(\x0b\x32\x35.dcs.mission.v0.StreamEventsResponse.BaseCaptureEventH\x00\x12O\n\rmission_start\x18\x0e \x01(\x0b\x32\x36.dcs.mission.v0.StreamEventsResponse.MissionStartEventH\x00\x12K\n\x0bmission_end\x18\x0f \x01(\x0b\x32\x34.dcs.mission.v0.StreamEventsResponse.MissionEndEventH\x00\x12Q\n\x0erefueling_stop\x18\x11 \x01(\x0b\x32\x37.dcs.mission.v0.StreamEventsResponse.RefuelingStopEventH\x00\x12@\n\x05\x62irth\x18\x12 \x01(\x0b\x32/.dcs.mission.v0.StreamEventsResponse.BirthEventH\x00\x12O\n\rhuman_failure\x18\x13 \x01(\x0b\x32\x36.dcs.mission.v0.StreamEventsResponse.HumanFailureEventH\x00\x12U\n\x10\x64\x65tailed_failure\x18\x14 \x01(\x0b\x32\x39.dcs.mission.v0.StreamEventsResponse.DetailedFailureEventH\x00\x12Q\n\x0e\x65ngine_startup\x18\x15 \x01(\x0b\x32\x37.dcs.mission.v0.StreamEventsResponse.EngineStartupEventH\x00\x12S\n\x0f\x65ngine_shutdown\x18\x16 \x01(\x0b\x32\x38.dcs.mission.v0.StreamEventsResponse.EngineShutdownEventH\x00\x12V\n\x11player_enter_unit\x18\x17 \x01(\x0b\x32\x39.dcs.mission.v0.StreamEventsResponse.PlayerEnterUnitEventH\x00\x12V\n\x11player_leave_unit\x18\x18 \x01(\x0b\x32\x39.dcs.mission.v0.StreamEventsResponse.PlayerLeaveUnitEventH\x00\x12Q\n\x0eshooting_start\x18\x1a \x01(\x0b\x32\x37.dcs.mission.v0.StreamEventsResponse.ShootingStartEventH\x00\x12M\n\x0cshooting_end\x18\x1b \x01(\x0b\x32\x35.dcs.mission.v0.StreamEventsResponse.ShootingEndEventH\x00\x12\x45\n\x08mark_add\x18\x1c \x01(\x0b\x32\x31.dcs.mission.v0.StreamEventsResponse.MarkAddEventH\x00\x12K\n\x0bmark_change\x18\x1d \x01(\x0b\x32\x34.dcs.mission.v0.StreamEventsResponse.MarkChangeEventH\x00\x12K\n\x0bmark_remove\x18\x1e \x01(\x0b\x32\x34.dcs.mission.v0.StreamEventsResponse.MarkRemoveEventH\x00\x12>\n\x04kill\x18\x1f \x01(\x0b\x32..dcs.mission.v0.StreamEventsResponse.KillEventH\x00\x12@\n\x05score\x18 \x01(\x0b\x32/.dcs.mission.v0.StreamEventsResponse.ScoreEventH\x00\x12G\n\tunit_lost\x18! \x01(\x0b\x32\x32.dcs.mission.v0.StreamEventsResponse.UnitLostEventH\x00\x12`\n\x16landing_after_ejection\x18\" \x01(\x0b\x32>.dcs.mission.v0.StreamEventsResponse.LandingAfterEjectionEventH\x00\x12k\n\x1c\x64iscard_chair_after_ejection\x18$ \x01(\x0b\x32\x43.dcs.mission.v0.StreamEventsResponse.DiscardChairAfterEjectionEventH\x00\x12I\n\nweapon_add\x18% \x01(\x0b\x32\x33.dcs.mission.v0.StreamEventsResponse.WeaponAddEventH\x00\x12\\\n\x14landing_quality_mark\x18\' \x01(\x0b\x32<.dcs.mission.v0.StreamEventsResponse.LandingQualityMarkEventH\x00\x12\x45\n\x07\x63onnect\x18\x80@ \x01(\x0b\x32\x31.dcs.mission.v0.StreamEventsResponse.ConnectEventH\x00\x12K\n\ndisconnect\x18\x81@ \x01(\x0b\x32\x34.dcs.mission.v0.StreamEventsResponse.DisconnectEventH\x00\x12U\n\x10player_send_chat\x18\x82@ \x01(\x0b\x32\x38.dcs.mission.v0.StreamEventsResponse.PlayerSendChatEventH\x00\x12Y\n\x12player_change_slot\x18\x83@ \x01(\x0b\x32:.dcs.mission.v0.StreamEventsResponse.PlayerChangeSlotEventH\x00\x12T\n\x0fmission_command\x18\x84@ \x01(\x0b\x32\x38.dcs.mission.v0.StreamEventsResponse.MissionCommandEventH\x00\x12X\n\x11\x63oalition_command\x18\x85@ \x01(\x0b\x32:.dcs.mission.v0.StreamEventsResponse.CoalitionCommandEventH\x00\x12P\n\rgroup_command\x18\x86@ \x01(\x0b\x32\x36.dcs.mission.v0.StreamEventsResponse.GroupCommandEventH\x00\x1a_\n\tShotEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12%\n\x06weapon\x18\x02 \x01(\x0b\x32\x15.dcs.common.v0.Weapon\x1a\xc2\x01\n\x08HitEvent\x12\x30\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.InitiatorH\x00\x88\x01\x01\x12%\n\x06weapon\x18\x02 \x01(\x0b\x32\x15.dcs.common.v0.Weapon\x12%\n\x06target\x18\x03 \x01(\x0b\x32\x15.dcs.common.v0.Target\x12\x18\n\x0bweapon_name\x18\x04 \x01(\tH\x01\x88\x01\x01\x42\x0c\n\n_initiatorB\x0e\n\x0c_weapon_name\x1a\x62\n\x0cTakeoffEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12%\n\x05place\x18\x02 \x01(\x0b\x32\x16.dcs.common.v0.Airbase\x1a_\n\tLandEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12%\n\x05place\x18\x02 \x01(\x0b\x32\x16.dcs.common.v0.Airbase\x1a\x39\n\nCrashEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x1a\x63\n\rEjectionEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12%\n\x06target\x18\x03 \x01(\x0b\x32\x15.dcs.common.v0.Target\x1a=\n\x0eRefuelingEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x1a\x38\n\tDeadEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x1a=\n\x0ePilotDeadEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x1a\x66\n\x10\x42\x61seCaptureEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12%\n\x05place\x18\x02 \x01(\x0b\x32\x16.dcs.common.v0.Airbase\x1a\x13\n\x11MissionStartEvent\x1a\x11\n\x0fMissionEndEvent\x1a\x41\n\x12RefuelingStopEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x1ao\n\nBirthEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12*\n\x05place\x18\x02 \x01(\x0b\x32\x16.dcs.common.v0.AirbaseH\x00\x88\x01\x01\x42\x08\n\x06_place\x1a@\n\x11HumanFailureEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x1a=\n\x14\x44\x65tailedFailureEvent\x12%\n\x06target\x18\x01 \x01(\x0b\x32\x15.dcs.common.v0.Target\x1ah\n\x12\x45ngineStartupEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12%\n\x05place\x18\x02 \x01(\x0b\x32\x16.dcs.common.v0.Airbase\x1ai\n\x13\x45ngineShutdownEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12%\n\x05place\x18\x02 \x01(\x0b\x32\x16.dcs.common.v0.Airbase\x1a\x43\n\x14PlayerEnterUnitEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x1a\x43\n\x14PlayerLeaveUnitEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x1aV\n\x12ShootingStartEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12\x13\n\x0bweapon_name\x18\x02 \x01(\t\x1aT\n\x10ShootingEndEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12\x13\n\x0bweapon_name\x18\x02 \x01(\t\x1a\xd1\x01\n\x0cMarkAddEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12\x12\n\x08group_id\x18\x02 \x01(\x04H\x00\x12-\n\tcoalition\x18\x03 \x01(\x0e\x32\x18.dcs.common.v0.CoalitionH\x00\x12\n\n\x02id\x18\x04 \x01(\r\x12)\n\x08position\x18\x05 \x01(\x0b\x32\x17.dcs.common.v0.Position\x12\x0c\n\x04text\x18\x06 \x01(\tB\x0c\n\nvisibility\x1a\xd4\x01\n\x0fMarkChangeEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12\x12\n\x08group_id\x18\x02 \x01(\x04H\x00\x12-\n\tcoalition\x18\x03 \x01(\x0e\x32\x18.dcs.common.v0.CoalitionH\x00\x12\n\n\x02id\x18\x04 \x01(\r\x12)\n\x08position\x18\x05 \x01(\x0b\x32\x17.dcs.common.v0.Position\x12\x0c\n\x04text\x18\x06 \x01(\tB\x0c\n\nvisibility\x1a\xd4\x01\n\x0fMarkRemoveEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12\x12\n\x08group_id\x18\x02 \x01(\x04H\x00\x12-\n\tcoalition\x18\x03 \x01(\x0e\x32\x18.dcs.common.v0.CoalitionH\x00\x12\n\n\x02id\x18\x04 \x01(\r\x12)\n\x08position\x18\x05 \x01(\x0b\x32\x17.dcs.common.v0.Position\x12\x0c\n\x04text\x18\x06 \x01(\tB\x0c\n\nvisibility\x1a\xb0\x01\n\tKillEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12%\n\x06weapon\x18\x02 \x01(\x0b\x32\x15.dcs.common.v0.Weapon\x12%\n\x06target\x18\x03 \x01(\x0b\x32\x15.dcs.common.v0.Target\x12\x18\n\x0bweapon_name\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_weapon_name\x1a\x0c\n\nScoreEvent\x1a<\n\rUnitLostEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x1ap\n\x19LandingAfterEjectionEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12&\n\x05place\x18\x02 \x01(\x0b\x32\x17.dcs.common.v0.Position\x1at\n\x1e\x44iscardChairAfterEjectionEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12%\n\x06target\x18\x02 \x01(\x0b\x32\x15.dcs.common.v0.Target\x1aR\n\x0eWeaponAddEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12\x13\n\x0bweapon_name\x18\x02 \x01(\t\x1a~\n\x17LandingQualityMarkEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12\x0f\n\x07\x63omment\x18\x02 \x01(\t\x12%\n\x05place\x18\x03 \x01(\x0b\x32\x16.dcs.common.v0.Airbase\x1a\x39\n\x13PlayerSendChatEvent\x12\x11\n\tplayer_id\x18\x01 \x01(\r\x12\x0f\n\x07message\x18\x02 \x01(\t\x1ah\n\x15PlayerChangeSlotEvent\x12\x11\n\tplayer_id\x18\x01 \x01(\r\x12+\n\tcoalition\x18\x02 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12\x0f\n\x07slot_id\x18\x03 \x01(\t\x1a\x44\n\x0c\x43onnectEvent\x12\x0c\n\x04\x61\x64\x64r\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04ucid\x18\x03 \x01(\t\x12\n\n\x02id\x18\x04 \x01(\r\x1a\x64\n\x0f\x44isconnectEvent\x12\n\n\x02id\x18\x01 \x01(\r\x12\x45\n\x06reason\x18\x02 \x01(\x0e\x32\x35.dcs.mission.v0.StreamEventsResponse.DisconnectReason\x1a?\n\x13MissionCommandEvent\x12(\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x1an\n\x15\x43oalitionCommandEvent\x12+\n\tcoalition\x18\x01 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12(\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x1a\x62\n\x11GroupCommandEvent\x12#\n\x05group\x18\x01 \x01(\x0b\x32\x14.dcs.common.v0.Group\x12(\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\"\x84\x04\n\x10\x44isconnectReason\x12!\n\x1d\x44ISCONNECT_REASON_UNSPECIFIED\x10\x00\x12 \n\x1c\x44ISCONNECT_REASON_THATS_OKAY\x10\x01\x12%\n!DISCONNECT_REASON_INVALID_ADDRESS\x10\x02\x12$\n DISCONNECT_REASON_CONNECT_FAILED\x10\x03\x12#\n\x1f\x44ISCONNECT_REASON_WRONG_VERSION\x10\x04\x12$\n DISCONNECT_REASON_PROTOCOL_ERROR\x10\x05\x12\x1d\n\x19\x44ISCONNECT_REASON_TIMEOUT\x10\x06\x12&\n\"DISCONNECT_REASON_INVALID_PASSWORD\x10\x65\x12\x1c\n\x18\x44ISCONNECT_REASON_BANNED\x10\x66\x12\"\n\x1e\x44ISCONNECT_REASON_BAD_CALLSIGN\x10g\x12$\n DISCONNECT_REASON_TAINTED_CLIENT\x10h\x12\x1c\n\x18\x44ISCONNECT_REASON_KICKED\x10i\x12\x1d\n\x19\x44ISCONNECT_REASON_REFUSED\x10j\x12\'\n#DISCONNECT_REASON_DENIED_TRIAL_ONLY\x10kB\x07\n\x05\x65vent\"\x94\x01\n\x12StreamUnitsRequest\x12\x16\n\tpoll_rate\x18\x01 \x01(\rH\x00\x88\x01\x01\x12\x18\n\x0bmax_backoff\x18\x02 \x01(\rH\x01\x88\x01\x01\x12.\n\x08\x63\x61tegory\x18\x03 \x01(\x0e\x32\x1c.dcs.common.v0.GroupCategoryB\x0c\n\n_poll_rateB\x0e\n\x0c_max_backoff\"\xa8\x01\n\x13StreamUnitsResponse\x12#\n\x04unit\x18\x01 \x01(\x0b\x32\x13.dcs.common.v0.UnitH\x00\x12<\n\x04gone\x18\x02 \x01(\x0b\x32,.dcs.mission.v0.StreamUnitsResponse.UnitGoneH\x00\x1a$\n\x08UnitGone\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0c\n\x04name\x18\x02 \x01(\tB\x08\n\x06update\"\x1d\n\x1bGetScenarioStartTimeRequest\"0\n\x1cGetScenarioStartTimeResponse\x12\x10\n\x08\x64\x61tetime\x18\x01 \x01(\t\"\x1f\n\x1dGetScenarioCurrentTimeRequest\"2\n\x1eGetScenarioCurrentTimeResponse\x12\x10\n\x08\x64\x61tetime\x18\x01 \x01(\t\"`\n\x18\x41\x64\x64MissionCommandRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x03(\t\x12(\n\x07\x64\x65tails\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\")\n\x19\x41\x64\x64MissionCommandResponse\x12\x0c\n\x04path\x18\x01 \x03(\t\"=\n\x1f\x41\x64\x64MissionCommandSubMenuRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x03(\t\"0\n AddMissionCommandSubMenuResponse\x12\x0c\n\x04path\x18\x01 \x03(\t\"/\n\x1fRemoveMissionCommandItemRequest\x12\x0c\n\x04path\x18\x01 \x03(\t\"\"\n RemoveMissionCommandItemResponse\"\x8f\x01\n\x1a\x41\x64\x64\x43oalitionCommandRequest\x12+\n\tcoalition\x18\x01 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x03(\t\x12(\n\x07\x64\x65tails\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\"+\n\x1b\x41\x64\x64\x43oalitionCommandResponse\x12\x0c\n\x04path\x18\x01 \x03(\t\"l\n!AddCoalitionCommandSubMenuRequest\x12+\n\tcoalition\x18\x01 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x03(\t\"2\n\"AddCoalitionCommandSubMenuResponse\x12\x0c\n\x04path\x18\x01 \x03(\t\"^\n!RemoveCoalitionCommandItemRequest\x12+\n\tcoalition\x18\x01 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12\x0c\n\x04path\x18\x02 \x03(\t\"$\n\"RemoveCoalitionCommandItemResponse\"r\n\x16\x41\x64\x64GroupCommandRequest\x12\x12\n\ngroup_name\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x03(\t\x12(\n\x07\x64\x65tails\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\"\'\n\x17\x41\x64\x64GroupCommandResponse\x12\x0c\n\x04path\x18\x01 \x03(\t\"O\n\x1d\x41\x64\x64GroupCommandSubMenuRequest\x12\x12\n\ngroup_name\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x03(\t\".\n\x1e\x41\x64\x64GroupCommandSubMenuResponse\x12\x0c\n\x04path\x18\x01 \x03(\t\"A\n\x1dRemoveGroupCommandItemRequest\x12\x12\n\ngroup_name\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x03(\t\" \n\x1eRemoveGroupCommandItemResponse2\x87\x0c\n\x0eMissionService\x12]\n\x0cStreamEvents\x12#.dcs.mission.v0.StreamEventsRequest\x1a$.dcs.mission.v0.StreamEventsResponse\"\x00\x30\x01\x12Z\n\x0bStreamUnits\x12\".dcs.mission.v0.StreamUnitsRequest\x1a#.dcs.mission.v0.StreamUnitsResponse\"\x00\x30\x01\x12s\n\x14GetScenarioStartTime\x12+.dcs.mission.v0.GetScenarioStartTimeRequest\x1a,.dcs.mission.v0.GetScenarioStartTimeResponse\"\x00\x12y\n\x16GetScenarioCurrentTime\x12-.dcs.mission.v0.GetScenarioCurrentTimeRequest\x1a..dcs.mission.v0.GetScenarioCurrentTimeResponse\"\x00\x12j\n\x11\x41\x64\x64MissionCommand\x12(.dcs.mission.v0.AddMissionCommandRequest\x1a).dcs.mission.v0.AddMissionCommandResponse\"\x00\x12\x7f\n\x18\x41\x64\x64MissionCommandSubMenu\x12/.dcs.mission.v0.AddMissionCommandSubMenuRequest\x1a\x30.dcs.mission.v0.AddMissionCommandSubMenuResponse\"\x00\x12\x7f\n\x18RemoveMissionCommandItem\x12/.dcs.mission.v0.RemoveMissionCommandItemRequest\x1a\x30.dcs.mission.v0.RemoveMissionCommandItemResponse\"\x00\x12p\n\x13\x41\x64\x64\x43oalitionCommand\x12*.dcs.mission.v0.AddCoalitionCommandRequest\x1a+.dcs.mission.v0.AddCoalitionCommandResponse\"\x00\x12\x85\x01\n\x1a\x41\x64\x64\x43oalitionCommandSubMenu\x12\x31.dcs.mission.v0.AddCoalitionCommandSubMenuRequest\x1a\x32.dcs.mission.v0.AddCoalitionCommandSubMenuResponse\"\x00\x12\x85\x01\n\x1aRemoveCoalitionCommandItem\x12\x31.dcs.mission.v0.RemoveCoalitionCommandItemRequest\x1a\x32.dcs.mission.v0.RemoveCoalitionCommandItemResponse\"\x00\x12\x64\n\x0f\x41\x64\x64GroupCommand\x12&.dcs.mission.v0.AddGroupCommandRequest\x1a\'.dcs.mission.v0.AddGroupCommandResponse\"\x00\x12y\n\x16\x41\x64\x64GroupCommandSubMenu\x12-.dcs.mission.v0.AddGroupCommandSubMenuRequest\x1a..dcs.mission.v0.AddGroupCommandSubMenuResponse\"\x00\x12y\n\x16RemoveGroupCommandItem\x12-.dcs.mission.v0.RemoveGroupCommandItemRequest\x1a..dcs.mission.v0.RemoveGroupCommandItemResponse\"\x00\x42SZ.github.com/DCS-gRPC/go-bindings/dcs/v0/mission\xaa\x02 RurouniJones.Dcs.Grpc.V0.Missionb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x64\x63s/mission/v0/mission.proto\x12\x0e\x64\x63s.mission.v0\x1a\x1a\x64\x63s/common/v0/common.proto\x1a\x1cgoogle/protobuf/struct.proto\"\x15\n\x13StreamEventsRequest\"\xa6<\n\x14StreamEventsResponse\x12\x0c\n\x04time\x18\x01 \x01(\x01\x12>\n\x04shot\x18\x04 \x01(\x0b\x32..dcs.mission.v0.StreamEventsResponse.ShotEventH\x00\x12<\n\x03hit\x18\x05 \x01(\x0b\x32-.dcs.mission.v0.StreamEventsResponse.HitEventH\x00\x12\x44\n\x07takeoff\x18\x06 \x01(\x0b\x32\x31.dcs.mission.v0.StreamEventsResponse.TakeoffEventH\x00\x12>\n\x04land\x18\x07 \x01(\x0b\x32..dcs.mission.v0.StreamEventsResponse.LandEventH\x00\x12@\n\x05\x63rash\x18\x08 \x01(\x0b\x32/.dcs.mission.v0.StreamEventsResponse.CrashEventH\x00\x12\x46\n\x08\x65jection\x18\t \x01(\x0b\x32\x32.dcs.mission.v0.StreamEventsResponse.EjectionEventH\x00\x12H\n\trefueling\x18\n \x01(\x0b\x32\x33.dcs.mission.v0.StreamEventsResponse.RefuelingEventH\x00\x12>\n\x04\x64\x65\x61\x64\x18\x0b \x01(\x0b\x32..dcs.mission.v0.StreamEventsResponse.DeadEventH\x00\x12I\n\npilot_dead\x18\x0c \x01(\x0b\x32\x33.dcs.mission.v0.StreamEventsResponse.PilotDeadEventH\x00\x12M\n\x0c\x62\x61se_capture\x18\r \x01(\x0b\x32\x35.dcs.mission.v0.StreamEventsResponse.BaseCaptureEventH\x00\x12O\n\rmission_start\x18\x0e \x01(\x0b\x32\x36.dcs.mission.v0.StreamEventsResponse.MissionStartEventH\x00\x12K\n\x0bmission_end\x18\x0f \x01(\x0b\x32\x34.dcs.mission.v0.StreamEventsResponse.MissionEndEventH\x00\x12Q\n\x0erefueling_stop\x18\x11 \x01(\x0b\x32\x37.dcs.mission.v0.StreamEventsResponse.RefuelingStopEventH\x00\x12@\n\x05\x62irth\x18\x12 \x01(\x0b\x32/.dcs.mission.v0.StreamEventsResponse.BirthEventH\x00\x12O\n\rhuman_failure\x18\x13 \x01(\x0b\x32\x36.dcs.mission.v0.StreamEventsResponse.HumanFailureEventH\x00\x12U\n\x10\x64\x65tailed_failure\x18\x14 \x01(\x0b\x32\x39.dcs.mission.v0.StreamEventsResponse.DetailedFailureEventH\x00\x12Q\n\x0e\x65ngine_startup\x18\x15 \x01(\x0b\x32\x37.dcs.mission.v0.StreamEventsResponse.EngineStartupEventH\x00\x12S\n\x0f\x65ngine_shutdown\x18\x16 \x01(\x0b\x32\x38.dcs.mission.v0.StreamEventsResponse.EngineShutdownEventH\x00\x12V\n\x11player_enter_unit\x18\x17 \x01(\x0b\x32\x39.dcs.mission.v0.StreamEventsResponse.PlayerEnterUnitEventH\x00\x12V\n\x11player_leave_unit\x18\x18 \x01(\x0b\x32\x39.dcs.mission.v0.StreamEventsResponse.PlayerLeaveUnitEventH\x00\x12Q\n\x0eshooting_start\x18\x1a \x01(\x0b\x32\x37.dcs.mission.v0.StreamEventsResponse.ShootingStartEventH\x00\x12M\n\x0cshooting_end\x18\x1b \x01(\x0b\x32\x35.dcs.mission.v0.StreamEventsResponse.ShootingEndEventH\x00\x12\x45\n\x08mark_add\x18\x1c \x01(\x0b\x32\x31.dcs.mission.v0.StreamEventsResponse.MarkAddEventH\x00\x12K\n\x0bmark_change\x18\x1d \x01(\x0b\x32\x34.dcs.mission.v0.StreamEventsResponse.MarkChangeEventH\x00\x12K\n\x0bmark_remove\x18\x1e \x01(\x0b\x32\x34.dcs.mission.v0.StreamEventsResponse.MarkRemoveEventH\x00\x12>\n\x04kill\x18\x1f \x01(\x0b\x32..dcs.mission.v0.StreamEventsResponse.KillEventH\x00\x12@\n\x05score\x18 \x01(\x0b\x32/.dcs.mission.v0.StreamEventsResponse.ScoreEventH\x00\x12G\n\tunit_lost\x18! \x01(\x0b\x32\x32.dcs.mission.v0.StreamEventsResponse.UnitLostEventH\x00\x12`\n\x16landing_after_ejection\x18\" \x01(\x0b\x32>.dcs.mission.v0.StreamEventsResponse.LandingAfterEjectionEventH\x00\x12k\n\x1c\x64iscard_chair_after_ejection\x18$ \x01(\x0b\x32\x43.dcs.mission.v0.StreamEventsResponse.DiscardChairAfterEjectionEventH\x00\x12I\n\nweapon_add\x18% \x01(\x0b\x32\x33.dcs.mission.v0.StreamEventsResponse.WeaponAddEventH\x00\x12\\\n\x14landing_quality_mark\x18\' \x01(\x0b\x32<.dcs.mission.v0.StreamEventsResponse.LandingQualityMarkEventH\x00\x12\x45\n\x07\x63onnect\x18\x80@ \x01(\x0b\x32\x31.dcs.mission.v0.StreamEventsResponse.ConnectEventH\x00\x12K\n\ndisconnect\x18\x81@ \x01(\x0b\x32\x34.dcs.mission.v0.StreamEventsResponse.DisconnectEventH\x00\x12U\n\x10player_send_chat\x18\x82@ \x01(\x0b\x32\x38.dcs.mission.v0.StreamEventsResponse.PlayerSendChatEventH\x00\x12Y\n\x12player_change_slot\x18\x83@ \x01(\x0b\x32:.dcs.mission.v0.StreamEventsResponse.PlayerChangeSlotEventH\x00\x12T\n\x0fmission_command\x18\x84@ \x01(\x0b\x32\x38.dcs.mission.v0.StreamEventsResponse.MissionCommandEventH\x00\x12X\n\x11\x63oalition_command\x18\x85@ \x01(\x0b\x32:.dcs.mission.v0.StreamEventsResponse.CoalitionCommandEventH\x00\x12P\n\rgroup_command\x18\x86@ \x01(\x0b\x32\x36.dcs.mission.v0.StreamEventsResponse.GroupCommandEventH\x00\x12R\n\x0esimulation_fps\x18\x87@ \x01(\x0b\x32\x37.dcs.mission.v0.StreamEventsResponse.SimulationFpsEventH\x00\x12=\n\x03tts\x18\x88@ \x01(\x0b\x32-.dcs.mission.v0.StreamEventsResponse.TtsEventH\x00\x1a_\n\tShotEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12%\n\x06weapon\x18\x02 \x01(\x0b\x32\x15.dcs.common.v0.Weapon\x1a\xc2\x01\n\x08HitEvent\x12\x30\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.InitiatorH\x00\x88\x01\x01\x12%\n\x06weapon\x18\x02 \x01(\x0b\x32\x15.dcs.common.v0.Weapon\x12%\n\x06target\x18\x03 \x01(\x0b\x32\x15.dcs.common.v0.Target\x12\x18\n\x0bweapon_name\x18\x04 \x01(\tH\x01\x88\x01\x01\x42\x0c\n\n_initiatorB\x0e\n\x0c_weapon_name\x1a\x62\n\x0cTakeoffEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12%\n\x05place\x18\x02 \x01(\x0b\x32\x16.dcs.common.v0.Airbase\x1a_\n\tLandEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12%\n\x05place\x18\x02 \x01(\x0b\x32\x16.dcs.common.v0.Airbase\x1a\x39\n\nCrashEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x1a\x63\n\rEjectionEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12%\n\x06target\x18\x03 \x01(\x0b\x32\x15.dcs.common.v0.Target\x1a=\n\x0eRefuelingEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x1a\x38\n\tDeadEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x1a=\n\x0ePilotDeadEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x1a\x66\n\x10\x42\x61seCaptureEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12%\n\x05place\x18\x02 \x01(\x0b\x32\x16.dcs.common.v0.Airbase\x1a\x13\n\x11MissionStartEvent\x1a\x11\n\x0fMissionEndEvent\x1a\x41\n\x12RefuelingStopEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x1ao\n\nBirthEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12*\n\x05place\x18\x02 \x01(\x0b\x32\x16.dcs.common.v0.AirbaseH\x00\x88\x01\x01\x42\x08\n\x06_place\x1a@\n\x11HumanFailureEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x1a=\n\x14\x44\x65tailedFailureEvent\x12%\n\x06target\x18\x01 \x01(\x0b\x32\x15.dcs.common.v0.Target\x1ah\n\x12\x45ngineStartupEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12%\n\x05place\x18\x02 \x01(\x0b\x32\x16.dcs.common.v0.Airbase\x1ai\n\x13\x45ngineShutdownEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12%\n\x05place\x18\x02 \x01(\x0b\x32\x16.dcs.common.v0.Airbase\x1a\x43\n\x14PlayerEnterUnitEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x1a\x43\n\x14PlayerLeaveUnitEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x1aV\n\x12ShootingStartEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12\x13\n\x0bweapon_name\x18\x02 \x01(\t\x1aT\n\x10ShootingEndEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12\x13\n\x0bweapon_name\x18\x02 \x01(\t\x1a\xd1\x01\n\x0cMarkAddEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12\x12\n\x08group_id\x18\x02 \x01(\x04H\x00\x12-\n\tcoalition\x18\x03 \x01(\x0e\x32\x18.dcs.common.v0.CoalitionH\x00\x12\n\n\x02id\x18\x04 \x01(\r\x12)\n\x08position\x18\x05 \x01(\x0b\x32\x17.dcs.common.v0.Position\x12\x0c\n\x04text\x18\x06 \x01(\tB\x0c\n\nvisibility\x1a\xd4\x01\n\x0fMarkChangeEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12\x12\n\x08group_id\x18\x02 \x01(\x04H\x00\x12-\n\tcoalition\x18\x03 \x01(\x0e\x32\x18.dcs.common.v0.CoalitionH\x00\x12\n\n\x02id\x18\x04 \x01(\r\x12)\n\x08position\x18\x05 \x01(\x0b\x32\x17.dcs.common.v0.Position\x12\x0c\n\x04text\x18\x06 \x01(\tB\x0c\n\nvisibility\x1a\xd4\x01\n\x0fMarkRemoveEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12\x12\n\x08group_id\x18\x02 \x01(\x04H\x00\x12-\n\tcoalition\x18\x03 \x01(\x0e\x32\x18.dcs.common.v0.CoalitionH\x00\x12\n\n\x02id\x18\x04 \x01(\r\x12)\n\x08position\x18\x05 \x01(\x0b\x32\x17.dcs.common.v0.Position\x12\x0c\n\x04text\x18\x06 \x01(\tB\x0c\n\nvisibility\x1a\xb0\x01\n\tKillEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12%\n\x06weapon\x18\x02 \x01(\x0b\x32\x15.dcs.common.v0.Weapon\x12%\n\x06target\x18\x03 \x01(\x0b\x32\x15.dcs.common.v0.Target\x12\x18\n\x0bweapon_name\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_weapon_name\x1a\x0c\n\nScoreEvent\x1a<\n\rUnitLostEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x1ap\n\x19LandingAfterEjectionEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12&\n\x05place\x18\x02 \x01(\x0b\x32\x17.dcs.common.v0.Position\x1at\n\x1e\x44iscardChairAfterEjectionEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12%\n\x06target\x18\x02 \x01(\x0b\x32\x15.dcs.common.v0.Target\x1aR\n\x0eWeaponAddEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12\x13\n\x0bweapon_name\x18\x02 \x01(\t\x1a~\n\x17LandingQualityMarkEvent\x12+\n\tinitiator\x18\x01 \x01(\x0b\x32\x18.dcs.common.v0.Initiator\x12\x0f\n\x07\x63omment\x18\x02 \x01(\t\x12%\n\x05place\x18\x03 \x01(\x0b\x32\x16.dcs.common.v0.Airbase\x1a\x39\n\x13PlayerSendChatEvent\x12\x11\n\tplayer_id\x18\x01 \x01(\r\x12\x0f\n\x07message\x18\x02 \x01(\t\x1ah\n\x15PlayerChangeSlotEvent\x12\x11\n\tplayer_id\x18\x01 \x01(\r\x12+\n\tcoalition\x18\x02 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12\x0f\n\x07slot_id\x18\x03 \x01(\t\x1a\x44\n\x0c\x43onnectEvent\x12\x0c\n\x04\x61\x64\x64r\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04ucid\x18\x03 \x01(\t\x12\n\n\x02id\x18\x04 \x01(\r\x1a\x64\n\x0f\x44isconnectEvent\x12\n\n\x02id\x18\x01 \x01(\r\x12\x45\n\x06reason\x18\x02 \x01(\x0e\x32\x35.dcs.mission.v0.StreamEventsResponse.DisconnectReason\x1a?\n\x13MissionCommandEvent\x12(\n\x07\x64\x65tails\x18\x01 \x01(\x0b\x32\x17.google.protobuf.Struct\x1an\n\x15\x43oalitionCommandEvent\x12+\n\tcoalition\x18\x01 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12(\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x1a\x62\n\x11GroupCommandEvent\x12#\n\x05group\x18\x01 \x01(\x0b\x32\x14.dcs.common.v0.Group\x12(\n\x07\x64\x65tails\x18\x02 \x01(\x0b\x32\x17.google.protobuf.Struct\x1a%\n\x12SimulationFpsEvent\x12\x0f\n\x07\x61verage\x18\x01 \x01(\x01\x1a\x8a\x01\n\x08TtsEvent\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x11\n\tfrequency\x18\x02 \x01(\x04\x12+\n\tcoalition\x18\x03 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12\x1c\n\x0fsrs_client_name\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\x12\n\x10_srs_client_name\"\x84\x04\n\x10\x44isconnectReason\x12!\n\x1d\x44ISCONNECT_REASON_UNSPECIFIED\x10\x00\x12 \n\x1c\x44ISCONNECT_REASON_THATS_OKAY\x10\x01\x12%\n!DISCONNECT_REASON_INVALID_ADDRESS\x10\x02\x12$\n DISCONNECT_REASON_CONNECT_FAILED\x10\x03\x12#\n\x1f\x44ISCONNECT_REASON_WRONG_VERSION\x10\x04\x12$\n DISCONNECT_REASON_PROTOCOL_ERROR\x10\x05\x12\x1d\n\x19\x44ISCONNECT_REASON_TIMEOUT\x10\x06\x12&\n\"DISCONNECT_REASON_INVALID_PASSWORD\x10\x65\x12\x1c\n\x18\x44ISCONNECT_REASON_BANNED\x10\x66\x12\"\n\x1e\x44ISCONNECT_REASON_BAD_CALLSIGN\x10g\x12$\n DISCONNECT_REASON_TAINTED_CLIENT\x10h\x12\x1c\n\x18\x44ISCONNECT_REASON_KICKED\x10i\x12\x1d\n\x19\x44ISCONNECT_REASON_REFUSED\x10j\x12\'\n#DISCONNECT_REASON_DENIED_TRIAL_ONLY\x10kB\x07\n\x05\x65vent\"\x94\x01\n\x12StreamUnitsRequest\x12\x16\n\tpoll_rate\x18\x01 \x01(\rH\x00\x88\x01\x01\x12\x18\n\x0bmax_backoff\x18\x02 \x01(\rH\x01\x88\x01\x01\x12.\n\x08\x63\x61tegory\x18\x03 \x01(\x0e\x32\x1c.dcs.common.v0.GroupCategoryB\x0c\n\n_poll_rateB\x0e\n\x0c_max_backoff\"\xb6\x01\n\x13StreamUnitsResponse\x12\x0c\n\x04time\x18\x01 \x01(\x01\x12#\n\x04unit\x18\x02 \x01(\x0b\x32\x13.dcs.common.v0.UnitH\x00\x12<\n\x04gone\x18\x03 \x01(\x0b\x32,.dcs.mission.v0.StreamUnitsResponse.UnitGoneH\x00\x1a$\n\x08UnitGone\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0c\n\x04name\x18\x02 \x01(\tB\x08\n\x06update\"\x1d\n\x1bGetScenarioStartTimeRequest\"0\n\x1cGetScenarioStartTimeResponse\x12\x10\n\x08\x64\x61tetime\x18\x01 \x01(\t\"\x1f\n\x1dGetScenarioCurrentTimeRequest\"2\n\x1eGetScenarioCurrentTimeResponse\x12\x10\n\x08\x64\x61tetime\x18\x01 \x01(\t\"`\n\x18\x41\x64\x64MissionCommandRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x03(\t\x12(\n\x07\x64\x65tails\x18\x03 \x01(\x0b\x32\x17.google.protobuf.Struct\")\n\x19\x41\x64\x64MissionCommandResponse\x12\x0c\n\x04path\x18\x01 \x03(\t\"=\n\x1f\x41\x64\x64MissionCommandSubMenuRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x03(\t\"0\n AddMissionCommandSubMenuResponse\x12\x0c\n\x04path\x18\x01 \x03(\t\"/\n\x1fRemoveMissionCommandItemRequest\x12\x0c\n\x04path\x18\x01 \x03(\t\"\"\n RemoveMissionCommandItemResponse\"\x8f\x01\n\x1a\x41\x64\x64\x43oalitionCommandRequest\x12+\n\tcoalition\x18\x01 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x03(\t\x12(\n\x07\x64\x65tails\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\"+\n\x1b\x41\x64\x64\x43oalitionCommandResponse\x12\x0c\n\x04path\x18\x01 \x03(\t\"l\n!AddCoalitionCommandSubMenuRequest\x12+\n\tcoalition\x18\x01 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x03(\t\"2\n\"AddCoalitionCommandSubMenuResponse\x12\x0c\n\x04path\x18\x01 \x03(\t\"^\n!RemoveCoalitionCommandItemRequest\x12+\n\tcoalition\x18\x01 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12\x0c\n\x04path\x18\x02 \x03(\t\"$\n\"RemoveCoalitionCommandItemResponse\"r\n\x16\x41\x64\x64GroupCommandRequest\x12\x12\n\ngroup_name\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x03(\t\x12(\n\x07\x64\x65tails\x18\x04 \x01(\x0b\x32\x17.google.protobuf.Struct\"\'\n\x17\x41\x64\x64GroupCommandResponse\x12\x0c\n\x04path\x18\x01 \x03(\t\"O\n\x1d\x41\x64\x64GroupCommandSubMenuRequest\x12\x12\n\ngroup_name\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x03(\t\".\n\x1e\x41\x64\x64GroupCommandSubMenuResponse\x12\x0c\n\x04path\x18\x01 \x03(\t\"A\n\x1dRemoveGroupCommandItemRequest\x12\x12\n\ngroup_name\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x03(\t\" \n\x1eRemoveGroupCommandItemResponse\"\x15\n\x13GetSessionIdRequest\"*\n\x14GetSessionIdResponse\x12\x12\n\nsession_id\x18\x01 \x01(\x03\x32\xe4\x0c\n\x0eMissionService\x12]\n\x0cStreamEvents\x12#.dcs.mission.v0.StreamEventsRequest\x1a$.dcs.mission.v0.StreamEventsResponse\"\x00\x30\x01\x12Z\n\x0bStreamUnits\x12\".dcs.mission.v0.StreamUnitsRequest\x1a#.dcs.mission.v0.StreamUnitsResponse\"\x00\x30\x01\x12s\n\x14GetScenarioStartTime\x12+.dcs.mission.v0.GetScenarioStartTimeRequest\x1a,.dcs.mission.v0.GetScenarioStartTimeResponse\"\x00\x12y\n\x16GetScenarioCurrentTime\x12-.dcs.mission.v0.GetScenarioCurrentTimeRequest\x1a..dcs.mission.v0.GetScenarioCurrentTimeResponse\"\x00\x12j\n\x11\x41\x64\x64MissionCommand\x12(.dcs.mission.v0.AddMissionCommandRequest\x1a).dcs.mission.v0.AddMissionCommandResponse\"\x00\x12\x7f\n\x18\x41\x64\x64MissionCommandSubMenu\x12/.dcs.mission.v0.AddMissionCommandSubMenuRequest\x1a\x30.dcs.mission.v0.AddMissionCommandSubMenuResponse\"\x00\x12\x7f\n\x18RemoveMissionCommandItem\x12/.dcs.mission.v0.RemoveMissionCommandItemRequest\x1a\x30.dcs.mission.v0.RemoveMissionCommandItemResponse\"\x00\x12p\n\x13\x41\x64\x64\x43oalitionCommand\x12*.dcs.mission.v0.AddCoalitionCommandRequest\x1a+.dcs.mission.v0.AddCoalitionCommandResponse\"\x00\x12\x85\x01\n\x1a\x41\x64\x64\x43oalitionCommandSubMenu\x12\x31.dcs.mission.v0.AddCoalitionCommandSubMenuRequest\x1a\x32.dcs.mission.v0.AddCoalitionCommandSubMenuResponse\"\x00\x12\x85\x01\n\x1aRemoveCoalitionCommandItem\x12\x31.dcs.mission.v0.RemoveCoalitionCommandItemRequest\x1a\x32.dcs.mission.v0.RemoveCoalitionCommandItemResponse\"\x00\x12\x64\n\x0f\x41\x64\x64GroupCommand\x12&.dcs.mission.v0.AddGroupCommandRequest\x1a\'.dcs.mission.v0.AddGroupCommandResponse\"\x00\x12y\n\x16\x41\x64\x64GroupCommandSubMenu\x12-.dcs.mission.v0.AddGroupCommandSubMenuRequest\x1a..dcs.mission.v0.AddGroupCommandSubMenuResponse\"\x00\x12y\n\x16RemoveGroupCommandItem\x12-.dcs.mission.v0.RemoveGroupCommandItemRequest\x1a..dcs.mission.v0.RemoveGroupCommandItemResponse\"\x00\x12[\n\x0cGetSessionId\x12#.dcs.mission.v0.GetSessionIdRequest\x1a$.dcs.mission.v0.GetSessionIdResponse\"\x00\x42SZ.github.com/DCS-gRPC/go-bindings/dcs/v0/mission\xaa\x02 RurouniJones.Dcs.Grpc.V0.Missionb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -26,137 +26,145 @@ _globals['_STREAMEVENTSREQUEST']._serialized_start=106 _globals['_STREAMEVENTSREQUEST']._serialized_end=127 _globals['_STREAMEVENTSRESPONSE']._serialized_start=130 - _globals['_STREAMEVENTSRESPONSE']._serialized_end=7521 - _globals['_STREAMEVENTSRESPONSE_SHOTEVENT']._serialized_start=3227 - _globals['_STREAMEVENTSRESPONSE_SHOTEVENT']._serialized_end=3322 - _globals['_STREAMEVENTSRESPONSE_HITEVENT']._serialized_start=3325 - _globals['_STREAMEVENTSRESPONSE_HITEVENT']._serialized_end=3519 - _globals['_STREAMEVENTSRESPONSE_TAKEOFFEVENT']._serialized_start=3521 - _globals['_STREAMEVENTSRESPONSE_TAKEOFFEVENT']._serialized_end=3619 - _globals['_STREAMEVENTSRESPONSE_LANDEVENT']._serialized_start=3621 - _globals['_STREAMEVENTSRESPONSE_LANDEVENT']._serialized_end=3716 - _globals['_STREAMEVENTSRESPONSE_CRASHEVENT']._serialized_start=3718 - _globals['_STREAMEVENTSRESPONSE_CRASHEVENT']._serialized_end=3775 - _globals['_STREAMEVENTSRESPONSE_EJECTIONEVENT']._serialized_start=3777 - _globals['_STREAMEVENTSRESPONSE_EJECTIONEVENT']._serialized_end=3876 - _globals['_STREAMEVENTSRESPONSE_REFUELINGEVENT']._serialized_start=3878 - _globals['_STREAMEVENTSRESPONSE_REFUELINGEVENT']._serialized_end=3939 - _globals['_STREAMEVENTSRESPONSE_DEADEVENT']._serialized_start=3941 - _globals['_STREAMEVENTSRESPONSE_DEADEVENT']._serialized_end=3997 - _globals['_STREAMEVENTSRESPONSE_PILOTDEADEVENT']._serialized_start=3999 - _globals['_STREAMEVENTSRESPONSE_PILOTDEADEVENT']._serialized_end=4060 - _globals['_STREAMEVENTSRESPONSE_BASECAPTUREEVENT']._serialized_start=4062 - _globals['_STREAMEVENTSRESPONSE_BASECAPTUREEVENT']._serialized_end=4164 - _globals['_STREAMEVENTSRESPONSE_MISSIONSTARTEVENT']._serialized_start=4166 - _globals['_STREAMEVENTSRESPONSE_MISSIONSTARTEVENT']._serialized_end=4185 - _globals['_STREAMEVENTSRESPONSE_MISSIONENDEVENT']._serialized_start=4187 - _globals['_STREAMEVENTSRESPONSE_MISSIONENDEVENT']._serialized_end=4204 - _globals['_STREAMEVENTSRESPONSE_REFUELINGSTOPEVENT']._serialized_start=4206 - _globals['_STREAMEVENTSRESPONSE_REFUELINGSTOPEVENT']._serialized_end=4271 - _globals['_STREAMEVENTSRESPONSE_BIRTHEVENT']._serialized_start=4273 - _globals['_STREAMEVENTSRESPONSE_BIRTHEVENT']._serialized_end=4384 - _globals['_STREAMEVENTSRESPONSE_HUMANFAILUREEVENT']._serialized_start=4386 - _globals['_STREAMEVENTSRESPONSE_HUMANFAILUREEVENT']._serialized_end=4450 - _globals['_STREAMEVENTSRESPONSE_DETAILEDFAILUREEVENT']._serialized_start=4452 - _globals['_STREAMEVENTSRESPONSE_DETAILEDFAILUREEVENT']._serialized_end=4513 - _globals['_STREAMEVENTSRESPONSE_ENGINESTARTUPEVENT']._serialized_start=4515 - _globals['_STREAMEVENTSRESPONSE_ENGINESTARTUPEVENT']._serialized_end=4619 - _globals['_STREAMEVENTSRESPONSE_ENGINESHUTDOWNEVENT']._serialized_start=4621 - _globals['_STREAMEVENTSRESPONSE_ENGINESHUTDOWNEVENT']._serialized_end=4726 - _globals['_STREAMEVENTSRESPONSE_PLAYERENTERUNITEVENT']._serialized_start=4728 - _globals['_STREAMEVENTSRESPONSE_PLAYERENTERUNITEVENT']._serialized_end=4795 - _globals['_STREAMEVENTSRESPONSE_PLAYERLEAVEUNITEVENT']._serialized_start=4797 - _globals['_STREAMEVENTSRESPONSE_PLAYERLEAVEUNITEVENT']._serialized_end=4864 - _globals['_STREAMEVENTSRESPONSE_SHOOTINGSTARTEVENT']._serialized_start=4866 - _globals['_STREAMEVENTSRESPONSE_SHOOTINGSTARTEVENT']._serialized_end=4952 - _globals['_STREAMEVENTSRESPONSE_SHOOTINGENDEVENT']._serialized_start=4954 - _globals['_STREAMEVENTSRESPONSE_SHOOTINGENDEVENT']._serialized_end=5038 - _globals['_STREAMEVENTSRESPONSE_MARKADDEVENT']._serialized_start=5041 - _globals['_STREAMEVENTSRESPONSE_MARKADDEVENT']._serialized_end=5250 - _globals['_STREAMEVENTSRESPONSE_MARKCHANGEEVENT']._serialized_start=5253 - _globals['_STREAMEVENTSRESPONSE_MARKCHANGEEVENT']._serialized_end=5465 - _globals['_STREAMEVENTSRESPONSE_MARKREMOVEEVENT']._serialized_start=5468 - _globals['_STREAMEVENTSRESPONSE_MARKREMOVEEVENT']._serialized_end=5680 - _globals['_STREAMEVENTSRESPONSE_KILLEVENT']._serialized_start=5683 - _globals['_STREAMEVENTSRESPONSE_KILLEVENT']._serialized_end=5859 - _globals['_STREAMEVENTSRESPONSE_SCOREEVENT']._serialized_start=5861 - _globals['_STREAMEVENTSRESPONSE_SCOREEVENT']._serialized_end=5873 - _globals['_STREAMEVENTSRESPONSE_UNITLOSTEVENT']._serialized_start=5875 - _globals['_STREAMEVENTSRESPONSE_UNITLOSTEVENT']._serialized_end=5935 - _globals['_STREAMEVENTSRESPONSE_LANDINGAFTEREJECTIONEVENT']._serialized_start=5937 - _globals['_STREAMEVENTSRESPONSE_LANDINGAFTEREJECTIONEVENT']._serialized_end=6049 - _globals['_STREAMEVENTSRESPONSE_DISCARDCHAIRAFTEREJECTIONEVENT']._serialized_start=6051 - _globals['_STREAMEVENTSRESPONSE_DISCARDCHAIRAFTEREJECTIONEVENT']._serialized_end=6167 - _globals['_STREAMEVENTSRESPONSE_WEAPONADDEVENT']._serialized_start=6169 - _globals['_STREAMEVENTSRESPONSE_WEAPONADDEVENT']._serialized_end=6251 - _globals['_STREAMEVENTSRESPONSE_LANDINGQUALITYMARKEVENT']._serialized_start=6253 - _globals['_STREAMEVENTSRESPONSE_LANDINGQUALITYMARKEVENT']._serialized_end=6379 - _globals['_STREAMEVENTSRESPONSE_PLAYERSENDCHATEVENT']._serialized_start=6381 - _globals['_STREAMEVENTSRESPONSE_PLAYERSENDCHATEVENT']._serialized_end=6438 - _globals['_STREAMEVENTSRESPONSE_PLAYERCHANGESLOTEVENT']._serialized_start=6440 - _globals['_STREAMEVENTSRESPONSE_PLAYERCHANGESLOTEVENT']._serialized_end=6544 - _globals['_STREAMEVENTSRESPONSE_CONNECTEVENT']._serialized_start=6546 - _globals['_STREAMEVENTSRESPONSE_CONNECTEVENT']._serialized_end=6614 - _globals['_STREAMEVENTSRESPONSE_DISCONNECTEVENT']._serialized_start=6616 - _globals['_STREAMEVENTSRESPONSE_DISCONNECTEVENT']._serialized_end=6716 - _globals['_STREAMEVENTSRESPONSE_MISSIONCOMMANDEVENT']._serialized_start=6718 - _globals['_STREAMEVENTSRESPONSE_MISSIONCOMMANDEVENT']._serialized_end=6781 - _globals['_STREAMEVENTSRESPONSE_COALITIONCOMMANDEVENT']._serialized_start=6783 - _globals['_STREAMEVENTSRESPONSE_COALITIONCOMMANDEVENT']._serialized_end=6893 - _globals['_STREAMEVENTSRESPONSE_GROUPCOMMANDEVENT']._serialized_start=6895 - _globals['_STREAMEVENTSRESPONSE_GROUPCOMMANDEVENT']._serialized_end=6993 - _globals['_STREAMEVENTSRESPONSE_DISCONNECTREASON']._serialized_start=6996 - _globals['_STREAMEVENTSRESPONSE_DISCONNECTREASON']._serialized_end=7512 - _globals['_STREAMUNITSREQUEST']._serialized_start=7524 - _globals['_STREAMUNITSREQUEST']._serialized_end=7672 - _globals['_STREAMUNITSRESPONSE']._serialized_start=7675 - _globals['_STREAMUNITSRESPONSE']._serialized_end=7843 - _globals['_STREAMUNITSRESPONSE_UNITGONE']._serialized_start=7797 - _globals['_STREAMUNITSRESPONSE_UNITGONE']._serialized_end=7833 - _globals['_GETSCENARIOSTARTTIMEREQUEST']._serialized_start=7845 - _globals['_GETSCENARIOSTARTTIMEREQUEST']._serialized_end=7874 - _globals['_GETSCENARIOSTARTTIMERESPONSE']._serialized_start=7876 - _globals['_GETSCENARIOSTARTTIMERESPONSE']._serialized_end=7924 - _globals['_GETSCENARIOCURRENTTIMEREQUEST']._serialized_start=7926 - _globals['_GETSCENARIOCURRENTTIMEREQUEST']._serialized_end=7957 - _globals['_GETSCENARIOCURRENTTIMERESPONSE']._serialized_start=7959 - _globals['_GETSCENARIOCURRENTTIMERESPONSE']._serialized_end=8009 - _globals['_ADDMISSIONCOMMANDREQUEST']._serialized_start=8011 - _globals['_ADDMISSIONCOMMANDREQUEST']._serialized_end=8107 - _globals['_ADDMISSIONCOMMANDRESPONSE']._serialized_start=8109 - _globals['_ADDMISSIONCOMMANDRESPONSE']._serialized_end=8150 - _globals['_ADDMISSIONCOMMANDSUBMENUREQUEST']._serialized_start=8152 - _globals['_ADDMISSIONCOMMANDSUBMENUREQUEST']._serialized_end=8213 - _globals['_ADDMISSIONCOMMANDSUBMENURESPONSE']._serialized_start=8215 - _globals['_ADDMISSIONCOMMANDSUBMENURESPONSE']._serialized_end=8263 - _globals['_REMOVEMISSIONCOMMANDITEMREQUEST']._serialized_start=8265 - _globals['_REMOVEMISSIONCOMMANDITEMREQUEST']._serialized_end=8312 - _globals['_REMOVEMISSIONCOMMANDITEMRESPONSE']._serialized_start=8314 - _globals['_REMOVEMISSIONCOMMANDITEMRESPONSE']._serialized_end=8348 - _globals['_ADDCOALITIONCOMMANDREQUEST']._serialized_start=8351 - _globals['_ADDCOALITIONCOMMANDREQUEST']._serialized_end=8494 - _globals['_ADDCOALITIONCOMMANDRESPONSE']._serialized_start=8496 - _globals['_ADDCOALITIONCOMMANDRESPONSE']._serialized_end=8539 - _globals['_ADDCOALITIONCOMMANDSUBMENUREQUEST']._serialized_start=8541 - _globals['_ADDCOALITIONCOMMANDSUBMENUREQUEST']._serialized_end=8649 - _globals['_ADDCOALITIONCOMMANDSUBMENURESPONSE']._serialized_start=8651 - _globals['_ADDCOALITIONCOMMANDSUBMENURESPONSE']._serialized_end=8701 - _globals['_REMOVECOALITIONCOMMANDITEMREQUEST']._serialized_start=8703 - _globals['_REMOVECOALITIONCOMMANDITEMREQUEST']._serialized_end=8797 - _globals['_REMOVECOALITIONCOMMANDITEMRESPONSE']._serialized_start=8799 - _globals['_REMOVECOALITIONCOMMANDITEMRESPONSE']._serialized_end=8835 - _globals['_ADDGROUPCOMMANDREQUEST']._serialized_start=8837 - _globals['_ADDGROUPCOMMANDREQUEST']._serialized_end=8951 - _globals['_ADDGROUPCOMMANDRESPONSE']._serialized_start=8953 - _globals['_ADDGROUPCOMMANDRESPONSE']._serialized_end=8992 - _globals['_ADDGROUPCOMMANDSUBMENUREQUEST']._serialized_start=8994 - _globals['_ADDGROUPCOMMANDSUBMENUREQUEST']._serialized_end=9073 - _globals['_ADDGROUPCOMMANDSUBMENURESPONSE']._serialized_start=9075 - _globals['_ADDGROUPCOMMANDSUBMENURESPONSE']._serialized_end=9121 - _globals['_REMOVEGROUPCOMMANDITEMREQUEST']._serialized_start=9123 - _globals['_REMOVEGROUPCOMMANDITEMREQUEST']._serialized_end=9188 - _globals['_REMOVEGROUPCOMMANDITEMRESPONSE']._serialized_start=9190 - _globals['_REMOVEGROUPCOMMANDITEMRESPONSE']._serialized_end=9222 - _globals['_MISSIONSERVICE']._serialized_start=9225 - _globals['_MISSIONSERVICE']._serialized_end=10768 + _globals['_STREAMEVENTSRESPONSE']._serialized_end=7848 + _globals['_STREAMEVENTSRESPONSE_SHOTEVENT']._serialized_start=3374 + _globals['_STREAMEVENTSRESPONSE_SHOTEVENT']._serialized_end=3469 + _globals['_STREAMEVENTSRESPONSE_HITEVENT']._serialized_start=3472 + _globals['_STREAMEVENTSRESPONSE_HITEVENT']._serialized_end=3666 + _globals['_STREAMEVENTSRESPONSE_TAKEOFFEVENT']._serialized_start=3668 + _globals['_STREAMEVENTSRESPONSE_TAKEOFFEVENT']._serialized_end=3766 + _globals['_STREAMEVENTSRESPONSE_LANDEVENT']._serialized_start=3768 + _globals['_STREAMEVENTSRESPONSE_LANDEVENT']._serialized_end=3863 + _globals['_STREAMEVENTSRESPONSE_CRASHEVENT']._serialized_start=3865 + _globals['_STREAMEVENTSRESPONSE_CRASHEVENT']._serialized_end=3922 + _globals['_STREAMEVENTSRESPONSE_EJECTIONEVENT']._serialized_start=3924 + _globals['_STREAMEVENTSRESPONSE_EJECTIONEVENT']._serialized_end=4023 + _globals['_STREAMEVENTSRESPONSE_REFUELINGEVENT']._serialized_start=4025 + _globals['_STREAMEVENTSRESPONSE_REFUELINGEVENT']._serialized_end=4086 + _globals['_STREAMEVENTSRESPONSE_DEADEVENT']._serialized_start=4088 + _globals['_STREAMEVENTSRESPONSE_DEADEVENT']._serialized_end=4144 + _globals['_STREAMEVENTSRESPONSE_PILOTDEADEVENT']._serialized_start=4146 + _globals['_STREAMEVENTSRESPONSE_PILOTDEADEVENT']._serialized_end=4207 + _globals['_STREAMEVENTSRESPONSE_BASECAPTUREEVENT']._serialized_start=4209 + _globals['_STREAMEVENTSRESPONSE_BASECAPTUREEVENT']._serialized_end=4311 + _globals['_STREAMEVENTSRESPONSE_MISSIONSTARTEVENT']._serialized_start=4313 + _globals['_STREAMEVENTSRESPONSE_MISSIONSTARTEVENT']._serialized_end=4332 + _globals['_STREAMEVENTSRESPONSE_MISSIONENDEVENT']._serialized_start=4334 + _globals['_STREAMEVENTSRESPONSE_MISSIONENDEVENT']._serialized_end=4351 + _globals['_STREAMEVENTSRESPONSE_REFUELINGSTOPEVENT']._serialized_start=4353 + _globals['_STREAMEVENTSRESPONSE_REFUELINGSTOPEVENT']._serialized_end=4418 + _globals['_STREAMEVENTSRESPONSE_BIRTHEVENT']._serialized_start=4420 + _globals['_STREAMEVENTSRESPONSE_BIRTHEVENT']._serialized_end=4531 + _globals['_STREAMEVENTSRESPONSE_HUMANFAILUREEVENT']._serialized_start=4533 + _globals['_STREAMEVENTSRESPONSE_HUMANFAILUREEVENT']._serialized_end=4597 + _globals['_STREAMEVENTSRESPONSE_DETAILEDFAILUREEVENT']._serialized_start=4599 + _globals['_STREAMEVENTSRESPONSE_DETAILEDFAILUREEVENT']._serialized_end=4660 + _globals['_STREAMEVENTSRESPONSE_ENGINESTARTUPEVENT']._serialized_start=4662 + _globals['_STREAMEVENTSRESPONSE_ENGINESTARTUPEVENT']._serialized_end=4766 + _globals['_STREAMEVENTSRESPONSE_ENGINESHUTDOWNEVENT']._serialized_start=4768 + _globals['_STREAMEVENTSRESPONSE_ENGINESHUTDOWNEVENT']._serialized_end=4873 + _globals['_STREAMEVENTSRESPONSE_PLAYERENTERUNITEVENT']._serialized_start=4875 + _globals['_STREAMEVENTSRESPONSE_PLAYERENTERUNITEVENT']._serialized_end=4942 + _globals['_STREAMEVENTSRESPONSE_PLAYERLEAVEUNITEVENT']._serialized_start=4944 + _globals['_STREAMEVENTSRESPONSE_PLAYERLEAVEUNITEVENT']._serialized_end=5011 + _globals['_STREAMEVENTSRESPONSE_SHOOTINGSTARTEVENT']._serialized_start=5013 + _globals['_STREAMEVENTSRESPONSE_SHOOTINGSTARTEVENT']._serialized_end=5099 + _globals['_STREAMEVENTSRESPONSE_SHOOTINGENDEVENT']._serialized_start=5101 + _globals['_STREAMEVENTSRESPONSE_SHOOTINGENDEVENT']._serialized_end=5185 + _globals['_STREAMEVENTSRESPONSE_MARKADDEVENT']._serialized_start=5188 + _globals['_STREAMEVENTSRESPONSE_MARKADDEVENT']._serialized_end=5397 + _globals['_STREAMEVENTSRESPONSE_MARKCHANGEEVENT']._serialized_start=5400 + _globals['_STREAMEVENTSRESPONSE_MARKCHANGEEVENT']._serialized_end=5612 + _globals['_STREAMEVENTSRESPONSE_MARKREMOVEEVENT']._serialized_start=5615 + _globals['_STREAMEVENTSRESPONSE_MARKREMOVEEVENT']._serialized_end=5827 + _globals['_STREAMEVENTSRESPONSE_KILLEVENT']._serialized_start=5830 + _globals['_STREAMEVENTSRESPONSE_KILLEVENT']._serialized_end=6006 + _globals['_STREAMEVENTSRESPONSE_SCOREEVENT']._serialized_start=6008 + _globals['_STREAMEVENTSRESPONSE_SCOREEVENT']._serialized_end=6020 + _globals['_STREAMEVENTSRESPONSE_UNITLOSTEVENT']._serialized_start=6022 + _globals['_STREAMEVENTSRESPONSE_UNITLOSTEVENT']._serialized_end=6082 + _globals['_STREAMEVENTSRESPONSE_LANDINGAFTEREJECTIONEVENT']._serialized_start=6084 + _globals['_STREAMEVENTSRESPONSE_LANDINGAFTEREJECTIONEVENT']._serialized_end=6196 + _globals['_STREAMEVENTSRESPONSE_DISCARDCHAIRAFTEREJECTIONEVENT']._serialized_start=6198 + _globals['_STREAMEVENTSRESPONSE_DISCARDCHAIRAFTEREJECTIONEVENT']._serialized_end=6314 + _globals['_STREAMEVENTSRESPONSE_WEAPONADDEVENT']._serialized_start=6316 + _globals['_STREAMEVENTSRESPONSE_WEAPONADDEVENT']._serialized_end=6398 + _globals['_STREAMEVENTSRESPONSE_LANDINGQUALITYMARKEVENT']._serialized_start=6400 + _globals['_STREAMEVENTSRESPONSE_LANDINGQUALITYMARKEVENT']._serialized_end=6526 + _globals['_STREAMEVENTSRESPONSE_PLAYERSENDCHATEVENT']._serialized_start=6528 + _globals['_STREAMEVENTSRESPONSE_PLAYERSENDCHATEVENT']._serialized_end=6585 + _globals['_STREAMEVENTSRESPONSE_PLAYERCHANGESLOTEVENT']._serialized_start=6587 + _globals['_STREAMEVENTSRESPONSE_PLAYERCHANGESLOTEVENT']._serialized_end=6691 + _globals['_STREAMEVENTSRESPONSE_CONNECTEVENT']._serialized_start=6693 + _globals['_STREAMEVENTSRESPONSE_CONNECTEVENT']._serialized_end=6761 + _globals['_STREAMEVENTSRESPONSE_DISCONNECTEVENT']._serialized_start=6763 + _globals['_STREAMEVENTSRESPONSE_DISCONNECTEVENT']._serialized_end=6863 + _globals['_STREAMEVENTSRESPONSE_MISSIONCOMMANDEVENT']._serialized_start=6865 + _globals['_STREAMEVENTSRESPONSE_MISSIONCOMMANDEVENT']._serialized_end=6928 + _globals['_STREAMEVENTSRESPONSE_COALITIONCOMMANDEVENT']._serialized_start=6930 + _globals['_STREAMEVENTSRESPONSE_COALITIONCOMMANDEVENT']._serialized_end=7040 + _globals['_STREAMEVENTSRESPONSE_GROUPCOMMANDEVENT']._serialized_start=7042 + _globals['_STREAMEVENTSRESPONSE_GROUPCOMMANDEVENT']._serialized_end=7140 + _globals['_STREAMEVENTSRESPONSE_SIMULATIONFPSEVENT']._serialized_start=7142 + _globals['_STREAMEVENTSRESPONSE_SIMULATIONFPSEVENT']._serialized_end=7179 + _globals['_STREAMEVENTSRESPONSE_TTSEVENT']._serialized_start=7182 + _globals['_STREAMEVENTSRESPONSE_TTSEVENT']._serialized_end=7320 + _globals['_STREAMEVENTSRESPONSE_DISCONNECTREASON']._serialized_start=7323 + _globals['_STREAMEVENTSRESPONSE_DISCONNECTREASON']._serialized_end=7839 + _globals['_STREAMUNITSREQUEST']._serialized_start=7851 + _globals['_STREAMUNITSREQUEST']._serialized_end=7999 + _globals['_STREAMUNITSRESPONSE']._serialized_start=8002 + _globals['_STREAMUNITSRESPONSE']._serialized_end=8184 + _globals['_STREAMUNITSRESPONSE_UNITGONE']._serialized_start=8138 + _globals['_STREAMUNITSRESPONSE_UNITGONE']._serialized_end=8174 + _globals['_GETSCENARIOSTARTTIMEREQUEST']._serialized_start=8186 + _globals['_GETSCENARIOSTARTTIMEREQUEST']._serialized_end=8215 + _globals['_GETSCENARIOSTARTTIMERESPONSE']._serialized_start=8217 + _globals['_GETSCENARIOSTARTTIMERESPONSE']._serialized_end=8265 + _globals['_GETSCENARIOCURRENTTIMEREQUEST']._serialized_start=8267 + _globals['_GETSCENARIOCURRENTTIMEREQUEST']._serialized_end=8298 + _globals['_GETSCENARIOCURRENTTIMERESPONSE']._serialized_start=8300 + _globals['_GETSCENARIOCURRENTTIMERESPONSE']._serialized_end=8350 + _globals['_ADDMISSIONCOMMANDREQUEST']._serialized_start=8352 + _globals['_ADDMISSIONCOMMANDREQUEST']._serialized_end=8448 + _globals['_ADDMISSIONCOMMANDRESPONSE']._serialized_start=8450 + _globals['_ADDMISSIONCOMMANDRESPONSE']._serialized_end=8491 + _globals['_ADDMISSIONCOMMANDSUBMENUREQUEST']._serialized_start=8493 + _globals['_ADDMISSIONCOMMANDSUBMENUREQUEST']._serialized_end=8554 + _globals['_ADDMISSIONCOMMANDSUBMENURESPONSE']._serialized_start=8556 + _globals['_ADDMISSIONCOMMANDSUBMENURESPONSE']._serialized_end=8604 + _globals['_REMOVEMISSIONCOMMANDITEMREQUEST']._serialized_start=8606 + _globals['_REMOVEMISSIONCOMMANDITEMREQUEST']._serialized_end=8653 + _globals['_REMOVEMISSIONCOMMANDITEMRESPONSE']._serialized_start=8655 + _globals['_REMOVEMISSIONCOMMANDITEMRESPONSE']._serialized_end=8689 + _globals['_ADDCOALITIONCOMMANDREQUEST']._serialized_start=8692 + _globals['_ADDCOALITIONCOMMANDREQUEST']._serialized_end=8835 + _globals['_ADDCOALITIONCOMMANDRESPONSE']._serialized_start=8837 + _globals['_ADDCOALITIONCOMMANDRESPONSE']._serialized_end=8880 + _globals['_ADDCOALITIONCOMMANDSUBMENUREQUEST']._serialized_start=8882 + _globals['_ADDCOALITIONCOMMANDSUBMENUREQUEST']._serialized_end=8990 + _globals['_ADDCOALITIONCOMMANDSUBMENURESPONSE']._serialized_start=8992 + _globals['_ADDCOALITIONCOMMANDSUBMENURESPONSE']._serialized_end=9042 + _globals['_REMOVECOALITIONCOMMANDITEMREQUEST']._serialized_start=9044 + _globals['_REMOVECOALITIONCOMMANDITEMREQUEST']._serialized_end=9138 + _globals['_REMOVECOALITIONCOMMANDITEMRESPONSE']._serialized_start=9140 + _globals['_REMOVECOALITIONCOMMANDITEMRESPONSE']._serialized_end=9176 + _globals['_ADDGROUPCOMMANDREQUEST']._serialized_start=9178 + _globals['_ADDGROUPCOMMANDREQUEST']._serialized_end=9292 + _globals['_ADDGROUPCOMMANDRESPONSE']._serialized_start=9294 + _globals['_ADDGROUPCOMMANDRESPONSE']._serialized_end=9333 + _globals['_ADDGROUPCOMMANDSUBMENUREQUEST']._serialized_start=9335 + _globals['_ADDGROUPCOMMANDSUBMENUREQUEST']._serialized_end=9414 + _globals['_ADDGROUPCOMMANDSUBMENURESPONSE']._serialized_start=9416 + _globals['_ADDGROUPCOMMANDSUBMENURESPONSE']._serialized_end=9462 + _globals['_REMOVEGROUPCOMMANDITEMREQUEST']._serialized_start=9464 + _globals['_REMOVEGROUPCOMMANDITEMREQUEST']._serialized_end=9529 + _globals['_REMOVEGROUPCOMMANDITEMRESPONSE']._serialized_start=9531 + _globals['_REMOVEGROUPCOMMANDITEMRESPONSE']._serialized_end=9563 + _globals['_GETSESSIONIDREQUEST']._serialized_start=9565 + _globals['_GETSESSIONIDREQUEST']._serialized_end=9586 + _globals['_GETSESSIONIDRESPONSE']._serialized_start=9588 + _globals['_GETSESSIONIDRESPONSE']._serialized_end=9630 + _globals['_MISSIONSERVICE']._serialized_start=9633 + _globals['_MISSIONSERVICE']._serialized_end=11269 # @@protoc_insertion_point(module_scope) diff --git a/dcs/mission/v0/mission_pb2.pyi b/dcs/mission/v0/mission_pb2.pyi index 45ce18e..b32475c 100644 --- a/dcs/mission/v0/mission_pb2.pyi +++ b/dcs/mission/v0/mission_pb2.pyi @@ -13,7 +13,7 @@ class StreamEventsRequest(_message.Message): def __init__(self) -> None: ... class StreamEventsResponse(_message.Message): - __slots__ = ["time", "shot", "hit", "takeoff", "land", "crash", "ejection", "refueling", "dead", "pilot_dead", "base_capture", "mission_start", "mission_end", "refueling_stop", "birth", "human_failure", "detailed_failure", "engine_startup", "engine_shutdown", "player_enter_unit", "player_leave_unit", "shooting_start", "shooting_end", "mark_add", "mark_change", "mark_remove", "kill", "score", "unit_lost", "landing_after_ejection", "discard_chair_after_ejection", "weapon_add", "landing_quality_mark", "connect", "disconnect", "player_send_chat", "player_change_slot", "mission_command", "coalition_command", "group_command"] + __slots__ = ["time", "shot", "hit", "takeoff", "land", "crash", "ejection", "refueling", "dead", "pilot_dead", "base_capture", "mission_start", "mission_end", "refueling_stop", "birth", "human_failure", "detailed_failure", "engine_startup", "engine_shutdown", "player_enter_unit", "player_leave_unit", "shooting_start", "shooting_end", "mark_add", "mark_change", "mark_remove", "kill", "score", "unit_lost", "landing_after_ejection", "discard_chair_after_ejection", "weapon_add", "landing_quality_mark", "connect", "disconnect", "player_send_chat", "player_change_slot", "mission_command", "coalition_command", "group_command", "simulation_fps", "tts"] class DisconnectReason(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): __slots__ = [] DISCONNECT_REASON_UNSPECIFIED: _ClassVar[StreamEventsResponse.DisconnectReason] @@ -323,6 +323,22 @@ class StreamEventsResponse(_message.Message): group: _common_pb2.Group details: _struct_pb2.Struct def __init__(self, group: _Optional[_Union[_common_pb2.Group, _Mapping]] = ..., details: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ... + class SimulationFpsEvent(_message.Message): + __slots__ = ["average"] + AVERAGE_FIELD_NUMBER: _ClassVar[int] + average: float + def __init__(self, average: _Optional[float] = ...) -> None: ... + class TtsEvent(_message.Message): + __slots__ = ["text", "frequency", "coalition", "srs_client_name"] + TEXT_FIELD_NUMBER: _ClassVar[int] + FREQUENCY_FIELD_NUMBER: _ClassVar[int] + COALITION_FIELD_NUMBER: _ClassVar[int] + SRS_CLIENT_NAME_FIELD_NUMBER: _ClassVar[int] + text: str + frequency: int + coalition: _common_pb2.Coalition + srs_client_name: str + def __init__(self, text: _Optional[str] = ..., frequency: _Optional[int] = ..., coalition: _Optional[_Union[_common_pb2.Coalition, str]] = ..., srs_client_name: _Optional[str] = ...) -> None: ... TIME_FIELD_NUMBER: _ClassVar[int] SHOT_FIELD_NUMBER: _ClassVar[int] HIT_FIELD_NUMBER: _ClassVar[int] @@ -363,6 +379,8 @@ class StreamEventsResponse(_message.Message): MISSION_COMMAND_FIELD_NUMBER: _ClassVar[int] COALITION_COMMAND_FIELD_NUMBER: _ClassVar[int] GROUP_COMMAND_FIELD_NUMBER: _ClassVar[int] + SIMULATION_FPS_FIELD_NUMBER: _ClassVar[int] + TTS_FIELD_NUMBER: _ClassVar[int] time: float shot: StreamEventsResponse.ShotEvent hit: StreamEventsResponse.HitEvent @@ -403,7 +421,9 @@ class StreamEventsResponse(_message.Message): mission_command: StreamEventsResponse.MissionCommandEvent coalition_command: StreamEventsResponse.CoalitionCommandEvent group_command: StreamEventsResponse.GroupCommandEvent - def __init__(self, time: _Optional[float] = ..., shot: _Optional[_Union[StreamEventsResponse.ShotEvent, _Mapping]] = ..., hit: _Optional[_Union[StreamEventsResponse.HitEvent, _Mapping]] = ..., takeoff: _Optional[_Union[StreamEventsResponse.TakeoffEvent, _Mapping]] = ..., land: _Optional[_Union[StreamEventsResponse.LandEvent, _Mapping]] = ..., crash: _Optional[_Union[StreamEventsResponse.CrashEvent, _Mapping]] = ..., ejection: _Optional[_Union[StreamEventsResponse.EjectionEvent, _Mapping]] = ..., refueling: _Optional[_Union[StreamEventsResponse.RefuelingEvent, _Mapping]] = ..., dead: _Optional[_Union[StreamEventsResponse.DeadEvent, _Mapping]] = ..., pilot_dead: _Optional[_Union[StreamEventsResponse.PilotDeadEvent, _Mapping]] = ..., base_capture: _Optional[_Union[StreamEventsResponse.BaseCaptureEvent, _Mapping]] = ..., mission_start: _Optional[_Union[StreamEventsResponse.MissionStartEvent, _Mapping]] = ..., mission_end: _Optional[_Union[StreamEventsResponse.MissionEndEvent, _Mapping]] = ..., refueling_stop: _Optional[_Union[StreamEventsResponse.RefuelingStopEvent, _Mapping]] = ..., birth: _Optional[_Union[StreamEventsResponse.BirthEvent, _Mapping]] = ..., human_failure: _Optional[_Union[StreamEventsResponse.HumanFailureEvent, _Mapping]] = ..., detailed_failure: _Optional[_Union[StreamEventsResponse.DetailedFailureEvent, _Mapping]] = ..., engine_startup: _Optional[_Union[StreamEventsResponse.EngineStartupEvent, _Mapping]] = ..., engine_shutdown: _Optional[_Union[StreamEventsResponse.EngineShutdownEvent, _Mapping]] = ..., player_enter_unit: _Optional[_Union[StreamEventsResponse.PlayerEnterUnitEvent, _Mapping]] = ..., player_leave_unit: _Optional[_Union[StreamEventsResponse.PlayerLeaveUnitEvent, _Mapping]] = ..., shooting_start: _Optional[_Union[StreamEventsResponse.ShootingStartEvent, _Mapping]] = ..., shooting_end: _Optional[_Union[StreamEventsResponse.ShootingEndEvent, _Mapping]] = ..., mark_add: _Optional[_Union[StreamEventsResponse.MarkAddEvent, _Mapping]] = ..., mark_change: _Optional[_Union[StreamEventsResponse.MarkChangeEvent, _Mapping]] = ..., mark_remove: _Optional[_Union[StreamEventsResponse.MarkRemoveEvent, _Mapping]] = ..., kill: _Optional[_Union[StreamEventsResponse.KillEvent, _Mapping]] = ..., score: _Optional[_Union[StreamEventsResponse.ScoreEvent, _Mapping]] = ..., unit_lost: _Optional[_Union[StreamEventsResponse.UnitLostEvent, _Mapping]] = ..., landing_after_ejection: _Optional[_Union[StreamEventsResponse.LandingAfterEjectionEvent, _Mapping]] = ..., discard_chair_after_ejection: _Optional[_Union[StreamEventsResponse.DiscardChairAfterEjectionEvent, _Mapping]] = ..., weapon_add: _Optional[_Union[StreamEventsResponse.WeaponAddEvent, _Mapping]] = ..., landing_quality_mark: _Optional[_Union[StreamEventsResponse.LandingQualityMarkEvent, _Mapping]] = ..., connect: _Optional[_Union[StreamEventsResponse.ConnectEvent, _Mapping]] = ..., disconnect: _Optional[_Union[StreamEventsResponse.DisconnectEvent, _Mapping]] = ..., player_send_chat: _Optional[_Union[StreamEventsResponse.PlayerSendChatEvent, _Mapping]] = ..., player_change_slot: _Optional[_Union[StreamEventsResponse.PlayerChangeSlotEvent, _Mapping]] = ..., mission_command: _Optional[_Union[StreamEventsResponse.MissionCommandEvent, _Mapping]] = ..., coalition_command: _Optional[_Union[StreamEventsResponse.CoalitionCommandEvent, _Mapping]] = ..., group_command: _Optional[_Union[StreamEventsResponse.GroupCommandEvent, _Mapping]] = ...) -> None: ... + simulation_fps: StreamEventsResponse.SimulationFpsEvent + tts: StreamEventsResponse.TtsEvent + def __init__(self, time: _Optional[float] = ..., shot: _Optional[_Union[StreamEventsResponse.ShotEvent, _Mapping]] = ..., hit: _Optional[_Union[StreamEventsResponse.HitEvent, _Mapping]] = ..., takeoff: _Optional[_Union[StreamEventsResponse.TakeoffEvent, _Mapping]] = ..., land: _Optional[_Union[StreamEventsResponse.LandEvent, _Mapping]] = ..., crash: _Optional[_Union[StreamEventsResponse.CrashEvent, _Mapping]] = ..., ejection: _Optional[_Union[StreamEventsResponse.EjectionEvent, _Mapping]] = ..., refueling: _Optional[_Union[StreamEventsResponse.RefuelingEvent, _Mapping]] = ..., dead: _Optional[_Union[StreamEventsResponse.DeadEvent, _Mapping]] = ..., pilot_dead: _Optional[_Union[StreamEventsResponse.PilotDeadEvent, _Mapping]] = ..., base_capture: _Optional[_Union[StreamEventsResponse.BaseCaptureEvent, _Mapping]] = ..., mission_start: _Optional[_Union[StreamEventsResponse.MissionStartEvent, _Mapping]] = ..., mission_end: _Optional[_Union[StreamEventsResponse.MissionEndEvent, _Mapping]] = ..., refueling_stop: _Optional[_Union[StreamEventsResponse.RefuelingStopEvent, _Mapping]] = ..., birth: _Optional[_Union[StreamEventsResponse.BirthEvent, _Mapping]] = ..., human_failure: _Optional[_Union[StreamEventsResponse.HumanFailureEvent, _Mapping]] = ..., detailed_failure: _Optional[_Union[StreamEventsResponse.DetailedFailureEvent, _Mapping]] = ..., engine_startup: _Optional[_Union[StreamEventsResponse.EngineStartupEvent, _Mapping]] = ..., engine_shutdown: _Optional[_Union[StreamEventsResponse.EngineShutdownEvent, _Mapping]] = ..., player_enter_unit: _Optional[_Union[StreamEventsResponse.PlayerEnterUnitEvent, _Mapping]] = ..., player_leave_unit: _Optional[_Union[StreamEventsResponse.PlayerLeaveUnitEvent, _Mapping]] = ..., shooting_start: _Optional[_Union[StreamEventsResponse.ShootingStartEvent, _Mapping]] = ..., shooting_end: _Optional[_Union[StreamEventsResponse.ShootingEndEvent, _Mapping]] = ..., mark_add: _Optional[_Union[StreamEventsResponse.MarkAddEvent, _Mapping]] = ..., mark_change: _Optional[_Union[StreamEventsResponse.MarkChangeEvent, _Mapping]] = ..., mark_remove: _Optional[_Union[StreamEventsResponse.MarkRemoveEvent, _Mapping]] = ..., kill: _Optional[_Union[StreamEventsResponse.KillEvent, _Mapping]] = ..., score: _Optional[_Union[StreamEventsResponse.ScoreEvent, _Mapping]] = ..., unit_lost: _Optional[_Union[StreamEventsResponse.UnitLostEvent, _Mapping]] = ..., landing_after_ejection: _Optional[_Union[StreamEventsResponse.LandingAfterEjectionEvent, _Mapping]] = ..., discard_chair_after_ejection: _Optional[_Union[StreamEventsResponse.DiscardChairAfterEjectionEvent, _Mapping]] = ..., weapon_add: _Optional[_Union[StreamEventsResponse.WeaponAddEvent, _Mapping]] = ..., landing_quality_mark: _Optional[_Union[StreamEventsResponse.LandingQualityMarkEvent, _Mapping]] = ..., connect: _Optional[_Union[StreamEventsResponse.ConnectEvent, _Mapping]] = ..., disconnect: _Optional[_Union[StreamEventsResponse.DisconnectEvent, _Mapping]] = ..., player_send_chat: _Optional[_Union[StreamEventsResponse.PlayerSendChatEvent, _Mapping]] = ..., player_change_slot: _Optional[_Union[StreamEventsResponse.PlayerChangeSlotEvent, _Mapping]] = ..., mission_command: _Optional[_Union[StreamEventsResponse.MissionCommandEvent, _Mapping]] = ..., coalition_command: _Optional[_Union[StreamEventsResponse.CoalitionCommandEvent, _Mapping]] = ..., group_command: _Optional[_Union[StreamEventsResponse.GroupCommandEvent, _Mapping]] = ..., simulation_fps: _Optional[_Union[StreamEventsResponse.SimulationFpsEvent, _Mapping]] = ..., tts: _Optional[_Union[StreamEventsResponse.TtsEvent, _Mapping]] = ...) -> None: ... class StreamUnitsRequest(_message.Message): __slots__ = ["poll_rate", "max_backoff", "category"] @@ -416,7 +436,7 @@ class StreamUnitsRequest(_message.Message): def __init__(self, poll_rate: _Optional[int] = ..., max_backoff: _Optional[int] = ..., category: _Optional[_Union[_common_pb2.GroupCategory, str]] = ...) -> None: ... class StreamUnitsResponse(_message.Message): - __slots__ = ["unit", "gone"] + __slots__ = ["time", "unit", "gone"] class UnitGone(_message.Message): __slots__ = ["id", "name"] ID_FIELD_NUMBER: _ClassVar[int] @@ -424,11 +444,13 @@ class StreamUnitsResponse(_message.Message): id: int name: str def __init__(self, id: _Optional[int] = ..., name: _Optional[str] = ...) -> None: ... + TIME_FIELD_NUMBER: _ClassVar[int] UNIT_FIELD_NUMBER: _ClassVar[int] GONE_FIELD_NUMBER: _ClassVar[int] + time: float unit: _common_pb2.Unit gone: StreamUnitsResponse.UnitGone - def __init__(self, unit: _Optional[_Union[_common_pb2.Unit, _Mapping]] = ..., gone: _Optional[_Union[StreamUnitsResponse.UnitGone, _Mapping]] = ...) -> None: ... + def __init__(self, time: _Optional[float] = ..., unit: _Optional[_Union[_common_pb2.Unit, _Mapping]] = ..., gone: _Optional[_Union[StreamUnitsResponse.UnitGone, _Mapping]] = ...) -> None: ... class GetScenarioStartTimeRequest(_message.Message): __slots__ = [] @@ -581,3 +603,13 @@ class RemoveGroupCommandItemRequest(_message.Message): class RemoveGroupCommandItemResponse(_message.Message): __slots__ = [] def __init__(self) -> None: ... + +class GetSessionIdRequest(_message.Message): + __slots__ = [] + def __init__(self) -> None: ... + +class GetSessionIdResponse(_message.Message): + __slots__ = ["session_id"] + SESSION_ID_FIELD_NUMBER: _ClassVar[int] + session_id: int + def __init__(self, session_id: _Optional[int] = ...) -> None: ... diff --git a/dcs/mission/v0/mission_pb2_grpc.py b/dcs/mission/v0/mission_pb2_grpc.py index 5428bad..3ceca7c 100644 --- a/dcs/mission/v0/mission_pb2_grpc.py +++ b/dcs/mission/v0/mission_pb2_grpc.py @@ -85,6 +85,11 @@ def __init__(self, channel): request_serializer=dcs_dot_mission_dot_v0_dot_mission__pb2.RemoveGroupCommandItemRequest.SerializeToString, response_deserializer=dcs_dot_mission_dot_v0_dot_mission__pb2.RemoveGroupCommandItemResponse.FromString, ) + self.GetSessionId = channel.unary_unary( + '/dcs.mission.v0.MissionService/GetSessionId', + request_serializer=dcs_dot_mission_dot_v0_dot_mission__pb2.GetSessionIdRequest.SerializeToString, + response_deserializer=dcs_dot_mission_dot_v0_dot_mission__pb2.GetSessionIdResponse.FromString, + ) class MissionServiceServicer(object): @@ -202,6 +207,14 @@ def RemoveGroupCommandItem(self, request, context): context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') + def GetSessionId(self, request, context): + """Returns an ID for the current session. + The ID will change upon mission change or server restart. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + def add_MissionServiceServicer_to_server(servicer, server): rpc_method_handlers = { @@ -270,6 +283,11 @@ def add_MissionServiceServicer_to_server(servicer, server): request_deserializer=dcs_dot_mission_dot_v0_dot_mission__pb2.RemoveGroupCommandItemRequest.FromString, response_serializer=dcs_dot_mission_dot_v0_dot_mission__pb2.RemoveGroupCommandItemResponse.SerializeToString, ), + 'GetSessionId': grpc.unary_unary_rpc_method_handler( + servicer.GetSessionId, + request_deserializer=dcs_dot_mission_dot_v0_dot_mission__pb2.GetSessionIdRequest.FromString, + response_serializer=dcs_dot_mission_dot_v0_dot_mission__pb2.GetSessionIdResponse.SerializeToString, + ), } generic_handler = grpc.method_handlers_generic_handler( 'dcs.mission.v0.MissionService', rpc_method_handlers) @@ -506,3 +524,20 @@ def RemoveGroupCommandItem(request, dcs_dot_mission_dot_v0_dot_mission__pb2.RemoveGroupCommandItemResponse.FromString, options, channel_credentials, insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetSessionId(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dcs.mission.v0.MissionService/GetSessionId', + dcs_dot_mission_dot_v0_dot_mission__pb2.GetSessionIdRequest.SerializeToString, + dcs_dot_mission_dot_v0_dot_mission__pb2.GetSessionIdResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/dcs/trigger/v0/trigger_pb2.py b/dcs/trigger/v0/trigger_pb2.py index 452aa67..03dff42 100644 --- a/dcs/trigger/v0/trigger_pb2.py +++ b/dcs/trigger/v0/trigger_pb2.py @@ -14,7 +14,7 @@ from dcs.common.v0 import common_pb2 as dcs_dot_common_dot_v0_dot_common__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x64\x63s/trigger/v0/trigger.proto\x12\x0e\x64\x63s.trigger.v0\x1a\x1a\x64\x63s/common/v0/common.proto\"H\n\x0eOutTextRequest\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_time\x18\x02 \x01(\x05\x12\x12\n\nclear_view\x18\x03 \x01(\x08\"\x11\n\x0fOutTextResponse\"\x81\x01\n\x1aOutTextForCoalitionRequest\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_time\x18\x02 \x01(\x05\x12\x12\n\nclear_view\x18\x03 \x01(\x08\x12+\n\tcoalition\x18\x04 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\"\x1d\n\x1bOutTextForCoalitionResponse\"b\n\x16OutTextForGroupRequest\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_time\x18\x02 \x01(\x05\x12\x12\n\nclear_view\x18\x03 \x01(\x08\x12\x10\n\x08group_id\x18\x04 \x01(\r\"\x19\n\x17OutTextForGroupResponse\"`\n\x15OutTextForUnitRequest\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_time\x18\x02 \x01(\x05\x12\x12\n\nclear_view\x18\x03 \x01(\x08\x12\x0f\n\x07unit_id\x18\x04 \x01(\r\"\x18\n\x16OutTextForUnitResponse\"\"\n\x12GetUserFlagRequest\x12\x0c\n\x04\x66lag\x18\x01 \x01(\t\"$\n\x13GetUserFlagResponse\x12\r\n\x05value\x18\x01 \x01(\r\"1\n\x12SetUserFlagRequest\x12\x0c\n\x04\x66lag\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\r\"\x15\n\x13SetUserFlagResponse\"o\n\x10MarkToAllRequest\x12\x0c\n\x04text\x18\x02 \x01(\t\x12)\n\x08position\x18\x03 \x01(\x0b\x32\x17.dcs.common.v0.Position\x12\x11\n\tread_only\x18\x04 \x01(\x08\x12\x0f\n\x07message\x18\x05 \x01(\t\"\x1f\n\x11MarkToAllResponse\x12\n\n\x02id\x18\x01 \x01(\r\"\xae\x01\n\x16MarkToCoalitionRequest\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0c\n\x04text\x18\x02 \x01(\t\x12)\n\x08position\x18\x03 \x01(\x0b\x32\x17.dcs.common.v0.Position\x12+\n\tcoalition\x18\x04 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12\x11\n\tread_only\x18\x05 \x01(\x08\x12\x0f\n\x07message\x18\x06 \x01(\t\"%\n\x17MarkToCoalitionResponse\x12\n\n\x02id\x18\x01 \x01(\r\"\x8f\x01\n\x12MarkToGroupRequest\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0c\n\x04text\x18\x02 \x01(\t\x12)\n\x08position\x18\x03 \x01(\x0b\x32\x17.dcs.common.v0.Position\x12\x10\n\x08group_id\x18\x04 \x01(\r\x12\x11\n\tread_only\x18\x05 \x01(\x08\x12\x0f\n\x07message\x18\x06 \x01(\t\"!\n\x13MarkToGroupResponse\x12\n\n\x02id\x18\x01 \x01(\r\"\x1f\n\x11RemoveMarkRequest\x12\n\n\x02id\x18\x01 \x01(\r\"\x14\n\x12RemoveMarkResponse\"L\n\x10\x45xplosionRequest\x12)\n\x08position\x18\x01 \x01(\x0b\x32\x17.dcs.common.v0.Position\x12\r\n\x05power\x18\x02 \x01(\r\"\x13\n\x11\x45xplosionResponse\"\x8e\x02\n\x0cSmokeRequest\x12)\n\x08position\x18\x01 \x01(\x0b\x32\x17.dcs.common.v0.Position\x12\x36\n\x05\x63olor\x18\x02 \x01(\x0e\x32\'.dcs.trigger.v0.SmokeRequest.SmokeColor\"\x9a\x01\n\nSmokeColor\x12\x1b\n\x17SMOKE_COLOR_UNSPECIFIED\x10\x00\x12\x15\n\x11SMOKE_COLOR_GREEN\x10\x01\x12\x13\n\x0fSMOKE_COLOR_RED\x10\x02\x12\x15\n\x11SMOKE_COLOR_WHITE\x10\x03\x12\x16\n\x12SMOKE_COLOR_ORANGE\x10\x04\x12\x14\n\x10SMOKE_COLOR_BLUE\x10\x05\"\x0f\n\rSmokeResponse\"S\n\x17IlluminationBombRequest\x12)\n\x08position\x18\x01 \x01(\x0b\x32\x17.dcs.common.v0.Position\x12\r\n\x05power\x18\x02 \x01(\r\"\x1a\n\x18IlluminationBombResponse\"\x95\x02\n\x12SignalFlareRequest\x12)\n\x08position\x18\x01 \x01(\x0b\x32\x17.dcs.common.v0.Position\x12<\n\x05\x63olor\x18\x02 \x01(\x0e\x32-.dcs.trigger.v0.SignalFlareRequest.FlareColor\x12\x0f\n\x07\x61zimuth\x18\x03 \x01(\r\"\x84\x01\n\nFlareColor\x12\x1b\n\x17\x46LARE_COLOR_UNSPECIFIED\x10\x00\x12\x15\n\x11\x46LARE_COLOR_GREEN\x10\x01\x12\x13\n\x0f\x46LARE_COLOR_RED\x10\x02\x12\x15\n\x11\x46LARE_COLOR_WHITE\x10\x03\x12\x16\n\x12\x46LARE_COLOR_YELLOW\x10\x04\"\x15\n\x13SignalFlareResponse\"@\n\x05\x43olor\x12\x0b\n\x03red\x18\x01 \x01(\x01\x12\r\n\x05green\x18\x02 \x01(\x01\x12\x0c\n\x04\x62lue\x18\x03 \x01(\x01\x12\r\n\x05\x61lpha\x18\x04 \x01(\x01\"\x8c\x02\n\x12MarkupToAllRequest\x12$\n\x05shape\x18\x01 \x01(\x0e\x32\x15.dcs.trigger.v0.Shape\x12\'\n\x06points\x18\x02 \x03(\x0b\x32\x17.dcs.common.v0.Position\x12+\n\x0c\x62order_color\x18\x03 \x01(\x0b\x32\x15.dcs.trigger.v0.Color\x12)\n\nfill_color\x18\x04 \x01(\x0b\x32\x15.dcs.trigger.v0.Color\x12+\n\tline_type\x18\x05 \x01(\x0e\x32\x18.dcs.trigger.v0.LineType\x12\x11\n\tread_only\x18\x06 \x01(\x08\x12\x0f\n\x07message\x18\x07 \x01(\t\"!\n\x13MarkupToAllResponse\x12\n\n\x02id\x18\x01 \x01(\r\"\xbf\x02\n\x18MarkupToCoalitionRequest\x12$\n\x05shape\x18\x01 \x01(\x0e\x32\x15.dcs.trigger.v0.Shape\x12+\n\tcoalition\x18\x02 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12\'\n\x06points\x18\x03 \x03(\x0b\x32\x17.dcs.common.v0.Position\x12+\n\x0c\x62order_color\x18\x04 \x01(\x0b\x32\x15.dcs.trigger.v0.Color\x12)\n\nfill_color\x18\x05 \x01(\x0b\x32\x15.dcs.trigger.v0.Color\x12+\n\tline_type\x18\x06 \x01(\x0e\x32\x18.dcs.trigger.v0.LineType\x12\x11\n\tread_only\x18\x07 \x01(\x08\x12\x0f\n\x07message\x18\x08 \x01(\t\"\'\n\x19MarkupToCoalitionResponse\x12\n\n\x02id\x18\x01 \x01(\r*\xab\x01\n\x08LineType\x12\x15\n\x11LINE_TYPE_NO_LINE\x10\x00\x12\x13\n\x0fLINE_TYPE_SOLID\x10\x01\x12\x14\n\x10LINE_TYPE_DASHED\x10\x02\x12\x14\n\x10LINE_TYPE_DOTTED\x10\x03\x12\x16\n\x12LINE_TYPE_DOT_DASH\x10\x04\x12\x17\n\x13LINE_TYPE_LONG_DASH\x10\x05\x12\x16\n\x12LINE_TYPE_TWO_DASH\x10\x06*\x95\x01\n\x05Shape\x12\x15\n\x11SHAPE_UNSPECIFIED\x10\x00\x12\x0e\n\nSHAPE_LINE\x10\x01\x12\x10\n\x0cSHAPE_CIRCLE\x10\x02\x12\x0e\n\nSHAPE_RECT\x10\x03\x12\x0f\n\x0bSHAPE_ARROW\x10\x04\x12\x0e\n\nSHAPE_TEXT\x10\x05\x12\x0e\n\nSHAPE_QUAD\x10\x06\x12\x12\n\x0eSHAPE_FREEFORM\x10\x07\x32\xdd\x0b\n\x0eTriggerService\x12L\n\x07OutText\x12\x1e.dcs.trigger.v0.OutTextRequest\x1a\x1f.dcs.trigger.v0.OutTextResponse\"\x00\x12p\n\x13OutTextForCoalition\x12*.dcs.trigger.v0.OutTextForCoalitionRequest\x1a+.dcs.trigger.v0.OutTextForCoalitionResponse\"\x00\x12\x64\n\x0fOutTextForGroup\x12&.dcs.trigger.v0.OutTextForGroupRequest\x1a\'.dcs.trigger.v0.OutTextForGroupResponse\"\x00\x12\x61\n\x0eOutTextForUnit\x12%.dcs.trigger.v0.OutTextForUnitRequest\x1a&.dcs.trigger.v0.OutTextForUnitResponse\"\x00\x12X\n\x0bGetUserFlag\x12\".dcs.trigger.v0.GetUserFlagRequest\x1a#.dcs.trigger.v0.GetUserFlagResponse\"\x00\x12X\n\x0bSetUserFlag\x12\".dcs.trigger.v0.SetUserFlagRequest\x1a#.dcs.trigger.v0.SetUserFlagResponse\"\x00\x12R\n\tMarkToAll\x12 .dcs.trigger.v0.MarkToAllRequest\x1a!.dcs.trigger.v0.MarkToAllResponse\"\x00\x12\x64\n\x0fMarkToCoalition\x12&.dcs.trigger.v0.MarkToCoalitionRequest\x1a\'.dcs.trigger.v0.MarkToCoalitionResponse\"\x00\x12X\n\x0bMarkToGroup\x12\".dcs.trigger.v0.MarkToGroupRequest\x1a#.dcs.trigger.v0.MarkToGroupResponse\"\x00\x12X\n\x0bMarkupToAll\x12\".dcs.trigger.v0.MarkupToAllRequest\x1a#.dcs.trigger.v0.MarkupToAllResponse\"\x00\x12j\n\x11MarkupToCoalition\x12(.dcs.trigger.v0.MarkupToCoalitionRequest\x1a).dcs.trigger.v0.MarkupToCoalitionResponse\"\x00\x12U\n\nRemoveMark\x12!.dcs.trigger.v0.RemoveMarkRequest\x1a\".dcs.trigger.v0.RemoveMarkResponse\"\x00\x12R\n\tExplosion\x12 .dcs.trigger.v0.ExplosionRequest\x1a!.dcs.trigger.v0.ExplosionResponse\"\x00\x12\x46\n\x05Smoke\x12\x1c.dcs.trigger.v0.SmokeRequest\x1a\x1d.dcs.trigger.v0.SmokeResponse\"\x00\x12g\n\x10IlluminationBomb\x12\'.dcs.trigger.v0.IlluminationBombRequest\x1a(.dcs.trigger.v0.IlluminationBombResponse\"\x00\x12X\n\x0bSignalFlare\x12\".dcs.trigger.v0.SignalFlareRequest\x1a#.dcs.trigger.v0.SignalFlareResponse\"\x00\x42SZ.github.com/DCS-gRPC/go-bindings/dcs/v0/trigger\xaa\x02 RurouniJones.Dcs.Grpc.V0.Triggerb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x64\x63s/trigger/v0/trigger.proto\x12\x0e\x64\x63s.trigger.v0\x1a\x1a\x64\x63s/common/v0/common.proto\"H\n\x0eOutTextRequest\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_time\x18\x02 \x01(\x05\x12\x12\n\nclear_view\x18\x03 \x01(\x08\"\x11\n\x0fOutTextResponse\"\x81\x01\n\x1aOutTextForCoalitionRequest\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_time\x18\x02 \x01(\x05\x12\x12\n\nclear_view\x18\x03 \x01(\x08\x12+\n\tcoalition\x18\x04 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\"\x1d\n\x1bOutTextForCoalitionResponse\"b\n\x16OutTextForGroupRequest\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_time\x18\x02 \x01(\x05\x12\x12\n\nclear_view\x18\x03 \x01(\x08\x12\x10\n\x08group_id\x18\x04 \x01(\r\"\x19\n\x17OutTextForGroupResponse\"`\n\x15OutTextForUnitRequest\x12\x0c\n\x04text\x18\x01 \x01(\t\x12\x14\n\x0c\x64isplay_time\x18\x02 \x01(\x05\x12\x12\n\nclear_view\x18\x03 \x01(\x08\x12\x0f\n\x07unit_id\x18\x04 \x01(\r\"\x18\n\x16OutTextForUnitResponse\"\"\n\x12GetUserFlagRequest\x12\x0c\n\x04\x66lag\x18\x01 \x01(\t\"$\n\x13GetUserFlagResponse\x12\r\n\x05value\x18\x01 \x01(\r\"1\n\x12SetUserFlagRequest\x12\x0c\n\x04\x66lag\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\r\"\x15\n\x13SetUserFlagResponse\"t\n\x10MarkToAllRequest\x12\x0c\n\x04text\x18\x02 \x01(\t\x12.\n\x08position\x18\x03 \x01(\x0b\x32\x1c.dcs.common.v0.InputPosition\x12\x11\n\tread_only\x18\x04 \x01(\x08\x12\x0f\n\x07message\x18\x05 \x01(\t\"\x1f\n\x11MarkToAllResponse\x12\n\n\x02id\x18\x01 \x01(\r\"\xb3\x01\n\x16MarkToCoalitionRequest\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0c\n\x04text\x18\x02 \x01(\t\x12.\n\x08position\x18\x03 \x01(\x0b\x32\x1c.dcs.common.v0.InputPosition\x12+\n\tcoalition\x18\x04 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12\x11\n\tread_only\x18\x05 \x01(\x08\x12\x0f\n\x07message\x18\x06 \x01(\t\"%\n\x17MarkToCoalitionResponse\x12\n\n\x02id\x18\x01 \x01(\r\"\x94\x01\n\x12MarkToGroupRequest\x12\n\n\x02id\x18\x01 \x01(\r\x12\x0c\n\x04text\x18\x02 \x01(\t\x12.\n\x08position\x18\x03 \x01(\x0b\x32\x1c.dcs.common.v0.InputPosition\x12\x10\n\x08group_id\x18\x04 \x01(\r\x12\x11\n\tread_only\x18\x05 \x01(\x08\x12\x0f\n\x07message\x18\x06 \x01(\t\"!\n\x13MarkToGroupResponse\x12\n\n\x02id\x18\x01 \x01(\r\"\x1f\n\x11RemoveMarkRequest\x12\n\n\x02id\x18\x01 \x01(\r\"\x14\n\x12RemoveMarkResponse\"Q\n\x10\x45xplosionRequest\x12.\n\x08position\x18\x01 \x01(\x0b\x32\x1c.dcs.common.v0.InputPosition\x12\r\n\x05power\x18\x02 \x01(\r\"\x13\n\x11\x45xplosionResponse\"\x93\x02\n\x0cSmokeRequest\x12.\n\x08position\x18\x01 \x01(\x0b\x32\x1c.dcs.common.v0.InputPosition\x12\x36\n\x05\x63olor\x18\x02 \x01(\x0e\x32\'.dcs.trigger.v0.SmokeRequest.SmokeColor\"\x9a\x01\n\nSmokeColor\x12\x1b\n\x17SMOKE_COLOR_UNSPECIFIED\x10\x00\x12\x15\n\x11SMOKE_COLOR_GREEN\x10\x01\x12\x13\n\x0fSMOKE_COLOR_RED\x10\x02\x12\x15\n\x11SMOKE_COLOR_WHITE\x10\x03\x12\x16\n\x12SMOKE_COLOR_ORANGE\x10\x04\x12\x14\n\x10SMOKE_COLOR_BLUE\x10\x05\"\x0f\n\rSmokeResponse\"X\n\x17IlluminationBombRequest\x12.\n\x08position\x18\x01 \x01(\x0b\x32\x1c.dcs.common.v0.InputPosition\x12\r\n\x05power\x18\x02 \x01(\r\"\x1a\n\x18IlluminationBombResponse\"\x9a\x02\n\x12SignalFlareRequest\x12.\n\x08position\x18\x01 \x01(\x0b\x32\x1c.dcs.common.v0.InputPosition\x12<\n\x05\x63olor\x18\x02 \x01(\x0e\x32-.dcs.trigger.v0.SignalFlareRequest.FlareColor\x12\x0f\n\x07\x61zimuth\x18\x03 \x01(\r\"\x84\x01\n\nFlareColor\x12\x1b\n\x17\x46LARE_COLOR_UNSPECIFIED\x10\x00\x12\x15\n\x11\x46LARE_COLOR_GREEN\x10\x01\x12\x13\n\x0f\x46LARE_COLOR_RED\x10\x02\x12\x15\n\x11\x46LARE_COLOR_WHITE\x10\x03\x12\x16\n\x12\x46LARE_COLOR_YELLOW\x10\x04\"\x15\n\x13SignalFlareResponse\"@\n\x05\x43olor\x12\x0b\n\x03red\x18\x01 \x01(\x01\x12\r\n\x05green\x18\x02 \x01(\x01\x12\x0c\n\x04\x62lue\x18\x03 \x01(\x01\x12\r\n\x05\x61lpha\x18\x04 \x01(\x01\"\x91\x02\n\x12MarkupToAllRequest\x12$\n\x05shape\x18\x01 \x01(\x0e\x32\x15.dcs.trigger.v0.Shape\x12,\n\x06points\x18\x02 \x03(\x0b\x32\x1c.dcs.common.v0.InputPosition\x12+\n\x0c\x62order_color\x18\x03 \x01(\x0b\x32\x15.dcs.trigger.v0.Color\x12)\n\nfill_color\x18\x04 \x01(\x0b\x32\x15.dcs.trigger.v0.Color\x12+\n\tline_type\x18\x05 \x01(\x0e\x32\x18.dcs.trigger.v0.LineType\x12\x11\n\tread_only\x18\x06 \x01(\x08\x12\x0f\n\x07message\x18\x07 \x01(\t\"!\n\x13MarkupToAllResponse\x12\n\n\x02id\x18\x01 \x01(\r\"\xc4\x02\n\x18MarkupToCoalitionRequest\x12$\n\x05shape\x18\x01 \x01(\x0e\x32\x15.dcs.trigger.v0.Shape\x12+\n\tcoalition\x18\x02 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12,\n\x06points\x18\x03 \x03(\x0b\x32\x1c.dcs.common.v0.InputPosition\x12+\n\x0c\x62order_color\x18\x04 \x01(\x0b\x32\x15.dcs.trigger.v0.Color\x12)\n\nfill_color\x18\x05 \x01(\x0b\x32\x15.dcs.trigger.v0.Color\x12+\n\tline_type\x18\x06 \x01(\x0e\x32\x18.dcs.trigger.v0.LineType\x12\x11\n\tread_only\x18\x07 \x01(\x08\x12\x0f\n\x07message\x18\x08 \x01(\t\"\'\n\x19MarkupToCoalitionResponse\x12\n\n\x02id\x18\x01 \x01(\r*\xab\x01\n\x08LineType\x12\x15\n\x11LINE_TYPE_NO_LINE\x10\x00\x12\x13\n\x0fLINE_TYPE_SOLID\x10\x01\x12\x14\n\x10LINE_TYPE_DASHED\x10\x02\x12\x14\n\x10LINE_TYPE_DOTTED\x10\x03\x12\x16\n\x12LINE_TYPE_DOT_DASH\x10\x04\x12\x17\n\x13LINE_TYPE_LONG_DASH\x10\x05\x12\x16\n\x12LINE_TYPE_TWO_DASH\x10\x06*\x95\x01\n\x05Shape\x12\x15\n\x11SHAPE_UNSPECIFIED\x10\x00\x12\x0e\n\nSHAPE_LINE\x10\x01\x12\x10\n\x0cSHAPE_CIRCLE\x10\x02\x12\x0e\n\nSHAPE_RECT\x10\x03\x12\x0f\n\x0bSHAPE_ARROW\x10\x04\x12\x0e\n\nSHAPE_TEXT\x10\x05\x12\x0e\n\nSHAPE_QUAD\x10\x06\x12\x12\n\x0eSHAPE_FREEFORM\x10\x07\x32\xdd\x0b\n\x0eTriggerService\x12L\n\x07OutText\x12\x1e.dcs.trigger.v0.OutTextRequest\x1a\x1f.dcs.trigger.v0.OutTextResponse\"\x00\x12p\n\x13OutTextForCoalition\x12*.dcs.trigger.v0.OutTextForCoalitionRequest\x1a+.dcs.trigger.v0.OutTextForCoalitionResponse\"\x00\x12\x64\n\x0fOutTextForGroup\x12&.dcs.trigger.v0.OutTextForGroupRequest\x1a\'.dcs.trigger.v0.OutTextForGroupResponse\"\x00\x12\x61\n\x0eOutTextForUnit\x12%.dcs.trigger.v0.OutTextForUnitRequest\x1a&.dcs.trigger.v0.OutTextForUnitResponse\"\x00\x12X\n\x0bGetUserFlag\x12\".dcs.trigger.v0.GetUserFlagRequest\x1a#.dcs.trigger.v0.GetUserFlagResponse\"\x00\x12X\n\x0bSetUserFlag\x12\".dcs.trigger.v0.SetUserFlagRequest\x1a#.dcs.trigger.v0.SetUserFlagResponse\"\x00\x12R\n\tMarkToAll\x12 .dcs.trigger.v0.MarkToAllRequest\x1a!.dcs.trigger.v0.MarkToAllResponse\"\x00\x12\x64\n\x0fMarkToCoalition\x12&.dcs.trigger.v0.MarkToCoalitionRequest\x1a\'.dcs.trigger.v0.MarkToCoalitionResponse\"\x00\x12X\n\x0bMarkToGroup\x12\".dcs.trigger.v0.MarkToGroupRequest\x1a#.dcs.trigger.v0.MarkToGroupResponse\"\x00\x12X\n\x0bMarkupToAll\x12\".dcs.trigger.v0.MarkupToAllRequest\x1a#.dcs.trigger.v0.MarkupToAllResponse\"\x00\x12j\n\x11MarkupToCoalition\x12(.dcs.trigger.v0.MarkupToCoalitionRequest\x1a).dcs.trigger.v0.MarkupToCoalitionResponse\"\x00\x12U\n\nRemoveMark\x12!.dcs.trigger.v0.RemoveMarkRequest\x1a\".dcs.trigger.v0.RemoveMarkResponse\"\x00\x12R\n\tExplosion\x12 .dcs.trigger.v0.ExplosionRequest\x1a!.dcs.trigger.v0.ExplosionResponse\"\x00\x12\x46\n\x05Smoke\x12\x1c.dcs.trigger.v0.SmokeRequest\x1a\x1d.dcs.trigger.v0.SmokeResponse\"\x00\x12g\n\x10IlluminationBomb\x12\'.dcs.trigger.v0.IlluminationBombRequest\x1a(.dcs.trigger.v0.IlluminationBombResponse\"\x00\x12X\n\x0bSignalFlare\x12\".dcs.trigger.v0.SignalFlareRequest\x1a#.dcs.trigger.v0.SignalFlareResponse\"\x00\x42SZ.github.com/DCS-gRPC/go-bindings/dcs/v0/trigger\xaa\x02 RurouniJones.Dcs.Grpc.V0.Triggerb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -22,10 +22,10 @@ if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z.github.com/DCS-gRPC/go-bindings/dcs/v0/trigger\252\002 RurouniJones.Dcs.Grpc.V0.Trigger' - _globals['_LINETYPE']._serialized_start=2870 - _globals['_LINETYPE']._serialized_end=3041 - _globals['_SHAPE']._serialized_start=3044 - _globals['_SHAPE']._serialized_end=3193 + _globals['_LINETYPE']._serialized_start=2915 + _globals['_LINETYPE']._serialized_end=3086 + _globals['_SHAPE']._serialized_start=3089 + _globals['_SHAPE']._serialized_end=3238 _globals['_OUTTEXTREQUEST']._serialized_start=76 _globals['_OUTTEXTREQUEST']._serialized_end=148 _globals['_OUTTEXTRESPONSE']._serialized_start=150 @@ -51,51 +51,51 @@ _globals['_SETUSERFLAGRESPONSE']._serialized_start=708 _globals['_SETUSERFLAGRESPONSE']._serialized_end=729 _globals['_MARKTOALLREQUEST']._serialized_start=731 - _globals['_MARKTOALLREQUEST']._serialized_end=842 - _globals['_MARKTOALLRESPONSE']._serialized_start=844 - _globals['_MARKTOALLRESPONSE']._serialized_end=875 - _globals['_MARKTOCOALITIONREQUEST']._serialized_start=878 - _globals['_MARKTOCOALITIONREQUEST']._serialized_end=1052 - _globals['_MARKTOCOALITIONRESPONSE']._serialized_start=1054 - _globals['_MARKTOCOALITIONRESPONSE']._serialized_end=1091 - _globals['_MARKTOGROUPREQUEST']._serialized_start=1094 - _globals['_MARKTOGROUPREQUEST']._serialized_end=1237 - _globals['_MARKTOGROUPRESPONSE']._serialized_start=1239 - _globals['_MARKTOGROUPRESPONSE']._serialized_end=1272 - _globals['_REMOVEMARKREQUEST']._serialized_start=1274 - _globals['_REMOVEMARKREQUEST']._serialized_end=1305 - _globals['_REMOVEMARKRESPONSE']._serialized_start=1307 - _globals['_REMOVEMARKRESPONSE']._serialized_end=1327 - _globals['_EXPLOSIONREQUEST']._serialized_start=1329 - _globals['_EXPLOSIONREQUEST']._serialized_end=1405 - _globals['_EXPLOSIONRESPONSE']._serialized_start=1407 - _globals['_EXPLOSIONRESPONSE']._serialized_end=1426 - _globals['_SMOKEREQUEST']._serialized_start=1429 - _globals['_SMOKEREQUEST']._serialized_end=1699 - _globals['_SMOKEREQUEST_SMOKECOLOR']._serialized_start=1545 - _globals['_SMOKEREQUEST_SMOKECOLOR']._serialized_end=1699 - _globals['_SMOKERESPONSE']._serialized_start=1701 - _globals['_SMOKERESPONSE']._serialized_end=1716 - _globals['_ILLUMINATIONBOMBREQUEST']._serialized_start=1718 - _globals['_ILLUMINATIONBOMBREQUEST']._serialized_end=1801 - _globals['_ILLUMINATIONBOMBRESPONSE']._serialized_start=1803 - _globals['_ILLUMINATIONBOMBRESPONSE']._serialized_end=1829 - _globals['_SIGNALFLAREREQUEST']._serialized_start=1832 - _globals['_SIGNALFLAREREQUEST']._serialized_end=2109 - _globals['_SIGNALFLAREREQUEST_FLARECOLOR']._serialized_start=1977 - _globals['_SIGNALFLAREREQUEST_FLARECOLOR']._serialized_end=2109 - _globals['_SIGNALFLARERESPONSE']._serialized_start=2111 - _globals['_SIGNALFLARERESPONSE']._serialized_end=2132 - _globals['_COLOR']._serialized_start=2134 - _globals['_COLOR']._serialized_end=2198 - _globals['_MARKUPTOALLREQUEST']._serialized_start=2201 - _globals['_MARKUPTOALLREQUEST']._serialized_end=2469 - _globals['_MARKUPTOALLRESPONSE']._serialized_start=2471 - _globals['_MARKUPTOALLRESPONSE']._serialized_end=2504 - _globals['_MARKUPTOCOALITIONREQUEST']._serialized_start=2507 - _globals['_MARKUPTOCOALITIONREQUEST']._serialized_end=2826 - _globals['_MARKUPTOCOALITIONRESPONSE']._serialized_start=2828 - _globals['_MARKUPTOCOALITIONRESPONSE']._serialized_end=2867 - _globals['_TRIGGERSERVICE']._serialized_start=3196 - _globals['_TRIGGERSERVICE']._serialized_end=4697 + _globals['_MARKTOALLREQUEST']._serialized_end=847 + _globals['_MARKTOALLRESPONSE']._serialized_start=849 + _globals['_MARKTOALLRESPONSE']._serialized_end=880 + _globals['_MARKTOCOALITIONREQUEST']._serialized_start=883 + _globals['_MARKTOCOALITIONREQUEST']._serialized_end=1062 + _globals['_MARKTOCOALITIONRESPONSE']._serialized_start=1064 + _globals['_MARKTOCOALITIONRESPONSE']._serialized_end=1101 + _globals['_MARKTOGROUPREQUEST']._serialized_start=1104 + _globals['_MARKTOGROUPREQUEST']._serialized_end=1252 + _globals['_MARKTOGROUPRESPONSE']._serialized_start=1254 + _globals['_MARKTOGROUPRESPONSE']._serialized_end=1287 + _globals['_REMOVEMARKREQUEST']._serialized_start=1289 + _globals['_REMOVEMARKREQUEST']._serialized_end=1320 + _globals['_REMOVEMARKRESPONSE']._serialized_start=1322 + _globals['_REMOVEMARKRESPONSE']._serialized_end=1342 + _globals['_EXPLOSIONREQUEST']._serialized_start=1344 + _globals['_EXPLOSIONREQUEST']._serialized_end=1425 + _globals['_EXPLOSIONRESPONSE']._serialized_start=1427 + _globals['_EXPLOSIONRESPONSE']._serialized_end=1446 + _globals['_SMOKEREQUEST']._serialized_start=1449 + _globals['_SMOKEREQUEST']._serialized_end=1724 + _globals['_SMOKEREQUEST_SMOKECOLOR']._serialized_start=1570 + _globals['_SMOKEREQUEST_SMOKECOLOR']._serialized_end=1724 + _globals['_SMOKERESPONSE']._serialized_start=1726 + _globals['_SMOKERESPONSE']._serialized_end=1741 + _globals['_ILLUMINATIONBOMBREQUEST']._serialized_start=1743 + _globals['_ILLUMINATIONBOMBREQUEST']._serialized_end=1831 + _globals['_ILLUMINATIONBOMBRESPONSE']._serialized_start=1833 + _globals['_ILLUMINATIONBOMBRESPONSE']._serialized_end=1859 + _globals['_SIGNALFLAREREQUEST']._serialized_start=1862 + _globals['_SIGNALFLAREREQUEST']._serialized_end=2144 + _globals['_SIGNALFLAREREQUEST_FLARECOLOR']._serialized_start=2012 + _globals['_SIGNALFLAREREQUEST_FLARECOLOR']._serialized_end=2144 + _globals['_SIGNALFLARERESPONSE']._serialized_start=2146 + _globals['_SIGNALFLARERESPONSE']._serialized_end=2167 + _globals['_COLOR']._serialized_start=2169 + _globals['_COLOR']._serialized_end=2233 + _globals['_MARKUPTOALLREQUEST']._serialized_start=2236 + _globals['_MARKUPTOALLREQUEST']._serialized_end=2509 + _globals['_MARKUPTOALLRESPONSE']._serialized_start=2511 + _globals['_MARKUPTOALLRESPONSE']._serialized_end=2544 + _globals['_MARKUPTOCOALITIONREQUEST']._serialized_start=2547 + _globals['_MARKUPTOCOALITIONREQUEST']._serialized_end=2871 + _globals['_MARKUPTOCOALITIONRESPONSE']._serialized_start=2873 + _globals['_MARKUPTOCOALITIONRESPONSE']._serialized_end=2912 + _globals['_TRIGGERSERVICE']._serialized_start=3241 + _globals['_TRIGGERSERVICE']._serialized_end=4742 # @@protoc_insertion_point(module_scope) diff --git a/dcs/trigger/v0/trigger_pb2.pyi b/dcs/trigger/v0/trigger_pb2.pyi index e337766..178d72b 100644 --- a/dcs/trigger/v0/trigger_pb2.pyi +++ b/dcs/trigger/v0/trigger_pb2.pyi @@ -136,10 +136,10 @@ class MarkToAllRequest(_message.Message): READ_ONLY_FIELD_NUMBER: _ClassVar[int] MESSAGE_FIELD_NUMBER: _ClassVar[int] text: str - position: _common_pb2.Position + position: _common_pb2.InputPosition read_only: bool message: str - def __init__(self, text: _Optional[str] = ..., position: _Optional[_Union[_common_pb2.Position, _Mapping]] = ..., read_only: bool = ..., message: _Optional[str] = ...) -> None: ... + def __init__(self, text: _Optional[str] = ..., position: _Optional[_Union[_common_pb2.InputPosition, _Mapping]] = ..., read_only: bool = ..., message: _Optional[str] = ...) -> None: ... class MarkToAllResponse(_message.Message): __slots__ = ["id"] @@ -157,11 +157,11 @@ class MarkToCoalitionRequest(_message.Message): MESSAGE_FIELD_NUMBER: _ClassVar[int] id: int text: str - position: _common_pb2.Position + position: _common_pb2.InputPosition coalition: _common_pb2.Coalition read_only: bool message: str - def __init__(self, id: _Optional[int] = ..., text: _Optional[str] = ..., position: _Optional[_Union[_common_pb2.Position, _Mapping]] = ..., coalition: _Optional[_Union[_common_pb2.Coalition, str]] = ..., read_only: bool = ..., message: _Optional[str] = ...) -> None: ... + def __init__(self, id: _Optional[int] = ..., text: _Optional[str] = ..., position: _Optional[_Union[_common_pb2.InputPosition, _Mapping]] = ..., coalition: _Optional[_Union[_common_pb2.Coalition, str]] = ..., read_only: bool = ..., message: _Optional[str] = ...) -> None: ... class MarkToCoalitionResponse(_message.Message): __slots__ = ["id"] @@ -179,11 +179,11 @@ class MarkToGroupRequest(_message.Message): MESSAGE_FIELD_NUMBER: _ClassVar[int] id: int text: str - position: _common_pb2.Position + position: _common_pb2.InputPosition group_id: int read_only: bool message: str - def __init__(self, id: _Optional[int] = ..., text: _Optional[str] = ..., position: _Optional[_Union[_common_pb2.Position, _Mapping]] = ..., group_id: _Optional[int] = ..., read_only: bool = ..., message: _Optional[str] = ...) -> None: ... + def __init__(self, id: _Optional[int] = ..., text: _Optional[str] = ..., position: _Optional[_Union[_common_pb2.InputPosition, _Mapping]] = ..., group_id: _Optional[int] = ..., read_only: bool = ..., message: _Optional[str] = ...) -> None: ... class MarkToGroupResponse(_message.Message): __slots__ = ["id"] @@ -205,9 +205,9 @@ class ExplosionRequest(_message.Message): __slots__ = ["position", "power"] POSITION_FIELD_NUMBER: _ClassVar[int] POWER_FIELD_NUMBER: _ClassVar[int] - position: _common_pb2.Position + position: _common_pb2.InputPosition power: int - def __init__(self, position: _Optional[_Union[_common_pb2.Position, _Mapping]] = ..., power: _Optional[int] = ...) -> None: ... + def __init__(self, position: _Optional[_Union[_common_pb2.InputPosition, _Mapping]] = ..., power: _Optional[int] = ...) -> None: ... class ExplosionResponse(_message.Message): __slots__ = [] @@ -231,9 +231,9 @@ class SmokeRequest(_message.Message): SMOKE_COLOR_BLUE: SmokeRequest.SmokeColor POSITION_FIELD_NUMBER: _ClassVar[int] COLOR_FIELD_NUMBER: _ClassVar[int] - position: _common_pb2.Position + position: _common_pb2.InputPosition color: SmokeRequest.SmokeColor - def __init__(self, position: _Optional[_Union[_common_pb2.Position, _Mapping]] = ..., color: _Optional[_Union[SmokeRequest.SmokeColor, str]] = ...) -> None: ... + def __init__(self, position: _Optional[_Union[_common_pb2.InputPosition, _Mapping]] = ..., color: _Optional[_Union[SmokeRequest.SmokeColor, str]] = ...) -> None: ... class SmokeResponse(_message.Message): __slots__ = [] @@ -243,9 +243,9 @@ class IlluminationBombRequest(_message.Message): __slots__ = ["position", "power"] POSITION_FIELD_NUMBER: _ClassVar[int] POWER_FIELD_NUMBER: _ClassVar[int] - position: _common_pb2.Position + position: _common_pb2.InputPosition power: int - def __init__(self, position: _Optional[_Union[_common_pb2.Position, _Mapping]] = ..., power: _Optional[int] = ...) -> None: ... + def __init__(self, position: _Optional[_Union[_common_pb2.InputPosition, _Mapping]] = ..., power: _Optional[int] = ...) -> None: ... class IlluminationBombResponse(_message.Message): __slots__ = [] @@ -268,10 +268,10 @@ class SignalFlareRequest(_message.Message): POSITION_FIELD_NUMBER: _ClassVar[int] COLOR_FIELD_NUMBER: _ClassVar[int] AZIMUTH_FIELD_NUMBER: _ClassVar[int] - position: _common_pb2.Position + position: _common_pb2.InputPosition color: SignalFlareRequest.FlareColor azimuth: int - def __init__(self, position: _Optional[_Union[_common_pb2.Position, _Mapping]] = ..., color: _Optional[_Union[SignalFlareRequest.FlareColor, str]] = ..., azimuth: _Optional[int] = ...) -> None: ... + def __init__(self, position: _Optional[_Union[_common_pb2.InputPosition, _Mapping]] = ..., color: _Optional[_Union[SignalFlareRequest.FlareColor, str]] = ..., azimuth: _Optional[int] = ...) -> None: ... class SignalFlareResponse(_message.Message): __slots__ = [] @@ -299,13 +299,13 @@ class MarkupToAllRequest(_message.Message): READ_ONLY_FIELD_NUMBER: _ClassVar[int] MESSAGE_FIELD_NUMBER: _ClassVar[int] shape: Shape - points: _containers.RepeatedCompositeFieldContainer[_common_pb2.Position] + points: _containers.RepeatedCompositeFieldContainer[_common_pb2.InputPosition] border_color: Color fill_color: Color line_type: LineType read_only: bool message: str - def __init__(self, shape: _Optional[_Union[Shape, str]] = ..., points: _Optional[_Iterable[_Union[_common_pb2.Position, _Mapping]]] = ..., border_color: _Optional[_Union[Color, _Mapping]] = ..., fill_color: _Optional[_Union[Color, _Mapping]] = ..., line_type: _Optional[_Union[LineType, str]] = ..., read_only: bool = ..., message: _Optional[str] = ...) -> None: ... + def __init__(self, shape: _Optional[_Union[Shape, str]] = ..., points: _Optional[_Iterable[_Union[_common_pb2.InputPosition, _Mapping]]] = ..., border_color: _Optional[_Union[Color, _Mapping]] = ..., fill_color: _Optional[_Union[Color, _Mapping]] = ..., line_type: _Optional[_Union[LineType, str]] = ..., read_only: bool = ..., message: _Optional[str] = ...) -> None: ... class MarkupToAllResponse(_message.Message): __slots__ = ["id"] @@ -325,13 +325,13 @@ class MarkupToCoalitionRequest(_message.Message): MESSAGE_FIELD_NUMBER: _ClassVar[int] shape: Shape coalition: _common_pb2.Coalition - points: _containers.RepeatedCompositeFieldContainer[_common_pb2.Position] + points: _containers.RepeatedCompositeFieldContainer[_common_pb2.InputPosition] border_color: Color fill_color: Color line_type: LineType read_only: bool message: str - def __init__(self, shape: _Optional[_Union[Shape, str]] = ..., coalition: _Optional[_Union[_common_pb2.Coalition, str]] = ..., points: _Optional[_Iterable[_Union[_common_pb2.Position, _Mapping]]] = ..., border_color: _Optional[_Union[Color, _Mapping]] = ..., fill_color: _Optional[_Union[Color, _Mapping]] = ..., line_type: _Optional[_Union[LineType, str]] = ..., read_only: bool = ..., message: _Optional[str] = ...) -> None: ... + def __init__(self, shape: _Optional[_Union[Shape, str]] = ..., coalition: _Optional[_Union[_common_pb2.Coalition, str]] = ..., points: _Optional[_Iterable[_Union[_common_pb2.InputPosition, _Mapping]]] = ..., border_color: _Optional[_Union[Color, _Mapping]] = ..., fill_color: _Optional[_Union[Color, _Mapping]] = ..., line_type: _Optional[_Union[LineType, str]] = ..., read_only: bool = ..., message: _Optional[str] = ...) -> None: ... class MarkupToCoalitionResponse(_message.Message): __slots__ = ["id"] diff --git a/dcs/tts/v0/tts_pb2.py b/dcs/tts/v0/tts_pb2.py new file mode 100644 index 0000000..253afa0 --- /dev/null +++ b/dcs/tts/v0/tts_pb2.py @@ -0,0 +1,39 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: dcs/tts/v0/tts.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from dcs.common.v0 import common_pb2 as dcs_dot_common_dot_v0_dot_common__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x14\x64\x63s/tts/v0/tts.proto\x12\ndcs.tts.v0\x1a\x1a\x64\x63s/common/v0/common.proto\"\xed\x04\n\x0fTransmitRequest\x12\x0c\n\x04ssml\x18\x01 \x01(\t\x12\x16\n\tplaintext\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x11\n\tfrequency\x18\x03 \x01(\x04\x12\x1c\n\x0fsrs_client_name\x18\x04 \x01(\tH\x02\x88\x01\x01\x12.\n\x08position\x18\x05 \x01(\x0b\x32\x1c.dcs.common.v0.InputPosition\x12+\n\tcoalition\x18\x06 \x01(\x0e\x32\x18.dcs.common.v0.Coalition\x12\r\n\x05\x61sync\x18\x07 \x01(\x08\x12.\n\x03\x61ws\x18\x08 \x01(\x0b\x32\x1f.dcs.tts.v0.TransmitRequest.AwsH\x00\x12\x32\n\x05\x61zure\x18\t \x01(\x0b\x32!.dcs.tts.v0.TransmitRequest.AzureH\x00\x12\x34\n\x06gcloud\x18\n \x01(\x0b\x32\".dcs.tts.v0.TransmitRequest.GCloudH\x00\x12\x32\n\x03win\x18\x0b \x01(\x0b\x32#.dcs.tts.v0.TransmitRequest.WindowsH\x00\x1a#\n\x03\x41ws\x12\x12\n\x05voice\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_voice\x1a%\n\x05\x41zure\x12\x12\n\x05voice\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_voice\x1a&\n\x06GCloud\x12\x12\n\x05voice\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_voice\x1a\'\n\x07Windows\x12\x12\n\x05voice\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x08\n\x06_voiceB\n\n\x08providerB\x0c\n\n_plaintextB\x12\n\x10_srs_client_name\"\'\n\x10TransmitResponse\x12\x13\n\x0b\x64uration_ms\x18\x01 \x01(\r2U\n\nTtsService\x12G\n\x08Transmit\x12\x1b.dcs.tts.v0.TransmitRequest\x1a\x1c.dcs.tts.v0.TransmitResponse\"\x00\x42KZ*github.com/DCS-gRPC/go-bindings/dcs/v0/tts\xaa\x02\x1cRurouniJones.Dcs.Grpc.V0.Ttsb\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'dcs.tts.v0.tts_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z*github.com/DCS-gRPC/go-bindings/dcs/v0/tts\252\002\034RurouniJones.Dcs.Grpc.V0.Tts' + _globals['_TRANSMITREQUEST']._serialized_start=65 + _globals['_TRANSMITREQUEST']._serialized_end=686 + _globals['_TRANSMITREQUEST_AWS']._serialized_start=485 + _globals['_TRANSMITREQUEST_AWS']._serialized_end=520 + _globals['_TRANSMITREQUEST_AZURE']._serialized_start=522 + _globals['_TRANSMITREQUEST_AZURE']._serialized_end=559 + _globals['_TRANSMITREQUEST_GCLOUD']._serialized_start=561 + _globals['_TRANSMITREQUEST_GCLOUD']._serialized_end=599 + _globals['_TRANSMITREQUEST_WINDOWS']._serialized_start=601 + _globals['_TRANSMITREQUEST_WINDOWS']._serialized_end=640 + _globals['_TRANSMITRESPONSE']._serialized_start=688 + _globals['_TRANSMITRESPONSE']._serialized_end=727 + _globals['_TTSSERVICE']._serialized_start=729 + _globals['_TTSSERVICE']._serialized_end=814 +# @@protoc_insertion_point(module_scope) diff --git a/dcs/tts/v0/tts_pb2.pyi b/dcs/tts/v0/tts_pb2.pyi new file mode 100644 index 0000000..9590e8e --- /dev/null +++ b/dcs/tts/v0/tts_pb2.pyi @@ -0,0 +1,57 @@ +from dcs.common.v0 import common_pb2 as _common_pb2 +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class TransmitRequest(_message.Message): + __slots__ = ["ssml", "plaintext", "frequency", "srs_client_name", "position", "coalition", "aws", "azure", "gcloud", "win"] + class Aws(_message.Message): + __slots__ = ["voice"] + VOICE_FIELD_NUMBER: _ClassVar[int] + voice: str + def __init__(self, voice: _Optional[str] = ...) -> None: ... + class Azure(_message.Message): + __slots__ = ["voice"] + VOICE_FIELD_NUMBER: _ClassVar[int] + voice: str + def __init__(self, voice: _Optional[str] = ...) -> None: ... + class GCloud(_message.Message): + __slots__ = ["voice"] + VOICE_FIELD_NUMBER: _ClassVar[int] + voice: str + def __init__(self, voice: _Optional[str] = ...) -> None: ... + class Windows(_message.Message): + __slots__ = ["voice"] + VOICE_FIELD_NUMBER: _ClassVar[int] + voice: str + def __init__(self, voice: _Optional[str] = ...) -> None: ... + SSML_FIELD_NUMBER: _ClassVar[int] + PLAINTEXT_FIELD_NUMBER: _ClassVar[int] + FREQUENCY_FIELD_NUMBER: _ClassVar[int] + SRS_CLIENT_NAME_FIELD_NUMBER: _ClassVar[int] + POSITION_FIELD_NUMBER: _ClassVar[int] + COALITION_FIELD_NUMBER: _ClassVar[int] + ASYNC_FIELD_NUMBER: _ClassVar[int] + AWS_FIELD_NUMBER: _ClassVar[int] + AZURE_FIELD_NUMBER: _ClassVar[int] + GCLOUD_FIELD_NUMBER: _ClassVar[int] + WIN_FIELD_NUMBER: _ClassVar[int] + ssml: str + plaintext: str + frequency: int + srs_client_name: str + position: _common_pb2.InputPosition + coalition: _common_pb2.Coalition + aws: TransmitRequest.Aws + azure: TransmitRequest.Azure + gcloud: TransmitRequest.GCloud + win: TransmitRequest.Windows + def __init__(self, ssml: _Optional[str] = ..., plaintext: _Optional[str] = ..., frequency: _Optional[int] = ..., srs_client_name: _Optional[str] = ..., position: _Optional[_Union[_common_pb2.InputPosition, _Mapping]] = ..., coalition: _Optional[_Union[_common_pb2.Coalition, str]] = ..., aws: _Optional[_Union[TransmitRequest.Aws, _Mapping]] = ..., azure: _Optional[_Union[TransmitRequest.Azure, _Mapping]] = ..., gcloud: _Optional[_Union[TransmitRequest.GCloud, _Mapping]] = ..., win: _Optional[_Union[TransmitRequest.Windows, _Mapping]] = ..., **kwargs) -> None: ... + +class TransmitResponse(_message.Message): + __slots__ = ["duration_ms"] + DURATION_MS_FIELD_NUMBER: _ClassVar[int] + duration_ms: int + def __init__(self, duration_ms: _Optional[int] = ...) -> None: ... diff --git a/dcs/tts/v0/tts_pb2_grpc.py b/dcs/tts/v0/tts_pb2_grpc.py new file mode 100644 index 0000000..d81f0aa --- /dev/null +++ b/dcs/tts/v0/tts_pb2_grpc.py @@ -0,0 +1,72 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from dcs.tts.v0 import tts_pb2 as dcs_dot_tts_dot_v0_dot_tts__pb2 + + +class TtsServiceStub(object): + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Transmit = channel.unary_unary( + '/dcs.tts.v0.TtsService/Transmit', + request_serializer=dcs_dot_tts_dot_v0_dot_tts__pb2.TransmitRequest.SerializeToString, + response_deserializer=dcs_dot_tts_dot_v0_dot_tts__pb2.TransmitResponse.FromString, + ) + + +class TtsServiceServicer(object): + """Missing associated documentation comment in .proto file.""" + + def Transmit(self, request, context): + """Synthesize text to speech and transmit it over SRS. By default, this blocks until a + transmission completed (unless `async` is set to `true`). This can be used to prevent + transmission to overlap each other, by not sending another transmission on the same frequency + until you've received the response from the previous transmission on that frequency. However, + it does not block or prevent any other client from transmitting over the same frequency at the + same time. + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_TtsServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'Transmit': grpc.unary_unary_rpc_method_handler( + servicer.Transmit, + request_deserializer=dcs_dot_tts_dot_v0_dot_tts__pb2.TransmitRequest.FromString, + response_serializer=dcs_dot_tts_dot_v0_dot_tts__pb2.TransmitResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'dcs.tts.v0.TtsService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class TtsService(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def Transmit(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dcs.tts.v0.TtsService/Transmit', + dcs_dot_tts_dot_v0_dot_tts__pb2.TransmitRequest.SerializeToString, + dcs_dot_tts_dot_v0_dot_tts__pb2.TransmitResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/dcs/unit/v0/unit_pb2.py b/dcs/unit/v0/unit_pb2.py index 3a7e5fb..f78a550 100644 --- a/dcs/unit/v0/unit_pb2.py +++ b/dcs/unit/v0/unit_pb2.py @@ -14,7 +14,7 @@ from dcs.common.v0 import common_pb2 as dcs_dot_common_dot_v0_dot_common__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16\x64\x63s/unit/v0/unit.proto\x12\x0b\x64\x63s.unit.v0\x1a\x1a\x64\x63s/common/v0/common.proto\"\x1f\n\x0fGetRadarRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"I\n\x10GetRadarResponse\x12\x0e\n\x06\x61\x63tive\x18\x01 \x01(\x08\x12%\n\x06target\x18\x02 \x01(\x0b\x32\x15.dcs.common.v0.Target\"\"\n\x12GetPositionRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"@\n\x13GetPositionResponse\x12)\n\x08position\x18\x01 \x01(\x0b\x32\x17.dcs.common.v0.Position\"#\n\x13GetTransformRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"\xa8\x01\n\x0bOrientation\x12&\n\x07\x66orward\x18\x01 \x01(\x0b\x32\x15.dcs.common.v0.Vector\x12$\n\x05right\x18\x02 \x01(\x0b\x32\x15.dcs.common.v0.Vector\x12!\n\x02up\x18\x03 \x01(\x0b\x32\x15.dcs.common.v0.Vector\x12\x0b\n\x03yaw\x18\x04 \x01(\x01\x12\r\n\x05pitch\x18\x05 \x01(\x01\x12\x0c\n\x04roll\x18\x06 \x01(\x01\"\xce\x01\n\x14GetTransformResponse\x12)\n\x08position\x18\x01 \x01(\x0b\x32\x17.dcs.common.v0.Position\x12\t\n\x01u\x18\x02 \x01(\x01\x12\t\n\x01v\x18\x03 \x01(\x01\x12\x0f\n\x07heading\x18\x04 \x01(\x01\x12-\n\x0borientation\x18\x05 \x01(\x0b\x32\x18.dcs.unit.v0.Orientation\x12\'\n\x08velocity\x18\x06 \x01(\x0b\x32\x15.dcs.common.v0.Vector\x12\x0c\n\x04time\x18\x07 \x01(\x01\"$\n\x14GetPlayerNameRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"A\n\x15GetPlayerNameResponse\x12\x18\n\x0bplayer_name\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_player_name\"$\n\x14GetDescriptorRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"+\n\x15GetDescriptorResponse\x12\x12\n\nattributes\x18\x01 \x03(\t\"4\n\x12SetEmissionRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x65mitting\x18\x02 \x01(\x08\"\x15\n\x13SetEmissionResponse\"\x1a\n\nGetRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"0\n\x0bGetResponse\x12!\n\x04unit\x18\x01 \x01(\x0b\x32\x13.dcs.common.v0.Unit2\xc7\x04\n\x0bUnitService\x12I\n\x08GetRadar\x12\x1c.dcs.unit.v0.GetRadarRequest\x1a\x1d.dcs.unit.v0.GetRadarResponse\"\x00\x12R\n\x0bGetPosition\x12\x1f.dcs.unit.v0.GetPositionRequest\x1a .dcs.unit.v0.GetPositionResponse\"\x00\x12X\n\rGetPlayerName\x12!.dcs.unit.v0.GetPlayerNameRequest\x1a\".dcs.unit.v0.GetPlayerNameResponse\"\x00\x12X\n\rGetDescriptor\x12!.dcs.unit.v0.GetDescriptorRequest\x1a\".dcs.unit.v0.GetDescriptorResponse\"\x00\x12R\n\x0bSetEmission\x12\x1f.dcs.unit.v0.SetEmissionRequest\x1a .dcs.unit.v0.SetEmissionResponse\"\x00\x12:\n\x03Get\x12\x17.dcs.unit.v0.GetRequest\x1a\x18.dcs.unit.v0.GetResponse\"\x00\x12U\n\x0cGetTransform\x12 .dcs.unit.v0.GetTransformRequest\x1a!.dcs.unit.v0.GetTransformResponse\"\x00\x42MZ+github.com/DCS-gRPC/go-bindings/dcs/v0/unit\xaa\x02\x1dRurouniJones.Dcs.Grpc.V0.Unitb\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16\x64\x63s/unit/v0/unit.proto\x12\x0b\x64\x63s.unit.v0\x1a\x1a\x64\x63s/common/v0/common.proto\"\x1f\n\x0fGetRadarRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"I\n\x10GetRadarResponse\x12\x0e\n\x06\x61\x63tive\x18\x01 \x01(\x08\x12%\n\x06target\x18\x02 \x01(\x0b\x32\x15.dcs.common.v0.Target\"\"\n\x12GetPositionRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"@\n\x13GetPositionResponse\x12)\n\x08position\x18\x01 \x01(\x0b\x32\x17.dcs.common.v0.Position\"#\n\x13GetTransformRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"\xab\x01\n\x14GetTransformResponse\x12\x0c\n\x04time\x18\x01 \x01(\x01\x12)\n\x08position\x18\x02 \x01(\x0b\x32\x17.dcs.common.v0.Position\x12/\n\x0borientation\x18\x03 \x01(\x0b\x32\x1a.dcs.common.v0.Orientation\x12)\n\x08velocity\x18\x04 \x01(\x0b\x32\x17.dcs.common.v0.Velocity\"$\n\x14GetPlayerNameRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"A\n\x15GetPlayerNameResponse\x12\x18\n\x0bplayer_name\x18\x01 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_player_name\"$\n\x14GetDescriptorRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"+\n\x15GetDescriptorResponse\x12\x12\n\nattributes\x18\x01 \x03(\t\"4\n\x12SetEmissionRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x65mitting\x18\x02 \x01(\x08\"\x15\n\x13SetEmissionResponse\"\x1a\n\nGetRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"0\n\x0bGetResponse\x12!\n\x04unit\x18\x01 \x01(\x0b\x32\x13.dcs.common.v0.Unit2\xc7\x04\n\x0bUnitService\x12I\n\x08GetRadar\x12\x1c.dcs.unit.v0.GetRadarRequest\x1a\x1d.dcs.unit.v0.GetRadarResponse\"\x00\x12R\n\x0bGetPosition\x12\x1f.dcs.unit.v0.GetPositionRequest\x1a .dcs.unit.v0.GetPositionResponse\"\x00\x12X\n\rGetPlayerName\x12!.dcs.unit.v0.GetPlayerNameRequest\x1a\".dcs.unit.v0.GetPlayerNameResponse\"\x00\x12X\n\rGetDescriptor\x12!.dcs.unit.v0.GetDescriptorRequest\x1a\".dcs.unit.v0.GetDescriptorResponse\"\x00\x12R\n\x0bSetEmission\x12\x1f.dcs.unit.v0.SetEmissionRequest\x1a .dcs.unit.v0.SetEmissionResponse\"\x00\x12:\n\x03Get\x12\x17.dcs.unit.v0.GetRequest\x1a\x18.dcs.unit.v0.GetResponse\"\x00\x12U\n\x0cGetTransform\x12 .dcs.unit.v0.GetTransformRequest\x1a!.dcs.unit.v0.GetTransformResponse\"\x00\x42MZ+github.com/DCS-gRPC/go-bindings/dcs/v0/unit\xaa\x02\x1dRurouniJones.Dcs.Grpc.V0.Unitb\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -32,26 +32,24 @@ _globals['_GETPOSITIONRESPONSE']._serialized_end=275 _globals['_GETTRANSFORMREQUEST']._serialized_start=277 _globals['_GETTRANSFORMREQUEST']._serialized_end=312 - _globals['_ORIENTATION']._serialized_start=315 - _globals['_ORIENTATION']._serialized_end=483 - _globals['_GETTRANSFORMRESPONSE']._serialized_start=486 - _globals['_GETTRANSFORMRESPONSE']._serialized_end=692 - _globals['_GETPLAYERNAMEREQUEST']._serialized_start=694 - _globals['_GETPLAYERNAMEREQUEST']._serialized_end=730 - _globals['_GETPLAYERNAMERESPONSE']._serialized_start=732 - _globals['_GETPLAYERNAMERESPONSE']._serialized_end=797 - _globals['_GETDESCRIPTORREQUEST']._serialized_start=799 - _globals['_GETDESCRIPTORREQUEST']._serialized_end=835 - _globals['_GETDESCRIPTORRESPONSE']._serialized_start=837 - _globals['_GETDESCRIPTORRESPONSE']._serialized_end=880 - _globals['_SETEMISSIONREQUEST']._serialized_start=882 - _globals['_SETEMISSIONREQUEST']._serialized_end=934 - _globals['_SETEMISSIONRESPONSE']._serialized_start=936 - _globals['_SETEMISSIONRESPONSE']._serialized_end=957 - _globals['_GETREQUEST']._serialized_start=959 - _globals['_GETREQUEST']._serialized_end=985 - _globals['_GETRESPONSE']._serialized_start=987 - _globals['_GETRESPONSE']._serialized_end=1035 - _globals['_UNITSERVICE']._serialized_start=1038 - _globals['_UNITSERVICE']._serialized_end=1621 + _globals['_GETTRANSFORMRESPONSE']._serialized_start=315 + _globals['_GETTRANSFORMRESPONSE']._serialized_end=486 + _globals['_GETPLAYERNAMEREQUEST']._serialized_start=488 + _globals['_GETPLAYERNAMEREQUEST']._serialized_end=524 + _globals['_GETPLAYERNAMERESPONSE']._serialized_start=526 + _globals['_GETPLAYERNAMERESPONSE']._serialized_end=591 + _globals['_GETDESCRIPTORREQUEST']._serialized_start=593 + _globals['_GETDESCRIPTORREQUEST']._serialized_end=629 + _globals['_GETDESCRIPTORRESPONSE']._serialized_start=631 + _globals['_GETDESCRIPTORRESPONSE']._serialized_end=674 + _globals['_SETEMISSIONREQUEST']._serialized_start=676 + _globals['_SETEMISSIONREQUEST']._serialized_end=728 + _globals['_SETEMISSIONRESPONSE']._serialized_start=730 + _globals['_SETEMISSIONRESPONSE']._serialized_end=751 + _globals['_GETREQUEST']._serialized_start=753 + _globals['_GETREQUEST']._serialized_end=779 + _globals['_GETRESPONSE']._serialized_start=781 + _globals['_GETRESPONSE']._serialized_end=829 + _globals['_UNITSERVICE']._serialized_start=832 + _globals['_UNITSERVICE']._serialized_end=1415 # @@protoc_insertion_point(module_scope) diff --git a/dcs/unit/v0/unit_pb2.pyi b/dcs/unit/v0/unit_pb2.pyi index 550ddc1..ce10310 100644 --- a/dcs/unit/v0/unit_pb2.pyi +++ b/dcs/unit/v0/unit_pb2.pyi @@ -38,39 +38,17 @@ class GetTransformRequest(_message.Message): name: str def __init__(self, name: _Optional[str] = ...) -> None: ... -class Orientation(_message.Message): - __slots__ = ["forward", "right", "up", "yaw", "pitch", "roll"] - FORWARD_FIELD_NUMBER: _ClassVar[int] - RIGHT_FIELD_NUMBER: _ClassVar[int] - UP_FIELD_NUMBER: _ClassVar[int] - YAW_FIELD_NUMBER: _ClassVar[int] - PITCH_FIELD_NUMBER: _ClassVar[int] - ROLL_FIELD_NUMBER: _ClassVar[int] - forward: _common_pb2.Vector - right: _common_pb2.Vector - up: _common_pb2.Vector - yaw: float - pitch: float - roll: float - def __init__(self, forward: _Optional[_Union[_common_pb2.Vector, _Mapping]] = ..., right: _Optional[_Union[_common_pb2.Vector, _Mapping]] = ..., up: _Optional[_Union[_common_pb2.Vector, _Mapping]] = ..., yaw: _Optional[float] = ..., pitch: _Optional[float] = ..., roll: _Optional[float] = ...) -> None: ... - class GetTransformResponse(_message.Message): - __slots__ = ["position", "u", "v", "heading", "orientation", "velocity", "time"] + __slots__ = ["time", "position", "orientation", "velocity"] + TIME_FIELD_NUMBER: _ClassVar[int] POSITION_FIELD_NUMBER: _ClassVar[int] - U_FIELD_NUMBER: _ClassVar[int] - V_FIELD_NUMBER: _ClassVar[int] - HEADING_FIELD_NUMBER: _ClassVar[int] ORIENTATION_FIELD_NUMBER: _ClassVar[int] VELOCITY_FIELD_NUMBER: _ClassVar[int] - TIME_FIELD_NUMBER: _ClassVar[int] - position: _common_pb2.Position - u: float - v: float - heading: float - orientation: Orientation - velocity: _common_pb2.Vector time: float - def __init__(self, position: _Optional[_Union[_common_pb2.Position, _Mapping]] = ..., u: _Optional[float] = ..., v: _Optional[float] = ..., heading: _Optional[float] = ..., orientation: _Optional[_Union[Orientation, _Mapping]] = ..., velocity: _Optional[_Union[_common_pb2.Vector, _Mapping]] = ..., time: _Optional[float] = ...) -> None: ... + position: _common_pb2.Position + orientation: _common_pb2.Orientation + velocity: _common_pb2.Velocity + def __init__(self, time: _Optional[float] = ..., position: _Optional[_Union[_common_pb2.Position, _Mapping]] = ..., orientation: _Optional[_Union[_common_pb2.Orientation, _Mapping]] = ..., velocity: _Optional[_Union[_common_pb2.Velocity, _Mapping]] = ...) -> None: ... class GetPlayerNameRequest(_message.Message): __slots__ = ["name"] diff --git a/pyproject.toml b/pyproject.toml index d768a16..ea0b668 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "dcs-grpc" -version = "0.6.0" +version = "0.7.0" description = "Python bindings for the DCS gRPC API https://github.com/DCS-gRPC/rust-server" authors = ["Brian Peterson "] readme = "README.md" diff --git a/rust-server b/rust-server index eeb4b8a..9677a84 160000 --- a/rust-server +++ b/rust-server @@ -1 +1 @@ -Subproject commit eeb4b8a26dbd18aafa853e216e775647a388019f +Subproject commit 9677a8477ddce0a9005736ca123fe8017f09b921