ArrayList<FormID> allFormIDs() { ArrayList<FormID> out = new ArrayList<>(); for (ScriptProperty s : properties) { out.addAll(s.allFormIDs()); } return out; }
@Override int getContentLength(ModExporter out) { int len = name.getTotalLength(out) + 3; for (ScriptProperty p : properties) { len += p.getTotalLength(out); } return len; }
@Override void export(ModExporter out) throws IOException { name.export(out); out.write(unknown, 1); out.write(properties.size(), 2); for (ScriptProperty p : properties) { p.export(out); } }