rs-client: remove Export annotations
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import net.runelite.mapping.Export;
|
||||
import net.runelite.mapping.Implements;
|
||||
import net.runelite.mapping.ObfuscatedGetter;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
@@ -11,37 +10,31 @@ public class WorldMapSection2 implements WorldMapSection {
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1201238509
|
||||
)
|
||||
@Export("minPlane")
|
||||
int minPlane;
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1333374059
|
||||
)
|
||||
@Export("planes")
|
||||
int planes;
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1475797575
|
||||
)
|
||||
@Export("regionStartX")
|
||||
int regionStartX;
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 905621997
|
||||
)
|
||||
@Export("regionStartY")
|
||||
int regionStartY;
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1367224805
|
||||
)
|
||||
@Export("regionEndX")
|
||||
int regionEndX;
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -359238835
|
||||
)
|
||||
@Export("regionEndY")
|
||||
int regionEndY;
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedGetter(
|
||||
@@ -72,7 +65,6 @@ public class WorldMapSection2 implements WorldMapSection {
|
||||
descriptor = "(Lar;B)V",
|
||||
garbageValue = "100"
|
||||
)
|
||||
@Export("expandBounds")
|
||||
public void expandBounds(WorldMapArea var1) {
|
||||
if (var1.regionLowX > this.field224) { // L: 21
|
||||
var1.regionLowX = this.field224;
|
||||
@@ -97,7 +89,6 @@ public class WorldMapSection2 implements WorldMapSection {
|
||||
descriptor = "(IIII)Z",
|
||||
garbageValue = "-339896458"
|
||||
)
|
||||
@Export("containsCoord")
|
||||
public boolean containsCoord(int var1, int var2, int var3) {
|
||||
if (var1 >= this.minPlane && var1 < this.planes + this.minPlane) { // L: 28
|
||||
return var2 >> 6 >= this.regionStartX && var2 >> 6 <= this.regionEndX && var3 >> 6 >= this.regionStartY && var3 >> 6 <= this.regionEndY; // L: 31
|
||||
@@ -111,7 +102,6 @@ public class WorldMapSection2 implements WorldMapSection {
|
||||
descriptor = "(III)Z",
|
||||
garbageValue = "-2135820245"
|
||||
)
|
||||
@Export("containsPosition")
|
||||
public boolean containsPosition(int var1, int var2) {
|
||||
return var1 >> 6 >= this.field224 && var1 >> 6 <= this.field228 && var2 >> 6 >= this.field223 && var2 >> 6 <= this.field225; // L: 35
|
||||
}
|
||||
@@ -121,7 +111,6 @@ public class WorldMapSection2 implements WorldMapSection {
|
||||
descriptor = "(IIII)[I",
|
||||
garbageValue = "-1761492451"
|
||||
)
|
||||
@Export("getBorderTileLengths")
|
||||
public int[] getBorderTileLengths(int var1, int var2, int var3) {
|
||||
if (!this.containsCoord(var1, var2, var3)) { // L: 39
|
||||
return null;
|
||||
@@ -136,7 +125,6 @@ public class WorldMapSection2 implements WorldMapSection {
|
||||
descriptor = "(III)Lhg;",
|
||||
garbageValue = "-1553504587"
|
||||
)
|
||||
@Export("coord")
|
||||
public Coord coord(int var1, int var2) {
|
||||
if (!this.containsPosition(var1, var2)) { // L: 49
|
||||
return null; // L: 50
|
||||
@@ -152,7 +140,6 @@ public class WorldMapSection2 implements WorldMapSection {
|
||||
descriptor = "(Lkf;I)V",
|
||||
garbageValue = "2144381737"
|
||||
)
|
||||
@Export("read")
|
||||
public void read(Buffer var1) {
|
||||
this.minPlane = var1.readUnsignedByte(); // L: 58
|
||||
this.planes = var1.readUnsignedByte(); // L: 59
|
||||
@@ -172,7 +159,6 @@ public class WorldMapSection2 implements WorldMapSection {
|
||||
descriptor = "(I)V",
|
||||
garbageValue = "240000675"
|
||||
)
|
||||
@Export("postRead")
|
||||
void postRead() {
|
||||
} // L: 71
|
||||
|
||||
@@ -181,7 +167,6 @@ public class WorldMapSection2 implements WorldMapSection {
|
||||
descriptor = "(IB)Lbk;",
|
||||
garbageValue = "1"
|
||||
)
|
||||
@Export("Messages_getMessage")
|
||||
static Message Messages_getMessage(int var0) {
|
||||
return (Message)Messages.Messages_hashTable.get((long)var0); // L: 40
|
||||
}
|
||||
@@ -191,7 +176,6 @@ public class WorldMapSection2 implements WorldMapSection {
|
||||
descriptor = "(Ljava/lang/String;I)V",
|
||||
garbageValue = "835345001"
|
||||
)
|
||||
@Export("doCheat")
|
||||
static final void doCheat(String var0) {
|
||||
if (var0.equalsIgnoreCase("toggleroof")) { // L: 3424
|
||||
Tile.clientPreferences.roofsHidden = !Tile.clientPreferences.roofsHidden; // L: 3425
|
||||
|
||||
Reference in New Issue
Block a user