| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <?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;
- /**
- * RequestTaskClaimReward: 领取任务奖励的请求
- *
- * Generated from protobuf message <code>uraus.kku.Request.RequestTaskClaimReward</code>
- */
- class RequestTaskClaimReward extends \Google\Protobuf\Internal\Message
- {
- /**
- * 任务ID,必填
- *
- * Generated from protobuf field <code>int32 task_id = 1;</code>
- */
- protected $task_id = 0;
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int $task_id
- * 任务ID,必填
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Proto\Game::initOnce();
- parent::__construct($data);
- }
- /**
- * 任务ID,必填
- *
- * Generated from protobuf field <code>int32 task_id = 1;</code>
- * @return int
- */
- public function getTaskId()
- {
- return $this->task_id;
- }
- /**
- * 任务ID,必填
- *
- * Generated from protobuf field <code>int32 task_id = 1;</code>
- * @param int $var
- * @return $this
- */
- public function setTaskId($var)
- {
- GPBUtil::checkInt32($var);
- $this->task_id = $var;
- return $this;
- }
- }
- // Adding a class alias for backwards compatibility with the previous class name.
- class_alias(RequestTaskClaimReward::class, \Uraus\Kku\Request_RequestTaskClaimReward::class);
|