123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- <?php
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- namespace loyalsoft;
- /**
- * Description of Info_Task
- *
- * @author c'y'zhao
- */
- class Info_Task extends Object_ext{
- /**
- * 任务卡道具(存在叠加)
- * @var
- */
- public $taskcards;
-
- /**
- * 任务卡索引
- * @var type
- */
- public $taskIndex = 0;
-
- /**
- * 每日任务累计值
- * @var type
- */
- public $dailyTaskAccumulate = 0;
-
- /**
- *
- * @var type
- */
- #[ArrayType]
- public $dailyTaskAccumulateDrawed = array();
-
- /**
- * 周常任务累计值
- * @var type
- */
- public $weekTaskAccumulate = 0;
- /**
- *
- * @var type
- */
- #[ArrayType]
- public $weekTaskAccumulateDrawed = array();
-
- /**
- * 成就信息
- * @var type
- */
- public $achieveDic = null;
- //------上面全部旧字段
-
- /**
- * 活动任务信息
- * @var type
- */
- public $activeTaskInfo = null;
-
- public $activeTaskLength = 0;
-
- /**
- * 7日
- * @var type
- */
- public $day7Point = 0;
-
- /**
- * 日常
- * @var type
- */
- public $dailyTaskPoint = 0;
-
- /**
- * 周常
- * @var type
- */
- public $weekTaskPoint = 0;
-
- /**
- * 活跃点领取记录
- * @var type
- */
- public $activePointReceived = array();
- public function initialize() {
- //$this->taskcards = new \stdClass();
- //$this->achieveDic = new \stdClass();
- }
- public function __construct($arg = null) {
- if ($arg == null) {
- $this->taskcards = new \stdClass();
- $this->achieveDic = new \stdClass();
-
- $this->activeTaskInfo = new \stdClass();
-
- } else {
- parent::__construct($arg);
- }
- }
- }
|