랜드 메타정보 추가

This commit is contained in:
2025-03-06 11:54:14 +09:00
parent 2abd4b0067
commit 33691a48f4
2 changed files with 12 additions and 2 deletions

View File

@@ -320,11 +320,17 @@ public class MetaDataFileLoader {
item.setLandId((Integer)meta.get("LandId"));
item.setOwner((String)meta.get("Owner"));
item.setEditor((String)meta.get("Editor"));
// item.setNonAuction((Boolean)meta.get("NonAuction"));
Boolean nonAuction = (Boolean)meta.get("NonAuction");
if(nonAuction != null)
item.setNonAuction(nonAuction);
item.setRentalStateSwitch((Boolean)meta.get("RentalStateSwitch"));
item.setRentalAvailable((Boolean)meta.get("RentalAvailable"));
item.setLandName(land_name);
item.setLandDesc((String)meta.get("LandDesc"));
item.setLandSize((String)meta.get("LandSize"));
item.setLandType((String)meta.get("LandType"));
item.setCityType((String)meta.get("CityType"));
item.setBuildingArea((String)meta.get("BuildingArea"));
item.setBuildingId((Integer)meta.get("BuildingId"));
item.setBuildingSocket((Integer)meta.get("BuildingSocket"));
lands.put((Integer)meta.get("LandId"), item);

View File

@@ -9,10 +9,14 @@ public class MetaLandData {
private String owner;
private String editor;
private boolean nonAuction;
private boolean rentalStateSwitch;
private boolean rentalAvailable;
private String landName;
private String landDesc;
private String landSize;
private String landType;
private Integer buildingId;
private Integer buildingSocket;
private String cityType;
private String buildingArea;
private Integer buildingId;
}