| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- <?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;
- /**
- * dismantle 分解
- *
- * Generated from protobuf message <code>uraus.kku.Request.RequestItemDismantle</code>
- */
- class RequestItemDismantle extends \Google\Protobuf\Internal\Message
- {
- /**
- * 配方ID
- *
- * Generated from protobuf field <code>int64 id = 1;</code>
- */
- protected $id = 0;
- /**
- * 分解 物品数量
- *
- * Generated from protobuf field <code>int64 number = 2;</code>
- */
- protected $number = 0;
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int|string $id
- * 配方ID
- * @type int|string $number
- * 分解 物品数量
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Proto\Game::initOnce();
- parent::__construct($data);
- }
- /**
- * 配方ID
- *
- * Generated from protobuf field <code>int64 id = 1;</code>
- * @return int|string
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * 配方ID
- *
- * Generated from protobuf field <code>int64 id = 1;</code>
- * @param int|string $var
- * @return $this
- */
- public function setId($var)
- {
- GPBUtil::checkInt64($var);
- $this->id = $var;
- return $this;
- }
- /**
- * 分解 物品数量
- *
- * Generated from protobuf field <code>int64 number = 2;</code>
- * @return int|string
- */
- public function getNumber()
- {
- return $this->number;
- }
- /**
- * 分解 物品数量
- *
- * Generated from protobuf field <code>int64 number = 2;</code>
- * @param int|string $var
- * @return $this
- */
- public function setNumber($var)
- {
- GPBUtil::checkInt64($var);
- $this->number = $var;
- return $this;
- }
- }
- // Adding a class alias for backwards compatibility with the previous class name.
- class_alias(RequestItemDismantle::class, \Uraus\Kku\Request_RequestItemDismantle::class);
|