Skip to content

Commit

Permalink
DynamicSpawnInfo loads dynamic_id from dynam9ic_spawns.sdb ProjectSWG…
Browse files Browse the repository at this point in the history
  • Loading branch information
madsboddum committed Mar 15, 2020
1 parent 9752f2d commit f9ceaac
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -46,6 +46,7 @@ public void load() throws IOException {
}

public static class DynamicSpawnInfo {
private String dynamicId;
private String lairTemplate;
private String npcBoss;
private String npcElite;
Expand All @@ -55,6 +56,7 @@ public static class DynamicSpawnInfo {
private String npcNormal4;

public DynamicSpawnInfo(SdbLoader.SdbResultSet set) {
this.dynamicId = set.getText("dynamic_id");
this.lairTemplate = set.getText("lair_type");
this.npcBoss = set.getText("npc_boss");
this.npcElite = set.getText("npc_elite");
Expand All @@ -64,6 +66,10 @@ public DynamicSpawnInfo(SdbLoader.SdbResultSet set) {
this.npcNormal4 = set.getText("npc_normal_4");
}

public String getDynamicId() {
return dynamicId;
}

public String getLairTemplate() {
return lairTemplate;
}
Expand Down

0 comments on commit f9ceaac

Please sign in to comment.