Port Injector to main layout

Adds deobfuscator
Adds injected-client
Adds injector-plugin
Adds runescape-client

Replaces RL's apis

Small bug with sprites atm, will be resolved soon. tired af.

Builds, probably
This commit is contained in:
zeruth
2019-06-08 05:43:03 -04:00
parent eafb024f16
commit e4d6e9fe13
1111 changed files with 135441 additions and 44733 deletions

View File

@@ -0,0 +1,60 @@
import java.awt.Component;
import java.awt.event.MouseWheelEvent;
import java.awt.event.MouseWheelListener;
import net.runelite.mapping.Export;
import net.runelite.mapping.Implements;
import net.runelite.mapping.ObfuscatedGetter;
import net.runelite.mapping.ObfuscatedName;
import net.runelite.mapping.ObfuscatedSignature;
@ObfuscatedName("am")
@Implements("MouseWheelHandler")
public final class MouseWheelHandler implements MouseWheel, MouseWheelListener {
@ObfuscatedName("m")
@ObfuscatedGetter(
intValue = -182252389
)
@Export("rotation")
int rotation;
MouseWheelHandler() {
this.rotation = 0;
}
@ObfuscatedName("m")
@ObfuscatedSignature(
signature = "(Ljava/awt/Component;B)V",
garbageValue = "-28"
)
@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 var1) {
var1.removeMouseWheelListener(this);
}
@ObfuscatedName("q")
@ObfuscatedSignature(
signature = "(I)I",
garbageValue = "1293035280"
)
public synchronized int useRotation() {
int var1 = this.rotation;
this.rotation = 0;
return var1;
}
@Export("mouseWheelMoved")
@ObfuscatedName("mouseWheelMoved")
public synchronized void mouseWheelMoved(MouseWheelEvent var1) {
this.rotation += var1.getWheelRotation();
}
}