project: Revvvvvvvvvvvvv
This commit is contained in:
@@ -3,94 +3,86 @@ import net.runelite.mapping.Implements;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("hn")
|
||||
@ObfuscatedName("hu")
|
||||
@Implements("WorldMapData_0")
|
||||
public class WorldMapData_0 extends AbstractWorldMapData {
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lkq;"
|
||||
)
|
||||
@Export("SequenceDefinition_animationsArchive")
|
||||
static AbstractArchive SequenceDefinition_animationsArchive;
|
||||
@ObfuscatedName("hn")
|
||||
@Export("regionLandArchiveIds")
|
||||
static int[] regionLandArchiveIds;
|
||||
|
||||
WorldMapData_0() {
|
||||
}
|
||||
} // L: 6
|
||||
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lpi;B)V",
|
||||
garbageValue = "-64"
|
||||
descriptor = "(Lpi;S)V",
|
||||
garbageValue = "-11619"
|
||||
)
|
||||
@Export("init")
|
||||
void init(Buffer var1) {
|
||||
int var2 = var1.readUnsignedByte();
|
||||
if (var2 != WorldMapID.field2739.value) {
|
||||
throw new IllegalStateException("");
|
||||
int var2 = var1.readUnsignedByte(); // L: 9
|
||||
if (var2 != WorldMapID.field2773.value) { // L: 10
|
||||
throw new IllegalStateException(""); // L: 11
|
||||
} else {
|
||||
super.minPlane = var1.readUnsignedByte();
|
||||
super.planes = var1.readUnsignedByte();
|
||||
super.regionXLow = var1.readUnsignedShort();
|
||||
super.regionYLow = var1.readUnsignedShort();
|
||||
super.regionX = var1.readUnsignedShort();
|
||||
super.regionY = var1.readUnsignedShort();
|
||||
super.groupId = var1.method7400();
|
||||
super.fileId = var1.method7400();
|
||||
super.minPlane = var1.readUnsignedByte(); // L: 13
|
||||
super.planes = var1.readUnsignedByte(); // L: 14
|
||||
super.regionXLow = var1.readUnsignedShort(); // L: 15
|
||||
super.regionYLow = var1.readUnsignedShort(); // L: 16
|
||||
super.regionX = var1.readUnsignedShort(); // L: 17
|
||||
super.regionY = var1.readUnsignedShort(); // L: 18
|
||||
super.groupId = var1.method7352(); // L: 19
|
||||
super.fileId = var1.method7352(); // L: 20
|
||||
}
|
||||
}
|
||||
} // L: 21
|
||||
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lpi;B)V",
|
||||
garbageValue = "28"
|
||||
garbageValue = "-12"
|
||||
)
|
||||
@Export("readGeography")
|
||||
void readGeography(Buffer var1) {
|
||||
super.planes = Math.min(super.planes, 4);
|
||||
super.floorUnderlayIds = new short[1][64][64];
|
||||
super.floorOverlayIds = new short[super.planes][64][64];
|
||||
super.field2699 = new byte[super.planes][64][64];
|
||||
super.field2706 = new byte[super.planes][64][64];
|
||||
super.decorations = new WorldMapDecoration[super.planes][64][64][];
|
||||
int var2 = var1.readUnsignedByte();
|
||||
if (var2 != class231.field2736.value) {
|
||||
throw new IllegalStateException("");
|
||||
super.planes = Math.min(super.planes, 4); // L: 25
|
||||
super.floorUnderlayIds = new short[1][64][64]; // L: 26
|
||||
super.floorOverlayIds = new short[super.planes][64][64]; // L: 27
|
||||
super.field2736 = new byte[super.planes][64][64]; // L: 28
|
||||
super.field2731 = new byte[super.planes][64][64]; // L: 29
|
||||
super.decorations = new WorldMapDecoration[super.planes][64][64][]; // L: 30
|
||||
int var2 = var1.readUnsignedByte(); // L: 31
|
||||
if (var2 != class231.field2764.value) { // L: 32
|
||||
throw new IllegalStateException(""); // L: 33
|
||||
} else {
|
||||
int var3 = var1.readUnsignedByte();
|
||||
int var4 = var1.readUnsignedByte();
|
||||
if (var3 == super.regionX && var4 == super.regionY) {
|
||||
for (int var5 = 0; var5 < 64; ++var5) {
|
||||
for (int var6 = 0; var6 < 64; ++var6) {
|
||||
this.readTile(var5, var6, var1);
|
||||
int var3 = var1.readUnsignedByte(); // L: 35
|
||||
int var4 = var1.readUnsignedByte(); // L: 36
|
||||
if (var3 == super.regionX && var4 == super.regionY) { // L: 37
|
||||
for (int var5 = 0; var5 < 64; ++var5) { // L: 40
|
||||
for (int var6 = 0; var6 < 64; ++var6) { // L: 41
|
||||
this.readTile(var5, var6, var1); // L: 42
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
throw new IllegalStateException("");
|
||||
throw new IllegalStateException(""); // L: 38
|
||||
}
|
||||
}
|
||||
} // L: 45
|
||||
|
||||
public boolean equals(Object var1) {
|
||||
if (!(var1 instanceof WorldMapData_0)) { // L: 49
|
||||
return false; // L: 50
|
||||
} else {
|
||||
WorldMapData_0 var2 = (WorldMapData_0)var1; // L: 52
|
||||
return super.regionX == var2.regionX && var2.regionY == super.regionY; // L: 53
|
||||
}
|
||||
}
|
||||
|
||||
public int hashCode() {
|
||||
return super.regionX | super.regionY << 8;
|
||||
}
|
||||
|
||||
public boolean equals(Object var1) {
|
||||
if (!(var1 instanceof WorldMapData_0)) {
|
||||
return false;
|
||||
} else {
|
||||
WorldMapData_0 var2 = (WorldMapData_0)var1;
|
||||
return var2.regionX == super.regionX && super.regionY == var2.regionY;
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(II)Lpc;",
|
||||
garbageValue = "-1557280299"
|
||||
)
|
||||
public static PrivateChatMode method4353(int var0) {
|
||||
PrivateChatMode[] var1 = FloorUnderlayDefinition.method3381();
|
||||
|
||||
for (int var2 = 0; var2 < var1.length; ++var2) {
|
||||
PrivateChatMode var3 = var1[var2];
|
||||
if (var0 == var3.field4597) {
|
||||
return var3;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
return super.regionX | super.regionY << 8; // L: 58
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user