package mapped;

import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
import net.runelite.rs.api.RSWorldMapEvent;

@ObfuscatedName("jt")
public class WorldMapEvent implements RSWorldMapEvent {
   @ObfuscatedName("at")
   @ObfuscatedGetter(
      intValue = -477807375
   )
   public int mapElement;
   @ObfuscatedName("ah")
   @ObfuscatedSignature(
      descriptor = "Lmh;"
   )
   public Coord coord1;
   @ObfuscatedName("ar")
   @ObfuscatedSignature(
      descriptor = "Lmh;"
   )
   public Coord coord2;

   @ObfuscatedSignature(
      descriptor = "(ILmh;Lmh;)V"
   )
   public WorldMapEvent(int var1, Coord var2, Coord var3) {
      this.mapElement = var1;
      this.coord1 = var2;
      this.coord2 = var3;
   }

   @ObfuscatedName("at")
   @ObfuscatedSignature(
      descriptor = "(IIIII)I",
      garbageValue = "-2019263957"
   )
   static final int method5098_base(int var0, int var1, int var2, int var3) {
      return var0 * var2 + var3 * var1 >> 16;
   }

   @ObfuscatedName("ar")
   @ObfuscatedSignature(
      descriptor = "(II)V",
      garbageValue = "2126248771"
   )
   public static void method5097_base(int var0) {
      MouseHandler.MouseHandler_idleCycles = var0;
      Client.onIdleCyclesChanged(-1);
   }

   @ObfuscatedName("au")
   @ObfuscatedSignature(
      descriptor = "(II)V",
      garbageValue = "-890618115"
   )
   static void method5099_base(int var0) {
      ItemContainer var1 = (ItemContainer)ItemContainer.itemContainers.get((long)var0);
      if(var1 != null) {
         var1.remove_base();
      }
   }
}
