Esempio n. 1
0
        public static FlverDummy Read(DSBinaryReader bin, DataFiles.FLVER ContainingFlver)
        {
            var dmy = new FlverDummy(ContainingFlver);

            dmy.Position      = bin.ReadVector3();
            dmy.UnknownByte1  = bin.ReadByte();
            dmy.UnknownByte2  = bin.ReadByte();
            dmy.UnknownShort1 = bin.ReadInt16();

            dmy.Row2            = bin.ReadVector3();
            dmy.TypeID          = bin.ReadInt16();
            dmy.ParentBoneIndex = bin.ReadInt16();

            dmy.Row3 = bin.ReadVector3();
            dmy.SomeSortOfParentIndex = bin.ReadInt16();
            dmy.UnknownFlag1          = bin.ReadBoolean();
            dmy.UnknownFlag2          = bin.ReadBoolean();

            //hit.Row4 = bin.ReadVector3();
            //hit.Row4_ID1 = bin.ReadInt16();
            //hit.Row4_ID2 = bin.ReadInt16();

            bin.ReadBytes(16);

            return(dmy);
        }