Ins_ExploreArea.php 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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 Ins_ExploreArea
  10. *
  11. * @author c'y'zhao
  12. */
  13. class Ins_ExploreArea extends Object_ext{
  14. /**
  15. * 区域id
  16. */
  17. public $areaId = 0;
  18. /**
  19. * 区域等级
  20. */
  21. public $level = 1;
  22. /**
  23. * 探索开始时间
  24. */
  25. public $startTs = 0;
  26. /**
  27. * 探索结束时间
  28. */
  29. public $endTs = 0;
  30. /**
  31. * 产出
  32. * @var type
  33. */
  34. public $output_count = 0;
  35. /**
  36. * 时间
  37. * @var type
  38. */
  39. public $output_ts = 0;
  40. /**
  41. * 派遣宠物uid
  42. * @var type
  43. */
  44. #[ArrayType]
  45. public $explorePetList = array();
  46. /**
  47. * 未解锁
  48. * @var type
  49. */
  50. //public $unlock = 0;
  51. /**
  52. * 构造函数
  53. * @param type $args
  54. */
  55. public function __construct($args = null) {
  56. if($args !=null){
  57. parent::__construct($args);
  58. } else {
  59. }
  60. }
  61. /**
  62. * 配置
  63. * @return sm_pet_area_level
  64. */
  65. public function mo() {
  66. $mo = GameConfig::pet_area_level_getItem($this->areaId, $this->level);
  67. my_Assert(null != $mo, ErrCode::err_const_no);
  68. return $mo;
  69. }
  70. }