rs-client/apis
This commit is contained in:
@@ -7,53 +7,53 @@ import net.runelite.mapping.ObfuscatedGetter;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("am")
|
||||
@ObfuscatedName("au")
|
||||
@Implements("MouseWheelHandler")
|
||||
public final class MouseWheelHandler implements MouseWheel, MouseWheelListener {
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -182252389
|
||||
)
|
||||
@Export("rotation")
|
||||
int rotation;
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -362089629
|
||||
)
|
||||
@Export("rotation")
|
||||
int rotation;
|
||||
|
||||
MouseWheelHandler() {
|
||||
this.rotation = 0;
|
||||
}
|
||||
MouseWheelHandler() {
|
||||
this.rotation = 0;
|
||||
}
|
||||
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Ljava/awt/Component;B)V",
|
||||
garbageValue = "-28"
|
||||
)
|
||||
@Export("addTo")
|
||||
void addTo(Component component) {
|
||||
component.addMouseWheelListener(this);
|
||||
}
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Ljava/awt/Component;B)V",
|
||||
garbageValue = "31"
|
||||
)
|
||||
@Export("addTo")
|
||||
void addTo(Component var1) {
|
||||
var1.addMouseWheelListener(this);
|
||||
}
|
||||
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Ljava/awt/Component;I)V",
|
||||
garbageValue = "-544062729"
|
||||
)
|
||||
@Export("removeFrom")
|
||||
void removeFrom(Component component) {
|
||||
component.removeMouseWheelListener(this);
|
||||
}
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Ljava/awt/Component;I)V",
|
||||
garbageValue = "-325226469"
|
||||
)
|
||||
@Export("removeFrom")
|
||||
void removeFrom(Component var1) {
|
||||
var1.removeMouseWheelListener(this);
|
||||
}
|
||||
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(I)I",
|
||||
garbageValue = "1293035280"
|
||||
)
|
||||
@Export("useRotation")
|
||||
public synchronized int useRotation() {
|
||||
int var1 = this.rotation;
|
||||
this.rotation = 0;
|
||||
return var1;
|
||||
}
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(I)I",
|
||||
garbageValue = "1768142580"
|
||||
)
|
||||
@Export("useRotation")
|
||||
public synchronized int useRotation() {
|
||||
int var1 = this.rotation;
|
||||
this.rotation = 0;
|
||||
return var1;
|
||||
}
|
||||
|
||||
public synchronized void mouseWheelMoved(MouseWheelEvent var1) {
|
||||
this.rotation += var1.getWheelRotation();
|
||||
}
|
||||
public synchronized void mouseWheelMoved(MouseWheelEvent var1) {
|
||||
this.rotation += var1.getWheelRotation();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user