Info_Task.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <?php
  2. /*
  3. * To change this license header, choose License Headers in Project Properties.
  4. * To change this template file, choose Tools | Templates
  5. * and open the template in the editor.
  6. */
  7. namespace loyalsoft;
  8. /**
  9. * Description of Info_Task
  10. *
  11. * @author c'y'zhao
  12. */
  13. class Info_Task extends Object_ext{
  14. /**
  15. * 任务卡道具(存在叠加)
  16. * @var
  17. */
  18. public $taskcards;
  19. /**
  20. * 任务卡索引
  21. * @var type
  22. */
  23. public $taskIndex = 0;
  24. /**
  25. * 每日任务累计值
  26. * @var type
  27. */
  28. //public $dailyTaskAccumulate = 0;
  29. /**
  30. *
  31. * @var type
  32. */
  33. #[ArrayType]
  34. //public $dailyTaskAccumulateDrawed = array();
  35. /**
  36. * 周常任务累计值
  37. * @var type
  38. */
  39. //public $weekTaskAccumulate = 0;
  40. /**
  41. *
  42. * @var type
  43. */
  44. #[ArrayType]
  45. //public $weekTaskAccumulateDrawed = array();
  46. /**
  47. * 成就信息
  48. * @var type
  49. */
  50. public $achieveDic = null;
  51. /**
  52. * 活动任务信息
  53. * @var type
  54. */
  55. public $activeTaskInfo = null;
  56. public $activeTaskLength = 0;
  57. /**
  58. * 7日
  59. * @var type
  60. */
  61. public $day7Point = 0;
  62. /**
  63. * 7日活动开始时间
  64. * @var type
  65. */
  66. public $day7_startTs = 0;
  67. /**
  68. * 日常
  69. * @var type
  70. */
  71. public $dailyTaskPoint = 0;
  72. /**
  73. * 周常
  74. * @var type
  75. */
  76. public $weekTaskPoint = 0;
  77. /**
  78. * 活跃点领取记录
  79. * @var type
  80. */
  81. #[ArrayType]
  82. public $activePointReceived = array();
  83. public function initialize() {
  84. }
  85. public function __construct($arg = null) {
  86. if ($arg == null) {
  87. $this->taskcards = new \stdClass();
  88. $this->achieveDic = new \stdClass();
  89. $this->activeTaskInfo = new \stdClass();
  90. } else {
  91. parent::__construct($arg);
  92. }
  93. }
  94. }