more RSClient refactoring

This commit is contained in:
Lucas
2019-07-08 17:46:10 +02:00
parent a32c667251
commit 112a2bcba7
87 changed files with 1384 additions and 1323 deletions

View File

@@ -10,8 +10,8 @@ public class Texture extends Node {
@Export("Texture_animatedPixels")
static int[] Texture_animatedPixels;
@ObfuscatedName("o")
@Export("int1")
int int1;
@Export("averageRGB")
int averageRGB;
@ObfuscatedName("u")
boolean field893;
@ObfuscatedName("g")
@@ -41,7 +41,7 @@ public class Texture extends Node {
)
Texture(Buffer var1) {
this.isLoaded = false;
this.int1 = var1.readUnsignedShort();
this.averageRGB = var1.readUnsignedShort();
this.field893 = var1.readUnsignedByte() == 1;
int var2 = var1.readUnsignedByte();
if (var2 >= 1 && var2 <= 4) {