forgot to add/change the imports after refactor. so here it is.

This commit is contained in:
Harrison Deng 2019-01-15 17:49:38 -06:00
parent 748de59052
commit 3cb1a5913d
7 changed files with 10 additions and 3 deletions

View File

@ -1,5 +1,6 @@
using Microsoft.Xna.Framework.Content.Pipeline;
using Newtonsoft.Json;
using RecrownedAthenaeum.Serializable;
namespace RecrownedAthenaeum.Pipeline.NinePatch
{

View File

@ -1,6 +1,7 @@
using Microsoft.Xna.Framework.Content.Pipeline;
using Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler;
using Newtonsoft.Json;
using RecrownedAthenaeum.Serializable;
namespace RecrownedAthenaeum.Pipeline.NinePatch
{

View File

@ -1,5 +1,6 @@
using Microsoft.Xna.Framework.Content.Pipeline;
using Newtonsoft.Json;
using RecrownedAthenaeum.Serializable;
namespace RecrownedAthenaeum.Pipeline.TextureAtlas
{

View File

@ -1,19 +1,19 @@
using Microsoft.Xna.Framework.Content.Pipeline;
using Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler;
using Newtonsoft.Json;
using TWrite = RecrownedAthenaeum.Pipeline.TextureAtlas.TextureAtlasData;
using RecrownedAthenaeum.Serializable;
namespace RecrownedAthenaeum.Pipeline.TextureAtlas
{
[ContentTypeWriter]
class TextureAtlasWriter : ContentTypeWriter<TWrite>
class TextureAtlasWriter : ContentTypeWriter<TextureAtlasData>
{
public override string GetRuntimeReader(TargetPlatform targetPlatform)
{
return "RecrownedAthenaeum.Pipeline, TextureAtlasDataReader";
}
protected override void Write(ContentWriter output, TWrite value)
protected override void Write(ContentWriter output, TextureAtlasData value)
{
output.Write(JsonConvert.SerializeObject(value));
}

View File

@ -1,4 +1,5 @@
using Newtonsoft.Json;
using RecrownedAthenaeum.Pipeline.NinePatch;
using RecrownedAthenaeum.Tools.CommandProcessor;
using System;
using System.IO;

View File

@ -1,4 +1,6 @@
using Newtonsoft.Json;
using RecrownedAthenaeum.Pipeline.NinePatch;
using RecrownedAthenaeum.Pipeline.TextureAtlas;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing;

View File

@ -1,6 +1,7 @@
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Newtonsoft.Json;
using RecrownedAthenaeum.Serializable;
namespace RecrownedAthenaeum.Pipeline
{