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:
146
runescape-client/src/main/java/World.java
Normal file
146
runescape-client/src/main/java/World.java
Normal file
@@ -0,0 +1,146 @@
|
||||
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("bt")
|
||||
@Implements("World")
|
||||
public class World {
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 233222155
|
||||
)
|
||||
@Export("worldsCount")
|
||||
static int worldsCount;
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1143875805
|
||||
)
|
||||
@Export("__bt_g")
|
||||
static int __bt_g;
|
||||
@ObfuscatedName("l")
|
||||
@Export("__bt_l")
|
||||
static int[] __bt_l;
|
||||
@ObfuscatedName("e")
|
||||
@Export("__bt_e")
|
||||
static int[] __bt_e;
|
||||
@ObfuscatedName("d")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -144265493
|
||||
)
|
||||
@Export("id")
|
||||
int id;
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 956991319
|
||||
)
|
||||
@Export("properties")
|
||||
int properties;
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1863464125
|
||||
)
|
||||
@Export("population")
|
||||
int population;
|
||||
@ObfuscatedName("i")
|
||||
@Export("host")
|
||||
String host;
|
||||
@ObfuscatedName("a")
|
||||
@Export("activity")
|
||||
String activity;
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1942858323
|
||||
)
|
||||
@Export("location")
|
||||
int location;
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1147427427
|
||||
)
|
||||
@Export("index")
|
||||
int index;
|
||||
|
||||
static {
|
||||
worldsCount = 0;
|
||||
__bt_g = 0;
|
||||
__bt_l = new int[]{1, 1, 1, 1};
|
||||
__bt_e = new int[]{0, 1, 2, 3};
|
||||
}
|
||||
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(I)Z",
|
||||
garbageValue = "-1059414592"
|
||||
)
|
||||
@Export("__e_144")
|
||||
boolean __e_144() {
|
||||
return (1 & this.properties) != 0;
|
||||
}
|
||||
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(B)Z",
|
||||
garbageValue = "0"
|
||||
)
|
||||
@Export("__x_145")
|
||||
boolean __x_145() {
|
||||
return (2 & this.properties) != 0;
|
||||
}
|
||||
|
||||
@ObfuscatedName("d")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(I)Z",
|
||||
garbageValue = "-354931924"
|
||||
)
|
||||
@Export("__d_146")
|
||||
boolean __d_146() {
|
||||
return (4 & this.properties) != 0;
|
||||
}
|
||||
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(I)Z",
|
||||
garbageValue = "-1662622660"
|
||||
)
|
||||
@Export("__a_147")
|
||||
boolean __a_147() {
|
||||
return (8 & this.properties) != 0;
|
||||
}
|
||||
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(B)Z",
|
||||
garbageValue = "-1"
|
||||
)
|
||||
@Export("__z_148")
|
||||
boolean __z_148() {
|
||||
return (536870912 & this.properties) != 0;
|
||||
}
|
||||
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(I)Z",
|
||||
garbageValue = "2033779841"
|
||||
)
|
||||
@Export("__j_149")
|
||||
boolean __j_149() {
|
||||
return (33554432 & this.properties) != 0;
|
||||
}
|
||||
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(II)I",
|
||||
garbageValue = "1569234522"
|
||||
)
|
||||
public static int method1759(int var0) {
|
||||
--var0;
|
||||
var0 |= var0 >>> 1;
|
||||
var0 |= var0 >>> 2;
|
||||
var0 |= var0 >>> 4;
|
||||
var0 |= var0 >>> 8;
|
||||
var0 |= var0 >>> 16;
|
||||
return var0 + 1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user