Ins_ExploreArea.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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_num = 0;
  35. /**
  36. * 时间
  37. * @var type
  38. */
  39. public $output_ts = 0;
  40. /**
  41. * 派遣宠物uid
  42. * @var type
  43. */
  44. public $explorePetList = array();
  45. /**
  46. * 未解锁
  47. * @var type
  48. */
  49. //public $unlock = 0;
  50. /**
  51. * 构造函数
  52. * @param type $args
  53. */
  54. public function __construct($args = null) {
  55. if($args !=null){
  56. parent::__construct($args);
  57. } else {
  58. }
  59. }
  60. /**
  61. * 配置
  62. * @return sm_pet_area_level
  63. */
  64. public function mo() {
  65. $mo = GameConfig::pet_area_level_getItem($this->areaId, $this->level);
  66. my_Assert(null != $mo, ErrCode::err_const_no);
  67. return $mo;
  68. }
  69. }