123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- <?php
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: common.proto
- namespace Common_pack;
- use Google\Protobuf\Internal\GPBType;
- use Google\Protobuf\Internal\RepeatedField;
- use Google\Protobuf\Internal\GPBUtil;
- /**
- *匹配ludo
- *
- * Generated from protobuf message <code>common_pack.MatchLudo</code>
- */
- class MatchLudo extends \Google\Protobuf\Internal\Message
- {
- /**
- * Generated from protobuf field <code>.common_pack.roomType select_room_type = 1;</code>
- */
- protected $select_room_type = 0;
- /**
- * Generated from protobuf field <code>int32 room_level = 2;</code>
- */
- protected $room_level = 0;
- /**
- * Generated from protobuf field <code>.common_pack.roleType select_color = 3;</code>
- */
- protected $select_color = 0;
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $select_room_type
- * @type int $room_level
- * @type int $select_color
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Common::initOnce();
- parent::__construct($data);
- }
- /**
- * Generated from protobuf field <code>.common_pack.roomType select_room_type = 1;</code>
- * @return int
- */
- public function getSelectRoomType()
- {
- return $this->select_room_type;
- }
- /**
- * Generated from protobuf field <code>.common_pack.roomType select_room_type = 1;</code>
- * @param int $var
- * @return $this
- */
- public function setSelectRoomType($var)
- {
- GPBUtil::checkEnum($var, \Common_pack\roomType::class);
- $this->select_room_type = $var;
- return $this;
- }
- /**
- * Generated from protobuf field <code>int32 room_level = 2;</code>
- * @return int
- */
- public function getRoomLevel()
- {
- return $this->room_level;
- }
- /**
- * Generated from protobuf field <code>int32 room_level = 2;</code>
- * @param int $var
- * @return $this
- */
- public function setRoomLevel($var)
- {
- GPBUtil::checkInt32($var);
- $this->room_level = $var;
- return $this;
- }
- /**
- * Generated from protobuf field <code>.common_pack.roleType select_color = 3;</code>
- * @return int
- */
- public function getSelectColor()
- {
- return $this->select_color;
- }
- /**
- * Generated from protobuf field <code>.common_pack.roleType select_color = 3;</code>
- * @param int $var
- * @return $this
- */
- public function setSelectColor($var)
- {
- GPBUtil::checkEnum($var, \Common_pack\roleType::class);
- $this->select_color = $var;
- return $this;
- }
- }
|