chore: rev 188
This commit is contained in:
@@ -4,103 +4,98 @@ import net.runelite.mapping.ObfuscatedGetter;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("iv")
|
||||
@ObfuscatedName("ip")
|
||||
@Implements("SequenceDefinition")
|
||||
public class SequenceDefinition extends DualNode {
|
||||
@ObfuscatedName("qi")
|
||||
@ObfuscatedName("no")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 364724224
|
||||
intValue = -1648433233
|
||||
)
|
||||
static int field3477;
|
||||
@ObfuscatedName("f")
|
||||
@Export("widgetDragDuration")
|
||||
static int widgetDragDuration;
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lhz;"
|
||||
signature = "Lii;"
|
||||
)
|
||||
@Export("SequenceDefinition_archive")
|
||||
public static AbstractArchive SequenceDefinition_archive;
|
||||
@ObfuscatedName("i")
|
||||
static AbstractArchive SequenceDefinition_archive;
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lhz;"
|
||||
)
|
||||
@Export("SequenceDefinition_animationsArchive")
|
||||
public static AbstractArchive SequenceDefinition_animationsArchive;
|
||||
@ObfuscatedName("y")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lhz;"
|
||||
signature = "Lii;"
|
||||
)
|
||||
@Export("SequenceDefinition_skeletonsArchive")
|
||||
public static AbstractArchive SequenceDefinition_skeletonsArchive;
|
||||
@ObfuscatedName("w")
|
||||
static AbstractArchive SequenceDefinition_skeletonsArchive;
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Leb;"
|
||||
signature = "Leh;"
|
||||
)
|
||||
@Export("SequenceDefinition_cached")
|
||||
static EvictingDualNodeHashTable SequenceDefinition_cached;
|
||||
@ObfuscatedName("p")
|
||||
public static EvictingDualNodeHashTable SequenceDefinition_cached;
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Leb;"
|
||||
signature = "Leh;"
|
||||
)
|
||||
@Export("SequenceDefinition_cachedFrames")
|
||||
static EvictingDualNodeHashTable SequenceDefinition_cachedFrames;
|
||||
@ObfuscatedName("b")
|
||||
public static EvictingDualNodeHashTable SequenceDefinition_cachedFrames;
|
||||
@ObfuscatedName("g")
|
||||
@Export("frameIds")
|
||||
public int[] frameIds;
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedName("d")
|
||||
@Export("chatFrameIds")
|
||||
int[] chatFrameIds;
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedName("l")
|
||||
@Export("frameLengths")
|
||||
public int[] frameLengths;
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedName("j")
|
||||
@Export("soundEffects")
|
||||
public int[] soundEffects;
|
||||
@ObfuscatedName("d")
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 626636947
|
||||
intValue = 767757023
|
||||
)
|
||||
@Export("frameCount")
|
||||
public int frameCount;
|
||||
@ObfuscatedName("c")
|
||||
int[] field3487;
|
||||
@ObfuscatedName("o")
|
||||
public boolean field3488;
|
||||
@ObfuscatedName("p")
|
||||
int[] field3517;
|
||||
@ObfuscatedName("h")
|
||||
public boolean field3518;
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -796386043
|
||||
intValue = 180698695
|
||||
)
|
||||
public int field3492;
|
||||
@ObfuscatedName("k")
|
||||
public int field3508;
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -2083462623
|
||||
intValue = 1537834299
|
||||
)
|
||||
@Export("shield")
|
||||
public int shield;
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -520888257
|
||||
intValue = -698068841
|
||||
)
|
||||
@Export("weapon")
|
||||
public int weapon;
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -569309439
|
||||
intValue = -796705451
|
||||
)
|
||||
public int field3496;
|
||||
@ObfuscatedName("t")
|
||||
public int field3522;
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -877726895
|
||||
intValue = -2012869833
|
||||
)
|
||||
public int field3478;
|
||||
@ObfuscatedName("j")
|
||||
public int field3523;
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -134908293
|
||||
intValue = 1328326195
|
||||
)
|
||||
public int field3493;
|
||||
@ObfuscatedName("n")
|
||||
public int field3524;
|
||||
@ObfuscatedName("z")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1454093345
|
||||
intValue = 738331183
|
||||
)
|
||||
public int field3495;
|
||||
public int field3516;
|
||||
|
||||
static {
|
||||
SequenceDefinition_cached = new EvictingDualNodeHashTable(64);
|
||||
@@ -109,20 +104,20 @@ public class SequenceDefinition extends DualNode {
|
||||
|
||||
SequenceDefinition() {
|
||||
this.frameCount = -1;
|
||||
this.field3488 = false;
|
||||
this.field3492 = 5;
|
||||
this.field3518 = false;
|
||||
this.field3508 = 5;
|
||||
this.shield = -1;
|
||||
this.weapon = -1;
|
||||
this.field3496 = 99;
|
||||
this.field3478 = -1;
|
||||
this.field3493 = -1;
|
||||
this.field3495 = 2;
|
||||
this.field3522 = 99;
|
||||
this.field3523 = -1;
|
||||
this.field3524 = -1;
|
||||
this.field3516 = 2;
|
||||
}
|
||||
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lkq;I)V",
|
||||
garbageValue = "469124776"
|
||||
signature = "(Lkp;B)V",
|
||||
garbageValue = "-76"
|
||||
)
|
||||
@Export("decode")
|
||||
void decode(Buffer var1) {
|
||||
@@ -136,10 +131,10 @@ public class SequenceDefinition extends DualNode {
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("y")
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lkq;II)V",
|
||||
garbageValue = "62604408"
|
||||
signature = "(Lkp;II)V",
|
||||
garbageValue = "-683003303"
|
||||
)
|
||||
@Export("decodeNext")
|
||||
void decodeNext(Buffer var1, int var2) {
|
||||
@@ -166,29 +161,29 @@ public class SequenceDefinition extends DualNode {
|
||||
this.frameCount = var1.readUnsignedShort();
|
||||
} else if (var2 == 3) {
|
||||
var3 = var1.readUnsignedByte();
|
||||
this.field3487 = new int[var3 + 1];
|
||||
this.field3517 = new int[var3 + 1];
|
||||
|
||||
for (var4 = 0; var4 < var3; ++var4) {
|
||||
this.field3487[var4] = var1.readUnsignedByte();
|
||||
this.field3517[var4] = var1.readUnsignedByte();
|
||||
}
|
||||
|
||||
this.field3487[var3] = 9999999;
|
||||
this.field3517[var3] = 9999999;
|
||||
} else if (var2 == 4) {
|
||||
this.field3488 = true;
|
||||
this.field3518 = true;
|
||||
} else if (var2 == 5) {
|
||||
this.field3492 = var1.readUnsignedByte();
|
||||
this.field3508 = var1.readUnsignedByte();
|
||||
} else if (var2 == 6) {
|
||||
this.shield = var1.readUnsignedShort();
|
||||
} else if (var2 == 7) {
|
||||
this.weapon = var1.readUnsignedShort();
|
||||
} else if (var2 == 8) {
|
||||
this.field3496 = var1.readUnsignedByte();
|
||||
this.field3522 = var1.readUnsignedByte();
|
||||
} else if (var2 == 9) {
|
||||
this.field3478 = var1.readUnsignedByte();
|
||||
this.field3523 = var1.readUnsignedByte();
|
||||
} else if (var2 == 10) {
|
||||
this.field3493 = var1.readUnsignedByte();
|
||||
this.field3524 = var1.readUnsignedByte();
|
||||
} else if (var2 == 11) {
|
||||
this.field3495 = var1.readUnsignedByte();
|
||||
this.field3516 = var1.readUnsignedByte();
|
||||
} else if (var2 == 12) {
|
||||
var3 = var1.readUnsignedByte();
|
||||
this.chatFrameIds = new int[var3];
|
||||
@@ -211,40 +206,40 @@ public class SequenceDefinition extends DualNode {
|
||||
|
||||
}
|
||||
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(I)V",
|
||||
garbageValue = "-1097095520"
|
||||
garbageValue = "145169378"
|
||||
)
|
||||
@Export("postDecode")
|
||||
void postDecode() {
|
||||
if (this.field3478 == -1) {
|
||||
if (this.field3487 != null) {
|
||||
this.field3478 = 2;
|
||||
if (this.field3523 == -1) {
|
||||
if (this.field3517 != null) {
|
||||
this.field3523 = 2;
|
||||
} else {
|
||||
this.field3478 = 0;
|
||||
this.field3523 = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if (this.field3493 == -1) {
|
||||
if (this.field3487 != null) {
|
||||
this.field3493 = 2;
|
||||
if (this.field3524 == -1) {
|
||||
if (this.field3517 != null) {
|
||||
this.field3524 = 2;
|
||||
} else {
|
||||
this.field3493 = 0;
|
||||
this.field3524 = 0;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Ldw;II)Ldw;",
|
||||
garbageValue = "903952456"
|
||||
signature = "(Ldx;IB)Ldx;",
|
||||
garbageValue = "4"
|
||||
)
|
||||
@Export("transformActorModel")
|
||||
public Model transformActorModel(Model var1, int var2) {
|
||||
var2 = this.frameIds[var2];
|
||||
Frames var3 = class4.getFrames(var2 >> 16);
|
||||
Frames var3 = EnumDefinition.getFrames(var2 >> 16);
|
||||
var2 &= 65535;
|
||||
if (var3 == null) {
|
||||
return var1.toSharedSequenceModel(true);
|
||||
@@ -255,15 +250,15 @@ public class SequenceDefinition extends DualNode {
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedName("d")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Ldw;III)Ldw;",
|
||||
garbageValue = "-118800541"
|
||||
signature = "(Ldx;III)Ldx;",
|
||||
garbageValue = "2024082639"
|
||||
)
|
||||
@Export("transformObjectModel")
|
||||
Model transformObjectModel(Model var1, int var2, int var3) {
|
||||
var2 = this.frameIds[var2];
|
||||
Frames var4 = class4.getFrames(var2 >> 16);
|
||||
Frames var4 = EnumDefinition.getFrames(var2 >> 16);
|
||||
var2 &= 65535;
|
||||
if (var4 == null) {
|
||||
return var1.toSharedSequenceModel(true);
|
||||
@@ -291,15 +286,15 @@ public class SequenceDefinition extends DualNode {
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Ldw;II)Ldw;",
|
||||
garbageValue = "103025381"
|
||||
signature = "(Ldx;II)Ldx;",
|
||||
garbageValue = "-1856197357"
|
||||
)
|
||||
@Export("transformSpotAnimationModel")
|
||||
Model transformSpotAnimationModel(Model var1, int var2) {
|
||||
var2 = this.frameIds[var2];
|
||||
Frames var3 = class4.getFrames(var2 >> 16);
|
||||
Frames var3 = EnumDefinition.getFrames(var2 >> 16);
|
||||
var2 &= 65535;
|
||||
if (var3 == null) {
|
||||
return var1.toSharedSpotAnimationModel(true);
|
||||
@@ -310,21 +305,21 @@ public class SequenceDefinition extends DualNode {
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedName("j")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Ldw;ILiv;IB)Ldw;",
|
||||
garbageValue = "118"
|
||||
signature = "(Ldx;ILip;IB)Ldx;",
|
||||
garbageValue = "29"
|
||||
)
|
||||
@Export("applyTransformations")
|
||||
public Model applyTransformations(Model var1, int var2, SequenceDefinition var3, int var4) {
|
||||
var2 = this.frameIds[var2];
|
||||
Frames var5 = class4.getFrames(var2 >> 16);
|
||||
Frames var5 = EnumDefinition.getFrames(var2 >> 16);
|
||||
var2 &= 65535;
|
||||
if (var5 == null) {
|
||||
return var3.transformActorModel(var1, var4);
|
||||
} else {
|
||||
var4 = var3.frameIds[var4];
|
||||
Frames var6 = class4.getFrames(var4 >> 16);
|
||||
Frames var6 = EnumDefinition.getFrames(var4 >> 16);
|
||||
var4 &= 65535;
|
||||
Model var7;
|
||||
if (var6 == null) {
|
||||
@@ -333,21 +328,21 @@ public class SequenceDefinition extends DualNode {
|
||||
return var7;
|
||||
} else {
|
||||
var7 = var1.toSharedSequenceModel(!var5.hasAlphaTransform(var2) & !var6.hasAlphaTransform(var4));
|
||||
var7.animate2(var5, var2, var6, var4, this.field3487);
|
||||
var7.animate2(var5, var2, var6, var4, this.field3517);
|
||||
return var7;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedName("m")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Ldw;IB)Ldw;",
|
||||
garbageValue = "58"
|
||||
signature = "(Ldx;II)Ldx;",
|
||||
garbageValue = "221538890"
|
||||
)
|
||||
@Export("transformWidgetModel")
|
||||
public Model transformWidgetModel(Model var1, int var2) {
|
||||
int var3 = this.frameIds[var2];
|
||||
Frames var4 = class4.getFrames(var3 >> 16);
|
||||
Frames var4 = EnumDefinition.getFrames(var3 >> 16);
|
||||
var3 &= 65535;
|
||||
if (var4 == null) {
|
||||
return var1.toSharedSequenceModel(true);
|
||||
@@ -356,7 +351,7 @@ public class SequenceDefinition extends DualNode {
|
||||
int var6 = 0;
|
||||
if (this.chatFrameIds != null && var2 < this.chatFrameIds.length) {
|
||||
var6 = this.chatFrameIds[var2];
|
||||
var5 = class4.getFrames(var6 >> 16);
|
||||
var5 = EnumDefinition.getFrames(var6 >> 16);
|
||||
var6 &= 65535;
|
||||
}
|
||||
|
||||
@@ -373,42 +368,4 @@ public class SequenceDefinition extends DualNode {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("hl")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lbh;B)V",
|
||||
garbageValue = "47"
|
||||
)
|
||||
static final void method4821(PendingSpawn var0) {
|
||||
long var1 = 0L;
|
||||
int var3 = -1;
|
||||
int var4 = 0;
|
||||
int var5 = 0;
|
||||
if (var0.type == 0) {
|
||||
var1 = class14.scene.getBoundaryObjectTag(var0.plane, var0.x, var0.y);
|
||||
}
|
||||
|
||||
if (var0.type == 1) {
|
||||
var1 = class14.scene.getWallDecorationTag(var0.plane, var0.x, var0.y);
|
||||
}
|
||||
|
||||
if (var0.type == 2) {
|
||||
var1 = class14.scene.getGameObjectTag(var0.plane, var0.x, var0.y);
|
||||
}
|
||||
|
||||
if (var0.type == 3) {
|
||||
var1 = class14.scene.getFloorDecorationTag(var0.plane, var0.x, var0.y);
|
||||
}
|
||||
|
||||
if (var1 != 0L) {
|
||||
int var6 = class14.scene.getObjectFlags(var0.plane, var0.x, var0.y, var1);
|
||||
var3 = class2.Entity_unpackID(var1);
|
||||
var4 = var6 & 31;
|
||||
var5 = var6 >> 6 & 3;
|
||||
}
|
||||
|
||||
var0.objectId = var3;
|
||||
var0.field912 = var4;
|
||||
var0.field911 = var5;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user