Esempio n. 1
0
 private int getUserGold()
 {
     MemoryManager x = new MemoryManager();
         x.Attach("League of Legends");
         var GoldLv1Adress = (IntPtr)(x.ReadInteger(LeagueAdressesOffsets.PlayerObject.BaseAdress) + LeagueAdressesOffsets.PlayerObject.Attributes.Offset);
         var GoldAdress = (IntPtr)(x.ReadInteger(GoldLv1Adress.ToInt32()) + LeagueAdressesOffsets.PlayerObject.Attributes.Gold.Offset);
         var gold = x.ReadInteger(GoldAdress.ToInt32());
         x.Disconnect();
         return gold;
 }
Esempio n. 2
0
 private int getMaximumHealth()
 {
     MemoryManager x = new MemoryManager();
         x.Attach("League of Legends");
         var GoldLv1Adress = (IntPtr)(x.ReadInteger(LeagueAdressesOffsets.PlayerObject.BaseAdress) + LeagueAdressesOffsets.PlayerObject.Stats.Offset);
         var GoldAdress = (IntPtr)(x.ReadInteger(GoldLv1Adress.ToInt32()) + LeagueAdressesOffsets.PlayerObject.Stats.MaxHealth.Offset);
         var gold = x.ReadInteger(GoldAdress.ToInt32());
         x.Disconnect();
         return gold;
 }
Esempio n. 3
0
 private int getMoveSpeed()
 {
     MemoryManager x = new MemoryManager();
     x.Attach("League of Legends");
     var GoldLv1Adress = (IntPtr)(x.ReadInteger(LeagueAdressesOffsets.PlayerObject.BaseAdress) + LeagueAdressesOffsets.PlayerObject.Attributes.Offset);
     var GoldAdress = (IntPtr)(x.ReadInteger(GoldLv1Adress.ToInt32()) + LeagueAdressesOffsets.PlayerObject.Attributes.MoveSpeed.Offset);
     var gold = x.ReadFloat(GoldAdress.ToInt32());
     x.Disconnect();
     return Convert.ToInt32(Math.Round(gold));
 }
Esempio n. 4
0
 public string getName()
 {
     MemoryManager x = new MemoryManager();
     x.Attach("League of Legends");
     var name = x.ReadString(LeagueAdressesOffsets.PlayerObject.Name, 16);
     x.Disconnect();
     return name;
 }