Ins_Weapon.php 458 B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace loyalsoft;
  3. /**
  4. * Description of Ins_Weapon
  5. *
  6. * @author gwang
  7. */
  8. class Ins_Weapon extends Object_ext {
  9. //put your code here
  10. public $typeId;
  11. public $herouid;
  12. public function __construct($arg = null) {
  13. parent::__construct($arg);
  14. }
  15. /**
  16. * @return \sm_item_weapon item_weapon 武器的模板数据
  17. */
  18. public function mo() {
  19. return GameConfig::item_weapon_getItem($this->typeId);
  20. }
  21. }