HeroManualModel.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?php
  2. namespace loyalsoft;
  3. /**
  4. * 《神兽宝鉴》
  5. * 玩家的《神兽宝鉴》点亮了多少图标
  6. */
  7. class HeroManualModel
  8. {
  9. /**
  10. * 《玩家宝鉴》的成长度(经验)
  11. * 获得新的神兽(蛋)或者神兽升阶的时候增加成长度
  12. * @var type
  13. */
  14. public $exp = 0;
  15. /**
  16. * 神兽图鉴序列
  17. * @var stdClass {30100" : [0], "30101" : [0, 1, 2]}
  18. */
  19. public $godpetDic;
  20. /**
  21. * 神兽星星记录
  22. * @var obj {30100" : [0], "30101" : [0, 1, 2]}
  23. */
  24. public $godpetStarDic;
  25. /**
  26. * 已经领取的奖励记录
  27. * @var stdClass {30100" : [0], "30101" : [0, 1, 2]}
  28. */
  29. public $rewarded;
  30. /**
  31. * 属性套装
  32. * @var obj {elements:{e:3,f:3,w:0},extra:{a,d,h,s}}
  33. */
  34. public $attributeSuits;
  35. /**
  36. * 星套套装
  37. * @var obj {elements:{e:3,f:3,w:0},extra:{a,d,h,s}}
  38. */
  39. public $starSuits;
  40. function initInstance()
  41. {
  42. $this->godpetDic = ObjectInit();
  43. $this->rewarded = ObjectInit();
  44. $this->attributeSuits = ObjectInit();
  45. $this->starSuits = ObjectInit();
  46. }
  47. }