private unsafe void HandleEquip(GameClient Client, ItemUsage* Packet) { ConquerItem Item; if (Client.TryGetInventory(Packet->ID, out Item)) { Item.Position = (ItemPosition)Packet->Location; Client.AddEquipment(Item, Item.Position); Client.RemoveInventory(Item); } }
private unsafe void HandleEquip(GameClient Client, ItemUsage *Packet) { ConquerItem Item; if (Client.TryGetInventory(Packet->ID, out Item)) { Item.Position = (ItemPosition)Packet->Location; Client.AddEquipment(Item, Item.Position); Client.RemoveInventory(Item); } }