void parseData(LImport in, Mod srcMod) throws BadRecord, DataFormatException, BadParameter {
object = in.extract(8);
version = in.extractInt(2);
format = in.extractInt(2);
LByteChannel objectChannel = new LByteChannel(object);
if(format == 1){
object_FormID = new FormID();
object_FormID.parseData(objectChannel, srcMod);
object_alias = objectChannel.extractInt(2);
object_unused = objectChannel.extract(2);
} else if (format == 2) {
object_unused = objectChannel.extract(2);
object_alias = objectChannel.extractInt(2);
object_FormID = new FormID();
object_FormID.parseData(objectChannel, srcMod);
} else {
throw new UnsupportedOperationException("Unsupported VMAD Object format: " + format);
}