public MagiPage(MagiFile file) { //Console.WriteLine("DEBUG > ObjentryPage > Filepath: " + filepath); handler = new MagiPageHandler(file); DataContext = handler; InitializeComponent(); }
//public ObservableCollection<MagiItem> MagiFileItems { get; set; } public MagiPageHandler(MagiFile file) { MemOffsetFallback = "21CE3848"; // PCSX2 CCZ's eng patch fileType = Enum.FileType.KH2_03SYSTEM; subBarName = "pref"; subSubBarName = "magi"; stringToFind = subBarName; findAddress(); Console.WriteLine("DEBUG > MagiPageHandler > Processing file..."); MagiFileLoaded = file; //processFile(); Console.WriteLine("DEBUG > MagiPageHandler > File processed!"); }