# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: unit.proto

import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


import common_pb2 as common__pb2
import package_pb2 as package__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='unit.proto',
  package='Dianjing.protocol',
  syntax='proto2',
  serialized_pb=_b('\n\nunit.proto\x12\x11\x44ianjing.protocol\x1a\x0c\x63ommon.proto\x1a\rpackage.proto\"\\\n\x04Unit\x12\n\n\x02id\x18\x01 \x02(\x05\x12\r\n\x05level\x18\x02 \x02(\x05\x12\x0c\n\x04step\x18\x03 \x02(\x05\x12\n\n\x02hp\x18\x04 \x02(\x05\x12\x0e\n\x06\x61ttack\x18\x05 \x02(\x05\x12\x0f\n\x07\x64\x65\x66\x65nse\x18\x06 \x02(\x05\"m\n\nUnitNotify\x12\x0f\n\x07session\x18\x01 \x02(\x0c\x12&\n\x03\x61\x63t\x18\x02 \x02(\x0e\x32\x19.Dianjing.protocol.Action\x12&\n\x05units\x18\x03 \x03(\x0b\x32\x17.Dianjing.protocol.Unit\"A\n\x12UnitLevelUpRequest\x12\x0f\n\x07session\x18\x01 \x02(\x0c\x12\n\n\x02id\x18\x02 \x02(\x05\x12\x0e\n\x06single\x18\x03 \x02(\x08\"3\n\x13UnitLevelUpResponse\x12\x0b\n\x03ret\x18\x01 \x02(\x05\x12\x0f\n\x07session\x18\x02 \x02(\x0c\"0\n\x11UnitStepUpRequest\x12\x0f\n\x07session\x18\x01 \x02(\x0c\x12\n\n\x02id\x18\x02 \x02(\x05\"2\n\x12UnitStepUpResponse\x12\x0b\n\x03ret\x18\x01 \x02(\x05\x12\x0f\n\x07session\x18\x02 \x02(\x0c\"D\n\x12UnitDestroyRequest\x12\x0f\n\x07session\x18\x01 \x02(\x0c\x12\n\n\x02id\x18\x02 \x02(\x05\x12\x11\n\tuse_sycee\x18\x03 \x02(\x08\"Z\n\x13UnitDestroyResponse\x12\x0b\n\x03ret\x18\x01 \x02(\x05\x12\x0f\n\x07session\x18\x02 \x02(\x0c\x12%\n\x04\x64rop\x18\x03 \x01(\x0b\x32\x17.Dianjing.protocol.Drop')
  ,
  dependencies=[common__pb2.DESCRIPTOR,package__pb2.DESCRIPTOR,])
_sym_db.RegisterFileDescriptor(DESCRIPTOR)




_UNIT = _descriptor.Descriptor(
  name='Unit',
  full_name='Dianjing.protocol.Unit',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='Dianjing.protocol.Unit.id', index=0,
      number=1, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='level', full_name='Dianjing.protocol.Unit.level', index=1,
      number=2, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='step', full_name='Dianjing.protocol.Unit.step', index=2,
      number=3, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='hp', full_name='Dianjing.protocol.Unit.hp', index=3,
      number=4, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='attack', full_name='Dianjing.protocol.Unit.attack', index=4,
      number=5, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='defense', full_name='Dianjing.protocol.Unit.defense', index=5,
      number=6, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=62,
  serialized_end=154,
)


_UNITNOTIFY = _descriptor.Descriptor(
  name='UnitNotify',
  full_name='Dianjing.protocol.UnitNotify',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='session', full_name='Dianjing.protocol.UnitNotify.session', index=0,
      number=1, type=12, cpp_type=9, label=2,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='act', full_name='Dianjing.protocol.UnitNotify.act', index=1,
      number=2, type=14, cpp_type=8, label=2,
      has_default_value=False, default_value=1,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='units', full_name='Dianjing.protocol.UnitNotify.units', index=2,
      number=3, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=156,
  serialized_end=265,
)


_UNITLEVELUPREQUEST = _descriptor.Descriptor(
  name='UnitLevelUpRequest',
  full_name='Dianjing.protocol.UnitLevelUpRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='session', full_name='Dianjing.protocol.UnitLevelUpRequest.session', index=0,
      number=1, type=12, cpp_type=9, label=2,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='id', full_name='Dianjing.protocol.UnitLevelUpRequest.id', index=1,
      number=2, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='single', full_name='Dianjing.protocol.UnitLevelUpRequest.single', index=2,
      number=3, type=8, cpp_type=7, label=2,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=267,
  serialized_end=332,
)


_UNITLEVELUPRESPONSE = _descriptor.Descriptor(
  name='UnitLevelUpResponse',
  full_name='Dianjing.protocol.UnitLevelUpResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='ret', full_name='Dianjing.protocol.UnitLevelUpResponse.ret', index=0,
      number=1, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='session', full_name='Dianjing.protocol.UnitLevelUpResponse.session', index=1,
      number=2, type=12, cpp_type=9, label=2,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=334,
  serialized_end=385,
)


_UNITSTEPUPREQUEST = _descriptor.Descriptor(
  name='UnitStepUpRequest',
  full_name='Dianjing.protocol.UnitStepUpRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='session', full_name='Dianjing.protocol.UnitStepUpRequest.session', index=0,
      number=1, type=12, cpp_type=9, label=2,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='id', full_name='Dianjing.protocol.UnitStepUpRequest.id', index=1,
      number=2, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=387,
  serialized_end=435,
)


_UNITSTEPUPRESPONSE = _descriptor.Descriptor(
  name='UnitStepUpResponse',
  full_name='Dianjing.protocol.UnitStepUpResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='ret', full_name='Dianjing.protocol.UnitStepUpResponse.ret', index=0,
      number=1, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='session', full_name='Dianjing.protocol.UnitStepUpResponse.session', index=1,
      number=2, type=12, cpp_type=9, label=2,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=437,
  serialized_end=487,
)


_UNITDESTROYREQUEST = _descriptor.Descriptor(
  name='UnitDestroyRequest',
  full_name='Dianjing.protocol.UnitDestroyRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='session', full_name='Dianjing.protocol.UnitDestroyRequest.session', index=0,
      number=1, type=12, cpp_type=9, label=2,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='id', full_name='Dianjing.protocol.UnitDestroyRequest.id', index=1,
      number=2, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='use_sycee', full_name='Dianjing.protocol.UnitDestroyRequest.use_sycee', index=2,
      number=3, type=8, cpp_type=7, label=2,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=489,
  serialized_end=557,
)


_UNITDESTROYRESPONSE = _descriptor.Descriptor(
  name='UnitDestroyResponse',
  full_name='Dianjing.protocol.UnitDestroyResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='ret', full_name='Dianjing.protocol.UnitDestroyResponse.ret', index=0,
      number=1, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='session', full_name='Dianjing.protocol.UnitDestroyResponse.session', index=1,
      number=2, type=12, cpp_type=9, label=2,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='drop', full_name='Dianjing.protocol.UnitDestroyResponse.drop', index=2,
      number=3, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=559,
  serialized_end=649,
)

