83 lines
2.0 KiB
Java
83 lines
2.0 KiB
Java
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("cn")
|
|
@Implements("HealthBarUpdate")
|
|
public class HealthBarUpdate extends Node {
|
|
@ObfuscatedName("o")
|
|
@ObfuscatedGetter(
|
|
intValue = 1515089
|
|
)
|
|
@Export("cycle")
|
|
int cycle;
|
|
@ObfuscatedName("q")
|
|
@ObfuscatedGetter(
|
|
intValue = 58622393
|
|
)
|
|
@Export("health")
|
|
int health;
|
|
@ObfuscatedName("l")
|
|
@ObfuscatedGetter(
|
|
intValue = 609346869
|
|
)
|
|
@Export("health2")
|
|
int health2;
|
|
@ObfuscatedName("k")
|
|
@ObfuscatedGetter(
|
|
intValue = -1802686675
|
|
)
|
|
@Export("cycleOffset")
|
|
int cycleOffset;
|
|
|
|
HealthBarUpdate(int var1, int var2, int var3, int var4) {
|
|
this.cycle = var1; // L: 12
|
|
this.health = var2; // L: 13
|
|
this.health2 = var3; // L: 14
|
|
this.cycleOffset = var4; // L: 15
|
|
} // L: 16
|
|
|
|
@ObfuscatedName("o")
|
|
@ObfuscatedSignature(
|
|
descriptor = "(IIIII)V",
|
|
garbageValue = "-115890137"
|
|
)
|
|
@Export("set")
|
|
void set(int var1, int var2, int var3, int var4) {
|
|
this.cycle = var1; // L: 19
|
|
this.health = var2; // L: 20
|
|
this.health2 = var3; // L: 21
|
|
this.cycleOffset = var4; // L: 22
|
|
} // L: 23
|
|
|
|
@ObfuscatedName("q")
|
|
@ObfuscatedSignature(
|
|
descriptor = "(Ljava/lang/Throwable;Ljava/lang/String;)Lqy;"
|
|
)
|
|
@Export("newRunException")
|
|
public static RunException newRunException(Throwable var0, String var1) {
|
|
RunException var2;
|
|
if (var0 instanceof RunException) { // L: 57
|
|
var2 = (RunException)var0; // L: 58
|
|
var2.message = var2.message + ' ' + var1; // L: 59
|
|
} else {
|
|
var2 = new RunException(var0, var1); // L: 61
|
|
}
|
|
|
|
return var2; // L: 62
|
|
}
|
|
|
|
@ObfuscatedName("p")
|
|
@ObfuscatedSignature(
|
|
descriptor = "(ZZB)I",
|
|
garbageValue = "-11"
|
|
)
|
|
public static int method2181(boolean var0, boolean var1) {
|
|
byte var2 = 0; // L: 170
|
|
int var3 = var2 + NetCache.NetCache_pendingPriorityWritesCount + NetCache.NetCache_pendingPriorityResponsesCount; // L: 171
|
|
return var3; // L: 172
|
|
}
|
|
}
|