mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-09-25 10:13:02 -04:00
Merged in M4SS/holocore/CORE-76-time-played-function (pull request #19)
Added CORE-76 '"Time played" function'
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user