| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138 |
- <?php
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: proto/game.proto
- namespace Uraus\Kku\Request;
- use Google\Protobuf\Internal\GPBType;
- use Google\Protobuf\Internal\RepeatedField;
- use Google\Protobuf\Internal\GPBUtil;
- /**
- * 除草操作请求消息
- *
- * Generated from protobuf message <code>uraus.kku.Request.RequestLandWeedicide</code>
- */
- class RequestLandWeedicide extends \Google\Protobuf\Internal\Message
- {
- /**
- * 土地ID
- *
- * Generated from protobuf field <code>int64 land_id = 1;</code>
- */
- protected $land_id = 0;
- /**
- * 物品ID
- *
- * Generated from protobuf field <code>int64 item_id = 2;</code>
- */
- protected $item_id = 0;
- /**
- * 实例 id
- *
- * Generated from protobuf field <code>int64 item_instance_id = 3;</code>
- */
- protected $item_instance_id = 0;
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int|string $land_id
- * 土地ID
- * @type int|string $item_id
- * 物品ID
- * @type int|string $item_instance_id
- * 实例 id
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Proto\Game::initOnce();
- parent::__construct($data);
- }
- /**
- * 土地ID
- *
- * Generated from protobuf field <code>int64 land_id = 1;</code>
- * @return int|string
- */
- public function getLandId()
- {
- return $this->land_id;
- }
- /**
- * 土地ID
- *
- * Generated from protobuf field <code>int64 land_id = 1;</code>
- * @param int|string $var
- * @return $this
- */
- public function setLandId($var)
- {
- GPBUtil::checkInt64($var);
- $this->land_id = $var;
- return $this;
- }
- /**
- * 物品ID
- *
- * Generated from protobuf field <code>int64 item_id = 2;</code>
- * @return int|string
- */
- public function getItemId()
- {
- return $this->item_id;
- }
- /**
- * 物品ID
- *
- * Generated from protobuf field <code>int64 item_id = 2;</code>
- * @param int|string $var
- * @return $this
- */
- public function setItemId($var)
- {
- GPBUtil::checkInt64($var);
- $this->item_id = $var;
- return $this;
- }
- /**
- * 实例 id
- *
- * Generated from protobuf field <code>int64 item_instance_id = 3;</code>
- * @return int|string
- */
- public function getItemInstanceId()
- {
- return $this->item_instance_id;
- }
- /**
- * 实例 id
- *
- * Generated from protobuf field <code>int64 item_instance_id = 3;</code>
- * @param int|string $var
- * @return $this
- */
- public function setItemInstanceId($var)
- {
- GPBUtil::checkInt64($var);
- $this->item_instance_id = $var;
- return $this;
- }
- }
- // Adding a class alias for backwards compatibility with the previous class name.
- class_alias(RequestLandWeedicide::class, \Uraus\Kku\Request_RequestLandWeedicide::class);
|