uraus.kku.Request.RequestItemOpenbox */ class RequestItemOpenbox extends \Google\Protobuf\Internal\Message { /** * 宝箱 item_id * * Generated from protobuf field int64 item_id = 1; */ protected $item_id = 0; /** * 宝箱,实例ID * * Generated from protobuf field int64 item_instance_id = 2; */ protected $item_instance_id = 0; /** * 自选参数 * * Generated from protobuf field repeated int64 select_ids = 3; */ private $select_ids; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int|string $item_id * 宝箱 item_id * @type int|string $item_instance_id * 宝箱,实例ID * @type int[]|string[]|\Google\Protobuf\Internal\RepeatedField $select_ids * 自选参数 * } */ public function __construct($data = NULL) { \GPBMetadata\Proto\Game::initOnce(); parent::__construct($data); } /** * 宝箱 item_id * * Generated from protobuf field int64 item_id = 1; * @return int|string */ public function getItemId() { return $this->item_id; } /** * 宝箱 item_id * * Generated from protobuf field int64 item_id = 1; * @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 = 2; * @return int|string */ public function getItemInstanceId() { return $this->item_instance_id; } /** * 宝箱,实例ID * * Generated from protobuf field int64 item_instance_id = 2; * @param int|string $var * @return $this */ public function setItemInstanceId($var) { GPBUtil::checkInt64($var); $this->item_instance_id = $var; return $this; } /** * 自选参数 * * Generated from protobuf field repeated int64 select_ids = 3; * @return \Google\Protobuf\Internal\RepeatedField */ public function getSelectIds() { return $this->select_ids; } /** * 自选参数 * * Generated from protobuf field repeated int64 select_ids = 3; * @param int[]|string[]|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setSelectIds($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64); $this->select_ids = $arr; return $this; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(RequestItemOpenbox::class, \Uraus\Kku\Request_RequestItemOpenbox::class);