cache: Include id in StructDefinition
This commit is contained in:
@@ -30,5 +30,6 @@ import lombok.Data;
|
||||
@Data
|
||||
public class StructDefinition
|
||||
{
|
||||
public final int id;
|
||||
public Map<Integer, Object> params = null;
|
||||
}
|
||||
|
||||
@@ -30,10 +30,9 @@ import net.runelite.cache.io.InputStream;
|
||||
|
||||
public class StructLoader
|
||||
{
|
||||
|
||||
public StructDefinition load(int id, byte[] b)
|
||||
{
|
||||
StructDefinition def = new StructDefinition();
|
||||
StructDefinition def = new StructDefinition(id);
|
||||
InputStream is = new InputStream(b);
|
||||
|
||||
while (true)
|
||||
|
||||
Reference in New Issue
Block a user