Merged in M4SS/holocore/CORE-76-time-played-function (pull request #19)

Added CORE-76 '"Time played" function'
This commit is contained in:
Undercova
2015-05-10 16:06:10 +02:00
3 changed files with 19 additions and 1 deletions
@@ -92,7 +92,7 @@ public class PlayerObject extends IntangibleObject {
private long petId = 0;
private SWGList<String> petAbilities = new SWGList<>(BaselineType.PLAY, 9, 21);
private SWGList<String> activePetAbilities = new SWGList<>(BaselineType.PLAY, 9, 22);
private int startPlayTime;
public PlayerObject(long objectId) {
super(objectId);
@@ -539,4 +539,12 @@ public class PlayerObject extends IntangibleObject {
public void sendDelta(int type, int update, Object value, StringType strType) {
sendDelta(BaselineType.PLAY, type, update, value, strType);
}
public int getStartPlayTime() {
return startPlayTime;
}
public void setStartPlayTime(int startPlayTime) {
this.startPlayTime = startPlayTime;
}
}