Conversation menu improvements

SUI window functionality
storage of items in collections
This commit is contained in:
CharonInferar
2014-04-18 04:45:12 +02:00
parent e911eebdce
commit 2b4527e165
3 changed files with 456 additions and 38 deletions
@@ -53,7 +53,7 @@ import engine.resources.scene.Planet;
import engine.resources.scene.Point3D;
import engine.resources.scene.Quaternion;
@Persistent(version=9)
@Persistent(version=10)
public class TangibleObject extends SWGObject {
// TODO: Thread safety
@@ -89,6 +89,11 @@ public class TangibleObject extends SWGObject {
@NotPersistent
private boolean lootItem = false;
private boolean noSell = false;
private byte junkType = -1;
private int junkDealerPrice = 0;
private String serialNumber;
@NotPersistent
@@ -499,6 +504,30 @@ public class TangibleObject extends SWGObject {
this.lootItem = lootItem;
}
public boolean isNoSell() {
return noSell;
}
public void setNoSell(boolean noSell) {
this.noSell = noSell;
}
public byte getJunkType() {
return junkType;
}
public void setJunkType(byte junkType) {
this.junkType = junkType;
}
public int getJunkDealerPrice() {
return junkDealerPrice;
}
public void setJunkDealerPrice(int junkDealerPrice) {
this.junkDealerPrice = junkDealerPrice;
}
public boolean isCreditRelieved() {
return creditRelieved;
}