57 lines
1.6 KiB
Java
57 lines
1.6 KiB
Java
import java.util.Hashtable;
|
|
import net.runelite.mapping.Export;
|
|
import net.runelite.mapping.Implements;
|
|
import net.runelite.mapping.ObfuscatedName;
|
|
import net.runelite.mapping.ObfuscatedSignature;
|
|
|
|
@ObfuscatedName("ew")
|
|
@Implements("FileSystem")
|
|
public class FileSystem {
|
|
@ObfuscatedName("c")
|
|
@Export("FileSystem_hasPermissions")
|
|
static boolean FileSystem_hasPermissions;
|
|
@ObfuscatedName("p")
|
|
@Export("FileSystem_cacheFiles")
|
|
static Hashtable FileSystem_cacheFiles;
|
|
@ObfuscatedName("x")
|
|
@ObfuscatedSignature(
|
|
descriptor = "Lim;"
|
|
)
|
|
@Export("worldMapEvent")
|
|
static WorldMapEvent worldMapEvent;
|
|
|
|
static {
|
|
FileSystem_hasPermissions = false;
|
|
FileSystem_cacheFiles = new Hashtable(16);
|
|
}
|
|
|
|
@ObfuscatedName("ix")
|
|
@ObfuscatedSignature(
|
|
descriptor = "(I)V",
|
|
garbageValue = "497428397"
|
|
)
|
|
@Export("decrementMenuEntries")
|
|
static void decrementMenuEntries() {
|
|
for (int var0 = 0; var0 < Client.menuOptionsCount; ++var0) {
|
|
if (InvDefinition.method3157(Client.menuOpcodes[var0])) {
|
|
if (var0 < Client.menuOptionsCount - 1) {
|
|
for (int var1 = var0; var1 < Client.menuOptionsCount - 1; ++var1) {
|
|
Client.menuActions[var1] = Client.menuActions[var1 + 1];
|
|
Client.menuTargets[var1] = Client.menuTargets[var1 + 1];
|
|
Client.menuOpcodes[var1] = Client.menuOpcodes[var1 + 1];
|
|
Client.menuIdentifiers[var1] = Client.menuIdentifiers[var1 + 1];
|
|
Client.menuArguments1[var1] = Client.menuArguments1[var1 + 1];
|
|
Client.menuArguments2[var1] = Client.menuArguments2[var1 + 1];
|
|
Client.menuShiftClick[var1] = Client.menuShiftClick[var1 + 1];
|
|
}
|
|
}
|
|
|
|
--var0;
|
|
--Client.menuOptionsCount;
|
|
}
|
|
}
|
|
|
|
Clock.method3144();
|
|
}
|
|
}
|