Rename widget textureId to spriteId
This commit is contained in:
@@ -43,7 +43,7 @@ public class InterfaceDefinition
|
||||
public int scrollWidth;
|
||||
public int scrollHeight;
|
||||
public boolean field2210;
|
||||
public int textureId;
|
||||
public int spriteId;
|
||||
public int field2294;
|
||||
public boolean field2257;
|
||||
public int opacity;
|
||||
|
||||
@@ -224,7 +224,7 @@ public class InterfaceLoader
|
||||
|
||||
if (iface.type == 5)
|
||||
{
|
||||
iface.textureId = var1.readInt();
|
||||
iface.spriteId = var1.readInt();
|
||||
iface.field2332 = var1.readInt();
|
||||
}
|
||||
|
||||
@@ -389,7 +389,7 @@ public class InterfaceLoader
|
||||
|
||||
if (iface.type == 5)
|
||||
{
|
||||
iface.textureId = var1.readInt();
|
||||
iface.spriteId = var1.readInt();
|
||||
iface.field2294 = var1.readUnsignedShort();
|
||||
iface.field2257 = var1.readUnsignedByte() == 1;
|
||||
iface.opacity = var1.readUnsignedByte();
|
||||
|
||||
@@ -127,9 +127,9 @@ public class Widget
|
||||
return widget.getModelId();
|
||||
}
|
||||
|
||||
public int getTextureId()
|
||||
public int getSpriteId()
|
||||
{
|
||||
return widget.getTextureId();
|
||||
return widget.getSpriteId();
|
||||
}
|
||||
|
||||
public boolean isHidden()
|
||||
|
||||
@@ -110,8 +110,8 @@ public interface Widget
|
||||
@Import("scrollY")
|
||||
int getScrollY();
|
||||
|
||||
@Import("textureId")
|
||||
int getTextureId();
|
||||
@Import("spriteId")
|
||||
int getSpriteId();
|
||||
|
||||
@Import("borderThickness")
|
||||
int getBorderThickness();
|
||||
|
||||
Reference in New Issue
Block a user