_UNITNOTIFY.fields_by_name['act'].enum_type = common__pb2._ACTION
_UNITNOTIFY.fields_by_name['units'].message_type = _UNIT
_UNITDESTROYRESPONSE.fields_by_name['drop'].message_type = package__pb2._DROP
DESCRIPTOR.message_types_by_name['Unit'] = _UNIT
DESCRIPTOR.message_types_by_name['UnitNotify'] = _UNITNOTIFY
DESCRIPTOR.message_types_by_name['UnitLevelUpRequest'] = _UNITLEVELUPREQUEST
DESCRIPTOR.message_types_by_name['UnitLevelUpResponse'] = _UNITLEVELUPRESPONSE
DESCRIPTOR.message_types_by_name['UnitStepUpRequest'] = _UNITSTEPUPREQUEST
DESCRIPTOR.message_types_by_name['UnitStepUpResponse'] = _UNITSTEPUPRESPONSE
DESCRIPTOR.message_types_by_name['UnitDestroyRequest'] = _UNITDESTROYREQUEST
DESCRIPTOR.message_types_by_name['UnitDestroyResponse'] = _UNITDESTROYRESPONSE

Unit = _reflection.GeneratedProtocolMessageType('Unit', (_message.Message,), dict(
  DESCRIPTOR = _UNIT,
  __module__ = 'unit_pb2'
  # @@protoc_insertion_point(class_scope:Dianjing.protocol.Unit)
  ))
_sym_db.RegisterMessage(Unit)

UnitNotify = _reflection.GeneratedProtocolMessageType('UnitNotify', (_message.Message,), dict(
  DESCRIPTOR = _UNITNOTIFY,
  __module__ = 'unit_pb2'
  # @@protoc_insertion_point(class_scope:Dianjing.protocol.UnitNotify)
  ))
_sym_db.RegisterMessage(UnitNotify)

UnitLevelUpRequest = _reflection.GeneratedProtocolMessageType('UnitLevelUpRequest', (_message.Message,), dict(
  DESCRIPTOR = _UNITLEVELUPREQUEST,
  __module__ = 'unit_pb2'
  # @@protoc_insertion_point(class_scope:Dianjing.protocol.UnitLevelUpRequest)
  ))
_sym_db.RegisterMessage(UnitLevelUpRequest)

UnitLevelUpResponse = _reflection.GeneratedProtocolMessageType('UnitLevelUpResponse', (_message.Message,), dict(
  DESCRIPTOR = _UNITLEVELUPRESPONSE,
  __module__ = 'unit_pb2'
  # @@protoc_insertion_point(class_scope:Dianjing.protocol.UnitLevelUpResponse)
  ))
_sym_db.RegisterMessage(UnitLevelUpResponse)

UnitStepUpRequest = _reflection.GeneratedProtocolMessageType('UnitStepUpRequest', (_message.Message,), dict(
  DESCRIPTOR = _UNITSTEPUPREQUEST,
  __module__ = 'unit_pb2'
  # @@protoc_insertion_point(class_scope:Dianjing.protocol.UnitStepUpRequest)
  ))
_sym_db.RegisterMessage(UnitStepUpRequest)

UnitStepUpResponse = _reflection.GeneratedProtocolMessageType('UnitStepUpResponse', (_message.Message,), dict(
  DESCRIPTOR = _UNITSTEPUPRESPONSE,
  __module__ = 'unit_pb2'
  # @@protoc_insertion_point(class_scope:Dianjing.protocol.UnitStepUpResponse)
  ))
_sym_db.RegisterMessage(UnitStepUpResponse)

UnitDestroyRequest = _reflection.GeneratedProtocolMessageType('UnitDestroyRequest', (_message.Message,), dict(
  DESCRIPTOR = _UNITDESTROYREQUEST,
  __module__ = 'unit_pb2'
  # @@protoc_insertion_point(class_scope:Dianjing.protocol.UnitDestroyRequest)
  ))
_sym_db.RegisterMessage(UnitDestroyRequest)

UnitDestroyResponse = _reflection.GeneratedProtocolMessageType('UnitDestroyResponse', (_message.Message,), dict(
  DESCRIPTOR = _UNITDESTROYRESPONSE,
  __module__ = 'unit_pb2'
  # @@protoc_insertion_point(class_scope:Dianjing.protocol.UnitDestroyResponse)
  ))
_sym_db.RegisterMessage(UnitDestroyResponse)


# @@protoc_insertion_point(module_scope)

994ccb8afb339ccd225ae4877e5881bdb5bae130
<mask token>

<mask token>
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
<mask token>
_sym_db.RegisterMessage(Unit)
<mask token>
_sym_db.RegisterMessage(UnitNotify)
<mask token>
_sym_db.RegisterMessage(UnitLevelUpRequest)
<mask token>
_sym_db.RegisterMessage(UnitLevelUpResponse)
<mask token>
_sym_db.RegisterMessage(UnitStepUpRequest)
<mask token>
_sym_db.RegisterMessage(UnitStepUpResponse)
<mask token>
_sym_db.RegisterMessage(UnitDestroyRequest)
<mask token>
_sym_db.RegisterMessage(UnitDestroyResponse)

<mask token>
_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode('latin1')
    )
<mask token>
_sym_db = _symbol_database.Default()
<mask token>
DESCRIPTOR = _descriptor.FileDescriptor(name='unit.proto', package=
    'Dianjing.protocol', syntax='proto2', serialized_pb=_b(
    '\n\nunit.proto\x12\x11Dianjing.protocol\x1a\x0ccommon.proto\x1a\rpackage.proto"\\\n\x04Unit\x12\n\n\x02id\x18\x01 \x02(\x05\x12\r\n\x05level\x18\x02 \x02(\x05\x12\x0c\n\x04step\x18\x03 \x02(\x05\x12\n\n\x02hp\x18\x04 \x02(\x05\x12\x0e\n\x06attack\x18\x05 \x02(\x05\x12\x0f\n\x07defense\x18\x06 \x02(\x05"m\n\nUnitNotify\x12\x0f\n\x07session\x18\x01 \x02(\x0c\x12&\n\x03act\x18\x02 \x02(\x0e2\x19.Dianjing.protocol.Action\x12&\n\x05units\x18\x03 \x03(\x0b2\x17.Dianjing.protocol.Unit"A\n\x12UnitLevelUpRequest\x12\x0f\n\x07session\x18\x01 \x02(\x0c\x12\n\n\x02id\x18\x02 \x02(\x05\x12\x0e\n\x06single\x18\x03 \x02(\x08"3\n\x13UnitLevelUpResponse\x12\x0b\n\x03ret\x18\x01 \x02(\x05\x12\x0f\n\x07session\x18\x02 \x02(\x0c"0\n\x11UnitStepUpRequest\x12\x0f\n\x07session\x18\x01 \x02(\x0c\x12\n\n\x02id\x18\x02 \x02(\x05"2\n\x12UnitStepUpResponse\x12\x0b\n\x03ret\x18\x01 \x02(\x05\x12\x0f\n\x07session\x18\x02 \x02(\x0c"D\n\x12UnitDestroyRequest\x12\x0f\n\x07session\x18\x01 \x02(\x0c\x12\n\n\x02id\x18\x02 \x02(\x05\x12\x11\n\tuse_sycee\x18\x03 \x02(\x08"Z\n\x13UnitDestroyResponse\x12\x0b\n\x03ret\x18\x01 \x02(\x05\x12\x0f\n\x07session\x18\x02 \x02(\x0c\x12%\n\x04drop\x18\x03 \x01(\x0b2\x17.Dianjing.protocol.Drop'
    ), dependencies=[common__pb2.DESCRIPTOR, package__pb2.DESCRIPTOR])
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
_UNIT = _descriptor.Descriptor(name='Unit', full_name=
    'Dianjing.protocol.Unit', filename=None, file=DESCRIPTOR,
    containing_type=None, fields=[_descriptor.FieldDescriptor(name='id',
    full_name='Dianjing.protocol.Unit.id', index=0, number=1, type=5,
    cpp_type=1, label=2, has_default_value=False, default_value=0,
    message_type=None, enum_type=None, containing_type=None, is_extension=
    False, extension_scope=None, options=None), _descriptor.FieldDescriptor
    (name='level', full_name='Dianjing.protocol.Unit.level', index=1,
    number=2, type=5, cpp_type=1, label=2, has_default_value=False,
    default_value=0, message_type=None, enum_type=None, containing_type=
    None, is_extension=False, extension_scope=None, options=None),
    _descriptor.FieldDescriptor(name='step', full_name=
    'Dianjing.protocol.Unit.step', index=2, number=3, type=5, cpp_type=1,
    label=2, has_default_value=False, default_value=0, message_type=None,
    enum_type=None, containing_type=None, is_extension=False,
    extension_scope=None, options=None), _descriptor.FieldDescriptor(name=
    'hp', full_name='Dianjing.protocol.Unit.hp', index=3, number=4, type=5,
    cpp_type=1, label=2, has_default_value=False, default_value=0,
    message_type=None, enum_type=None, containing_type=None, is_extension=
    False, extension_scope=None, options=None), _descriptor.FieldDescriptor
    (name='attack', full_name='Dianjing.protocol.Unit.attack', index=4,
    number=5, type=5, cpp_type=1, label=2, has_default_value=False,
    default_value=0, message_type=None, enum_type=None, containing_type=
    None, is_extension=False, extension_scope=None, options=None),
    _descriptor.FieldDescriptor(name='defense', full_name=
    'Dianjing.protocol.Unit.defense', index=5, number=6, type=5, cpp_type=1,
    label=2, has_default_value=False, default_value=0, message_type=None,
    enum_type=None, containing_type=None, is_extension=False,
    extension_scope=None, options=None)], extensions=[], nested_types=[],
    enum_types=[], options=None, is_extendable=False, syntax='proto2',
    extension_ranges=[], oneofs=[], serialized_start=62, serialized_end=154)
