ZoneInfoModel.php 804 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. namespace loyalsoft;
  3. /**
  4. * Description of ZoneInfoModel
  5. * @version
  6. * 1.0.0 Created at 2017-2-14. by --gwang
  7. * @author gwang (mail@wanggangzero.cn)
  8. * @copyright ? 2017-2-14, SJZ LoyalSoft Corporation & gwang. All rights reserved.
  9. */
  10. /**
  11. * 分区信息
  12. */
  13. class ZoneInfoModel
  14. {
  15. /**
  16. * 构造函数
  17. * @param type $id 分区Id
  18. * @param type $level 在该分区的等级
  19. */
  20. public function __construct($id, $level, $playerName = "")
  21. {
  22. $this->id = $id;
  23. $this->level = $level;
  24. $this->nickName = $playerName;
  25. }
  26. /**
  27. * 分区ID
  28. * @var String
  29. */
  30. public $id;
  31. /**
  32. * 玩家等级
  33. * @var int
  34. */
  35. public $level;
  36. /**
  37. *
  38. * @var string 昵称
  39. */
  40. public $nickName;
  41. }