You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

Message2Server_pb2.pyi 2.8 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. import MessageType_pb2 as _MessageType_pb2
  2. from google.protobuf import descriptor as _descriptor
  3. from google.protobuf import message as _message
  4. from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
  5. DESCRIPTOR: _descriptor.FileDescriptor
  6. class AttackMsg(_message.Message):
  7. __slots__ = ["angle", "player_id"]
  8. ANGLE_FIELD_NUMBER: _ClassVar[int]
  9. PLAYER_ID_FIELD_NUMBER: _ClassVar[int]
  10. angle: float
  11. player_id: int
  12. def __init__(
  13. self, player_id: _Optional[int] = ..., angle: _Optional[float] = ...) -> None: ...
  14. class IDMsg(_message.Message):
  15. __slots__ = ["player_id"]
  16. PLAYER_ID_FIELD_NUMBER: _ClassVar[int]
  17. player_id: int
  18. def __init__(self, player_id: _Optional[int] = ...) -> None: ...
  19. class MoveMsg(_message.Message):
  20. __slots__ = ["angle", "player_id", "time_in_milliseconds"]
  21. ANGLE_FIELD_NUMBER: _ClassVar[int]
  22. PLAYER_ID_FIELD_NUMBER: _ClassVar[int]
  23. TIME_IN_MILLISECONDS_FIELD_NUMBER: _ClassVar[int]
  24. angle: float
  25. player_id: int
  26. time_in_milliseconds: int
  27. def __init__(self, player_id: _Optional[int] = ..., angle: _Optional[float]
  28. = ..., time_in_milliseconds: _Optional[int] = ...) -> None: ...
  29. class PickMsg(_message.Message):
  30. __slots__ = ["player_id", "prop_type"]
  31. PLAYER_ID_FIELD_NUMBER: _ClassVar[int]
  32. PROP_TYPE_FIELD_NUMBER: _ClassVar[int]
  33. player_id: int
  34. prop_type: _MessageType_pb2.PropType
  35. def __init__(self, player_id: _Optional[int] = ...,
  36. prop_type: _Optional[_Union[_MessageType_pb2.PropType, str]] = ...) -> None: ...
  37. class PlayerMsg(_message.Message):
  38. __slots__ = ["butcher_type", "human_type", "player_id", "player_type"]
  39. BUTCHER_TYPE_FIELD_NUMBER: _ClassVar[int]
  40. HUMAN_TYPE_FIELD_NUMBER: _ClassVar[int]
  41. PLAYER_ID_FIELD_NUMBER: _ClassVar[int]
  42. PLAYER_TYPE_FIELD_NUMBER: _ClassVar[int]
  43. butcher_type: _MessageType_pb2.ButcherType
  44. human_type: _MessageType_pb2.HumanType
  45. player_id: int
  46. player_type: _MessageType_pb2.PlayerType
  47. def __init__(self, player_id: _Optional[int] = ..., player_type: _Optional[_Union[_MessageType_pb2.PlayerType, str]] = ...,
  48. human_type: _Optional[_Union[_MessageType_pb2.HumanType, str]] = ..., butcher_type: _Optional[_Union[_MessageType_pb2.ButcherType, str]] = ...) -> None: ...
  49. class SendMsg(_message.Message):
  50. __slots__ = ["message", "player_id", "to_player_id"]
  51. MESSAGE_FIELD_NUMBER: _ClassVar[int]
  52. PLAYER_ID_FIELD_NUMBER: _ClassVar[int]
  53. TO_PLAYER_ID_FIELD_NUMBER: _ClassVar[int]
  54. message: str
  55. player_id: int
  56. to_player_id: int
  57. def __init__(self, player_id: _Optional[int] = ..., to_player_id: _Optional[int]
  58. = ..., message: _Optional[str] = ...) -> None: ...