_UNITNOTIFY = _descriptor.Descriptor(name='UnitNotify', full_name=
    'Dianjing.protocol.UnitNotify', filename=None, file=DESCRIPTOR,
    containing_type=None, fields=[_descriptor.FieldDescriptor(name=
    'session', full_name='Dianjing.protocol.UnitNotify.session', index=0,
    number=1, type=12, cpp_type=9, label=2, has_default_value=False,
    default_value=_b(''), message_type=None, enum_type=None,
    containing_type=None, is_extension=False, extension_scope=None, options
    =None), _descriptor.FieldDescriptor(name='act', full_name=
    'Dianjing.protocol.UnitNotify.act', index=1, number=2, type=14,
    cpp_type=8, label=2, has_default_value=False, default_value=1,
    message_type=None, enum_type=None, containing_type=None, is_extension=
    False, extension_scope=None, options=None), _descriptor.FieldDescriptor
    (name='units', full_name='Dianjing.protocol.UnitNotify.units', index=2,
    number=3, type=11, cpp_type=10, label=3, has_default_value=False,
    default_value=[], message_type=None, enum_type=None, containing_type=
    None, is_extension=False, extension_scope=None, options=None)],
    extensions=[], nested_types=[], enum_types=[], options=None,
    is_extendable=False, syntax='proto2', extension_ranges=[], oneofs=[],
    serialized_start=156, serialized_end=265)
_UNITLEVELUPREQUEST = _descriptor.Descriptor(name='UnitLevelUpRequest',
    full_name='Dianjing.protocol.UnitLevelUpRequest', filename=None, file=
    DESCRIPTOR, containing_type=None, fields=[_descriptor.FieldDescriptor(
    name='session', full_name=
    'Dianjing.protocol.UnitLevelUpRequest.session', index=0, number=1, type
    =12, cpp_type=9, label=2, has_default_value=False, default_value=_b(''),
    message_type=None, enum_type=None, containing_type=None, is_extension=
    False, extension_scope=None, options=None), _descriptor.FieldDescriptor
    (name='id', full_name='Dianjing.protocol.UnitLevelUpRequest.id', index=
    1, number=2, type=5, cpp_type=1, label=2, has_default_value=False,
    default_value=0, message_type=None, enum_type=None, containing_type=
    None, is_extension=False, extension_scope=None, options=None),
    _descriptor.FieldDescriptor(name='single', full_name=
    'Dianjing.protocol.UnitLevelUpRequest.single', index=2, number=3, type=
    8, cpp_type=7, label=2, has_default_value=False, default_value=False,
    message_type=None, enum_type=None, containing_type=None, is_extension=
    False, extension_scope=None, options=None)], extensions=[],
    nested_types=[], enum_types=[], options=None, is_extendable=False,
    syntax='proto2', extension_ranges=[], oneofs=[], serialized_start=267,
    serialized_end=332)
_UNITLEVELUPRESPONSE = _descriptor.Descriptor(name='UnitLevelUpResponse',
    full_name='Dianjing.protocol.UnitLevelUpResponse', filename=None, file=
    DESCRIPTOR, containing_type=None, fields=[_descriptor.FieldDescriptor(
    name='ret', full_name='Dianjing.protocol.UnitLevelUpResponse.ret',
    index=0, number=1, type=5, cpp_type=1, label=2, has_default_value=False,
    default_value=0, message_type=None, enum_type=None, containing_type=
    None, is_extension=False, extension_scope=None, options=None),
    _descriptor.FieldDescriptor(name='session', full_name=
    'Dianjing.protocol.UnitLevelUpResponse.session', index=1, number=2,
    type=12, cpp_type=9, label=2, has_default_value=False, default_value=_b
    (''), message_type=None, enum_type=None, containing_type=None,
    is_extension=False, extension_scope=None, options=None)], extensions=[],
    nested_types=[], enum_types=[], options=None, is_extendable=False,
    syntax='proto2', extension_ranges=[], oneofs=[], serialized_start=334,
    serialized_end=385)
_UNITSTEPUPREQUEST = _descriptor.Descriptor(name='UnitStepUpRequest',
    full_name='Dianjing.protocol.UnitStepUpRequest', filename=None, file=
    DESCRIPTOR, containing_type=None, fields=[_descriptor.FieldDescriptor(
    name='session', full_name='Dianjing.protocol.UnitStepUpRequest.session',
    index=0, number=1, type=12, cpp_type=9, label=2, has_default_value=
    False, default_value=_b(''), message_type=None, enum_type=None,
    containing_type=None, is_extension=False, extension_scope=None, options
    =None), _descriptor.FieldDescriptor(name='id', full_name=
    'Dianjing.protocol.UnitStepUpRequest.id', index=1, number=2, type=5,
    cpp_type=1, label=2, has_default_value=False, default_value=0,
    message_type=None, enum_type=None, containing_type=None, is_extension=
    False, extension_scope=None, options=None)], extensions=[],
    nested_types=[], enum_types=[], options=None, is_extendable=False,
    syntax='proto2', extension_ranges=[], oneofs=[], serialized_start=387,
    serialized_end=435)
