|
@@ -21,12 +21,6 @@ class DataPetSimple extends \Google\Protobuf\Internal\Message
|
|
|
* Generated from protobuf field <code>int64 id = 1;</code>
|
|
* Generated from protobuf field <code>int64 id = 1;</code>
|
|
|
*/
|
|
*/
|
|
|
protected $id = 0;
|
|
protected $id = 0;
|
|
|
- /**
|
|
|
|
|
- *宠物种族id
|
|
|
|
|
- *
|
|
|
|
|
- * Generated from protobuf field <code>int64 type_id = 2;</code>
|
|
|
|
|
- */
|
|
|
|
|
- protected $type_id = 0;
|
|
|
|
|
/**
|
|
/**
|
|
|
*宠物名称
|
|
*宠物名称
|
|
|
*
|
|
*
|
|
@@ -51,30 +45,12 @@ class DataPetSimple extends \Google\Protobuf\Internal\Message
|
|
|
* Generated from protobuf field <code>int64 power = 6;</code>
|
|
* Generated from protobuf field <code>int64 power = 6;</code>
|
|
|
*/
|
|
*/
|
|
|
protected $power = 0;
|
|
protected $power = 0;
|
|
|
- /**
|
|
|
|
|
- *宠物体力上限
|
|
|
|
|
- *
|
|
|
|
|
- * Generated from protobuf field <code>int64 maxpower = 7;</code>
|
|
|
|
|
- */
|
|
|
|
|
- protected $maxpower = 0;
|
|
|
|
|
- /**
|
|
|
|
|
- *宠物评分
|
|
|
|
|
- *
|
|
|
|
|
- * Generated from protobuf field <code>int64 score = 9;</code>
|
|
|
|
|
- */
|
|
|
|
|
- protected $score = 0;
|
|
|
|
|
/**
|
|
/**
|
|
|
* 宠物状态
|
|
* 宠物状态
|
|
|
*
|
|
*
|
|
|
* Generated from protobuf field <code>int64 status = 10;</code>
|
|
* Generated from protobuf field <code>int64 status = 10;</code>
|
|
|
*/
|
|
*/
|
|
|
protected $status = 0;
|
|
protected $status = 0;
|
|
|
- /**
|
|
|
|
|
- * 宠物品阶
|
|
|
|
|
- *
|
|
|
|
|
- * Generated from protobuf field <code>int64 grade = 103;</code>
|
|
|
|
|
- */
|
|
|
|
|
- protected $grade = 0;
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* Constructor.
|
|
* Constructor.
|
|
@@ -84,8 +60,6 @@ class DataPetSimple extends \Google\Protobuf\Internal\Message
|
|
|
*
|
|
*
|
|
|
* @type int|string $id
|
|
* @type int|string $id
|
|
|
* 宠物唯一id
|
|
* 宠物唯一id
|
|
|
- * @type int|string $type_id
|
|
|
|
|
- * 宠物种族id
|
|
|
|
|
* @type string $name
|
|
* @type string $name
|
|
|
* 宠物名称
|
|
* 宠物名称
|
|
|
* @type int|string $level
|
|
* @type int|string $level
|
|
@@ -94,14 +68,8 @@ class DataPetSimple extends \Google\Protobuf\Internal\Message
|
|
|
* 宠物经验值
|
|
* 宠物经验值
|
|
|
* @type int|string $power
|
|
* @type int|string $power
|
|
|
* 宠物体力
|
|
* 宠物体力
|
|
|
- * @type int|string $maxpower
|
|
|
|
|
- * 宠物体力上限
|
|
|
|
|
- * @type int|string $score
|
|
|
|
|
- * 宠物评分
|
|
|
|
|
* @type int|string $status
|
|
* @type int|string $status
|
|
|
* 宠物状态
|
|
* 宠物状态
|
|
|
- * @type int|string $grade
|
|
|
|
|
- * 宠物品阶
|
|
|
|
|
* }
|
|
* }
|
|
|
*/
|
|
*/
|
|
|
public function __construct($data = NULL) {
|
|
public function __construct($data = NULL) {
|
|
@@ -135,32 +103,6 @@ class DataPetSimple extends \Google\Protobuf\Internal\Message
|
|
|
return $this;
|
|
return $this;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- /**
|
|
|
|
|
- *宠物种族id
|
|
|
|
|
- *
|
|
|
|
|
- * Generated from protobuf field <code>int64 type_id = 2;</code>
|
|
|
|
|
- * @return int|string
|
|
|
|
|
- */
|
|
|
|
|
- public function getTypeId()
|
|
|
|
|
- {
|
|
|
|
|
- return $this->type_id;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /**
|
|
|
|
|
- *宠物种族id
|
|
|
|
|
- *
|
|
|
|
|
- * Generated from protobuf field <code>int64 type_id = 2;</code>
|
|
|
|
|
- * @param int|string $var
|
|
|
|
|
- * @return $this
|
|
|
|
|
- */
|
|
|
|
|
- public function setTypeId($var)
|
|
|
|
|
- {
|
|
|
|
|
- GPBUtil::checkInt64($var);
|
|
|
|
|
- $this->type_id = $var;
|
|
|
|
|
-
|
|
|
|
|
- return $this;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
/**
|
|
/**
|
|
|
*宠物名称
|
|
*宠物名称
|
|
|
*
|
|
*
|
|
@@ -265,58 +207,6 @@ class DataPetSimple extends \Google\Protobuf\Internal\Message
|
|
|
return $this;
|
|
return $this;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- /**
|
|
|
|
|
- *宠物体力上限
|
|
|
|
|
- *
|
|
|
|
|
- * Generated from protobuf field <code>int64 maxpower = 7;</code>
|
|
|
|
|
- * @return int|string
|
|
|
|
|
- */
|
|
|
|
|
- public function getMaxpower()
|
|
|
|
|
- {
|
|
|
|
|
- return $this->maxpower;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /**
|
|
|
|
|
- *宠物体力上限
|
|
|
|
|
- *
|
|
|
|
|
- * Generated from protobuf field <code>int64 maxpower = 7;</code>
|
|
|
|
|
- * @param int|string $var
|
|
|
|
|
- * @return $this
|
|
|
|
|
- */
|
|
|
|
|
- public function setMaxpower($var)
|
|
|
|
|
- {
|
|
|
|
|
- GPBUtil::checkInt64($var);
|
|
|
|
|
- $this->maxpower = $var;
|
|
|
|
|
-
|
|
|
|
|
- return $this;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /**
|
|
|
|
|
- *宠物评分
|
|
|
|
|
- *
|
|
|
|
|
- * Generated from protobuf field <code>int64 score = 9;</code>
|
|
|
|
|
- * @return int|string
|
|
|
|
|
- */
|
|
|
|
|
- public function getScore()
|
|
|
|
|
- {
|
|
|
|
|
- return $this->score;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /**
|
|
|
|
|
- *宠物评分
|
|
|
|
|
- *
|
|
|
|
|
- * Generated from protobuf field <code>int64 score = 9;</code>
|
|
|
|
|
- * @param int|string $var
|
|
|
|
|
- * @return $this
|
|
|
|
|
- */
|
|
|
|
|
- public function setScore($var)
|
|
|
|
|
- {
|
|
|
|
|
- GPBUtil::checkInt64($var);
|
|
|
|
|
- $this->score = $var;
|
|
|
|
|
-
|
|
|
|
|
- return $this;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
/**
|
|
/**
|
|
|
* 宠物状态
|
|
* 宠物状态
|
|
|
*
|
|
*
|
|
@@ -343,32 +233,6 @@ class DataPetSimple extends \Google\Protobuf\Internal\Message
|
|
|
return $this;
|
|
return $this;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- /**
|
|
|
|
|
- * 宠物品阶
|
|
|
|
|
- *
|
|
|
|
|
- * Generated from protobuf field <code>int64 grade = 103;</code>
|
|
|
|
|
- * @return int|string
|
|
|
|
|
- */
|
|
|
|
|
- public function getGrade()
|
|
|
|
|
- {
|
|
|
|
|
- return $this->grade;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- /**
|
|
|
|
|
- * 宠物品阶
|
|
|
|
|
- *
|
|
|
|
|
- * Generated from protobuf field <code>int64 grade = 103;</code>
|
|
|
|
|
- * @param int|string $var
|
|
|
|
|
- * @return $this
|
|
|
|
|
- */
|
|
|
|
|
- public function setGrade($var)
|
|
|
|
|
- {
|
|
|
|
|
- GPBUtil::checkInt64($var);
|
|
|
|
|
- $this->grade = $var;
|
|
|
|
|
-
|
|
|
|
|
- return $this;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// Adding a class alias for backwards compatibility with the previous class name.
|
|
// Adding a class alias for backwards compatibility with the previous class name.
|