project: rev 199
This commit is contained in:
@@ -4,90 +4,96 @@ import net.runelite.mapping.ObfuscatedGetter;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("fu")
|
||||
@ObfuscatedName("gj")
|
||||
@Implements("WorldMapSection0")
|
||||
public class WorldMapSection0 implements WorldMapSection {
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedName("et")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lkx;"
|
||||
)
|
||||
@Export("archive15")
|
||||
static Archive archive15;
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1947644497
|
||||
intValue = -1799367031
|
||||
)
|
||||
@Export("oldZ")
|
||||
int oldZ;
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -724242769
|
||||
intValue = -432598283
|
||||
)
|
||||
@Export("newZ")
|
||||
int newZ;
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1400111239
|
||||
intValue = 410888893
|
||||
)
|
||||
@Export("oldX")
|
||||
int oldX;
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1382865909
|
||||
intValue = 1719467777
|
||||
)
|
||||
@Export("oldY")
|
||||
int oldY;
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -119640959
|
||||
intValue = 1368077497
|
||||
)
|
||||
@Export("newX")
|
||||
int newX;
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1117734401
|
||||
intValue = -959034875
|
||||
)
|
||||
@Export("newY")
|
||||
int newY;
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1105910093
|
||||
intValue = 1444756223
|
||||
)
|
||||
@Export("oldChunkXLow")
|
||||
int oldChunkXLow;
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 36977951
|
||||
intValue = 1782399699
|
||||
)
|
||||
@Export("oldChunkYLow")
|
||||
int oldChunkYLow;
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 2062636297
|
||||
intValue = -1201601721
|
||||
)
|
||||
@Export("oldChunkXHigh")
|
||||
int oldChunkXHigh;
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -274522163
|
||||
intValue = -673400873
|
||||
)
|
||||
@Export("oldChunkYHigh")
|
||||
int oldChunkYHigh;
|
||||
@ObfuscatedName("r")
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1864837189
|
||||
intValue = -1855912777
|
||||
)
|
||||
@Export("newChunkXLow")
|
||||
int newChunkXLow;
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedName("y")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1783869469
|
||||
intValue = -610519609
|
||||
)
|
||||
@Export("newChunkYLow")
|
||||
int newChunkYLow;
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1537573725
|
||||
intValue = 113779895
|
||||
)
|
||||
@Export("newChunkXHigh")
|
||||
int newChunkXHigh;
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1637940697
|
||||
intValue = 1187194763
|
||||
)
|
||||
@Export("newChunkYHigh")
|
||||
int newChunkYHigh;
|
||||
@@ -95,10 +101,10 @@ public class WorldMapSection0 implements WorldMapSection {
|
||||
WorldMapSection0() {
|
||||
}
|
||||
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lfa;I)V",
|
||||
garbageValue = "206142404"
|
||||
descriptor = "(Lfr;I)V",
|
||||
garbageValue = "1411488256"
|
||||
)
|
||||
@Export("expandBounds")
|
||||
public void expandBounds(WorldMapArea var1) {
|
||||
@@ -120,34 +126,34 @@ public class WorldMapSection0 implements WorldMapSection {
|
||||
|
||||
}
|
||||
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(IIIB)Z",
|
||||
garbageValue = "1"
|
||||
descriptor = "(IIII)Z",
|
||||
garbageValue = "899981978"
|
||||
)
|
||||
@Export("containsCoord")
|
||||
public boolean containsCoord(int var1, int var2, int var3) {
|
||||
if (var1 >= this.oldZ && var1 < this.oldZ + this.newZ) {
|
||||
if (var1 >= this.oldZ && var1 < this.newZ + this.oldZ) {
|
||||
return var2 >= (this.oldX << 6) + (this.oldChunkXLow << 3) && var2 <= (this.oldX << 6) + (this.oldChunkXHigh << 3) + 7 && var3 >= (this.oldY << 6) + (this.oldChunkYLow << 3) && var3 <= (this.oldY << 6) + (this.oldChunkYHigh << 3) + 7;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(III)Z",
|
||||
garbageValue = "2136306285"
|
||||
garbageValue = "-1579388425"
|
||||
)
|
||||
@Export("containsPosition")
|
||||
public boolean containsPosition(int var1, int var2) {
|
||||
return var1 >= (this.newX << 6) + (this.newChunkXLow << 3) && var1 <= (this.newX << 6) + (this.newChunkXHigh << 3) + 7 && var2 >= (this.newY << 6) + (this.newChunkYLow << 3) && var2 <= (this.newY << 6) + (this.newChunkYHigh << 3) + 7;
|
||||
}
|
||||
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(IIII)[I",
|
||||
garbageValue = "634207470"
|
||||
garbageValue = "-1605422008"
|
||||
)
|
||||
@Export("getBorderTileLengths")
|
||||
public int[] getBorderTileLengths(int var1, int var2, int var3) {
|
||||
@@ -159,10 +165,10 @@ public class WorldMapSection0 implements WorldMapSection {
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(IIB)Lij;",
|
||||
garbageValue = "43"
|
||||
descriptor = "(III)Liy;",
|
||||
garbageValue = "1389329989"
|
||||
)
|
||||
@Export("coord")
|
||||
public Coord coord(int var1, int var2) {
|
||||
@@ -175,10 +181,10 @@ public class WorldMapSection0 implements WorldMapSection {
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lnv;I)V",
|
||||
garbageValue = "342058266"
|
||||
descriptor = "(Lot;I)V",
|
||||
garbageValue = "-2069607106"
|
||||
)
|
||||
@Export("read")
|
||||
public void read(Buffer var1) {
|
||||
@@ -199,73 +205,12 @@ public class WorldMapSection0 implements WorldMapSection {
|
||||
this.postRead();
|
||||
}
|
||||
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)V",
|
||||
garbageValue = "-455189067"
|
||||
garbageValue = "1519540004"
|
||||
)
|
||||
@Export("postRead")
|
||||
void postRead() {
|
||||
}
|
||||
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(II)I",
|
||||
garbageValue = "1412481082"
|
||||
)
|
||||
@Export("getVarbit")
|
||||
public static int getVarbit(int var0) {
|
||||
VarbitComposition var2 = (VarbitComposition)VarbitComposition.VarbitDefinition_cached.get((long)var0);
|
||||
VarbitComposition var1;
|
||||
if (var2 != null) {
|
||||
var1 = var2;
|
||||
} else {
|
||||
byte[] var3 = VarbitComposition.VarbitDefinition_archive.takeFile(14, var0);
|
||||
var2 = new VarbitComposition();
|
||||
if (var3 != null) {
|
||||
var2.decode(new Buffer(var3));
|
||||
}
|
||||
|
||||
VarbitComposition.VarbitDefinition_cached.put(var2, (long)var0);
|
||||
var1 = var2;
|
||||
}
|
||||
|
||||
int var7 = var1.baseVar;
|
||||
int var4 = var1.startBit;
|
||||
int var5 = var1.endBit;
|
||||
int var6 = Varps.Varps_masks[var5 - var4];
|
||||
return Varps.Varps_main[var7] >> var4 & var6;
|
||||
}
|
||||
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(II)Lni;",
|
||||
garbageValue = "2108121521"
|
||||
)
|
||||
public static class376 method3597(int var0) {
|
||||
int var1 = class374.field4154[var0];
|
||||
if (var1 == 1) {
|
||||
return class376.field4163;
|
||||
} else if (var1 == 2) {
|
||||
return class376.field4164;
|
||||
} else {
|
||||
return var1 == 3 ? class376.field4159 : null;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("fx")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(I)V",
|
||||
garbageValue = "-1217280037"
|
||||
)
|
||||
static final void method3580() {
|
||||
if (Client.logoutTimer > 0) {
|
||||
class144.logOut();
|
||||
} else {
|
||||
Client.timer.method5658();
|
||||
class16.updateGameState(40);
|
||||
Client.field644 = Client.packetWriter.getSocket();
|
||||
Client.packetWriter.removeSocket();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user