server-master/srcs/WingsAPI.Game/Bazaar/IBazaarManager.cs
2026-02-10 18:21:30 +01:00

17 lines
No EOL
524 B
C#

using System.Collections.Generic;
using System.Threading.Tasks;
using WingsAPI.Communication;
using WingsAPI.Communication.Bazaar;
namespace WingsEmu.Game.Bazaar;
public interface IBazaarManager
{
Task<string> GetOwnerName(long characterId);
Task<BazaarItem> GetBazaarItemById(long bazaarItemId);
Task<IReadOnlyCollection<BazaarItem>> GetListedItemsByCharacterId(long characterId);
Task<(IReadOnlyCollection<BazaarItem>, RpcResponseType)> SearchBazaarItems(BazaarSearchContext bazaarSearchContext);
}