Add boughtId & boughtTemplateId to ItemDefinition
This commit is contained in:
@@ -89,6 +89,9 @@ public class ItemDefinition
|
|||||||
public int team;
|
public int team;
|
||||||
|
|
||||||
public int shiftClickDropIndex = -2;
|
public int shiftClickDropIndex = -2;
|
||||||
|
|
||||||
|
public int boughtId = -1;
|
||||||
|
public int boughtTemplateId = -1;
|
||||||
|
|
||||||
public int placeholderId = -1;
|
public int placeholderId = -1;
|
||||||
public int placeholderTemplateId = -1;
|
public int placeholderTemplateId = -1;
|
||||||
|
|||||||
@@ -240,11 +240,11 @@ public class ItemLoader
|
|||||||
}
|
}
|
||||||
else if (opcode == 139)
|
else if (opcode == 139)
|
||||||
{
|
{
|
||||||
stream.readUnsignedShort();
|
def.boughtId = stream.readUnsignedShort();
|
||||||
}
|
}
|
||||||
else if (opcode == 140)
|
else if (opcode == 140)
|
||||||
{
|
{
|
||||||
stream.readUnsignedShort();
|
def.boughtTemplateId = stream.readUnsignedShort();
|
||||||
}
|
}
|
||||||
else if (opcode == 148)
|
else if (opcode == 148)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user