Renamed Inventory class to ItemPackage to reflect client naming.

This commit is contained in:
Filip Maj
2018-04-07 14:48:43 -04:00
parent 8aeaee1b19
commit 0b13b590a0
7 changed files with 62 additions and 63 deletions

View File

@@ -30,11 +30,11 @@ namespace FFXIVClassic_Map_Server.actors.chara.player
private ushort inventoryCapacity;
private ushort inventoryCode;
private InventoryItem[] list;
private Inventory normalInventory;
private ItemPackage normalInventory;
private bool writeToDB = true;
public Equipment(Player ownerPlayer, Inventory normalInventory, ushort capacity, ushort code)
public Equipment(Player ownerPlayer, ItemPackage normalInventory, ushort capacity, ushort code)
{
owner = ownerPlayer;
inventoryCapacity = capacity;
@@ -63,7 +63,7 @@ namespace FFXIVClassic_Map_Server.actors.chara.player
}
}
toPlayer.QueuePacket(InventorySetBeginPacket.BuildPacket(owner.actorId, 0x23, Inventory.EQUIPMENT_OTHERPLAYER));
toPlayer.QueuePacket(InventorySetBeginPacket.BuildPacket(owner.actorId, 0x23, ItemPackage.EQUIPMENT_OTHERPLAYER));
int currentIndex = 0;
while (true)