-
Notifications
You must be signed in to change notification settings - Fork 0
/
game_pb2.py
44 lines (38 loc) · 3.8 KB
/
game_pb2.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: game.proto
# Protobuf Python Version: 4.25.1
"""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()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\ngame.proto\x12\x04game\"\x07\n\x05\x45mpty\"\x12\n\x03Map\x12\x0b\n\x03map\x18\x01 \x01(\t\"\x1c\n\x07NewGame\x12\x11\n\tgame_uuid\x18\x01 \x01(\t\"\'\n\x07NpcShot\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12\x0e\n\x06\x64\x61mage\x18\x02 \x01(\x05\"\x1d\n\rRevivedPlayer\x12\x0c\n\x04uuid\x18\x01 \x01(\t\"r\n\x0ePlayerPosition\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12\r\n\x05pos_x\x18\x02 \x01(\x02\x12\r\n\x05pos_y\x18\x03 \x01(\x02\x12\x11\n\tpos_angle\x18\x04 \x01(\x02\x12\x0e\n\x06health\x18\x05 \x01(\x05\x12\x11\n\tlast_move\x18\x06 \x01(\x01\"\xbc\x01\n\x06Sprite\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0c\n\x04uuid\x18\x02 \x01(\t\x12\r\n\x05pos_x\x18\x03 \x01(\x02\x12\r\n\x05pos_y\x18\x04 \x01(\x02\x12\x0c\n\x04path\x18\x05 \x01(\t\x12\r\n\x05scale\x18\x06 \x01(\x02\x12\r\n\x05shift\x18\x07 \x01(\x02\x12\x16\n\x0e\x61nimation_time\x18\x08 \x01(\x02\x12\r\n\x05state\x18\t \x01(\x05\x12\x0c\n\x04hold\x18\n \x01(\x08\x12\x17\n\x0flast_press_uuid\x18\x0b \x01(\t\"\xdd\x01\n\x03NPC\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0c\n\x04uuid\x18\x02 \x01(\t\x12\r\n\x05pos_x\x18\x03 \x01(\x02\x12\r\n\x05pos_y\x18\x04 \x01(\x02\x12\x0c\n\x04path\x18\x05 \x01(\t\x12\r\n\x05scale\x18\x06 \x01(\x02\x12\r\n\x05shift\x18\x07 \x01(\x02\x12\x16\n\x0e\x61nimation_time\x18\x08 \x01(\x02\x12\x15\n\rray_cast_uuid\x18\t \x01(\t\x12\x1a\n\x12last_ray_cast_uuid\x18\n \x01(\t\x12\x15\n\rray_cast_dist\x18\x0b \x01(\x02\x12\x0e\n\x06health\x18\x0c \x01(\x05\"B\n\rSpriteToggled\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12\r\n\x05state\x18\x02 \x01(\x05\x12\x14\n\x0cpresser_uuid\x18\x03 \x01(\t2\xf8\x02\n\x04game\x12>\n\x0cSendPosition\x12\x14.game.PlayerPosition\x1a\x14.game.PlayerPosition\"\x00\x30\x01\x12+\n\nGetSprites\x12\x0b.game.Empty\x1a\x0c.game.Sprite\"\x00\x30\x01\x12%\n\x07GetNpcs\x12\x0b.game.Empty\x1a\t.game.NPC\"\x00\x30\x01\x12(\n\x08ShootNpc\x12\r.game.NpcShot\x1a\x0b.game.Empty\"\x00\x12,\n\x0c\x43heckNewGame\x12\x0b.game.Empty\x1a\r.game.NewGame\"\x00\x12\x32\n\x0cToggleSprite\x12\x13.game.SpriteToggled\x1a\x0b.game.Empty\"\x00\x12\"\n\x06GetMap\x12\x0b.game.Empty\x1a\t.game.Map\"\x00\x12,\n\x06Revive\x12\x13.game.RevivedPlayer\x1a\x0b.game.Empty\"\x00\x62\x06proto3')
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'game_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
_globals['_EMPTY']._serialized_start=20
_globals['_EMPTY']._serialized_end=27
_globals['_MAP']._serialized_start=29
_globals['_MAP']._serialized_end=47
_globals['_NEWGAME']._serialized_start=49
_globals['_NEWGAME']._serialized_end=77
_globals['_NPCSHOT']._serialized_start=79
_globals['_NPCSHOT']._serialized_end=118
_globals['_REVIVEDPLAYER']._serialized_start=120
_globals['_REVIVEDPLAYER']._serialized_end=149
_globals['_PLAYERPOSITION']._serialized_start=151
_globals['_PLAYERPOSITION']._serialized_end=265
_globals['_SPRITE']._serialized_start=268
_globals['_SPRITE']._serialized_end=456
_globals['_NPC']._serialized_start=459
_globals['_NPC']._serialized_end=680
_globals['_SPRITETOGGLED']._serialized_start=682
_globals['_SPRITETOGGLED']._serialized_end=748
_globals['_GAME']._serialized_start=751
_globals['_GAME']._serialized_end=1127
# @@protoc_insertion_point(module_scope)