Ins_YanLin.php 917 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?php
  2. namespace loyalsoft;
  3. /**
  4. * Description of Ins_YanLin
  5. *
  6. * @author cyzhao
  7. */
  8. class Ins_YanLin extends Object_ext {
  9. /**
  10. * 言灵id
  11. * @var type
  12. */
  13. public $typeId = 0;
  14. /**
  15. * 挂在的英雄的uid
  16. * @var type
  17. */
  18. public $herouid = 0;
  19. /**
  20. * 当前的经验
  21. * @var type
  22. */
  23. public $curStarExp = 0;
  24. /**
  25. * 当前的星级
  26. * @var type
  27. */
  28. public $starLv = 0;
  29. /**
  30. * 言灵的等级
  31. * @var type
  32. */
  33. public $level = 1;
  34. /**
  35. * 镶嵌宝石id
  36. * @var type
  37. */
  38. public $gemId = 0;
  39. public function __construct($args = null) {
  40. parent::__construct($args);
  41. }
  42. public function initialize($missId) {
  43. }
  44. /**
  45. * @return \sm_item_yanling mo
  46. */
  47. public function mo() {
  48. return GameConfig::item_yanling_getItem($this->typeId);
  49. }
  50. }