Ins_EquipPosition.php 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. /*
  3. * To change this license header, choose License Headers in Project Properties.
  4. * To change this template file, choose Tools | Templates
  5. * and open the template in the editor.
  6. */
  7. namespace loyalsoft;
  8. /**
  9. * Description of Ins_Equip
  10. *
  11. * @author c'y'zhao
  12. */
  13. class Ins_EquipPosition extends Object_ext{
  14. //public $uid = 0;
  15. public $typeId = 0;
  16. public $level = 1;
  17. /**
  18. * 装备可以升级的提示,点开装备提示消失,当又得到金币或是图纸后又有提示绿点
  19. * @var type
  20. */
  21. public $tip = 0;
  22. /**
  23. * 构造函数
  24. * @param type $args
  25. */
  26. public function __construct($args = null) {
  27. if($args !=null){
  28. parent::__construct($args);
  29. }
  30. }
  31. /**
  32. * 配置
  33. * @return sm_gem
  34. */
  35. public function mo() {
  36. $mo = GameConfig::equip_position_getItem($this->typeId);
  37. my_Assert(null != $mo, ErrCode::err_const_no);
  38. return $mo;
  39. }
  40. //public $qual = 0;
  41. //public $posId = 0;
  42. }