示例#1
0
        public void Deserialize(Stream input, FacialBlend parent)
        {
            this.Unknown1 = input.ReadValueU32();
            this.Unknown2 = input.ReadValueU32();

            if (parent.Version < 7)
            {
                this.Unknown3 = input.ReadResourceKeyTGI();
            }
            else
            {
                this.Unknown3 = parent.KeyTable.Keys[input.ReadValueS32()];
            }
        }
示例#2
0
        public void Deserialize(Stream input, FacialBlend parent)
        {
            this.Flags = input.ReadValueU32();
            int count;

            count             = input.ReadValueS32();
            this.BlendEntries = new List <FacialBlendEntry>();
            for (int i = 0; i < count; i++)
            {
                FacialBlendEntry entry = new FacialBlendEntry();
                entry.Deserialize(input, parent);
                this.BlendEntries.Add(entry);
            }

            count            = input.ReadValueS32();
            this.BoneEntries = new List <FacialBlendEntry>();
            for (int i = 0; i < count; i++)
            {
                FacialBlendEntry entry = new FacialBlendEntry();
                entry.Deserialize(input, parent);
                this.BoneEntries.Add(entry);
            }
        }
示例#3
0
 public void Serialize(Stream output, FacialBlend parent)
 {
     throw new NotImplementedException();
 }