project: Revvvvvvvvvvvvv
This commit is contained in:
@@ -1,68 +1,36 @@
|
||||
import java.awt.Desktop;
|
||||
import java.awt.Desktop.Action;
|
||||
import java.net.URI;
|
||||
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("hq")
|
||||
@ObfuscatedName("hl")
|
||||
@Implements("WorldMapSprite")
|
||||
public final class WorldMapSprite {
|
||||
@ObfuscatedName("ut")
|
||||
@ObfuscatedGetter(
|
||||
longValue = 3393919401906433013L
|
||||
@ObfuscatedName("lx")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lcw;"
|
||||
)
|
||||
static long field2727;
|
||||
@ObfuscatedName("b")
|
||||
@Export("localPlayer")
|
||||
static Player localPlayer;
|
||||
@ObfuscatedName("l")
|
||||
@Export("tileColors")
|
||||
final int[] tileColors;
|
||||
|
||||
WorldMapSprite() {
|
||||
this.tileColors = new int[4096];
|
||||
}
|
||||
this.tileColors = new int[4096]; // L: 11
|
||||
} // L: 12
|
||||
|
||||
WorldMapSprite(int[] var1) {
|
||||
this.tileColors = var1;
|
||||
}
|
||||
this.tileColors = var1; // L: 15
|
||||
} // L: 16
|
||||
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(III)I",
|
||||
garbageValue = "-1161754740"
|
||||
garbageValue = "725600811"
|
||||
)
|
||||
@Export("getTileColor")
|
||||
final int getTileColor(int var1, int var2) {
|
||||
return this.tileColors[var1 + var2 * 64];
|
||||
}
|
||||
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Ljava/lang/String;ZZI)V",
|
||||
garbageValue = "230861091"
|
||||
)
|
||||
@Export("openURL")
|
||||
public static void openURL(String var0, boolean var1, boolean var2) {
|
||||
if (var1) {
|
||||
if (Desktop.isDesktopSupported() && Desktop.getDesktop().isSupported(Action.BROWSE)) {
|
||||
try {
|
||||
Desktop.getDesktop().browse(new URI(var0));
|
||||
return;
|
||||
} catch (Exception var4) {
|
||||
}
|
||||
}
|
||||
|
||||
if (class29.field177.startsWith("win")) {
|
||||
NPC.method2314(var0, 0, "openjs");
|
||||
} else if (class29.field177.startsWith("mac")) {
|
||||
NPC.method2314(var0, 1, "openjs");
|
||||
} else {
|
||||
NPC.method2314(var0, 2, "openjs");
|
||||
}
|
||||
} else {
|
||||
NPC.method2314(var0, 3, "openjs");
|
||||
}
|
||||
|
||||
return this.tileColors[var1 + var2 * 64]; // L: 19
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user