123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <?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;
- 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();
- } else {
- parent::__construct($arg);
- }
- }
- }
|