Exemple #1
0
 unsafe private void Read()
 {
     PlayerStatus status = new PlayerStatus();
     MemoryProvider.ReadProcessMemory(pol.Handle, (IntPtr)((int)pol.BaseAddress + OFFSET.PLAYER_INFO), &status, (uint)Marshal.SizeOf(stat), null);
     stat = status;
 }
Exemple #2
0
 private unsafe void Read()
 {
     PlayerStatus status = new PlayerStatus();
     MemoryProvider.ReadProcessMemory(windower.pol.Handle, (IntPtr) ((int) windower.pol.BaseAddress + Offset.Get("PLAYER_INFO")), &status, (uint) Marshal.SizeOf(stat), null);
     stat = status;
 }