Browse Source

Track fields updated

feature-config-usage
MagicBot 3 months ago
parent
commit
65b10f72fa
  1. 6
      src/engine/wpak/PowerActionParser.java
  2. 6
      src/engine/wpak/data/TrackEntry.java

6
src/engine/wpak/PowerActionParser.java

@ -179,9 +179,9 @@ public class PowerActionParser { @@ -179,9 +179,9 @@ public class PowerActionParser {
case "Track":
trackEntry = new TrackEntry();
trackEntry.action_id = headerIterator.next();
trackEntry.unknown1 = Boolean.parseBoolean(headerIterator.next());
trackEntry.unknown2 = Boolean.parseBoolean(headerIterator.next());
trackEntry.type = headerIterator.next();
trackEntry.trackPlayer = Boolean.parseBoolean(headerIterator.next());
trackEntry.trackCorpse = Boolean.parseBoolean(headerIterator.next());
trackEntry.filter = headerIterator.next();
trackEntry.min = Integer.parseInt(headerIterator.next());
trackEntry.max = Integer.parseInt(headerIterator.next());
powerAction.trackEntry = trackEntry;

6
src/engine/wpak/data/TrackEntry.java

@ -11,9 +11,9 @@ package engine.wpak.data; @@ -11,9 +11,9 @@ package engine.wpak.data;
public class TrackEntry {
public String action_id;
public Boolean unknown1;
public Boolean unknown2;
public String type;
public Boolean trackPlayer;
public Boolean trackCorpse;
public String filter;
public int min;
public int max;
}

Loading…
Cancel
Save