Package ca.wowapi.entities

Examples of ca.wowapi.entities.ItemSource


      item.setRequiredSkillRank(jsonobject.getInt("requiredSkillRank"));

      if (jsonobject.has("itemSource")) {
        JSONObject itemSourceObj = jsonobject.getJSONObject("itemSource");

        ItemSource itemSource = new ItemSource();
        itemSource.setSourceId(itemSourceObj.getInt("sourceId"));
        itemSource.setSourceType(itemSourceObj.getString("sourceType"));
      }

      item.setBaseArmor(jsonobject.getInt("baseArmor"));
      item.setHasSockets(jsonobject.getBoolean("hasSockets"));
      item.setAuctionable(jsonobject.getBoolean("isAuctionable"));
View Full Code Here

TOP

Related Classes of ca.wowapi.entities.ItemSource

Copyright © 2018 www.massapicom. 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.