Remove invalid/add missing Export annotations

This commit is contained in:
Lucas
2019-06-27 00:20:27 +02:00
parent 0c89cab9cb
commit 971549db3a
227 changed files with 215 additions and 1557 deletions

View File

@@ -20,7 +20,6 @@ public class WorldMapSection1 implements WorldMapSection {
@ObfuscatedGetter(
intValue = -1516124929
)
@Export("__as_ey")
static int __as_ey;
@ObfuscatedName("ha")
@ObfuscatedGetter(
@@ -32,61 +31,51 @@ public class WorldMapSection1 implements WorldMapSection {
@ObfuscatedGetter(
intValue = -1971304641
)
@Export("__m")
int __m;
@ObfuscatedName("f")
@ObfuscatedGetter(
intValue = 1483447179
)
@Export("__f")
int __f;
@ObfuscatedName("q")
@ObfuscatedGetter(
intValue = -1875803617
)
@Export("__q")
int __q;
@ObfuscatedName("w")
@ObfuscatedGetter(
intValue = 284566685
)
@Export("__w")
int __w;
@ObfuscatedName("o")
@ObfuscatedGetter(
intValue = -1513010233
)
@Export("__o")
int __o;
@ObfuscatedName("u")
@ObfuscatedGetter(
intValue = -1383826035
)
@Export("__u")
int __u;
@ObfuscatedName("g")
@ObfuscatedGetter(
intValue = 1526007343
)
@Export("__g")
int __g;
@ObfuscatedName("l")
@ObfuscatedGetter(
intValue = -890169045
)
@Export("__l")
int __l;
@ObfuscatedName("e")
@ObfuscatedGetter(
intValue = -1797724181
)
@Export("__e")
int __e;
@ObfuscatedName("x")
@ObfuscatedGetter(
intValue = 325777555
)
@Export("__x")
int __x;
@ObfuscatedName("m")
@@ -94,6 +83,7 @@ public class WorldMapSection1 implements WorldMapSection {
signature = "(Lag;I)V",
garbageValue = "1384899025"
)
@Export("expandBounds")
public void expandBounds(WorldMapArea var1) {
if(var1.minX0 > this.__o) {
var1.minX0 = this.__o;
@@ -118,6 +108,7 @@ public class WorldMapSection1 implements WorldMapSection {
signature = "(IIIB)Z",
garbageValue = "93"
)
@Export("containsCoord")
public boolean containsCoord(int var1, int var2, int var3) {
return var1 >= this.__m && var1 < this.__m + this.__f?var2 >= (this.__q << 6) + (this.__g << 3) && var2 <= (this.__q << 6) + (this.__g << 3) + 7 && var3 >= (this.__w << 6) + (this.__l << 3) && var3 <= (this.__w << 6) + (this.__l << 3) + 7:false;
}
@@ -127,6 +118,7 @@ public class WorldMapSection1 implements WorldMapSection {
signature = "(IIB)Z",
garbageValue = "4"
)
@Export("containsPosition")
public boolean containsPosition(int var1, int var2) {
return var1 >= (this.__o << 6) + (this.__e << 3) && var1 <= (this.__o << 6) + (this.__e << 3) + 7 && var2 >= (this.__u << 6) + (this.__x << 3) && var2 <= (this.__u << 6) + (this.__x << 3) + 7;
}
@@ -136,6 +128,7 @@ public class WorldMapSection1 implements WorldMapSection {
signature = "(IIII)[I",
garbageValue = "1545934424"
)
@Export("position")
public int[] position(int var1, int var2, int var3) {
if(!this.containsCoord(var1, var2, var3)) {
return null;
@@ -150,6 +143,7 @@ public class WorldMapSection1 implements WorldMapSection {
signature = "(III)Lhu;",
garbageValue = "-1916486802"
)
@Export("coord")
public TileLocation coord(int var1, int var2) {
if(!this.containsPosition(var1, var2)) {
return null;
@@ -165,6 +159,7 @@ public class WorldMapSection1 implements WorldMapSection {
signature = "(Lgr;B)V",
garbageValue = "-113"
)
@Export("read")
public void read(Buffer var1) {
this.__m = var1.readUnsignedByte();
this.__f = var1.readUnsignedByte();
@@ -184,7 +179,6 @@ public class WorldMapSection1 implements WorldMapSection {
signature = "(I)V",
garbageValue = "2026323437"
)
@Export("__g_84")
void __g_84() {
}