-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* quick n dirty for testing * kinda sorting working instance json builder * add limit check * bump version * couple minor error checks
- Loading branch information
1 parent
eb843c4
commit 82ea8f8
Showing
8 changed files
with
139 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace Analogue; | ||
|
||
using System.Collections; | ||
|
||
public class InstanceDataSlot | ||
{ | ||
public string id { get; set; } | ||
public string? filename { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
namespace Analogue; | ||
|
||
public class SimpleInstance | ||
{ | ||
public InstanceDataSlot[] data_slots { get; set; } | ||
public string data_path { get; set; } = ""; | ||
public string magic { get; set; } = "APF_VER_1"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
namespace Analogue; | ||
|
||
public class SimpleInstanceJSON | ||
{ | ||
public SimpleInstance instance { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace pannella.analoguepocket; | ||
|
||
public class DataSlot | ||
{ | ||
public int id { get; set; } | ||
public string filename { get; set; } | ||
public bool required { get; set; } | ||
public string sort { get; set; } = "ascending"; | ||
public bool as_filename { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace pannella.analoguepocket; | ||
|
||
public class InstancePackager | ||
{ | ||
public List<DataSlot> data_slots { get; set; } | ||
public string output { get; set; } | ||
public string platform_id { get; set; } | ||
public Dictionary<string, object> slot_limit { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters