Ins_ZoneInfo.php 905 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 Ins_ZoneInfo {
  14. /**
  15. * 构造函数
  16. * @param type $id 分区Id
  17. * @param type $level 在该分区的等级
  18. */
  19. public function __construct($id, $level, $playerName = "", $headImg = "") {
  20. $this->id = $id;
  21. $this->level = $level;
  22. $this->nickName = $playerName;
  23. $this->img = $headImg;
  24. }
  25. /**
  26. * 分区ID
  27. * @var String
  28. */
  29. public $id;
  30. /**
  31. * 玩家等级
  32. * @var int
  33. */
  34. public $level;
  35. /**
  36. *
  37. * @var string 昵称
  38. */
  39. public $nickName;
  40. /**
  41. * @var string 头像
  42. */
  43. public $img;
  44. }