internal override void Write(ResourceWriter writer) { writer.WriteInt16(( short )TargetKind); writer.WriteInt32(TargetId); writer.WriteStringWithHash(Version, TargetName, true); writer.WriteResourceList(Layers); }
internal override void Write(ResourceWriter writer) { if (RawData != null) { writer.Write(RawData); return; } if (Version > 0x1104950) { writer.WriteInt32(( int )Flags); } writer.WriteResourceList(Animations); writer.WriteResourceList(BlendAnimations); if (Flags.HasFlag(AnimationPackFlags.Flag4)) { writer.WriteResource(ExtraData); } }
protected override void WriteCore(ResourceWriter writer) { if (RawData != null) { writer.Write(RawData); return; } if (Version > 0x1104950) { writer.WriteInt32(( int )Flags); } writer.WriteResourceList(Animations); writer.WriteResourceList(BlendAnimations); if (Flags.HasFlag(AnimationPackFlags.Bit2)) { writer.WriteResource(Bit29Data); } }