_UNITSTEPUPRESPONSE = _descriptor.Descriptor(name='UnitStepUpResponse',
    full_name='Dianjing.protocol.UnitStepUpResponse', filename=None, file=
    DESCRIPTOR, containing_type=None, fields=[_descriptor.FieldDescriptor(
    name='ret', full_name='Dianjing.protocol.UnitStepUpResponse.ret', index
    =0, number=1, type=5, cpp_type=1, label=2, has_default_value=False,
    default_value=0, message_type=None, enum_type=None, containing_type=
    None, is_extension=False, extension_scope=None, options=None),
    _descriptor.FieldDescriptor(name='session', full_name=
    'Dianjing.protocol.UnitStepUpResponse.session', index=1, number=2, type
    =12, cpp_type=9, label=2, has_default_value=False, default_value=_b(''),
    message_type=None, enum_type=None, containing_type=None, is_extension=
    False, extension_scope=None, options=None)], extensions=[],
    nested_types=[], enum_types=[], options=None, is_extendable=False,
    syntax='proto2', extension_ranges=[], oneofs=[], serialized_start=437,
    serialized_end=487)
_UNITDESTROYREQUEST = _descriptor.Descriptor(name='UnitDestroyRequest',
    full_name='Dianjing.protocol.UnitDestroyRequest', filename=None, file=
    DESCRIPTOR, containing_type=None, fields=[_descriptor.FieldDescriptor(
    name='session', full_name=
    'Dianjing.protocol.UnitDestroyRequest.session', index=0, number=1, type
    =12, cpp_type=9, label=2, has_default_value=False, default_value=_b(''),
    message_type=None, enum_type=None, containing_type=None, is_extension=
    False, extension_scope=None, options=None), _descriptor.FieldDescriptor
    (name='id', full_name='Dianjing.protocol.UnitDestroyRequest.id', index=
    1, number=2, type=5, cpp_type=1, label=2, has_default_value=False,
    default_value=0, message_type=None, enum_type=None, containing_type=
    None, is_extension=False, extension_scope=None, options=None),
    _descriptor.FieldDescriptor(name='use_sycee', full_name=
    'Dianjing.protocol.UnitDestroyRequest.use_sycee', index=2, number=3,
    type=8, cpp_type=7, label=2, has_default_value=False, default_value=
    False, message_type=None, enum_type=None, containing_type=None,
    is_extension=False, extension_scope=None, options=None)], extensions=[],
    nested_types=[], enum_types=[], options=None, is_extendable=False,
    syntax='proto2', extension_ranges=[], oneofs=[], serialized_start=489,
    serialized_end=557)
_UNITDESTROYRESPONSE = _descriptor.Descriptor(name='UnitDestroyResponse',
    full_name='Dianjing.protocol.UnitDestroyResponse', filename=None, file=
    DESCRIPTOR, containing_type=None, fields=[_descriptor.FieldDescriptor(
    name='ret', full_name='Dianjing.protocol.UnitDestroyResponse.ret',
    index=0, number=1, type=5, cpp_type=1, label=2, has_default_value=False,
    default_value=0, message_type=None, enum_type=None, containing_type=
    None, is_extension=False, extension_scope=None, options=None),
    _descriptor.FieldDescriptor(name='session', full_name=
    'Dianjing.protocol.UnitDestroyResponse.session', index=1, number=2,
    type=12, cpp_type=9, label=2, has_default_value=False, default_value=_b
    (''), message_type=None, enum_type=None, containing_type=None,
    is_extension=False, extension_scope=None, options=None), _descriptor.
    FieldDescriptor(name='drop', full_name=
    'Dianjing.protocol.UnitDestroyResponse.drop', index=2, number=3, type=
    11, cpp_type=10, label=1, has_default_value=False, default_value=None,
    message_type=None, enum_type=None, containing_type=None, is_extension=
    False, extension_scope=None, options=None)], extensions=[],
    nested_types=[], enum_types=[], options=None, is_extendable=False,
    syntax='proto2', extension_ranges=[], oneofs=[], serialized_start=559,
    serialized_end=649)
_UNITNOTIFY.fields_by_name['act'].enum_type = common__pb2._ACTION
_UNITNOTIFY.fields_by_name['units'].message_type = _UNIT
_UNITDESTROYRESPONSE.fields_by_name['drop'].message_type = package__pb2._DROP
DESCRIPTOR.message_types_by_name['Unit'] = _UNIT
DESCRIPTOR.message_types_by_name['UnitNotify'] = _UNITNOTIFY
DESCRIPTOR.message_types_by_name['UnitLevelUpRequest'] = _UNITLEVELUPREQUEST
DESCRIPTOR.message_types_by_name['UnitLevelUpResponse'] = _UNITLEVELUPRESPONSE
DESCRIPTOR.message_types_by_name['UnitStepUpRequest'] = _UNITSTEPUPREQUEST
DESCRIPTOR.message_types_by_name['UnitStepUpResponse'] = _UNITSTEPUPRESPONSE
DESCRIPTOR.message_types_by_name['UnitDestroyRequest'] = _UNITDESTROYREQUEST
DESCRIPTOR.message_types_by_name['UnitDestroyResponse'] = _UNITDESTROYRESPONSE
Unit = _reflection.GeneratedProtocolMessageType('Unit', (_message.Message,),
    dict(DESCRIPTOR=_UNIT, __module__='unit_pb2'))
_sym_db.RegisterMessage(Unit)
UnitNotify = _reflection.GeneratedProtocolMessageType('UnitNotify', (
    _message.Message,), dict(DESCRIPTOR=_UNITNOTIFY, __module__='unit_pb2'))
_sym_db.RegisterMessage(UnitNotify)
UnitLevelUpRequest = _reflection.GeneratedProtocolMessageType(
    'UnitLevelUpRequest', (_message.Message,), dict(DESCRIPTOR=
    _UNITLEVELUPREQUEST, __module__='unit_pb2'))
_sym_db.RegisterMessage(UnitLevelUpRequest)
UnitLevelUpResponse = _reflection.GeneratedProtocolMessageType(
    'UnitLevelUpResponse', (_message.Message,), dict(DESCRIPTOR=
    _UNITLEVELUPRESPONSE, __module__='unit_pb2'))
_sym_db.RegisterMessage(UnitLevelUpResponse)
UnitStepUpRequest = _reflection.GeneratedProtocolMessageType(
    'UnitStepUpRequest', (_message.Message,), dict(DESCRIPTOR=
    _UNITSTEPUPREQUEST, __module__='unit_pb2'))
_sym_db.RegisterMessage(UnitStepUpRequest)
UnitStepUpResponse = _reflection.GeneratedProtocolMessageType(
    'UnitStepUpResponse', (_message.Message,), dict(DESCRIPTOR=
    _UNITSTEPUPRESPONSE, __module__='unit_pb2'))
_sym_db.RegisterMessage(UnitStepUpResponse)
UnitDestroyRequest = _reflection.GeneratedProtocolMessageType(
    'UnitDestroyRequest', (_message.Message,), dict(DESCRIPTOR=
    _UNITDESTROYREQUEST, __module__='unit_pb2'))
