Info_Task.php 988 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. public $weekTaskAccumulate = 0;
  34. public function initialize() {
  35. $this->taskcards = new \stdClass();
  36. }
  37. public function __construct($arg = null) {
  38. if ($arg == null) {
  39. $this->taskcards = new \stdClass();
  40. } else {
  41. parent::__construct($arg);
  42. }
  43. }
  44. }