예제 #1
0
파일: Fishing.cs 프로젝트: ff11mail/ff11rcm
 unsafe private void Read()
 {
     FishingState fs = new FishingState();
     MemoryProvider.ReadProcessMemory(pol.Handle, (IntPtr)((int)pol.BaseAddress + OFFSET.FISH_INFO), &fs, (uint)Marshal.SizeOf(fs), null);
     fishingState = fs;
     Fish f = new Fish();
     MemoryProvider.ReadProcessMemory(pol.Handle, (IntPtr)(fs.fishPtr), &f, (uint)Marshal.SizeOf(f), null);
     fish = f;
 }
예제 #2
0
파일: Fishing.cs 프로젝트: anondev/XIACE
 private unsafe void Read()
 {
     FishingState fs = new FishingState();
     MemoryProvider.ReadProcessMemory(windower.pol.Handle, (IntPtr) ((int) windower.pol.BaseAddress + Offset.Get("FISH_INFO")), &fs, (uint) Marshal.SizeOf(fs), null);
     fishingState = fs;
     Fish f = new Fish();
     MemoryProvider.ReadProcessMemory(windower.pol.Handle, (IntPtr) (fs.fishPtr), &f, (uint) Marshal.SizeOf(f), null);
     fish = f;
 }