_sym_db.RegisterMessage(UnitDestroyRequest)
UnitDestroyResponse = _reflection.GeneratedProtocolMessageType(
    'UnitDestroyResponse', (_message.Message,), dict(DESCRIPTOR=
    _UNITDESTROYRESPONSE, __module__='unit_pb2'))
_sym_db.RegisterMessage(UnitDestroyResponse)

import sys
_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode('latin1')
    )
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
from google.protobuf import descriptor_pb2
_sym_db = _symbol_database.Default()
import common_pb2 as common__pb2
import package_pb2 as package__pb2
DESCRIPTOR = _descriptor.FileDescriptor(name='unit.proto', package=
    'Dianjing.protocol', syntax='proto2', serialized_pb=_b(
    '\n\nunit.proto\x12\x11Dianjing.protocol\x1a\x0ccommon.proto\x1a\rpackage.proto"\\\n\x04Unit\x12\n\n\x02id\x18\x01 \x02(\x05\x12\r\n\x05level\x18\x02 \x02(\x05\x12\x0c\n\x04step\x18\x03 \x02(\x05\x12\n\n\x02hp\x18\x04 \x02(\x05\x12\x0e\n\x06attack\x18\x05 \x02(\x05\x12\x0f\n\x07defense\x18\x06 \x02(\x05"m\n\nUnitNotify\x12\x0f\n\x07session\x18\x01 \x02(\x0c\x12&\n\x03act\x18\x02 \x02(\x0e2\x19.Dianjing.protocol.Action\x12&\n\x05units\x18\x03 \x03(\x0b2\x17.Dianjing.protocol.Unit"A\n\x12UnitLevelUpRequest\x12\x0f\n\x07session\x18\x01 \x02(\x0c\x12\n\n\x02id\x18\x02 \x02(\x05\x12\x0e\n\x06single\x18\x03 \x02(\x08"3\n\x13UnitLevelUpResponse\x12\x0b\n\x03ret\x18\x01 \x02(\x05\x12\x0f\n\x07session\x18\x02 \x02(\x0c"0\n\x11UnitStepUpRequest\x12\x0f\n\x07session\x18\x01 \x02(\x0c\x12\n\n\x02id\x18\x02 \x02(\x05"2\n\x12UnitStepUpResponse\x12\x0b\n\x03ret\x18\x01 \x02(\x05\x12\x0f\n\x07session\x18\x02 \x02(\x0c"D\n\x12UnitDestroyRequest\x12\x0f\n\x07session\x18\x01 \x02(\x0c\x12\n\n\x02id\x18\x02 \x02(\x05\x12\x11\n\tuse_sycee\x18\x03 \x02(\x08"Z\n\x13UnitDestroyResponse\x12\x0b\n\x03ret\x18\x01 \x02(\x05\x12\x0f\n\x07session\x18\x02 \x02(\x0c\x12%\n\x04drop\x18\x03 \x01(\x0b2\x17.Dianjing.protocol.Drop'
    ), dependencies=[common__pb2.DESCRIPTOR, package__pb2.DESCRIPTOR])
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
_UNIT = _descriptor.Descriptor(name='Unit', full_name=
    'Dianjing.protocol.Unit', filename=None, file=DESCRIPTOR,
    containing_type=None, fields=[_descriptor.FieldDescriptor(name='id',
    full_name='Dianjing.protocol.Unit.id', index=0, number=1, type=5,
    cpp_type=1, label=2, has_default_value=False, default_value=0,
    message_type=None, enum_type=None, containing_type=None, is_extension=
    False, extension_scope=None, options=None), _descriptor.FieldDescriptor
    (name='level', full_name='Dianjing.protocol.Unit.level', index=1,
    number=2, type=5, cpp_type=1, label=2, has_default_value=False,
    default_value=0, message_type=None, enum_type=None, containing_type=
    None, is_extension=False, extension_scope=None, options=None),
    _descriptor.FieldDescriptor(name='step', full_name=
    'Dianjing.protocol.Unit.step', index=2, number=3, type=5, cpp_type=1,
    label=2, has_default_value=False, default_value=0, message_type=None,
    enum_type=None, containing_type=None, is_extension=False,
    extension_scope=None, options=None), _descriptor.FieldDescriptor(name=
    'hp', full_name='Dianjing.protocol.Unit.hp', index=3, number=4, type=5,
    cpp_type=1, label=2, has_default_value=False, default_value=0,
    message_type=None, enum_type=None, containing_type=None, is_extension=
    False, extension_scope=None, options=None), _descriptor.FieldDescriptor
    (name='attack', full_name='Dianjing.protocol.Unit.attack', index=4,
    number=5, type=5, cpp_type=1, label=2, has_default_value=False,
    default_value=0, message_type=None, enum_type=None, containing_type=
    None, is_extension=False, extension_scope=None, options=None),
    _descriptor.FieldDescriptor(name='defense', full_name=
    'Dianjing.protocol.Unit.defense', index=5, number=6, type=5, cpp_type=1,
    label=2, has_default_value=False, default_value=0, message_type=None,
    enum_type=None, containing_type=None, is_extension=False,
    extension_scope=None, options=None)], extensions=[], nested_types=[],
    enum_types=[], options=None, is_extendable=False, syntax='proto2',
    extension_ranges=[], oneofs=[], serialized_start=62, serialized_end=154)
_UNITNOTIFY = _descriptor.Descriptor(name='UnitNotify', full_name=
    'Dianjing.protocol.UnitNotify', filename=None, file=DESCRIPTOR,
    containing_type=None, fields=[_descriptor.FieldDescriptor(name=
    'session', full_name='Dianjing.protocol.UnitNotify.session', index=0,
    number=1, type=12, cpp_type=9, label=2, has_default_value=False,
    default_value=_b(''), message_type=None, enum_type=None,
    containing_type=None, is_extension=False, extension_scope=None, options
    =None), _descriptor.FieldDescriptor(name='act', full_name=
    'Dianjing.protocol.UnitNotify.act', index=1, number=2, type=14,
    cpp_type=8, label=2, has_default_value=False, default_value=1,
    message_type=None, enum_type=None, containing_type=None, is_extension=
    False, extension_scope=None, options=None), _descriptor.FieldDescriptor
    (name='units', full_name='Dianjing.protocol.UnitNotify.units', index=2,
    number=3, type=11, cpp_type=10, label=3, has_default_value=False,
    default_value=[], message_type=None, enum_type=None, containing_type=
    None, is_extension=False, extension_scope=None, options=None)],
    extensions=[], nested_types=[], enum_types=[], options=None,
    is_extendable=False, syntax='proto2', extension_ranges=[], oneofs=[],
    serialized_start=156, serialized_end=265)
_UNITLEVELUPREQUEST = _descriptor.Descriptor(name='UnitLevelUpRequest',
    full_name='Dianjing.protocol.UnitLevelUpRequest', filename=None, file=
    DESCRIPTOR, containing_type=None, fields=[_descriptor.FieldDescriptor(
    name='session', full_name=
    'Dianjing.protocol.UnitLevelUpRequest.session', index=0, number=1, type
    =12, cpp_type=9, label=2, has_default_value=False, default_value=_b(''),
    message_type=None, enum_type=None, containing_type=None, is_extension=
    False, extension_scope=None, options=None), _descriptor.FieldDescriptor
    (name='id', full_name='Dianjing.protocol.UnitLevelUpRequest.id', index=
    1, number=2, type=5, cpp_type=1, label=2, has_default_value=False,
    default_value=0, message_type=None, enum_type=None, containing_type=
    None, is_extension=False, extension_scope=None, options=None),
    _descriptor.FieldDescriptor(name='single', full_name=
    'Dianjing.protocol.UnitLevelUpRequest.single', index=2, number=3, type=
    8, cpp_type=7, label=2, has_default_value=False, default_value=False,
    message_type=None, enum_type=None, containing_type=None, is_extension=
    False, extension_scope=None, options=None)], extensions=[],
    nested_types=[], enum_types=[], options=None, is_extendable=False,
    syntax='proto2', extension_ranges=[], oneofs=[], serialized_start=267,
    serialized_end=332)
