public override void parse(NIFFile file, NIFObject baseo, BinaryReader ds) { base.parse(file, baseo, ds); loadExtraData(file, ds); stringExtraData = file.loadString(ds); }
public override void parse(NIFFile file, NIFObject baseo, BinaryReader ds) { base.parse(file, baseo, ds); this.seqName = file.loadString(ds); var numEval = ds.readUInt(); this.seqEvalIDList = new List <uint>(); for (int i = 0; i < numEval; i++) { this.seqEvalIDList.Add(ds.readUInt()); } file.addSequence(this); }
public override void parse(NIFFile file, NIFObject baseo, BinaryReader ds) { base.parse(file, baseo, ds); loadObjectNET(file, ds); externalTex = ds.readUnsignedByte() > 0; texFilename = file.loadString(ds); pixLinkID = ds.readInt(); mipMapped = ds.readInt(); alphaFormat = ds.readInt(); texStatic = ds.readUnsignedByte() > 0; int unk1 = ds.readUnsignedByte(); int unk2 = ds.readUnsignedByte(); texIndex = -1; file.addTexture(this); }
protected virtual void loadObjectNET(NIFFile file, BinaryReader ds) { name = file.loadString(ds); extraDataIDs = loadLinkIDs(ds); loadLinkID(ds); }
protected void loadExtraData(NIFFile file, BinaryReader ds) { loadObject(file, ds); extraDataString = file.loadString(ds); }