|
|
@@ -0,0 +1,275 @@
|
|
|
+<?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;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 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
|
|
|
+ * 直推活跃人数
|
|
|
+ * }
|
|
|
+ */
|
|
|
+ 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;
|
|
|
+ }
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+// Adding a class alias for backwards compatibility with the previous class name.
|
|
|
+class_alias(ResponsePromotionInfo::class, \Uraus\Kku\Response_ResponsePromotionInfo::class);
|
|
|
+
|