upload
This commit is contained in:
commit
1c7a8cf25f
579 files changed
+83196
No files matched your search
@@ -0,0 +1,31 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace VibranceHud;
|
||||
|
||||
public sealed class MonitorRule
|
||||
{
|
||||
[JsonPropertyName("gameId")]
|
||||
public string GameId { get; set; } = "";
|
||||
|
||||
[JsonPropertyName("width")]
|
||||
public int Width { get; set; }
|
||||
|
||||
[JsonPropertyName("height")]
|
||||
public int Height { get; set; }
|
||||
|
||||
[JsonPropertyName("device")]
|
||||
public string Device { get; set; } = "";
|
||||
|
||||
[JsonIgnore]
|
||||
public bool IsSet
|
||||
{
|
||||
get
|
||||
{
|
||||
if (Width > 0)
|
||||
{
|
||||
return Height > 0;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user