예제 #1
0
        public void WriteTo(Stream stream)
        {
            MeshFrameId.WriteTo(stream);
            BinaryWriter writer = new BinaryWriter(stream);

            writer.Write(Unknown1);
            writer.Write(TxPtList.Count);
            writer.Write(Unknown2);
            foreach (odfTxPt txpt in TxPtList)
            {
                txpt.WriteTo(stream);
            }
        }
예제 #2
0
        public void WriteTo(Stream stream)
        {
            Name.WriteTo(stream);
            Id.WriteTo(stream);
            MeshFrameId.WriteTo(stream);
            SubmeshId.WriteTo(stream);
            BinaryWriter writer = new BinaryWriter(stream);

            writer.Write(children.Count);
            if (AlwaysZero4 != null)
            {
                writer.Write(AlwaysZero4);
            }
            foreach (odfBone bone in children)
            {
                bone.WriteTo(stream);
            }
        }