diff --git a/fxl.codes.kisekae.blazor/fxl.codes.kisekae.blazor.csproj b/fxl.codes.kisekae.blazor/fxl.codes.kisekae.blazor.csproj
index 1570b01..884bd54 100644
--- a/fxl.codes.kisekae.blazor/fxl.codes.kisekae.blazor.csproj
+++ b/fxl.codes.kisekae.blazor/fxl.codes.kisekae.blazor.csproj
@@ -11,10 +11,6 @@
-
-
-
-
diff --git a/fxl.codes.kisekae.data/Entities/Action.cs b/fxl.codes.kisekae.data/Entities/Action.cs
index 10d86e7..19a9357 100644
--- a/fxl.codes.kisekae.data/Entities/Action.cs
+++ b/fxl.codes.kisekae.data/Entities/Action.cs
@@ -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; }
}
\ No newline at end of file
diff --git a/fxl.codes.kisekae.data/Entities/Cel.cs b/fxl.codes.kisekae.data/Entities/Cel.cs
index 9e211fb..c5cb321 100644
--- a/fxl.codes.kisekae.data/Entities/Cel.cs
+++ b/fxl.codes.kisekae.data/Entities/Cel.cs
@@ -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 byte[] Data { get; set; }
- public int OffsetX { get; set; }
- public int OffsetY { get; set; }
- public int Height { get; set; }
- public int Width { get; set; }
- public Kisekae Kisekae { get; set; }
- }
+ public int Id { get; set; }
+ public string FileName { get; set; }
+ public byte[] Data { get; set; }
+ public int OffsetX { get; set; }
+ public int OffsetY { get; set; }
+ public int Height { get; set; }
+ public int Width { get; set; }
+ public Kisekae Kisekae { get; set; }
}
\ No newline at end of file
diff --git a/fxl.codes.kisekae.data/Entities/CelConfig.cs b/fxl.codes.kisekae.data/Entities/CelConfig.cs
index bcd15d0..7432d6e 100644
--- a/fxl.codes.kisekae.data/Entities/CelConfig.cs
+++ b/fxl.codes.kisekae.data/Entities/CelConfig.cs
@@ -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 Configuration Configuration { get; set; }
- public int Mark { get; set; }
- public int Fix { get; set; }
- public Palette Palette { get; set; }
- public int PaletteGroup { get; set; }
- public string Comment { get; set; }
- public int Transparency { get; set; }
- public Render Render { get; set; }
- public List Positions { get; set; } = new();
- public bool[] Sets { get; set; } = new bool[10];
- }
+ public int Id { get; set; }
+ public Cel Cel { get; set; }
+ public Configuration Configuration { get; set; }
+ public int Mark { get; set; }
+ public int Fix { get; set; }
+ public Palette Palette { get; set; }
+ public int PaletteGroup { get; set; }
+ public string? Comment { get; set; }
+ public int Transparency { get; set; }
+ public Render Render { get; set; }
+ public List Positions { get; set; } = new();
+ public bool[] Sets { get; set; } = new bool[10];
}
\ No newline at end of file
diff --git a/fxl.codes.kisekae.data/Entities/CelPosition.cs b/fxl.codes.kisekae.data/Entities/CelPosition.cs
index 2ddccb9..7e5a700 100644
--- a/fxl.codes.kisekae.data/Entities/CelPosition.cs
+++ b/fxl.codes.kisekae.data/Entities/CelPosition.cs
@@ -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 X { get; set; }
- public int Y { get; set; }
- }
+ public int Id { get; set; }
+ public int Set { get; set; }
+ public int X { get; set; }
+ public int Y { get; set; }
}
\ No newline at end of file
diff --git a/fxl.codes.kisekae.data/Entities/Configuration.cs b/fxl.codes.kisekae.data/Entities/Configuration.cs
index dc78582..366aea1 100644
--- a/fxl.codes.kisekae.data/Entities/Configuration.cs
+++ b/fxl.codes.kisekae.data/Entities/Configuration.cs
@@ -1,16 +1,15 @@
-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 Cels { get; set; } = new();
- public List Actions { get; set; } = new();
+namespace fxl.codes.kisekae.data.Entities;
- public string Data { get; set; }
- public int Height { get; set; }
- public int Width { get; set; }
- public string BackgroundColorHex { get; set; }
- }
+public class Configuration
+{
+ public int Id { get; set; }
+ public string Name { get; set; }
+ public Kisekae Kisekae { get; set; }
+ public List Cels { get; set; } = new();
+ public List Actions { get; set; } = new();
+
+ public string Data { get; set; }
+ public int Height { get; set; }
+ public int Width { get; set; }
+ public string BackgroundColorHex { get; set; }
}
\ No newline at end of file
diff --git a/fxl.codes.kisekae.data/Entities/Kisekae.cs b/fxl.codes.kisekae.data/Entities/Kisekae.cs
index 7db4884..b70e176 100644
--- a/fxl.codes.kisekae.data/Entities/Kisekae.cs
+++ b/fxl.codes.kisekae.data/Entities/Kisekae.cs
@@ -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 string CheckSum { get; set; }
- public List Configurations { get; set; } = new();
- public List Cels { get; set; } = new();
- public List Palettes { get; set; } = new();
- }
+ public int Id { get; set; }
+ public string FileName { get; set; }
+ public string CheckSum { get; set; }
+ public List Configurations { get; set; } = new();
+ public List Cels { get; set; } = new();
+ public List Palettes { get; set; } = new();
}
\ No newline at end of file
diff --git a/fxl.codes.kisekae.data/Entities/Palette.cs b/fxl.codes.kisekae.data/Entities/Palette.cs
index a53f807..f4597b7 100644
--- a/fxl.codes.kisekae.data/Entities/Palette.cs
+++ b/fxl.codes.kisekae.data/Entities/Palette.cs
@@ -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 string FileName { get; set; }
- public List Colors { get; set; } = new();
- public byte[] Data { get; set; }
- }
+ public int Id { get; set; }
+ public Kisekae Kisekae { get; set; }
+ public string FileName { get; set; }
+ public List Colors { get; set; } = new();
+ public byte[] Data { get; set; }
}
\ No newline at end of file
diff --git a/fxl.codes.kisekae.data/Entities/PaletteColor.cs b/fxl.codes.kisekae.data/Entities/PaletteColor.cs
index 6096be9..7df61fa 100644
--- a/fxl.codes.kisekae.data/Entities/PaletteColor.cs
+++ b/fxl.codes.kisekae.data/Entities/PaletteColor.cs
@@ -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 Group { get; set; }
- public string Hex { get; set; }
- }
+ public int Id { get; set; }
+ public Palette Palette { get; set; }
+ public int Group { get; set; }
+ public string Hex { get; set; }
}
\ No newline at end of file
diff --git a/fxl.codes.kisekae.data/Entities/Render.cs b/fxl.codes.kisekae.data/Entities/Render.cs
index 174e75b..a3cc751 100644
--- a/fxl.codes.kisekae.data/Entities/Render.cs
+++ b/fxl.codes.kisekae.data/Entities/Render.cs
@@ -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; }
}
\ No newline at end of file
diff --git a/fxl.codes.kisekae/Properties/launchSettings.json b/fxl.codes.kisekae/Properties/launchSettings.json
index 537ec35..4992625 100644
--- a/fxl.codes.kisekae/Properties/launchSettings.json
+++ b/fxl.codes.kisekae/Properties/launchSettings.json
@@ -19,7 +19,7 @@
"commandName": "Project",
"dotnetRunMessages": "true",
"launchBrowser": true,
- "applicationUrl": "http://localhost:5000",
+ "applicationUrl": "http://localhost:5001",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}