mirror of
https://github.com/zoffline/zwift-offline.git
synced 2026-01-12 21:14:01 -08:00
61 lines
3.2 KiB
Python
61 lines
3.2 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: tcp-node-msgs.proto
|
|
"""Generated protocol buffer code."""
|
|
from google.protobuf.internal import enum_type_wrapper
|
|
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()
|
|
|
|
|
|
|
|
|
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13tcp-node-msgs.proto\"\x9a\x02\n\x12SocialPlayerAction\x12\x11\n\tplayer_id\x18\x01 \x01(\x03\x12\x14\n\x0cto_player_id\x18\x02 \x01(\x03\x12)\n\x08spa_type\x18\x03 \x01(\x0e\x32\x17.SocialPlayerActionType\x12\x11\n\tfirstName\x18\x04 \x01(\t\x12\x10\n\x08lastName\x18\x05 \x01(\t\x12\x0f\n\x07message\x18\x06 \x01(\t\x12\x0e\n\x06\x61vatar\x18\x07 \x01(\t\x12\x13\n\x0b\x63ountryCode\x18\x08 \x01(\x05\x12\x1b\n\x08\x66lagType\x18\t \x01(\x0e\x32\t.FlagType\x12!\n\x06mgType\x18\n \x01(\x0e\x32\x11.MessageGroupType\x12\x15\n\reventSubgroup\x18\x0b \x01(\x03*v\n\x16SocialPlayerActionType\x12\x1e\n\x1aSOCIAL_ACTION_UNKNOWN_TYPE\x10\x00\x12\x17\n\x13SOCIAL_TEXT_MESSAGE\x10\x01\x12\x12\n\x0eSOCIAL_RIDE_ON\x10\x02\x12\x0f\n\x0bSOCIAL_FLAG\x10\x03*l\n\x08\x46lagType\x12\x15\n\x11\x46LAG_TYPE_UNKNOWN\x10\x00\x12\x18\n\x14\x46LAG_TYPE_HARASSMENT\x10\x01\x12\x13\n\x0f\x46LAG_TYPE_FLIER\x10\x02\x12\x1a\n\x16\x46LAG_TYPE_BAD_LANGUAGE\x10\x03*`\n\x10MessageGroupType\x12\x0f\n\x0bMGT_UNKNOWN\x10\x00\x12\x0e\n\nMGT_GLOBAL\x10\x01\x12\x0e\n\nMGT_DIRECT\x10\x02\x12\r\n\tMGT_EVENT\x10\x03\x12\x0c\n\x08MGT_CLUB\x10\x04')
|
|
|
|
_SOCIALPLAYERACTIONTYPE = DESCRIPTOR.enum_types_by_name['SocialPlayerActionType']
|
|
SocialPlayerActionType = enum_type_wrapper.EnumTypeWrapper(_SOCIALPLAYERACTIONTYPE)
|
|
_FLAGTYPE = DESCRIPTOR.enum_types_by_name['FlagType']
|
|
FlagType = enum_type_wrapper.EnumTypeWrapper(_FLAGTYPE)
|
|
_MESSAGEGROUPTYPE = DESCRIPTOR.enum_types_by_name['MessageGroupType']
|
|
MessageGroupType = enum_type_wrapper.EnumTypeWrapper(_MESSAGEGROUPTYPE)
|
|
SOCIAL_ACTION_UNKNOWN_TYPE = 0
|
|
SOCIAL_TEXT_MESSAGE = 1
|
|
SOCIAL_RIDE_ON = 2
|
|
SOCIAL_FLAG = 3
|
|
FLAG_TYPE_UNKNOWN = 0
|
|
FLAG_TYPE_HARASSMENT = 1
|
|
FLAG_TYPE_FLIER = 2
|
|
FLAG_TYPE_BAD_LANGUAGE = 3
|
|
MGT_UNKNOWN = 0
|
|
MGT_GLOBAL = 1
|
|
MGT_DIRECT = 2
|
|
MGT_EVENT = 3
|
|
MGT_CLUB = 4
|
|
|
|
|
|
_SOCIALPLAYERACTION = DESCRIPTOR.message_types_by_name['SocialPlayerAction']
|
|
SocialPlayerAction = _reflection.GeneratedProtocolMessageType('SocialPlayerAction', (_message.Message,), {
|
|
'DESCRIPTOR' : _SOCIALPLAYERACTION,
|
|
'__module__' : 'tcp_node_msgs_pb2'
|
|
# @@protoc_insertion_point(class_scope:SocialPlayerAction)
|
|
})
|
|
_sym_db.RegisterMessage(SocialPlayerAction)
|
|
|
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
|
DESCRIPTOR._options = None
|
|
_SOCIALPLAYERACTIONTYPE._serialized_start=308
|
|
_SOCIALPLAYERACTIONTYPE._serialized_end=426
|
|
_FLAGTYPE._serialized_start=428
|
|
_FLAGTYPE._serialized_end=536
|
|
_MESSAGEGROUPTYPE._serialized_start=538
|
|
_MESSAGEGROUPTYPE._serialized_end=634
|
|
_SOCIALPLAYERACTION._serialized_start=24
|
|
_SOCIALPLAYERACTION._serialized_end=306
|
|
# @@protoc_insertion_point(module_scope)
|