示例#1
0
        internal void Write(BinaryWriter writer)
        {
            writer.Write(version);
            writer.Write(name ?? "");

            skeleton.Write(writer, true);

            writer.Write(animations.Length);
            foreach (AnimationData animation in animations)
            {
                animation.Write(writer);
            }

            this.staticBounds.Write(writer);

            writer.Write((short)animationStaticBounds.Length);
            for (int i = 0; i < animationStaticBounds.Length; i++)
            {
                animationStaticBounds[i].Write(writer);
            }
        }