Ins_Mapzone.php 826 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. namespace loyalsoft;
  3. /**
  4. * 玩家关卡地图区域数据
  5. * @author gwang
  6. * @deprecated since 2022.3 换开放地图版转 Info_NewMap->Ins_FootHold
  7. */
  8. class Ins_Mapzone extends Object_ext {
  9. /**
  10. * 当前区域id
  11. * @var type
  12. */
  13. public $zoneid;
  14. /**
  15. * 最后一次挑战的关卡ID
  16. * @var int
  17. */
  18. public $latest = 1;
  19. /**
  20. * 已挑战的最高关卡Id(用于限定解锁关卡)
  21. * @var int
  22. */
  23. public $highest = 1;
  24. /**
  25. * 关卡具体数据()
  26. * @var array[]
  27. */
  28. public $gates = array();
  29. /**
  30. * 构造函数
  31. * @param type $arg
  32. */
  33. function __construct($arg = null) {
  34. if (null === $arg) {
  35. $this->gates = array();
  36. } else {
  37. parent::__construct($arg);
  38. }
  39. }
  40. }