| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363 |
- <?php
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: proto/game.proto
- namespace Uraus\Kku\Response;
- use Google\Protobuf\Internal\GPBType;
- use Google\Protobuf\Internal\RepeatedField;
- use Google\Protobuf\Internal\GPBUtil;
- /**
- **
- * 推广信息
- *
- * Generated from protobuf message <code>uraus.kku.Response.ResponsePromotionInfo</code>
- */
- class ResponsePromotionInfo extends \Google\Protobuf\Internal\Message
- {
- /**
- * 总人数
- *
- * Generated from protobuf field <code>int64 total_count = 1;</code>
- */
- protected $total_count = 0;
- /**
- * 直推人数
- *
- * Generated from protobuf field <code>int64 direct_count = 2;</code>
- */
- protected $direct_count = 0;
- /**
- * 间推人数
- *
- * Generated from protobuf field <code>int64 indirect_count = 3;</code>
- */
- protected $indirect_count = 0;
- /**
- * 近日 团队新增
- *
- * Generated from protobuf field <code>int64 day_recent_count = 4;</code>
- */
- protected $day_recent_count = 0;
- /**
- * 今日 直推新增
- *
- * Generated from protobuf field <code>int64 day_direct_count = 5;</code>
- */
- protected $day_direct_count = 0;
- /**
- * 团队活跃人数
- *
- * Generated from protobuf field <code>int64 active_count = 6;</code>
- */
- protected $active_count = 0;
- /**
- * 直推活跃人数
- *
- * Generated from protobuf field <code>int64 direct_active_count = 7;</code>
- */
- protected $direct_active_count = 0;
- /**
- * 今天的收益 (推广收益和种植收益)
- *
- * Generated from protobuf field <code>.uraus.kku.Common.Reward today_reward = 8;</code>
- */
- protected $today_reward = null;
- /**
- * 总收益(推广收益和种植收益)
- *
- * Generated from protobuf field <code>.uraus.kku.Common.Reward total_reward = 9;</code>
- */
- protected $total_reward = null;
- /**
- * Constructor.
- *
- * @param array $data {
- * Optional. Data for populating the Message object.
- *
- * @type int|string $total_count
- * 总人数
- * @type int|string $direct_count
- * 直推人数
- * @type int|string $indirect_count
- * 间推人数
- * @type int|string $day_recent_count
- * 近日 团队新增
- * @type int|string $day_direct_count
- * 今日 直推新增
- * @type int|string $active_count
- * 团队活跃人数
- * @type int|string $direct_active_count
- * 直推活跃人数
- * @type \Uraus\Kku\Common\Reward $today_reward
- * 今天的收益 (推广收益和种植收益)
- * @type \Uraus\Kku\Common\Reward $total_reward
- * 总收益(推广收益和种植收益)
- * }
- */
- public function __construct($data = NULL) {
- \GPBMetadata\Proto\Game::initOnce();
- parent::__construct($data);
- }
- /**
- * 总人数
- *
- * Generated from protobuf field <code>int64 total_count = 1;</code>
- * @return int|string
- */
- public function getTotalCount()
- {
- return $this->total_count;
- }
- /**
- * 总人数
- *
- * Generated from protobuf field <code>int64 total_count = 1;</code>
- * @param int|string $var
- * @return $this
- */
- public function setTotalCount($var)
- {
- GPBUtil::checkInt64($var);
- $this->total_count = $var;
- return $this;
- }
- /**
- * 直推人数
- *
- * Generated from protobuf field <code>int64 direct_count = 2;</code>
- * @return int|string
- */
- public function getDirectCount()
- {
- return $this->direct_count;
- }
- /**
- * 直推人数
- *
- * Generated from protobuf field <code>int64 direct_count = 2;</code>
- * @param int|string $var
- * @return $this
- */
- public function setDirectCount($var)
- {
- GPBUtil::checkInt64($var);
- $this->direct_count = $var;
- return $this;
- }
- /**
- * 间推人数
- *
- * Generated from protobuf field <code>int64 indirect_count = 3;</code>
- * @return int|string
- */
- public function getIndirectCount()
- {
- return $this->indirect_count;
- }
- /**
- * 间推人数
- *
- * Generated from protobuf field <code>int64 indirect_count = 3;</code>
- * @param int|string $var
- * @return $this
- */
- public function setIndirectCount($var)
- {
- GPBUtil::checkInt64($var);
- $this->indirect_count = $var;
- return $this;
- }
- /**
- * 近日 团队新增
- *
- * Generated from protobuf field <code>int64 day_recent_count = 4;</code>
- * @return int|string
- */
- public function getDayRecentCount()
- {
- return $this->day_recent_count;
- }
- /**
- * 近日 团队新增
- *
- * Generated from protobuf field <code>int64 day_recent_count = 4;</code>
- * @param int|string $var
- * @return $this
- */
- public function setDayRecentCount($var)
- {
- GPBUtil::checkInt64($var);
- $this->day_recent_count = $var;
- return $this;
- }
- /**
- * 今日 直推新增
- *
- * Generated from protobuf field <code>int64 day_direct_count = 5;</code>
- * @return int|string
- */
- public function getDayDirectCount()
- {
- return $this->day_direct_count;
- }
- /**
- * 今日 直推新增
- *
- * Generated from protobuf field <code>int64 day_direct_count = 5;</code>
- * @param int|string $var
- * @return $this
- */
- public function setDayDirectCount($var)
- {
- GPBUtil::checkInt64($var);
- $this->day_direct_count = $var;
- return $this;
- }
- /**
- * 团队活跃人数
- *
- * Generated from protobuf field <code>int64 active_count = 6;</code>
- * @return int|string
- */
- public function getActiveCount()
- {
- return $this->active_count;
- }
- /**
- * 团队活跃人数
- *
- * Generated from protobuf field <code>int64 active_count = 6;</code>
- * @param int|string $var
- * @return $this
- */
- public function setActiveCount($var)
- {
- GPBUtil::checkInt64($var);
- $this->active_count = $var;
- return $this;
- }
- /**
- * 直推活跃人数
- *
- * Generated from protobuf field <code>int64 direct_active_count = 7;</code>
- * @return int|string
- */
- public function getDirectActiveCount()
- {
- return $this->direct_active_count;
- }
- /**
- * 直推活跃人数
- *
- * Generated from protobuf field <code>int64 direct_active_count = 7;</code>
- * @param int|string $var
- * @return $this
- */
- public function setDirectActiveCount($var)
- {
- GPBUtil::checkInt64($var);
- $this->direct_active_count = $var;
- return $this;
- }
- /**
- * 今天的收益 (推广收益和种植收益)
- *
- * Generated from protobuf field <code>.uraus.kku.Common.Reward today_reward = 8;</code>
- * @return \Uraus\Kku\Common\Reward
- */
- public function getTodayReward()
- {
- return isset($this->today_reward) ? $this->today_reward : null;
- }
- public function hasTodayReward()
- {
- return isset($this->today_reward);
- }
- public function clearTodayReward()
- {
- unset($this->today_reward);
- }
- /**
- * 今天的收益 (推广收益和种植收益)
- *
- * Generated from protobuf field <code>.uraus.kku.Common.Reward today_reward = 8;</code>
- * @param \Uraus\Kku\Common\Reward $var
- * @return $this
- */
- public function setTodayReward($var)
- {
- GPBUtil::checkMessage($var, \Uraus\Kku\Common\Reward::class);
- $this->today_reward = $var;
- return $this;
- }
- /**
- * 总收益(推广收益和种植收益)
- *
- * Generated from protobuf field <code>.uraus.kku.Common.Reward total_reward = 9;</code>
- * @return \Uraus\Kku\Common\Reward
- */
- public function getTotalReward()
- {
- return isset($this->total_reward) ? $this->total_reward : null;
- }
- public function hasTotalReward()
- {
- return isset($this->total_reward);
- }
- public function clearTotalReward()
- {
- unset($this->total_reward);
- }
- /**
- * 总收益(推广收益和种植收益)
- *
- * Generated from protobuf field <code>.uraus.kku.Common.Reward total_reward = 9;</code>
- * @param \Uraus\Kku\Common\Reward $var
- * @return $this
- */
- public function setTotalReward($var)
- {
- GPBUtil::checkMessage($var, \Uraus\Kku\Common\Reward::class);
- $this->total_reward = $var;
- return $this;
- }
- }
- // Adding a class alias for backwards compatibility with the previous class name.
- class_alias(ResponsePromotionInfo::class, \Uraus\Kku\Response_ResponsePromotionInfo::class);
|