Info_Task.php 784 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. public function initialize() {
  25. $this->taskcards = new \stdClass();
  26. }
  27. public function __construct($arg = null) {
  28. if ($arg == null) {
  29. $this->taskcards = new \stdClass();
  30. } else {
  31. parent::__construct($arg);
  32. }
  33. }
  34. }