_UNITLEVELUPRESPONSE = _descriptor.Descriptor(name='UnitLevelUpResponse',
    full_name='Dianjing.protocol.UnitLevelUpResponse', filename=None, file=
    DESCRIPTOR, containing_type=None, fields=[_descriptor.FieldDescriptor(
    name='ret', full_name='Dianjing.protocol.UnitLevelUpResponse.ret',
    index=0, number=1, type=5, cpp_type=1, label=2, has_default_value=False,
    default_value=0, message_type=None, enum_type=None, containing_type=
    None, is_extension=False, extension_scope=None, options=None),
    _descriptor.FieldDescriptor(name='session', full_name=
    'Dianjing.protocol.UnitLevelUpResponse.session', index=1, number=2,
    type=12, cpp_type=9, label=2, has_default_value=False, default_value=_b
    (''), message_type=None, enum_type=None, containing_type=None,
    is_extension=False, extension_scope=None, options=None)], extensions=[],
    nested_types=[], enum_types=[], options=None, is_extendable=False,
    syntax='proto2', extension_ranges=[], oneofs=[], serialized_start=334,
    serialized_end=385)
_UNITSTEPUPREQUEST = _descriptor.Descriptor(name='UnitStepUpRequest',
    full_name='Dianjing.protocol.UnitStepUpRequest', filename=None, file=
    DESCRIPTOR, containing_type=None, fields=[_descriptor.FieldDescriptor(
    name='session', full_name='Dianjing.protocol.UnitStepUpRequest.session',
    index=0, number=1, type=12, cpp_type=9, label=2, has_default_value=
    False, default_value=_b(''), message_type=None, enum_type=None,
    containing_type=None, is_extension=False, extension_scope=None, options
    =None), _descriptor.FieldDescriptor(name='id', full_name=
    'Dianjing.protocol.UnitStepUpRequest.id', index=1, number=2, type=5,
    cpp_type=1, label=2, has_default_value=False, default_value=0,
    message_type=None, enum_type=None, containing_type=None, is_extension=
    False, extension_scope=None, options=None)], extensions=[],
    nested_types=[], enum_types=[], options=None, is_extendable=False,
    syntax='proto2', extension_ranges=[], oneofs=[], serialized_start=387,
    serialized_end=435)
_UNITSTEPUPRESPONSE = _descriptor.Descriptor(name='UnitStepUpResponse',
    full_name='Dianjing.protocol.UnitStepUpResponse', filename=None, file=
    DESCRIPTOR, containing_type=None, fields=[_descriptor.FieldDescriptor(
    name='ret', full_name='Dianjing.protocol.UnitStepUpResponse.ret', index
    =0, number=1, type=5, cpp_type=1, label=2, has_default_value=False,
    default_value=0, message_type=None, enum_type=None, containing_type=
    None, is_extension=False, extension_scope=None, options=None),
    _descriptor.FieldDescriptor(name='session', full_name=
    'Dianjing.protocol.UnitStepUpResponse.session', index=1, number=2, type
    =12, cpp_type=9, label=2, has_default_value=False, default_value=_b(''),
    message_type=None, enum_type=None, containing_type=None, is_extension=
    False, extension_scope=None, options=None)], extensions=[],
    nested_types=[], enum_types=[], options=None, is_extendable=False,
    syntax='proto2', extension_ranges=[], oneofs=[], serialized_start=437,
    serialized_end=487)
_UNITDESTROYREQUEST = _descriptor.Descriptor(name='UnitDestroyRequest',
    full_name='Dianjing.protocol.UnitDestroyRequest', filename=None, file=
    DESCRIPTOR, containing_type=None, fields=[_descriptor.FieldDescriptor(
    name='session', full_name=
    'Dianjing.protocol.UnitDestroyRequest.session', index=0, number=1, type
    =12, cpp_type=9, label=2, has_default_value=False, default_value=_b(''),
    message_type=None, enum_type=None, containing_type=None, is_extension=
    False, extension_scope=None, options=None), _descriptor.FieldDescriptor
    (name='id', full_name='Dianjing.protocol.UnitDestroyRequest.id', index=
    1, number=2, type=5, cpp_type=1, label=2, has_default_value=False,
    default_value=0, message_type=None, enum_type=None, containing_type=
    None, is_extension=False, extension_scope=None, options=None),
    _descriptor.FieldDescriptor(name='use_sycee', full_name=
    'Dianjing.protocol.UnitDestroyRequest.use_sycee', index=2, number=3,
    type=8, cpp_type=7, label=2, has_default_value=False, default_value=
    False, message_type=None, enum_type=None, containing_type=None,
    is_extension=False, extension_scope=None, options=None)], extensions=[],
    nested_types=[], enum_types=[], options=None, is_extendable=False,
    syntax='proto2', extension_ranges=[], oneofs=[], serialized_start=489,
    serialized_end=557)
_UNITDESTROYRESPONSE = _descriptor.Descriptor(name='UnitDestroyResponse',
    full_name='Dianjing.protocol.UnitDestroyResponse', filename=None, file=
    DESCRIPTOR, containing_type=None, fields=[_descriptor.FieldDescriptor(
    name='ret', full_name='Dianjing.protocol.UnitDestroyResponse.ret',
    index=0, number=1, type=5, cpp_type=1, label=2, has_default_value=False,
    default_value=0, message_type=None, enum_type=None, containing_type=
    None, is_extension=False, extension_scope=None, options=None),
    _descriptor.FieldDescriptor(name='session', full_name=
    'Dianjing.protocol.UnitDestroyResponse.session', index=1, number=2,
    type=12, cpp_type=9, label=2, has_default_value=False, default_value=_b
    (''), message_type=None, enum_type=None, containing_type=None,
    is_extension=False, extension_scope=None, options=None), _descriptor.
    FieldDescriptor(name='drop', full_name=
    'Dianjing.protocol.UnitDestroyResponse.drop', index=2, number=3, type=
    11, cpp_type=10, label=1, has_default_value=False, default_value=None,
    message_type=None, enum_type=None, containing_type=None, is_extension=
    False, extension_scope=None, options=None)], extensions=[],
    nested_types=[], enum_types=[], options=None, is_extendable=False,
    syntax='proto2', extension_ranges=[], oneofs=[], serialized_start=559,
    serialized_end=649)
