project: hello again rev206
This commit is contained in:
@@ -1,74 +1,73 @@
|
||||
import java.util.Date;
|
||||
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("by")
|
||||
@ObfuscatedName("bn")
|
||||
@Implements("GraphicsObject")
|
||||
public class GraphicsObject extends Renderable {
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1439234169
|
||||
intValue = 633552685
|
||||
)
|
||||
@Export("id")
|
||||
int id;
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1478236205
|
||||
intValue = -1513105003
|
||||
)
|
||||
@Export("cycleStart")
|
||||
int cycleStart;
|
||||
@ObfuscatedName("h")
|
||||
@ObfuscatedName("i")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -242268233
|
||||
intValue = -809996185
|
||||
)
|
||||
@Export("plane")
|
||||
int plane;
|
||||
@ObfuscatedName("g")
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 857822113
|
||||
intValue = 1383105845
|
||||
)
|
||||
@Export("x")
|
||||
int x;
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedName("b")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 998647145
|
||||
intValue = -2057789727
|
||||
)
|
||||
@Export("y")
|
||||
int y;
|
||||
@ObfuscatedName("n")
|
||||
@ObfuscatedGetter(
|
||||
intValue = 1200688575
|
||||
intValue = -1487431233
|
||||
)
|
||||
@Export("z")
|
||||
int z;
|
||||
@ObfuscatedName("d")
|
||||
@ObfuscatedName("s")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "Lgg;"
|
||||
descriptor = "Lgw;"
|
||||
)
|
||||
@Export("sequenceDefinition")
|
||||
SequenceDefinition sequenceDefinition;
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedName("l")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -250349479
|
||||
intValue = 1421112585
|
||||
)
|
||||
@Export("frame")
|
||||
int frame;
|
||||
@ObfuscatedName("u")
|
||||
@ObfuscatedName("q")
|
||||
@ObfuscatedGetter(
|
||||
intValue = -1301659841
|
||||
intValue = -1965539669
|
||||
)
|
||||
@Export("frameCycle")
|
||||
int frameCycle;
|
||||
@ObfuscatedName("r")
|
||||
@ObfuscatedName("o")
|
||||
@Export("isFinished")
|
||||
boolean isFinished;
|
||||
|
||||
GraphicsObject(int var1, int var2, int var3, int var4, int var5, int var6, int var7) {
|
||||
this.frame = 0; // L: 16
|
||||
this.frameCycle = 0;
|
||||
this.frameCycle = 0; // L: 17
|
||||
this.isFinished = false; // L: 18
|
||||
this.id = var1; // L: 21
|
||||
this.plane = var2; // L: 22
|
||||
@@ -76,10 +75,10 @@ public class GraphicsObject extends Renderable {
|
||||
this.y = var4; // L: 24
|
||||
this.z = var5; // L: 25
|
||||
this.cycleStart = var7 + var6; // L: 26
|
||||
int var8 = class6.SpotAnimationDefinition_get(this.id).sequence; // L: 27
|
||||
int var8 = ClientPreferences.SpotAnimationDefinition_get(this.id).sequence; // L: 27
|
||||
if (var8 != -1) { // L: 28
|
||||
this.isFinished = false; // L: 29
|
||||
this.sequenceDefinition = ItemContainer.SequenceDefinition_get(var8); // L: 30
|
||||
this.sequenceDefinition = class163.SequenceDefinition_get(var8); // L: 30
|
||||
} else {
|
||||
this.isFinished = true; // L: 32
|
||||
}
|
||||
@@ -88,8 +87,8 @@ public class GraphicsObject extends Renderable {
|
||||
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(IS)V",
|
||||
garbageValue = "18366"
|
||||
descriptor = "(IB)V",
|
||||
garbageValue = "79"
|
||||
)
|
||||
@Export("advance")
|
||||
final void advance(int var1) {
|
||||
@@ -106,7 +105,7 @@ public class GraphicsObject extends Renderable {
|
||||
}
|
||||
} else {
|
||||
this.frame += var1; // L: 49
|
||||
if (this.frame >= this.sequenceDefinition.method3827()) { // L: 50
|
||||
if (this.frame >= this.sequenceDefinition.method3844()) { // L: 50
|
||||
this.isFinished = true;
|
||||
}
|
||||
}
|
||||
@@ -114,14 +113,14 @@ public class GraphicsObject extends Renderable {
|
||||
}
|
||||
} // L: 52
|
||||
|
||||
@ObfuscatedName("o")
|
||||
@ObfuscatedName("c")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(B)Lhx;",
|
||||
garbageValue = "63"
|
||||
descriptor = "(B)Liq;",
|
||||
garbageValue = "103"
|
||||
)
|
||||
@Export("getModel")
|
||||
protected final Model getModel() {
|
||||
SpotAnimationDefinition var1 = class6.SpotAnimationDefinition_get(this.id); // L: 55
|
||||
SpotAnimationDefinition var1 = ClientPreferences.SpotAnimationDefinition_get(this.id); // L: 55
|
||||
Model var2;
|
||||
if (!this.isFinished) { // L: 57
|
||||
var2 = var1.getModel(this.frame);
|
||||
@@ -132,56 +131,6 @@ public class GraphicsObject extends Renderable {
|
||||
return var2 == null ? null : var2; // L: 59
|
||||
}
|
||||
|
||||
@ObfuscatedName("v")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(B)[Lcp;",
|
||||
garbageValue = "-18"
|
||||
)
|
||||
static class83[] method1866() {
|
||||
return new class83[]{class83.field1075, class83.field1078, class83.field1077, class83.field1074, class83.field1081, class83.field1076}; // L: 17
|
||||
}
|
||||
|
||||
@ObfuscatedName("f")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Ljava/util/Date;S)Z",
|
||||
garbageValue = "4749"
|
||||
)
|
||||
static boolean method1864(Date var0) {
|
||||
Date var1 = class250.method5137(); // L: 1246
|
||||
return var0.after(var1); // L: 1247
|
||||
}
|
||||
|
||||
@ObfuscatedName("av")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(II)I",
|
||||
garbageValue = "-1790654907"
|
||||
)
|
||||
static int method1865(int var0) {
|
||||
return (int)((Math.log((double)var0) / Interpreter.field842 - 7.0D) * 256.0D); // L: 3841
|
||||
}
|
||||
|
||||
@ObfuscatedName("hs")
|
||||
@ObfuscatedSignature(
|
||||
descriptor = "(Lcw;IILgv;B)V",
|
||||
garbageValue = "2"
|
||||
)
|
||||
static final void method1860(Player var0, int var1, int var2, class193 var3) {
|
||||
int var4 = var0.pathX[0]; // L: 7995
|
||||
int var5 = var0.pathY[0]; // L: 7996
|
||||
int var6 = var0.transformedSize(); // L: 7997
|
||||
if (var4 >= var6 && var4 < 104 - var6 && var5 >= var6 && var5 < 104 - var6) { // L: 7998
|
||||
if (var1 >= var6 && var1 < 104 - var6 && var2 >= var6 && var2 < 104 - var6) { // L: 7999
|
||||
int var7 = ArchiveLoader.method2075(var4, var5, var0.transformedSize(), WorldMapSectionType.method4954(var1, var2), Client.collisionMaps[var0.plane], true, Client.field743, Client.field670); // L: 8000
|
||||
if (var7 >= 1) { // L: 8001
|
||||
for (int var8 = 0; var8 < var7 - 1; ++var8) { // L: 8002
|
||||
var0.method2149(Client.field743[var8], Client.field670[var8], var3);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
} // L: 8003
|
||||
|
||||
public GraphicsObject() {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user