mirror of
https://github.com/sampletext32/ParkanPlayground.git
synced 2025-05-18 11:21:18 +03:00
27 lines
502 B
C#
27 lines
502 B
C#
using System.Numerics;
|
|
|
|
namespace NResUI.Models;
|
|
|
|
public class BinaryExplorerViewModel
|
|
{
|
|
public bool HasFile { get; set; }
|
|
public string? Error { get; set; }
|
|
|
|
public string Path { get; set; } = "";
|
|
public byte[] Data { get; set; } = [];
|
|
|
|
public List<Region> Regions { get; set; } = [];
|
|
|
|
public Vector4 NextColor;
|
|
}
|
|
|
|
public class Region
|
|
{
|
|
public int Begin { get; set; }
|
|
|
|
public int Length { get; set; }
|
|
|
|
public uint Color { get; set; }
|
|
|
|
public string? Value;
|
|
} |