예제 #1
0
        public void ReadFooter(BinaryReader reader, Dictionary <uint, string> nameLookupTable, Dictionary <uint, string> datasetLookupTable, HashIdentifiedDelegate hashIdentifiedCallback)
        {
            LocatorName = new FoxHash(FoxHash.Type.StrCode32);
            LocatorName.Read(reader, nameLookupTable, hashIdentifiedCallback);

            DataSet = new FoxHash(FoxHash.Type.PathCode32);
            DataSet.Read(reader, datasetLookupTable, hashIdentifiedCallback);
        }
예제 #2
0
        public void ReadXml(XmlReader reader)
        {
            LocatorName = new FoxHash(FoxHash.Type.StrCode32);
            LocatorName.ReadXml(reader, "name");

            DataSet = new FoxHash(FoxHash.Type.PathCode32);
            DataSet.ReadXml(reader, "dataSet");

            reader.ReadStartElement("locator");

            Translation = new Vector4();
            Translation.ReadXml(reader);
            reader.Read();

            Rotation = new Vector4();
            Rotation.ReadXml(reader);
            reader.Read();
        }