private void EquipItem(WoWItem item, EquipSlot slot) { int bi, bs; item.GetSlotIndexes(out bi, out bs); WoWScript.ExecuteNoResults(string.Format("ClearCursor(); PickupContainerItem({0}, {1}); EquipCursorItem({2})", bi, bs, (int)slot)); }
public void ApplyToItem(WoWItem item) { ApplyToItem(item.Entry); }
public bool CanUseItem(WoWItem item, out GameError error) { return CanUseItem(WoWItem.GetItemRecordPointerFromId(item.Entry), out error); }
public bool CanUseItem(WoWItem item, out GameError error) { return(CanUseItem(WoWItem.GetItemRecordPointerFromId(item.Entry), out error)); }