_UNITNOTIFY.fields_by_name['act'].enum_type = common__pb2._ACTION
_UNITNOTIFY.fields_by_name['units'].message_type = _UNIT
_UNITDESTROYRESPONSE.fields_by_name['drop'].message_type = package__pb2._DROP
DESCRIPTOR.message_types_by_name['Unit'] = _UNIT
DESCRIPTOR.message_types_by_name['UnitNotify'] = _UNITNOTIFY
DESCRIPTOR.message_types_by_name['UnitLevelUpRequest'] = _UNITLEVELUPREQUEST
DESCRIPTOR.message_types_by_name['UnitLevelUpResponse'] = _UNITLEVELUPRESPONSE
DESCRIPTOR.message_types_by_name['UnitStepUpRequest'] = _UNITSTEPUPREQUEST
DESCRIPTOR.message_types_by_name['UnitStepUpResponse'] = _UNITSTEPUPRESPONSE
DESCRIPTOR.message_types_by_name['UnitDestroyRequest'] = _UNITDESTROYREQUEST
DESCRIPTOR.message_types_by_name['UnitDestroyResponse'] = _UNITDESTROYRESPONSE
Unit = _reflection.GeneratedProtocolMessageType('Unit', (_message.Message,),
    dict(DESCRIPTOR=_UNIT, __module__='unit_pb2'))
_sym_db.RegisterMessage(Unit)
UnitNotify = _reflection.GeneratedProtocolMessageType('UnitNotify', (
    _message.Message,), dict(DESCRIPTOR=_UNITNOTIFY, __module__='unit_pb2'))
_sym_db.RegisterMessage(UnitNotify)
UnitLevelUpRequest = _reflection.GeneratedProtocolMessageType(
    'UnitLevelUpRequest', (_message.Message,), dict(DESCRIPTOR=
    _UNITLEVELUPREQUEST, __module__='unit_pb2'))
_sym_db.RegisterMessage(UnitLevelUpRequest)
UnitLevelUpResponse = _reflection.GeneratedProtocolMessageType(
    'UnitLevelUpResponse', (_message.Message,), dict(DESCRIPTOR=
    _UNITLEVELUPRESPONSE, __module__='unit_pb2'))
_sym_db.RegisterMessage(UnitLevelUpResponse)
UnitStepUpRequest = _reflection.GeneratedProtocolMessageType(
    'UnitStepUpRequest', (_message.Message,), dict(DESCRIPTOR=
    _UNITSTEPUPREQUEST, __module__='unit_pb2'))
_sym_db.RegisterMessage(UnitStepUpRequest)
UnitStepUpResponse = _reflection.GeneratedProtocolMessageType(
    'UnitStepUpResponse', (_message.Message,), dict(DESCRIPTOR=
    _UNITSTEPUPRESPONSE, __module__='unit_pb2'))
_sym_db.RegisterMessage(UnitStepUpResponse)
UnitDestroyRequest = _reflection.GeneratedProtocolMessageType(
    'UnitDestroyRequest', (_message.Message,), dict(DESCRIPTOR=
    _UNITDESTROYREQUEST, __module__='unit_pb2'))
_sym_db.RegisterMessage(UnitDestroyRequest)
UnitDestroyResponse = _reflection.GeneratedProtocolMessageType(
    'UnitDestroyResponse', (_message.Message,), dict(DESCRIPTOR=
    _UNITDESTROYRESPONSE, __module__='unit_pb2'))
_sym_db.RegisterMessage(UnitDestroyResponse)

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: unit.proto

import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


import common_pb2 as common__pb2
import package_pb2 as package__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='unit.proto',
  package='Dianjing.protocol',
  syntax='proto2',
  serialized_pb=_b('\n\nunit.proto\x12\x11\x44ianjing.protocol\x1a\x0c\x63ommon.proto\x1a\rpackage.proto\"\\\n\x04Unit\x12\n\n\x02id\x18\x01 \x02(\x05\x12\r\n\x05level\x18\x02 \x02(\x05\x12\x0c\n\x04step\x18\x03 \x02(\x05\x12\n\n\x02hp\x18\x04 \x02(\x05\x12\x0e\n\x06\x61ttack\x18\x05 \x02(\x05\x12\x0f\n\x07\x64\x65\x66\x65nse\x18\x06 \x02(\x05\"m\n\nUnitNotify\x12\x0f\n\x07session\x18\x01 \x02(\x0c\x12&\n\x03\x61\x63t\x18\x02 \x02(\x0e\x32\x19.Dianjing.protocol.Action\x12&\n\x05units\x18\x03 \x03(\x0b\x32\x17.Dianjing.protocol.Unit\"A\n\x12UnitLevelUpRequest\x12\x0f\n\x07session\x18\x01 \x02(\x0c\x12\n\n\x02id\x18\x02 \x02(\x05\x12\x0e\n\x06single\x18\x03 \x02(\x08\"3\n\x13UnitLevelUpResponse\x12\x0b\n\x03ret\x18\x01 \x02(\x05\x12\x0f\n\x07session\x18\x02 \x02(\x0c\"0\n\x11UnitStepUpRequest\x12\x0f\n\x07session\x18\x01 \x02(\x0c\x12\n\n\x02id\x18\x02 \x02(\x05\"2\n\x12UnitStepUpResponse\x12\x0b\n\x03ret\x18\x01 \x02(\x05\x12\x0f\n\x07session\x18\x02 \x02(\x0c\"D\n\x12UnitDestroyRequest\x12\x0f\n\x07session\x18\x01 \x02(\x0c\x12\n\n\x02id\x18\x02 \x02(\x05\x12\x11\n\tuse_sycee\x18\x03 \x02(\x08\"Z\n\x13UnitDestroyResponse\x12\x0b\n\x03ret\x18\x01 \x02(\x05\x12\x0f\n\x07session\x18\x02 \x02(\x0c\x12%\n\x04\x64rop\x18\x03 \x01(\x0b\x32\x17.Dianjing.protocol.Drop')
  ,
  dependencies=[common__pb2.DESCRIPTOR,package__pb2.DESCRIPTOR,])
_sym_db.RegisterFileDescriptor(DESCRIPTOR)




_UNIT = _descriptor.Descriptor(
  name='Unit',
  full_name='Dianjing.protocol.Unit',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='Dianjing.protocol.Unit.id', index=0,
      number=1, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='level', full_name='Dianjing.protocol.Unit.level', index=1,
      number=2, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='step', full_name='Dianjing.protocol.Unit.step', index=2,
      number=3, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='hp', full_name='Dianjing.protocol.Unit.hp', index=3,
      number=4, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='attack', full_name='Dianjing.protocol.Unit.attack', index=4,
      number=5, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='defense', full_name='Dianjing.protocol.Unit.defense', index=5,
      number=6, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=62,
  serialized_end=154,
)


_UNITNOTIFY = _descriptor.Descriptor(
  name='UnitNotify',
  full_name='Dianjing.protocol.UnitNotify',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='session', full_name='Dianjing.protocol.UnitNotify.session', index=0,
      number=1, type=12, cpp_type=9, label=2,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='act', full_name='Dianjing.protocol.UnitNotify.act', index=1,
      number=2, type=14, cpp_type=8, label=2,
      has_default_value=False, default_value=1,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='units', full_name='Dianjing.protocol.UnitNotify.units', index=2,
      number=3, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=156,
  serialized_end=265,
)


_UNITLEVELUPREQUEST = _descriptor.Descriptor(
  name='UnitLevelUpRequest',
  full_name='Dianjing.protocol.UnitLevelUpRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='session', full_name='Dianjing.protocol.UnitLevelUpRequest.session', index=0,
      number=1, type=12, cpp_type=9, label=2,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='id', full_name='Dianjing.protocol.UnitLevelUpRequest.id', index=1,
      number=2, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='single', full_name='Dianjing.protocol.UnitLevelUpRequest.single', index=2,
      number=3, type=8, cpp_type=7, label=2,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=267,
  serialized_end=332,
)


