using System.Collections.Generic; using System.Threading.Tasks; using WingsAPI.Data.Families; namespace FamilyServer.Managers { public interface IFamilyWarehouseManager { public Task> GetWarehouseLogs(long familyId, long? characterId = null); public Task> GetWarehouse(long familyId, long? characterId = null); public Task GetWarehouseItem(long familyId, short slot, long? characterId = null); public Task AddWarehouseItem(FamilyWarehouseItemDto warehouseItemDtoToAdd, long? characterId = null, string characterName = null); public Task WithdrawWarehouseItem(FamilyWarehouseItemDto warehouseItemDtoToWithdraw, int amount, long? characterId = null, string characterName = null); public Task MoveWarehouseItem(FamilyWarehouseItemDto warehouseItemDtoToMove, int amount, short newSlot, long? characterId = null); public Task FlushWarehouseSaves(); } }