Changed buildouts to instead use an sdb file

This commit is contained in:
Obique PSWG
2015-09-26 00:19:45 -05:00
parent f9fd10016f
commit 244997eb69
15 changed files with 87722 additions and 85 deletions
+9
View File
@@ -93,6 +93,7 @@ public abstract class SWGObject implements Serializable, Comparable<SWGObject> {
private int containerType = 0;
private boolean isBuildout = false;
private double loadRange = 0;
private int areaId = -1;
private int slotArrangement = -1;
@@ -401,6 +402,10 @@ public abstract class SWGObject implements Serializable, Comparable<SWGObject> {
this.complexity = complexity;
}
public void setAreaId(int areaId) {
this.areaId = areaId;
}
public Player getOwner() {
if (owner != null)
return owner;
@@ -478,6 +483,10 @@ public abstract class SWGObject implements Serializable, Comparable<SWGObject> {
return complexity;
}
public int getAreaId() {
return areaId;
}
public Object getTemplateAttribute(String key) {
return templateAttributes.get(key);
}