public static async Task <bool> TryEntrustToRetainer(this BagSlot bagSlot, uint moveCount, int waitMs = DefaultBagSlotMoveWait) { uint curSlotCount = bagSlot.Count; bagSlot.RetainerEntrustQuantity(moveCount); return(await BagSlotMoveWait(bagSlot, curSlotCount, waitMs)); }
public static void RetainerEntrustQuantity(this BagSlot bagSlot, uint amount) { bagSlot.RetainerEntrustQuantity((int)amount); }