uraus.kku.Request.RequestLandSow
*/
class RequestLandSow extends \Google\Protobuf\Internal\Message
{
/**
* 土地编号
*
* Generated from protobuf field int64 land_id = 1;
*/
protected $land_id = 0;
/**
*种子物品 id
*
* Generated from protobuf field int64 item_id = 2;
*/
protected $item_id = 0;
/**
*种子实例 id
*
* Generated from protobuf field int64 item_instance_id = 3;
*/
protected $item_instance_id = 0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type int|string $land_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);
}
/**
* 土地编号
*
* Generated from protobuf field int64 land_id = 1;
* @return int|string
*/
public function getLandId()
{
return $this->land_id;
}
/**
* 土地编号
*
* Generated from protobuf field int64 land_id = 1;
* @param int|string $var
* @return $this
*/
public function setLandId($var)
{
GPBUtil::checkInt64($var);
$this->land_id = $var;
return $this;
}
/**
*种子物品 id
*
* Generated from protobuf field int64 item_id = 2;
* @return int|string
*/
public function getItemId()
{
return $this->item_id;
}
/**
*种子物品 id
*
* Generated from protobuf field int64 item_id = 2;
* @param int|string $var
* @return $this
*/
public function setItemId($var)
{
GPBUtil::checkInt64($var);
$this->item_id = $var;
return $this;
}
/**
*种子实例 id
*
* Generated from protobuf field int64 item_instance_id = 3;
* @return int|string
*/
public function getItemInstanceId()
{
return $this->item_instance_id;
}
/**
*种子实例 id
*
* Generated from protobuf field int64 item_instance_id = 3;
* @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(RequestLandSow::class, \Uraus\Kku\Request_RequestLandSow::class);