This commit is contained in:
Lucwousin
2019-12-16 18:40:02 +01:00
parent 471eaeb3e0
commit f6c2b4ac11
338 changed files with 40594 additions and 41546 deletions

View File

@@ -1,92 +1,51 @@
import java.io.IOException;
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("bf")
@ObfuscatedName("bz")
@Implements("InterfaceParent")
public class InterfaceParent extends Node {
@ObfuscatedName("pe")
@ObfuscatedSignature(
signature = "Ljg;"
)
@Export("clanChat")
static ClanChat clanChat;
@ObfuscatedName("k")
@ObfuscatedSignature(
signature = "Llm;"
)
@Export("options_buttons_0Sprite")
static IndexedSprite options_buttons_0Sprite;
@ObfuscatedName("u")
@ObfuscatedName("f")
@ObfuscatedGetter(
intValue = -827675327
intValue = 1533834755
)
@Export("group")
int group;
@ObfuscatedName("f")
@ObfuscatedName("i")
@ObfuscatedGetter(
intValue = -207646309
intValue = 642122867
)
@Export("type")
int type;
@ObfuscatedName("b")
boolean field561;
@ObfuscatedName("y")
boolean field546;
InterfaceParent() {
this.field561 = false;
this.field546 = false;
}
@ObfuscatedName("fr")
@ObfuscatedName("fs")
@ObfuscatedSignature(
signature = "(Liy;IIIB)V",
garbageValue = "-6"
signature = "(I)V",
garbageValue = "472182360"
)
@Export("addSequenceSoundEffect")
static void addSequenceSoundEffect(SequenceDefinition var0, int var1, int var2, int var3) {
if (Client.soundEffectCount < 50 && Client.areaSoundEffectVolume != 0) {
if (var0.soundEffects != null && var1 < var0.soundEffects.length) {
int var4 = var0.soundEffects[var1];
if (var4 != 0) {
int var5 = var4 >> 8;
int var6 = var4 >> 4 & 7;
int var7 = var4 & 15;
Client.soundEffectIds[Client.soundEffectCount] = var5;
Client.queuedSoundEffectLoops[Client.soundEffectCount] = var6;
Client.queuedSoundEffectDelays[Client.soundEffectCount] = 0;
Client.soundEffects[Client.soundEffectCount] = null;
int var8 = (var2 - 64) / 128;
int var9 = (var3 - 64) / 128;
Client.soundLocations[Client.soundEffectCount] = var7 + (var9 << 8) + (var8 << 16);
++Client.soundEffectCount;
}
}
@Export("logOut")
static final void logOut() {
Client.packetWriter.close();
class81.method2063();
class14.scene.clear();
for (int var0 = 0; var0 < 4; ++var0) {
Client.collisionMaps[var0].clear();
}
}
@ObfuscatedName("hn")
@ObfuscatedSignature(
signature = "(ZI)V",
garbageValue = "1179821355"
)
static final void method1197(boolean var0) {
Tiles.playPcmPlayers();
++Client.packetWriter.pendingWrites;
if (Client.packetWriter.pendingWrites >= 50 || var0) {
Client.packetWriter.pendingWrites = 0;
if (!Client.field691 && Client.packetWriter.getSocket() != null) {
PacketBufferNode var1 = ModelData0.getPacketBufferNode(ClientPacket.field2278, Client.packetWriter.isaacCipher);
Client.packetWriter.addNode(var1);
try {
Client.packetWriter.flush();
} catch (IOException var3) {
Client.field691 = true;
}
}
}
System.gc();
BoundaryObject.method3273(2);
Client.currentTrackGroupId = -1;
Client.field767 = false;
WorldMapSectionType.method236();
class195.updateGameState(10);
}
}