_UNITLEVELUPRESPONSE = _descriptor.Descriptor(
  name='UnitLevelUpResponse',
  full_name='Dianjing.protocol.UnitLevelUpResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='ret', full_name='Dianjing.protocol.UnitLevelUpResponse.ret', index=0,
      number=1, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='session', full_name='Dianjing.protocol.UnitLevelUpResponse.session', index=1,
      number=2, type=12, cpp_type=9, label=2,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=334,
  serialized_end=385,
)


_UNITSTEPUPREQUEST = _descriptor.Descriptor(
  name='UnitStepUpRequest',
  full_name='Dianjing.protocol.UnitStepUpRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='session', full_name='Dianjing.protocol.UnitStepUpRequest.session', index=0,
      number=1, type=12, cpp_type=9, label=2,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='id', full_name='Dianjing.protocol.UnitStepUpRequest.id', index=1,
      number=2, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=387,
  serialized_end=435,
)


_UNITSTEPUPRESPONSE = _descriptor.Descriptor(
  name='UnitStepUpResponse',
  full_name='Dianjing.protocol.UnitStepUpResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='ret', full_name='Dianjing.protocol.UnitStepUpResponse.ret', index=0,
      number=1, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='session', full_name='Dianjing.protocol.UnitStepUpResponse.session', index=1,
      number=2, type=12, cpp_type=9, label=2,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=437,
  serialized_end=487,
)


_UNITDESTROYREQUEST = _descriptor.Descriptor(
  name='UnitDestroyRequest',
  full_name='Dianjing.protocol.UnitDestroyRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='session', full_name='Dianjing.protocol.UnitDestroyRequest.session', index=0,
      number=1, type=12, cpp_type=9, label=2,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='id', full_name='Dianjing.protocol.UnitDestroyRequest.id', index=1,
      number=2, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='use_sycee', full_name='Dianjing.protocol.UnitDestroyRequest.use_sycee', index=2,
      number=3, type=8, cpp_type=7, label=2,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=489,
  serialized_end=557,
)


_UNITDESTROYRESPONSE = _descriptor.Descriptor(
  name='UnitDestroyResponse',
  full_name='Dianjing.protocol.UnitDestroyResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='ret', full_name='Dianjing.protocol.UnitDestroyResponse.ret', index=0,
      number=1, type=5, cpp_type=1, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='session', full_name='Dianjing.protocol.UnitDestroyResponse.session', index=1,
      number=2, type=12, cpp_type=9, label=2,
      has_default_value=False, default_value=_b(""),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='drop', full_name='Dianjing.protocol.UnitDestroyResponse.drop', index=2,
      number=3, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=559,
  serialized_end=649,
)

_UNITNOTIFY.fields_by_name['act'].enum_type = common__pb2._ACTION
_UNITNOTIFY.fields_by_name['units'].message_type = _UNIT
_UNITDESTROYRESPONSE.fields_by_name['drop'].message_type = package__pb2._DROP
DESCRIPTOR.message_types_by_name['Unit'] = _UNIT
DESCRIPTOR.message_types_by_name['UnitNotify'] = _UNITNOTIFY
DESCRIPTOR.message_types_by_name['UnitLevelUpRequest'] = _UNITLEVELUPREQUEST
DESCRIPTOR.message_types_by_name['UnitLevelUpResponse'] = _UNITLEVELUPRESPONSE
DESCRIPTOR.message_types_by_name['UnitStepUpRequest'] = _UNITSTEPUPREQUEST
DESCRIPTOR.message_types_by_name['UnitStepUpResponse'] = _UNITSTEPUPRESPONSE
DESCRIPTOR.message_types_by_name['UnitDestroyRequest'] = _UNITDESTROYREQUEST
DESCRIPTOR.message_types_by_name['UnitDestroyResponse'] = _UNITDESTROYRESPONSE

Unit = _reflection.GeneratedProtocolMessageType('Unit', (_message.Message,), dict(
  DESCRIPTOR = _UNIT,
  __module__ = 'unit_pb2'
  # @@protoc_insertion_point(class_scope:Dianjing.protocol.Unit)
  ))
_sym_db.RegisterMessage(Unit)

UnitNotify = _reflection.GeneratedProtocolMessageType('UnitNotify', (_message.Message,), dict(
  DESCRIPTOR = _UNITNOTIFY,
  __module__ = 'unit_pb2'
  # @@protoc_insertion_point(class_scope:Dianjing.protocol.UnitNotify)
  ))
_sym_db.RegisterMessage(UnitNotify)

UnitLevelUpRequest = _reflection.GeneratedProtocolMessageType('UnitLevelUpRequest', (_message.Message,), dict(
  DESCRIPTOR = _UNITLEVELUPREQUEST,
  __module__ = 'unit_pb2'
  # @@protoc_insertion_point(class_scope:Dianjing.protocol.UnitLevelUpRequest)
  ))
_sym_db.RegisterMessage(UnitLevelUpRequest)

UnitLevelUpResponse = _reflection.GeneratedProtocolMessageType('UnitLevelUpResponse', (_message.Message,), dict(
  DESCRIPTOR = _UNITLEVELUPRESPONSE,
  __module__ = 'unit_pb2'
  # @@protoc_insertion_point(class_scope:Dianjing.protocol.UnitLevelUpResponse)
  ))
_sym_db.RegisterMessage(UnitLevelUpResponse)

UnitStepUpRequest = _reflection.GeneratedProtocolMessageType('UnitStepUpRequest', (_message.Message,), dict(
  DESCRIPTOR = _UNITSTEPUPREQUEST,
  __module__ = 'unit_pb2'
  # @@protoc_insertion_point(class_scope:Dianjing.protocol.UnitStepUpRequest)
  ))
_sym_db.RegisterMessage(UnitStepUpRequest)

UnitStepUpResponse = _reflection.GeneratedProtocolMessageType('UnitStepUpResponse', (_message.Message,), dict(
  DESCRIPTOR = _UNITSTEPUPRESPONSE,
  __module__ = 'unit_pb2'
  # @@protoc_insertion_point(class_scope:Dianjing.protocol.UnitStepUpResponse)
  ))
_sym_db.RegisterMessage(UnitStepUpResponse)

UnitDestroyRequest = _reflection.GeneratedProtocolMessageType('UnitDestroyRequest', (_message.Message,), dict(
  DESCRIPTOR = _UNITDESTROYREQUEST,
  __module__ = 'unit_pb2'
  # @@protoc_insertion_point(class_scope:Dianjing.protocol.UnitDestroyRequest)
  ))
_sym_db.RegisterMessage(UnitDestroyRequest)

UnitDestroyResponse = _reflection.GeneratedProtocolMessageType('UnitDestroyResponse', (_message.Message,), dict(
  DESCRIPTOR = _UNITDESTROYRESPONSE,
  __module__ = 'unit_pb2'
  # @@protoc_insertion_point(class_scope:Dianjing.protocol.UnitDestroyResponse)
  ))
_sym_db.RegisterMessage(UnitDestroyResponse)


# @@protoc_insertion_point(module_scope)
