forgot to add/change the imports after refactor. so here it is.
This commit is contained in:
parent
748de59052
commit
3cb1a5913d
@ -1,5 +1,6 @@
|
|||||||
using Microsoft.Xna.Framework.Content.Pipeline;
|
using Microsoft.Xna.Framework.Content.Pipeline;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
using RecrownedAthenaeum.Serializable;
|
||||||
|
|
||||||
namespace RecrownedAthenaeum.Pipeline.NinePatch
|
namespace RecrownedAthenaeum.Pipeline.NinePatch
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using Microsoft.Xna.Framework.Content.Pipeline;
|
using Microsoft.Xna.Framework.Content.Pipeline;
|
||||||
using Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler;
|
using Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
using RecrownedAthenaeum.Serializable;
|
||||||
|
|
||||||
namespace RecrownedAthenaeum.Pipeline.NinePatch
|
namespace RecrownedAthenaeum.Pipeline.NinePatch
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
using Microsoft.Xna.Framework.Content.Pipeline;
|
using Microsoft.Xna.Framework.Content.Pipeline;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
using RecrownedAthenaeum.Serializable;
|
||||||
|
|
||||||
namespace RecrownedAthenaeum.Pipeline.TextureAtlas
|
namespace RecrownedAthenaeum.Pipeline.TextureAtlas
|
||||||
{
|
{
|
||||||
|
@ -1,19 +1,19 @@
|
|||||||
using Microsoft.Xna.Framework.Content.Pipeline;
|
using Microsoft.Xna.Framework.Content.Pipeline;
|
||||||
using Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler;
|
using Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
using TWrite = RecrownedAthenaeum.Pipeline.TextureAtlas.TextureAtlasData;
|
using RecrownedAthenaeum.Serializable;
|
||||||
|
|
||||||
namespace RecrownedAthenaeum.Pipeline.TextureAtlas
|
namespace RecrownedAthenaeum.Pipeline.TextureAtlas
|
||||||
{
|
{
|
||||||
[ContentTypeWriter]
|
[ContentTypeWriter]
|
||||||
class TextureAtlasWriter : ContentTypeWriter<TWrite>
|
class TextureAtlasWriter : ContentTypeWriter<TextureAtlasData>
|
||||||
{
|
{
|
||||||
public override string GetRuntimeReader(TargetPlatform targetPlatform)
|
public override string GetRuntimeReader(TargetPlatform targetPlatform)
|
||||||
{
|
{
|
||||||
return "RecrownedAthenaeum.Pipeline, TextureAtlasDataReader";
|
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));
|
output.Write(JsonConvert.SerializeObject(value));
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
using RecrownedAthenaeum.Pipeline.NinePatch;
|
||||||
using RecrownedAthenaeum.Tools.CommandProcessor;
|
using RecrownedAthenaeum.Tools.CommandProcessor;
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
using RecrownedAthenaeum.Pipeline.NinePatch;
|
||||||
|
using RecrownedAthenaeum.Pipeline.TextureAtlas;
|
||||||
using SixLabors.ImageSharp;
|
using SixLabors.ImageSharp;
|
||||||
using SixLabors.ImageSharp.PixelFormats;
|
using SixLabors.ImageSharp.PixelFormats;
|
||||||
using SixLabors.ImageSharp.Processing;
|
using SixLabors.ImageSharp.Processing;
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
using Microsoft.Xna.Framework.Content;
|
using Microsoft.Xna.Framework.Content;
|
||||||
using Microsoft.Xna.Framework.Graphics;
|
using Microsoft.Xna.Framework.Graphics;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
using RecrownedAthenaeum.Serializable;
|
||||||
|
|
||||||
namespace RecrownedAthenaeum.Pipeline
|
namespace RecrownedAthenaeum.Pipeline
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user