Export Script and various fields
This commit is contained in:
@@ -28,12 +28,12 @@ package net.runelite.cache.definitions;
|
|||||||
public class ScriptDefinition
|
public class ScriptDefinition
|
||||||
{
|
{
|
||||||
private int id;
|
private int id;
|
||||||
private int anInt2269;
|
private int intStackCount;
|
||||||
private int[] instructions;
|
private int[] instructions;
|
||||||
private int[] intOperands;
|
private int[] intOperands;
|
||||||
private String[] stringOperands;
|
private String[] stringOperands;
|
||||||
private int localStringCount;
|
private int localStringCount;
|
||||||
private int anInt2276;
|
private int stringStackCount;
|
||||||
private int localIntCount;
|
private int localIntCount;
|
||||||
|
|
||||||
public int getId()
|
public int getId()
|
||||||
@@ -46,14 +46,14 @@ public class ScriptDefinition
|
|||||||
this.id = id;
|
this.id = id;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getAnInt2269()
|
public int getIntStackCount()
|
||||||
{
|
{
|
||||||
return anInt2269;
|
return intStackCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setAnInt2269(int anInt2269)
|
public void setIntStackCount(int intStackCount)
|
||||||
{
|
{
|
||||||
this.anInt2269 = anInt2269;
|
this.intStackCount = intStackCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int[] getInstructions()
|
public int[] getInstructions()
|
||||||
@@ -96,14 +96,14 @@ public class ScriptDefinition
|
|||||||
this.localStringCount = localStringCount;
|
this.localStringCount = localStringCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getAnInt2276()
|
public int getStringStackCount()
|
||||||
{
|
{
|
||||||
return anInt2276;
|
return stringStackCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setAnInt2276(int anInt2276)
|
public void setStringStackCount(int stringStackCount)
|
||||||
{
|
{
|
||||||
this.anInt2276 = anInt2276;
|
this.stringStackCount = stringStackCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getLocalIntCount()
|
public int getLocalIntCount()
|
||||||
|
|||||||
@@ -38,13 +38,13 @@ public class ScriptLoader
|
|||||||
int paramCount = in.readInt();
|
int paramCount = in.readInt();
|
||||||
int localIntCount = in.readUnsignedShort();
|
int localIntCount = in.readUnsignedShort();
|
||||||
int localStringCount = in.readUnsignedShort();
|
int localStringCount = in.readUnsignedShort();
|
||||||
int anInt2269 = in.readUnsignedShort();
|
int intStackCount = in.readUnsignedShort();
|
||||||
int anInt2276 = in.readUnsignedShort();
|
int stringStackCount = in.readUnsignedShort();
|
||||||
|
|
||||||
def.setLocalIntCount(localIntCount);
|
def.setLocalIntCount(localIntCount);
|
||||||
def.setLocalStringCount(localStringCount);
|
def.setLocalStringCount(localStringCount);
|
||||||
def.setAnInt2269(anInt2269);
|
def.setIntStackCount(intStackCount);
|
||||||
def.setAnInt2276(anInt2276);
|
def.setStringStackCount(stringStackCount);
|
||||||
|
|
||||||
in.setOffset(0);
|
in.setOffset(0);
|
||||||
in.readStringOrNull();
|
in.readStringOrNull();
|
||||||
|
|||||||
Reference in New Issue
Block a user