|
|
@ -87,6 +87,7 @@ public class ItemTemplate { |
|
|
|
|
|
|
|
|
|
|
|
// Deed related fields
|
|
|
|
// Deed related fields
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public int deed_type; |
|
|
|
public int deed_furniture_id; |
|
|
|
public int deed_furniture_id; |
|
|
|
public int deed_target_id; |
|
|
|
public int deed_target_id; |
|
|
|
public int deed_employment; |
|
|
|
public int deed_employment; |
|
|
@ -384,6 +385,17 @@ public class ItemTemplate { |
|
|
|
// Deed related fields
|
|
|
|
// Deed related fields
|
|
|
|
|
|
|
|
|
|
|
|
if (item_type.equals(Enum.ItemType.DEED)) { |
|
|
|
if (item_type.equals(Enum.ItemType.DEED)) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
deed_type = ((Long) jsonObject.get("deed_type")).intValue(); |
|
|
|
|
|
|
|
deed_furniture_id = ((Long) jsonObject.get("deed_furniture_id")).intValue(); |
|
|
|
|
|
|
|
deed_target_id = ((Long) jsonObject.get("deed_target_id")).intValue(); |
|
|
|
|
|
|
|
deed_employment = ((Long) jsonObject.get("deed_employment")).intValue(); |
|
|
|
|
|
|
|
deed_start_rank = ((Long) jsonObject.get("deed_start_rank")).intValue(); |
|
|
|
|
|
|
|
deed_name_lookup = ((Long) jsonObject.get("deed_start_rank")).intValue(); |
|
|
|
|
|
|
|
deed_indoors = ((Boolean) disc_required.get("deed_indoors")); |
|
|
|
|
|
|
|
deed_is_fortress = ((Boolean) disc_required.get("deed_is_fortress")); |
|
|
|
|
|
|
|
deed_namelookup_val = ((Double) jsonObject.get("deed_namelookup_val")).floatValue(); |
|
|
|
|
|
|
|
deed_custom_city = ((Boolean) disc_required.get("deed_custom_city")); |
|
|
|
deed_structure_id = ((Long) jsonObject.get("deed_structure_id")).intValue(); |
|
|
|
deed_structure_id = ((Long) jsonObject.get("deed_structure_id")).intValue(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|