project: Rev update
This commit is contained in:
@@ -3,18 +3,24 @@ import net.runelite.mapping.Implements;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("cv")
|
||||
@ObfuscatedName("cd")
|
||||
@Implements("NPC")
|
||||
public final class NPC extends Actor {
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedName("se")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Llw;"
|
||||
signature = "Llj;"
|
||||
)
|
||||
@Export("titleboxSprite")
|
||||
static IndexedSprite titleboxSprite;
|
||||
@ObfuscatedName("a")
|
||||
@Export("platformInfo")
|
||||
static PlatformInfo platformInfo;
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lit;"
|
||||
signature = "Ldk;"
|
||||
)
|
||||
@Export("soundCache")
|
||||
public static SoundCache soundCache;
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lih;"
|
||||
)
|
||||
@Export("definition")
|
||||
NPCDefinition definition;
|
||||
@@ -22,12 +28,12 @@ public final class NPC extends Actor {
|
||||
NPC() {
|
||||
}
|
||||
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(IBI)V",
|
||||
garbageValue = "9999999"
|
||||
garbageValue = "1878117955"
|
||||
)
|
||||
final void method2174(int var1, byte var2) {
|
||||
final void method2058(int var1, byte var2) {
|
||||
int var3 = super.pathX[0];
|
||||
int var4 = super.pathY[0];
|
||||
if (var1 == 0) {
|
||||
@@ -66,7 +72,7 @@ public final class NPC extends Actor {
|
||||
--var4;
|
||||
}
|
||||
|
||||
if (super.sequence != -1 && PlayerType.SequenceDefinition_get(super.sequence).field3513 == 1) {
|
||||
if (super.sequence != -1 && GrandExchangeOfferAgeComparator.SequenceDefinition_get(super.sequence).field3515 == 1) {
|
||||
super.sequence = -1;
|
||||
}
|
||||
|
||||
@@ -85,13 +91,13 @@ public final class NPC extends Actor {
|
||||
super.pathTraversed[0] = var2;
|
||||
}
|
||||
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(IIZB)V",
|
||||
garbageValue = "111"
|
||||
garbageValue = "79"
|
||||
)
|
||||
final void method2178(int var1, int var2, boolean var3) {
|
||||
if (super.sequence != -1 && PlayerType.SequenceDefinition_get(super.sequence).field3513 == 1) {
|
||||
final void method2059(int var1, int var2, boolean var3) {
|
||||
if (super.sequence != -1 && GrandExchangeOfferAgeComparator.SequenceDefinition_get(super.sequence).field3515 == 1) {
|
||||
super.sequence = -1;
|
||||
}
|
||||
|
||||
@@ -117,26 +123,26 @@ public final class NPC extends Actor {
|
||||
}
|
||||
|
||||
super.pathLength = 0;
|
||||
super.field983 = 0;
|
||||
super.field982 = 0;
|
||||
super.field994 = 0;
|
||||
super.field976 = 0;
|
||||
super.pathX[0] = var1;
|
||||
super.pathY[0] = var2;
|
||||
super.x = super.field927 * 64 + super.pathX[0] * 128;
|
||||
super.y = super.field927 * 64 + super.pathY[0] * 128;
|
||||
super.x = super.field938 * 64 + super.pathX[0] * 128;
|
||||
super.y = super.field938 * 64 + super.pathY[0] * 128;
|
||||
}
|
||||
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(B)Ldv;",
|
||||
garbageValue = "-40"
|
||||
signature = "(I)Ldf;",
|
||||
garbageValue = "-174129419"
|
||||
)
|
||||
@Export("getModel")
|
||||
protected final Model getModel() {
|
||||
if (this.definition == null) {
|
||||
return null;
|
||||
} else {
|
||||
SequenceDefinition var1 = super.sequence != -1 && super.sequenceDelay == 0 ? PlayerType.SequenceDefinition_get(super.sequence) : null;
|
||||
SequenceDefinition var2 = super.movementSequence != -1 && (super.readySequence != super.movementSequence || var1 == null) ? PlayerType.SequenceDefinition_get(super.movementSequence) : null;
|
||||
SequenceDefinition var1 = super.sequence != -1 && super.sequenceDelay == 0 ? GrandExchangeOfferAgeComparator.SequenceDefinition_get(super.sequence) : null;
|
||||
SequenceDefinition var2 = super.movementSequence != -1 && (super.readySequence != super.movementSequence || var1 == null) ? GrandExchangeOfferAgeComparator.SequenceDefinition_get(super.movementSequence) : null;
|
||||
Model var3 = this.definition.getModel(var1, super.sequenceFrame, var2, super.movementFrame);
|
||||
if (var3 == null) {
|
||||
return null;
|
||||
@@ -144,9 +150,9 @@ public final class NPC extends Actor {
|
||||
var3.calculateBoundsCylinder();
|
||||
super.defaultHeight = var3.height;
|
||||
if (super.spotAnimation != -1 && super.spotAnimationFrame != -1) {
|
||||
Model var4 = MenuAction.SpotAnimationDefinition_get(super.spotAnimation).getModel(super.spotAnimationFrame);
|
||||
Model var4 = WorldMapRegion.SpotAnimationDefinition_get(super.spotAnimation).getModel(super.spotAnimationFrame);
|
||||
if (var4 != null) {
|
||||
var4.offsetBy(0, -super.field965, 0);
|
||||
var4.offsetBy(0, -super.field996, 0);
|
||||
Model[] var5 = new Model[]{var3, var4};
|
||||
var3 = new Model(var5, 2);
|
||||
}
|
||||
@@ -161,10 +167,10 @@ public final class NPC extends Actor {
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(B)Z",
|
||||
garbageValue = "-25"
|
||||
signature = "(I)Z",
|
||||
garbageValue = "-968027489"
|
||||
)
|
||||
@Export("isVisible")
|
||||
final boolean isVisible() {
|
||||
|
||||
Reference in New Issue
Block a user