Ins_Mapzone.php 772 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. namespace loyalsoft;
  3. /**
  4. * 玩家关卡地图区域数据
  5. * @author gwang
  6. */
  7. class Ins_Mapzone extends Object_ext {
  8. /**
  9. * 当前区域id
  10. * @var type
  11. */
  12. public $zoneid;
  13. // /**
  14. // * 最后一次挑战的关卡ID
  15. // * @var int
  16. // */
  17. // public $latest = 1;
  18. //
  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. }