mirror of
https://github.com/Novetus/Novetus_src.git
synced 2025-01-31 09:41:33 +02:00
more [JsonRequired]
This commit is contained in:
parent
cbc8520de1
commit
0bebb21674
@ -12,10 +12,13 @@ namespace Novetus.Core
|
||||
public class ContentProvider
|
||||
{
|
||||
[JsonProperty]
|
||||
[JsonRequired]
|
||||
public string Name;
|
||||
[JsonProperty]
|
||||
[JsonRequired]
|
||||
public string URL;
|
||||
[JsonProperty]
|
||||
[JsonRequired]
|
||||
public string Icon;
|
||||
|
||||
public static ContentProvider[] GetContentProviders()
|
||||
|
@ -16,10 +16,13 @@ namespace Novetus.Core
|
||||
public class PartColor
|
||||
{
|
||||
[JsonProperty]
|
||||
[JsonRequired]
|
||||
public string ColorName;
|
||||
[JsonProperty]
|
||||
[JsonRequired]
|
||||
public int ColorID;
|
||||
[JsonProperty]
|
||||
[JsonRequired]
|
||||
public string ColorRGB;
|
||||
public Color ColorObject;
|
||||
public string ColorGroup;
|
||||
|
Loading…
Reference in New Issue
Block a user