Initial decomp work

This commit is contained in:
Joshua Askharoun
2021-04-10 12:27:52 -05:00
parent 44f5ecac48
commit 180e272ca8
19 changed files with 873 additions and 97 deletions
@@ -0,0 +1,34 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace ZuneUIXTools.ViewModels
{
public class CompiledUIXDocumentViewModel : DocumentViewModelBase
{
public CompiledUIXDocumentViewModel(string fileName) : base(fileName)
{
Content = File.ReadAllBytes(fileName);
}
private byte[] _content = null;
public byte[] Content
{
get
{
if (FileName != null)
_content = File.ReadAllBytes(FileName);
return _content;
}
set => SetProperty(ref _content, value);
}
private string _uiRoot;
public string UIRoot
{
get => _uiRoot;
set => SetProperty(ref _uiRoot, value);
}
}
}