Rename Class34 to SpotAnimType

This commit is contained in:
Pazaz 2022-04-19 18:32:13 -04:00
parent 884d7bff00
commit 04ad6e93cb
6 changed files with 8 additions and 8 deletions

View file

@ -64,7 +64,7 @@ public final class Class8_Sub2 extends Entity {
@OriginalMember(owner = "client!bh", name = "b", descriptor = "(Z)Lclient!ak;")
private Model method552() {
@Pc(8) Class34 local8 = Static34.method877(this.anInt596);
@Pc(8) SpotAnimType local8 = Static34.method877(this.anInt596);
@Pc(26) Model local26;
if (this.aBoolean41) {
local26 = local8.method1319(-1, -1, 0);

View file

@ -56,7 +56,7 @@ public final class Npc extends PathingEntity {
this.method2685(local74, arg0);
local140 = null;
if (this.anInt3432 != -1 && this.anInt3399 != -1) {
@Pc(211) Class34 local211 = Static34.method877(this.anInt3432);
@Pc(211) SpotAnimType local211 = Static34.method877(this.anInt3432);
local140 = local211.method1319(this.anInt3418, this.anInt3399, this.anInt3361);
if (local140 != null) {
local140.method4575(0, -this.anInt3394, 0);

View file

@ -243,7 +243,7 @@ public final class Player extends PathingEntity {
this.method2685(local76, arg0);
local184 = null;
if (!this.aBoolean98 && this.anInt3432 != -1 && this.anInt3399 != -1) {
@Pc(471) Class34 local471 = Static34.method877(this.anInt3432);
@Pc(471) SpotAnimType local471 = Static34.method877(this.anInt3432);
local184 = local471.method1319(this.anInt3418, this.anInt3399, this.anInt3361);
if (local184 != null) {
local184.method4575(0, -this.anInt3394, 0);

View file

@ -119,7 +119,7 @@ public final class ProjAnim extends Entity {
@OriginalMember(owner = "client!ra", name = "b", descriptor = "(I)Lclient!ak;")
private Model method3703() {
@Pc(14) Class34 local14 = Static34.method877(this.anInt4816);
@Pc(14) SpotAnimType local14 = Static34.method877(this.anInt4816);
@Pc(24) Model local24 = local14.method1319(this.anInt4798, this.anInt4820, this.anInt4796);
if (local24 == null) {
return null;

View file

@ -4,7 +4,7 @@ import org.openrs2.deob.annotation.OriginalMember;
import org.openrs2.deob.annotation.Pc;
@OriginalClass("client!eg")
public final class Class34 {
public final class SpotAnimType {
@OriginalMember(owner = "client!eg", name = "f", descriptor = "[S")
private short[] aShortArray15;

View file

@ -95,13 +95,13 @@ public final class Static34 {
}
@OriginalMember(owner = "client!ck", name = "a", descriptor = "(BI)Lclient!eg;")
public static Class34 method877(@OriginalArg(1) int arg0) {
@Pc(10) Class34 local10 = (Class34) Static279.aClass99_38.method3106((long) arg0);
public static SpotAnimType method877(@OriginalArg(1) int arg0) {
@Pc(10) SpotAnimType local10 = (SpotAnimType) Static279.aClass99_38.method3106((long) arg0);
if (local10 != null) {
return local10;
}
@Pc(26) byte[] local26 = Static132.aClass153_48.method4495(Static206.method3681(arg0), Static133.method4010(arg0));
local10 = new Class34();
local10 = new SpotAnimType();
local10.anInt1751 = arg0;
if (local26 != null) {
local10.method1316(new Buffer(local26));