Beispiel #1
0
 public void DoRapidFire()
 {
     if (KeyUtils.GetKeyDown(0x1))
     {
         _memory.Write(false, -1, _baseAddress + Offsets.PlayerBase, (IntPtr)Offsets.PlayerCompPtr.RapidFire1);
         _memory.Write(false, -1, _baseAddress + Offsets.PlayerBase, (IntPtr)Offsets.PlayerCompPtr.RapidFire2);
     }
 }
Beispiel #2
0
 public void DoRapidFire()
 {
     if (KeyUtils.GetKeyDown(0x1))
     {
         for (int i = 0; i < 7; i++)
         {
             _memory.Write(false, -1, _baseAddress + Offsets.PlayerBase, (IntPtr)(Offsets.PlayerCompPtr.ArraySizeOffset * i) + Offsets.PlayerCompPtr.RapidFire1);
             _memory.Write(false, -1, _baseAddress + Offsets.PlayerBase, (IntPtr)(Offsets.PlayerCompPtr.ArraySizeOffset * i) + Offsets.PlayerCompPtr.RapidFire2);
         }
     }
 }