Add boughtId & boughtTemplateId to ItemDefinition

This commit is contained in:
UniquePassive
2017-03-24 20:48:01 +01:00
parent 6d9d3fbb85
commit ea523a296a
2 changed files with 5 additions and 2 deletions

View File

@@ -89,6 +89,9 @@ public class ItemDefinition
public int team;
public int shiftClickDropIndex = -2;
public int boughtId = -1;
public int boughtTemplateId = -1;
public int placeholderId = -1;
public int placeholderTemplateId = -1;

View File

@@ -240,11 +240,11 @@ public class ItemLoader
}
else if (opcode == 139)
{
stream.readUnsignedShort();
def.boughtId = stream.readUnsignedShort();
}
else if (opcode == 140)
{
stream.readUnsignedShort();
def.boughtTemplateId = stream.readUnsignedShort();
}
else if (opcode == 148)
{