Examples of WeaponInfo


Examples of ca.wowapi.entities.WeaponInfo

        Damage damage = new Damage();
        damage.setMinDamage(damageObj.getInt("min")); // minDamage
        damage.setMaxDamage(damageObj.getInt("max")); // maxDamage

        WeaponInfo weaponInfo = new WeaponInfo();
        weaponInfo.setDamage(damage);
        weaponInfo.setWeaponSpeed(weaponObj.getDouble("weaponSpeed"));
        weaponInfo.setDps(weaponObj.getDouble("dps"));

        item.setWeaponInfo(weaponInfo);
      }

      item.setInventoryType(jsonobject.getInt("inventoryType"));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.