Still largely works surprisingly
This commit is contained in:
@@ -11,10 +11,6 @@
|
|||||||
<ProjectReference Include="..\fxl.codes.kisekae.data\fxl.codes.kisekae.data.csproj"/>
|
<ProjectReference Include="..\fxl.codes.kisekae.data\fxl.codes.kisekae.data.csproj"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<Folder Include="temp\"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="10.0.9"/>
|
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="10.0.9"/>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
namespace fxl.codes.kisekae.data.Entities
|
namespace fxl.codes.kisekae.data.Entities;
|
||||||
|
|
||||||
|
public class Action
|
||||||
{
|
{
|
||||||
public class Action
|
public int Id { get; set; }
|
||||||
{
|
public string Name { get; set; }
|
||||||
public int Id { get; set; }
|
|
||||||
public string Name { get; set; }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,14 +1,13 @@
|
|||||||
namespace fxl.codes.kisekae.data.Entities
|
namespace fxl.codes.kisekae.data.Entities;
|
||||||
|
|
||||||
|
public class Cel
|
||||||
{
|
{
|
||||||
public class Cel
|
public int Id { get; set; }
|
||||||
{
|
public string FileName { get; set; }
|
||||||
public int Id { get; set; }
|
public byte[] Data { get; set; }
|
||||||
public string FileName { get; set; }
|
public int OffsetX { get; set; }
|
||||||
public byte[] Data { get; set; }
|
public int OffsetY { get; set; }
|
||||||
public int OffsetX { get; set; }
|
public int Height { get; set; }
|
||||||
public int OffsetY { get; set; }
|
public int Width { get; set; }
|
||||||
public int Height { get; set; }
|
public Kisekae Kisekae { get; set; }
|
||||||
public int Width { get; set; }
|
|
||||||
public Kisekae Kisekae { get; set; }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,18 +1,17 @@
|
|||||||
namespace fxl.codes.kisekae.data.Entities
|
namespace fxl.codes.kisekae.data.Entities;
|
||||||
|
|
||||||
|
public class CelConfig
|
||||||
{
|
{
|
||||||
public class CelConfig
|
public int Id { get; set; }
|
||||||
{
|
public Cel Cel { get; set; }
|
||||||
public int Id { get; set; }
|
public Configuration Configuration { get; set; }
|
||||||
public Cel Cel { get; set; }
|
public int Mark { get; set; }
|
||||||
public Configuration Configuration { get; set; }
|
public int Fix { get; set; }
|
||||||
public int Mark { get; set; }
|
public Palette Palette { get; set; }
|
||||||
public int Fix { get; set; }
|
public int PaletteGroup { get; set; }
|
||||||
public Palette Palette { get; set; }
|
public string? Comment { get; set; }
|
||||||
public int PaletteGroup { get; set; }
|
public int Transparency { get; set; }
|
||||||
public string Comment { get; set; }
|
public Render Render { get; set; }
|
||||||
public int Transparency { get; set; }
|
public List<CelPosition> Positions { get; set; } = new();
|
||||||
public Render Render { get; set; }
|
public bool[] Sets { get; set; } = new bool[10];
|
||||||
public List<CelPosition> Positions { get; set; } = new();
|
|
||||||
public bool[] Sets { get; set; } = new bool[10];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace fxl.codes.kisekae.data.Entities
|
namespace fxl.codes.kisekae.data.Entities;
|
||||||
|
|
||||||
|
public class CelPosition
|
||||||
{
|
{
|
||||||
public class CelPosition
|
public int Id { get; set; }
|
||||||
{
|
public int Set { get; set; }
|
||||||
public int Id { get; set; }
|
public int X { get; set; }
|
||||||
public int Set { get; set; }
|
public int Y { get; set; }
|
||||||
public int X { get; set; }
|
|
||||||
public int Y { get; set; }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,16 +1,15 @@
|
|||||||
namespace fxl.codes.kisekae.data.Entities
|
namespace fxl.codes.kisekae.data.Entities;
|
||||||
{
|
|
||||||
public class Configuration
|
|
||||||
{
|
|
||||||
public int Id { get; set; }
|
|
||||||
public string Name { get; set; }
|
|
||||||
public Kisekae Kisekae { get; set; }
|
|
||||||
public List<CelConfig> Cels { get; set; } = new();
|
|
||||||
public List<Action> Actions { get; set; } = new();
|
|
||||||
|
|
||||||
public string Data { get; set; }
|
public class Configuration
|
||||||
public int Height { get; set; }
|
{
|
||||||
public int Width { get; set; }
|
public int Id { get; set; }
|
||||||
public string BackgroundColorHex { get; set; }
|
public string Name { get; set; }
|
||||||
}
|
public Kisekae Kisekae { get; set; }
|
||||||
|
public List<CelConfig> Cels { get; set; } = new();
|
||||||
|
public List<Action> Actions { get; set; } = new();
|
||||||
|
|
||||||
|
public string Data { get; set; }
|
||||||
|
public int Height { get; set; }
|
||||||
|
public int Width { get; set; }
|
||||||
|
public string BackgroundColorHex { get; set; }
|
||||||
}
|
}
|
||||||
@@ -1,12 +1,11 @@
|
|||||||
namespace fxl.codes.kisekae.data.Entities
|
namespace fxl.codes.kisekae.data.Entities;
|
||||||
|
|
||||||
|
public class Kisekae
|
||||||
{
|
{
|
||||||
public class Kisekae
|
public int Id { get; set; }
|
||||||
{
|
public string FileName { get; set; }
|
||||||
public int Id { get; set; }
|
public string CheckSum { get; set; }
|
||||||
public string FileName { get; set; }
|
public List<Configuration> Configurations { get; set; } = new();
|
||||||
public string CheckSum { get; set; }
|
public List<Cel> Cels { get; set; } = new();
|
||||||
public List<Configuration> Configurations { get; set; } = new();
|
public List<Palette> Palettes { get; set; } = new();
|
||||||
public List<Cel> Cels { get; set; } = new();
|
|
||||||
public List<Palette> Palettes { get; set; } = new();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,11 +1,10 @@
|
|||||||
namespace fxl.codes.kisekae.data.Entities
|
namespace fxl.codes.kisekae.data.Entities;
|
||||||
|
|
||||||
|
public class Palette
|
||||||
{
|
{
|
||||||
public class Palette
|
public int Id { get; set; }
|
||||||
{
|
public Kisekae Kisekae { get; set; }
|
||||||
public int Id { get; set; }
|
public string FileName { get; set; }
|
||||||
public Kisekae Kisekae { get; set; }
|
public List<PaletteColor> Colors { get; set; } = new();
|
||||||
public string FileName { get; set; }
|
public byte[] Data { get; set; }
|
||||||
public List<PaletteColor> Colors { get; set; } = new();
|
|
||||||
public byte[] Data { get; set; }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,10 +1,9 @@
|
|||||||
namespace fxl.codes.kisekae.data.Entities
|
namespace fxl.codes.kisekae.data.Entities;
|
||||||
|
|
||||||
|
public class PaletteColor
|
||||||
{
|
{
|
||||||
public class PaletteColor
|
public int Id { get; set; }
|
||||||
{
|
public Palette Palette { get; set; }
|
||||||
public int Id { get; set; }
|
public int Group { get; set; }
|
||||||
public Palette Palette { get; set; }
|
public string Hex { get; set; }
|
||||||
public int Group { get; set; }
|
|
||||||
public string Hex { get; set; }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -1,8 +1,7 @@
|
|||||||
namespace fxl.codes.kisekae.data.Entities
|
namespace fxl.codes.kisekae.data.Entities;
|
||||||
|
|
||||||
|
public class Render
|
||||||
{
|
{
|
||||||
public class Render
|
public int Id { get; set; }
|
||||||
{
|
public byte[] Image { get; set; }
|
||||||
public int Id { get; set; }
|
|
||||||
public byte[] Image { get; set; }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
"commandName": "Project",
|
"commandName": "Project",
|
||||||
"dotnetRunMessages": "true",
|
"dotnetRunMessages": "true",
|
||||||
"launchBrowser": true,
|
"launchBrowser": true,
|
||||||
"applicationUrl": "http://localhost:5000",
|
"applicationUrl": "http://localhost:5001",
|
||||||
"environmentVariables": {
|
"environmentVariables": {
|
||||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user