Files
zwift-offline/protobuf/world_pb2.py
Юрий Першин bdaacc8d4c 1. new proof-of-concept anti-circus #2 algo (with no luck);
trace: https://drive.google.com/file/d/1fjukn7xo9ZvZB7aefwxxoGfw564Kph_i/view?usp=sharing (user1 on zoffline host, user7 is 'dancing' on user1 screen)
   world times trace (maybe negatives is cause, |dt| is always less than 100ms):
   dt: 9
   dt: 11
   dt: -19
   dt: -17
2. proto++
3. get_week_range bug fixed (or partially?)
2022-03-01 15:43:03 +05:00

56 lines
3.3 KiB
Python

# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: world.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 message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
import profile_pb2 as profile__pb2
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0bworld.proto\x1a\rprofile.proto\"\x9d\x02\n\x0b\x44ropInWorld\x12\n\n\x02id\x18\x01 \x02(\x04\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tcourse_id\x18\x03 \x01(\x04\x12\n\n\x02\x66\x34\x18\x04 \x01(\x08\x12\x10\n\x08zwifters\x18\x05 \x01(\x04\x12\x12\n\nworld_time\x18\x06 \x01(\x04\x12\x11\n\treal_time\x18\x07 \x01(\x04\x12\"\n\x0bpro_players\x18\x08 \x03(\x0b\x32\r.DropInPlayer\x12 \n\tfollowees\x18\t \x03(\x0b\x32\r.DropInPlayer\x12\x1d\n\x06others\x18\n \x03(\x0b\x32\r.DropInPlayer\x12\x14\n\x0cmax_zwifters\x18\x0b \x01(\x04\x12!\n\npacer_bots\x18\x0c \x03(\x0b\x32\r.DropInPlayer\"/\n\x0f\x44ropInWorldList\x12\x1c\n\x06worlds\x18\x01 \x03(\x0b\x32\x0c.DropInWorld\"\xcc\x02\n\x0c\x44ropInPlayer\x12\n\n\x02id\x18\x01 \x02(\x04\x12\x11\n\tfirstName\x18\x02 \x02(\t\x12\x10\n\x08lastName\x18\x03 \x02(\t\x12\x10\n\x08\x64istance\x18\x04 \x01(\x04\x12\x0c\n\x04time\x18\x05 \x01(\x04\x12\x14\n\x0c\x63ountry_code\x18\x06 \x01(\x04\x12 \n\x0bplayer_type\x18\x07 \x01(\x0e\x32\x0b.PlayerType\x12\x15\n\x05sport\x18\x08 \x01(\x0e\x32\x06.Sport\x12\n\n\x02\x66\x39\x18\t \x01(\x08\x12\x0b\n\x03\x66\x31\x30\x18\n \x01(\x08\x12\x0b\n\x03\x66\x31\x31\x18\x0b \x01(\x04\x12\r\n\x05power\x18\x0c \x01(\x04\x12\x0b\n\x03\x66\x31\x33\x18\r \x01(\x04\x12\t\n\x01x\x18\x0e \x01(\x02\x12\x12\n\ny_altitude\x18\x0f \x01(\x02\x12\t\n\x01z\x18\x10 \x01(\x02\x12\r\n\x05route\x18\x11 \x01(\x05\x12\x12\n\nride_power\x18\x12 \x01(\r\x12\r\n\x05speed\x18\x13 \x01(\r')
_DROPINWORLD = DESCRIPTOR.message_types_by_name['DropInWorld']
_DROPINWORLDLIST = DESCRIPTOR.message_types_by_name['DropInWorldList']
_DROPINPLAYER = DESCRIPTOR.message_types_by_name['DropInPlayer']
DropInWorld = _reflection.GeneratedProtocolMessageType('DropInWorld', (_message.Message,), {
'DESCRIPTOR' : _DROPINWORLD,
'__module__' : 'world_pb2'
# @@protoc_insertion_point(class_scope:DropInWorld)
})
_sym_db.RegisterMessage(DropInWorld)
DropInWorldList = _reflection.GeneratedProtocolMessageType('DropInWorldList', (_message.Message,), {
'DESCRIPTOR' : _DROPINWORLDLIST,
'__module__' : 'world_pb2'
# @@protoc_insertion_point(class_scope:DropInWorldList)
})
_sym_db.RegisterMessage(DropInWorldList)
DropInPlayer = _reflection.GeneratedProtocolMessageType('DropInPlayer', (_message.Message,), {
'DESCRIPTOR' : _DROPINPLAYER,
'__module__' : 'world_pb2'
# @@protoc_insertion_point(class_scope:DropInPlayer)
})
_sym_db.RegisterMessage(DropInPlayer)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
_DROPINWORLD._serialized_start=31
_DROPINWORLD._serialized_end=316
_DROPINWORLDLIST._serialized_start=318
_DROPINWORLDLIST._serialized_end=365
_DROPINPLAYER._serialized_start=368
_DROPINPLAYER._serialized_end=700
# @@protoc_insertion_point(module_scope)