Beispiel #1
0
 unsafe private void ReadMax()
 {
     Max maxstat = new Max();
     MemoryProvider.ReadProcessMemory(pol.Handle, (IntPtr)((int)pol.BaseAddress + OFFSET.MAXHPMP_INFO), &maxstat, (uint)Marshal.SizeOf(maxstat), null);
     max = maxstat;
 }
Beispiel #2
0
 private unsafe void ReadMax()
 {
     Max maxstat = new Max();
     MemoryProvider.ReadProcessMemory(windower.pol.Handle, (IntPtr) ((int) windower.pol.BaseAddress + Offset.Get("MAXHPMP_INFO")), &maxstat, (uint) Marshal.SizeOf(maxstat), null);
     max = maxstat;
 }