mirror of
https://github.com/zoffline/zwift-offline.git
synced 2026-08-03 01:15:46 -07:00
184 lines
5.5 KiB
Python
184 lines
5.5 KiB
Python
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: world.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()
|
|
|
|
|
|
|
|
|
|
DESCRIPTOR = _descriptor.FileDescriptor(
|
|
name='world.proto',
|
|
package='',
|
|
syntax='proto2',
|
|
serialized_pb=_b('\n\x0bworld.proto\"`\n\x05World\x12\n\n\x02id\x18\x01 \x02(\r\x12\x0c\n\x04name\x18\x02 \x02(\t\x12\n\n\x02\x66\x33\x18\x03 \x02(\r\x12\n\n\x02\x66\x35\x18\x05 \x02(\x04\x12\x12\n\nworld_time\x18\x06 \x02(\x04\x12\x11\n\treal_time\x18\x07 \x02(\x04\" \n\x06Worlds\x12\x16\n\x06worlds\x18\x01 \x03(\x0b\x32\x06.World\"%\n\x0fWorldAttributes\x12\x12\n\nworld_time\x18\x02 \x02(\x03')
|
|
)
|
|
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
|
|
|
|
|
|
|
|
|
_WORLD = _descriptor.Descriptor(
|
|
name='World',
|
|
full_name='World',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='id', full_name='World.id', index=0,
|
|
number=1, type=13, cpp_type=3, 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='name', full_name='World.name', index=1,
|
|
number=2, type=9, cpp_type=9, label=2,
|
|
has_default_value=False, default_value=_b("").decode('utf-8'),
|
|
message_type=None, enum_type=None, containing_type=None,
|
|
is_extension=False, extension_scope=None,
|
|
options=None),
|
|
_descriptor.FieldDescriptor(
|
|
name='f3', full_name='World.f3', index=2,
|
|
number=3, type=13, cpp_type=3, 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='f5', full_name='World.f5', index=3,
|
|
number=5, type=4, cpp_type=4, 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='world_time', full_name='World.world_time', index=4,
|
|
number=6, type=4, cpp_type=4, 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='real_time', full_name='World.real_time', index=5,
|
|
number=7, type=4, cpp_type=4, 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=15,
|
|
serialized_end=111,
|
|
)
|
|
|
|
|
|
_WORLDS = _descriptor.Descriptor(
|
|
name='Worlds',
|
|
full_name='Worlds',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='worlds', full_name='Worlds.worlds', index=0,
|
|
number=1, 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=113,
|
|
serialized_end=145,
|
|
)
|
|
|
|
|
|
_WORLDATTRIBUTES = _descriptor.Descriptor(
|
|
name='WorldAttributes',
|
|
full_name='WorldAttributes',
|
|
filename=None,
|
|
file=DESCRIPTOR,
|
|
containing_type=None,
|
|
fields=[
|
|
_descriptor.FieldDescriptor(
|
|
name='world_time', full_name='WorldAttributes.world_time', index=0,
|
|
number=2, type=3, cpp_type=2, 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=147,
|
|
serialized_end=184,
|
|
)
|
|
|
|
_WORLDS.fields_by_name['worlds'].message_type = _WORLD
|
|
DESCRIPTOR.message_types_by_name['World'] = _WORLD
|
|
DESCRIPTOR.message_types_by_name['Worlds'] = _WORLDS
|
|
DESCRIPTOR.message_types_by_name['WorldAttributes'] = _WORLDATTRIBUTES
|
|
|
|
World = _reflection.GeneratedProtocolMessageType('World', (_message.Message,), dict(
|
|
DESCRIPTOR = _WORLD,
|
|
__module__ = 'world_pb2'
|
|
# @@protoc_insertion_point(class_scope:World)
|
|
))
|
|
_sym_db.RegisterMessage(World)
|
|
|
|
Worlds = _reflection.GeneratedProtocolMessageType('Worlds', (_message.Message,), dict(
|
|
DESCRIPTOR = _WORLDS,
|
|
__module__ = 'world_pb2'
|
|
# @@protoc_insertion_point(class_scope:Worlds)
|
|
))
|
|
_sym_db.RegisterMessage(Worlds)
|
|
|
|
WorldAttributes = _reflection.GeneratedProtocolMessageType('WorldAttributes', (_message.Message,), dict(
|
|
DESCRIPTOR = _WORLDATTRIBUTES,
|
|
__module__ = 'world_pb2'
|
|
# @@protoc_insertion_point(class_scope:WorldAttributes)
|
|
))
|
|
_sym_db.RegisterMessage(WorldAttributes)
|
|
|
|
|
|
# @@protoc_insertion_point(module_scope)
|