chore: rev 188
This commit is contained in:
@@ -4,96 +4,89 @@ import net.runelite.mapping.ObfuscatedGetter;
|
||||
import net.runelite.mapping.ObfuscatedName;
|
||||
import net.runelite.mapping.ObfuscatedSignature;
|
||||
|
||||
@ObfuscatedName("il")
|
||||
@ObfuscatedName("iu")
|
||||
@Implements("SpotAnimationDefinition")
|
||||
public class SpotAnimationDefinition extends DualNode {
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lhz;"
|
||||
signature = "Lii;"
|
||||
)
|
||||
@Export("SpotAnimationDefinition_archive")
|
||||
static AbstractArchive SpotAnimationDefinition_archive;
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Lhz;"
|
||||
public static AbstractArchive SpotAnimationDefinition_archive;
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedGetter(
|
||||
longValue = 3022449387448969611L
|
||||
)
|
||||
@Export("SpotAnimationDefinition_modelArchive")
|
||||
static AbstractArchive SpotAnimationDefinition_modelArchive;
|
||||
@ObfuscatedName("y")
|
||||
static long field3250;
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Leb;"
|
||||
signature = "Leh;"
|
||||
)
|
||||
@Export("SpotAnimationDefinition_cached")
|
||||
static EvictingDualNodeHashTable SpotAnimationDefinition_cached;
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedSignature(
|
||||
signature = "Leb;"
|
||||
signature = "Leh;"
|
||||
)
|
||||
@Export("SpotAnimationDefinition_cachedModels")
|
||||
static EvictingDualNodeHashTable SpotAnimationDefinition_cachedModels;
|
||||
@ObfuscatedName("bm")
|
||||
@ObfuscatedSignature(
|
||||
signature = "[Lli;"
|
||||
)
|
||||
@Export("worldSelectStars")
|
||||
static IndexedSprite[] worldSelectStars;
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -759874899
|
||||
intValue = -156986683
|
||||
)
|
||||
@Export("id")
|
||||
int id;
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1353140191
|
||||
intValue = 1502425333
|
||||
)
|
||||
@Export("archive")
|
||||
int archive;
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedName("d")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -2008719419
|
||||
intValue = -1520405285
|
||||
)
|
||||
@Export("sequence")
|
||||
public int sequence;
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedName("l")
|
||||
@Export("recolorFrom")
|
||||
short[] recolorFrom;
|
||||
@ObfuscatedName("a")
|
||||
@ObfuscatedName("j")
|
||||
@Export("recolorTo")
|
||||
short[] recolorTo;
|
||||
@ObfuscatedName("d")
|
||||
@ObfuscatedName("m")
|
||||
@Export("retextureFrom")
|
||||
short[] retextureFrom;
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedName("p")
|
||||
@Export("retextureTo")
|
||||
short[] retextureTo;
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1607590033
|
||||
intValue = -1086459563
|
||||
)
|
||||
@Export("widthScale")
|
||||
int widthScale;
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1512970325
|
||||
intValue = 499917181
|
||||
)
|
||||
@Export("heightScale")
|
||||
int heightScale;
|
||||
@ObfuscatedName("k")
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1290166203
|
||||
intValue = 137606467
|
||||
)
|
||||
@Export("orientation")
|
||||
int orientation;
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedName("x")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1081769017
|
||||
intValue = -1988422047
|
||||
)
|
||||
@Export("ambient")
|
||||
int ambient;
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1724072869
|
||||
intValue = 31690663
|
||||
)
|
||||
@Export("contrast")
|
||||
int contrast;
|
||||
@@ -112,10 +105,10 @@ public class SpotAnimationDefinition extends DualNode {
|
||||
this.contrast = 0;
|
||||
}
|
||||
|
||||
@ObfuscatedName("y")
|
||||
@ObfuscatedName("t")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lkq;I)V",
|
||||
garbageValue = "-580385210"
|
||||
signature = "(Lkp;B)V",
|
||||
garbageValue = "-90"
|
||||
)
|
||||
@Export("decode")
|
||||
void decode(Buffer var1) {
|
||||
@@ -129,10 +122,10 @@ public class SpotAnimationDefinition extends DualNode {
|
||||
}
|
||||
}
|
||||
|
||||
@ObfuscatedName("w")
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(Lkq;IB)V",
|
||||
garbageValue = "1"
|
||||
signature = "(Lkp;IB)V",
|
||||
garbageValue = "0"
|
||||
)
|
||||
@Export("decodeNext")
|
||||
void decodeNext(Buffer var1, int var2) {
|
||||
@@ -176,16 +169,16 @@ public class SpotAnimationDefinition extends DualNode {
|
||||
|
||||
}
|
||||
|
||||
@ObfuscatedName("p")
|
||||
@ObfuscatedName("e")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(II)Ldw;",
|
||||
garbageValue = "-858962749"
|
||||
signature = "(II)Ldx;",
|
||||
garbageValue = "-1614989668"
|
||||
)
|
||||
@Export("getModel")
|
||||
public final Model getModel(int var1) {
|
||||
Model var2 = (Model)SpotAnimationDefinition_cachedModels.get((long)this.id);
|
||||
if (var2 == null) {
|
||||
ModelData var3 = ModelData.ModelData_get(SpotAnimationDefinition_modelArchive, this.archive, 0);
|
||||
ModelData var3 = ModelData.ModelData_get(ArchiveDiskActionHandler.SpotAnimationDefinition_modelArchive, this.archive, 0);
|
||||
if (var3 == null) {
|
||||
return null;
|
||||
}
|
||||
@@ -209,7 +202,7 @@ public class SpotAnimationDefinition extends DualNode {
|
||||
|
||||
Model var5;
|
||||
if (this.sequence != -1 && var1 != -1) {
|
||||
var5 = WorldMapSection0.SequenceDefinition_get(this.sequence).transformSpotAnimationModel(var2, var1);
|
||||
var5 = GraphicsDefaults.SequenceDefinition_get(this.sequence).transformSpotAnimationModel(var2, var1);
|
||||
} else {
|
||||
var5 = var2.toSharedSpotAnimationModel(true);
|
||||
}
|
||||
@@ -237,4 +230,26 @@ public class SpotAnimationDefinition extends DualNode {
|
||||
|
||||
return var5;
|
||||
}
|
||||
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
signature = "(II)Lid;",
|
||||
garbageValue = "-1522050004"
|
||||
)
|
||||
@Export("getInvDefinition")
|
||||
public static InvDefinition getInvDefinition(int var0) {
|
||||
InvDefinition var1 = (InvDefinition)InvDefinition.InvDefinition_cached.get((long)var0);
|
||||
if (var1 != null) {
|
||||
return var1;
|
||||
} else {
|
||||
byte[] var2 = InvDefinition.InvDefinition_archive.takeFile(5, var0);
|
||||
var1 = new InvDefinition();
|
||||
if (var2 != null) {
|
||||
var1.decode(new Buffer(var2));
|
||||
}
|
||||
|
||||
InvDefinition.InvDefinition_cached.put(var1, (long)var0);
|
||||
return var1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user