34 lines
754 B
Java
34 lines
754 B
Java
import net.runelite.mapping.Export;
|
|
import net.runelite.mapping.Implements;
|
|
import net.runelite.mapping.ObfuscatedName;
|
|
import net.runelite.mapping.ObfuscatedSignature;
|
|
|
|
@ObfuscatedName("ga")
|
|
@Implements("WorldMapSprite")
|
|
public final class WorldMapSprite {
|
|
@ObfuscatedName("l")
|
|
@Export("Tiles_saturation")
|
|
static int[] Tiles_saturation;
|
|
@ObfuscatedName("c")
|
|
@Export("tileColors")
|
|
final int[] tileColors;
|
|
|
|
WorldMapSprite() {
|
|
this.tileColors = new int[4096];
|
|
}
|
|
|
|
WorldMapSprite(int[] var1) {
|
|
this.tileColors = var1;
|
|
}
|
|
|
|
@ObfuscatedName("c")
|
|
@ObfuscatedSignature(
|
|
descriptor = "(III)I",
|
|
garbageValue = "1715930440"
|
|
)
|
|
@Export("getTileColor")
|
|
final int getTileColor(int var1, int var2) {
|
|
return this.tileColors[var2 * 64 + var1];
|
|
}
|
|
}
|