Changed baseline/deltabuilder to be solely created by BaselineObject

This commit is contained in:
Obique PSWG
2016-01-31 17:33:04 -06:00
parent 0cbe62b206
commit d9bb7b928f
13 changed files with 58 additions and 129 deletions
+13 -13
View File
@@ -56,8 +56,8 @@ public class PlayerObject extends IntangibleObject {
private List<String> joinedChannels = new ArrayList<>();
// PLAY 03
private SWGBitSet flagsList = new SWGBitSet(BaselineType.PLAY, 3, 5);
private SWGBitSet profileFlags = new SWGBitSet(BaselineType.PLAY, 3, 6);
private SWGBitSet flagsList = new SWGBitSet(3, 5);
private SWGBitSet profileFlags = new SWGBitSet(3, 6);
private String title = "";
private int bornDate = 0;
private int playTime = 0;
@@ -66,8 +66,8 @@ public class PlayerObject extends IntangibleObject {
private int pvpKills = 0;
private long lifetimeGcwPoints = 0;
private int lifetimePvpKills = 0;
private SWGList<Integer> collections = new SWGList<>(BaselineType.PLAY, 3, 16);
private SWGList<Integer> guildRanks = new SWGList<>(BaselineType.PLAY, 3, 17);
private SWGList<Integer> collections = new SWGList<>(3, 16);
private SWGList<Integer> guildRanks = new SWGList<>(3, 17);
private boolean showHelmet = true;
private boolean showBackpack = true;
// PLAY 06
@@ -79,27 +79,27 @@ public class PlayerObject extends IntangibleObject {
private int gcwNextUpdate = 0;
private String home = "";
// PLAY 08
private SWGMap<String, Integer> experience = new SWGMap<>(BaselineType.PLAY, 8, 0);
private SWGMap<Long, WaypointObject> waypoints = new SWGMap<>(BaselineType.PLAY, 8, 1);
private SWGMap<String, Integer> experience = new SWGMap<>(8, 0);
private SWGMap<Long, WaypointObject> waypoints = new SWGMap<>(8, 1);
private boolean citizen = false;
private int guildRankTitle = 0;
private int activeQuest = 0;
private SWGMap<Integer, Integer> quests = new SWGMap<>(BaselineType.PLAY, 8, 7);
private SWGMap<Integer, Integer> quests = new SWGMap<>(8, 7);
private String profWheelPosition = "";
// PLAY 09
private int experimentFlag = 0;
private int craftingStage = 0;
private long nearbyCraftStation = 0;
private SWGList<String> draftSchemList = new SWGList<>(BaselineType.PLAY, 9, 3);
private SWGList<String> draftSchemList = new SWGList<>(9, 3);
private int experimentPoints = 0;
private SWGList<String> friendsList = new SWGList<>(BaselineType.PLAY, 9, 7, StringType.ASCII);
private SWGList<String> ignoreList = new SWGList<>(BaselineType.PLAY, 9, 8, StringType.ASCII);
private SWGList<String> friendsList = new SWGList<>(9, 7, StringType.ASCII);
private SWGList<String> ignoreList = new SWGList<>(9, 8, StringType.ASCII);
private int languageId = 0;
private SWGList<Long> defenders = new SWGList<>(BaselineType.PLAY, 9, 17); // TODO: Change to set
private SWGList<Long> defenders = new SWGList<>(9, 17); // TODO: Change to set
private int killMeter = 0;
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 SWGList<String> petAbilities = new SWGList<>(9, 21);
private SWGList<String> activePetAbilities = new SWGList<>(9, 22);
private int startPlayTime;
public PlayerObject(long objectId) {