mirror of
https://git.crafterpika.cc/crafterpika/SplatTool-public.git
synced 2026-08-17 18:52:16 +02:00
fix wayland and allow save editing of equipped weapon
This commit is contained in:
parent
d44aebe7f8
commit
0c56eb8b89
9 changed files with 147 additions and 7 deletions
8
Func.cs
8
Func.cs
|
|
@ -200,5 +200,13 @@ namespace Func {
|
|||
return "Game not fully loaded yet...";
|
||||
}
|
||||
}
|
||||
public static string EquippedWep() {
|
||||
try {
|
||||
var p_SaveDataMgr = Program.readUInt32((uint)(Program.readUInt32(SaveEditor.SAVEDATAMGR_ROOT_PTR) + 0xC));
|
||||
return $"{Program.readUInt32((uint)(p_SaveDataMgr + 0x18C))}";
|
||||
} catch {
|
||||
return "Game not fully loaded yet...";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue