lots done
This commit is contained in:
parent
1ba7c39c30
commit
fbd0ba445a
59 changed files with 6074 additions and 3598 deletions
|
|
@ -789,7 +789,7 @@ public partial class MemoryViewModel : ObservableObject
|
|||
return;
|
||||
}
|
||||
|
||||
RawResult = _reader.ReadAddress(RawAddress, RawOffsets, RawType);
|
||||
RawResult = _reader.Diagnostics!.ReadAddress(RawAddress, RawOffsets, RawType);
|
||||
}
|
||||
|
||||
[RelayCommand]
|
||||
|
|
@ -804,7 +804,7 @@ public partial class MemoryViewModel : ObservableObject
|
|||
if (!int.TryParse(ScanSize, System.Globalization.NumberStyles.HexNumber, null, out var size))
|
||||
size = 0x400;
|
||||
|
||||
ScanResult = _reader.ScanRegion(ScanAddress, ScanOffsets, size);
|
||||
ScanResult = _reader.Diagnostics!.ScanRegion(ScanAddress, ScanOffsets, size);
|
||||
}
|
||||
|
||||
[RelayCommand]
|
||||
|
|
@ -816,7 +816,7 @@ public partial class MemoryViewModel : ObservableObject
|
|||
return;
|
||||
}
|
||||
|
||||
ScanResult = _reader.ScanAllStates();
|
||||
ScanResult = _reader.Diagnostics!.ScanAllStates();
|
||||
}
|
||||
|
||||
[RelayCommand]
|
||||
|
|
@ -828,7 +828,7 @@ public partial class MemoryViewModel : ObservableObject
|
|||
return;
|
||||
}
|
||||
|
||||
ScanResult = _reader.ProbeInGameState();
|
||||
ScanResult = _reader.Diagnostics!.ProbeInGameState();
|
||||
}
|
||||
|
||||
[RelayCommand]
|
||||
|
|
@ -844,7 +844,7 @@ public partial class MemoryViewModel : ObservableObject
|
|||
int.TryParse(VitalMana, out var mana);
|
||||
int.TryParse(VitalEs, out var es);
|
||||
|
||||
ScanResult = _reader.ScanComponents(hp, mana, es);
|
||||
ScanResult = _reader.Diagnostics!.ScanComponents(hp, mana, es);
|
||||
}
|
||||
|
||||
[RelayCommand]
|
||||
|
|
@ -860,7 +860,7 @@ public partial class MemoryViewModel : ObservableObject
|
|||
int.TryParse(VitalMana, out var mana);
|
||||
int.TryParse(VitalEs, out var es);
|
||||
|
||||
ScanResult = _reader.DeepScanVitals(hp, mana, es);
|
||||
ScanResult = _reader.Diagnostics!.DeepScanVitals(hp, mana, es);
|
||||
}
|
||||
|
||||
[RelayCommand]
|
||||
|
|
@ -872,7 +872,7 @@ public partial class MemoryViewModel : ObservableObject
|
|||
return;
|
||||
}
|
||||
|
||||
ScanResult = _reader.DiagnoseVitals();
|
||||
ScanResult = _reader.Diagnostics!.DiagnoseVitals();
|
||||
}
|
||||
|
||||
[RelayCommand]
|
||||
|
|
@ -884,7 +884,7 @@ public partial class MemoryViewModel : ObservableObject
|
|||
return;
|
||||
}
|
||||
|
||||
ScanResult = _reader.ScanPosition();
|
||||
ScanResult = _reader.Diagnostics!.ScanPosition();
|
||||
}
|
||||
|
||||
[RelayCommand]
|
||||
|
|
@ -896,7 +896,7 @@ public partial class MemoryViewModel : ObservableObject
|
|||
return;
|
||||
}
|
||||
|
||||
ScanResult = _reader.DiagnoseEntity();
|
||||
ScanResult = _reader.Diagnostics!.DiagnoseEntity();
|
||||
}
|
||||
|
||||
[RelayCommand]
|
||||
|
|
@ -908,7 +908,7 @@ public partial class MemoryViewModel : ObservableObject
|
|||
return;
|
||||
}
|
||||
|
||||
ScanResult = _reader.ScanEntities();
|
||||
ScanResult = _reader.Diagnostics!.ScanEntities();
|
||||
}
|
||||
|
||||
[RelayCommand]
|
||||
|
|
@ -920,7 +920,7 @@ public partial class MemoryViewModel : ObservableObject
|
|||
return;
|
||||
}
|
||||
|
||||
ScanResult = _reader.ScanComponentLookup();
|
||||
ScanResult = _reader.Diagnostics!.ScanComponentLookup();
|
||||
}
|
||||
|
||||
[RelayCommand]
|
||||
|
|
@ -932,7 +932,7 @@ public partial class MemoryViewModel : ObservableObject
|
|||
return;
|
||||
}
|
||||
|
||||
ScanResult = _reader.ScanAreaLoadingState();
|
||||
ScanResult = _reader.Diagnostics!.ScanAreaLoadingState();
|
||||
}
|
||||
|
||||
[RelayCommand]
|
||||
|
|
@ -944,7 +944,7 @@ public partial class MemoryViewModel : ObservableObject
|
|||
return;
|
||||
}
|
||||
|
||||
ScanResult = _reader.ScanMemoryDiff();
|
||||
ScanResult = _reader.Diagnostics!.ScanMemoryDiff();
|
||||
}
|
||||
|
||||
[RelayCommand]
|
||||
|
|
@ -956,7 +956,7 @@ public partial class MemoryViewModel : ObservableObject
|
|||
return;
|
||||
}
|
||||
|
||||
ScanResult = _reader.ScanActiveStatesVector();
|
||||
ScanResult = _reader.Diagnostics!.ScanActiveStatesVector();
|
||||
}
|
||||
|
||||
[RelayCommand]
|
||||
|
|
@ -968,7 +968,7 @@ public partial class MemoryViewModel : ObservableObject
|
|||
return;
|
||||
}
|
||||
|
||||
ScanResult = _reader.ScanTerrain();
|
||||
ScanResult = _reader.Diagnostics!.ScanTerrain();
|
||||
}
|
||||
|
||||
[RelayCommand]
|
||||
|
|
@ -983,6 +983,30 @@ public partial class MemoryViewModel : ObservableObject
|
|||
if (!int.TryParse(ScanSize, System.Globalization.NumberStyles.HexNumber, null, out var size))
|
||||
size = 0x2000;
|
||||
|
||||
ScanResult = _reader.ScanStructure(ScanAddress, ScanOffsets, size);
|
||||
ScanResult = _reader.Diagnostics!.ScanStructure(ScanAddress, ScanOffsets, size);
|
||||
}
|
||||
|
||||
[RelayCommand]
|
||||
private void ScanCameraExecute()
|
||||
{
|
||||
if (_reader is null || !_reader.IsAttached)
|
||||
{
|
||||
ScanResult = "Error: not attached";
|
||||
return;
|
||||
}
|
||||
|
||||
ScanResult = _reader.Diagnostics!.ScanCamera();
|
||||
}
|
||||
|
||||
[RelayCommand]
|
||||
private void CameraDiffExecute()
|
||||
{
|
||||
if (_reader is null || !_reader.IsAttached)
|
||||
{
|
||||
ScanResult = "Error: not attached";
|
||||
return;
|
||||
}
|
||||
|
||||
ScanResult = _reader.Diagnostics!.CameraDiff();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue