Pack opening
This commit is contained in:
13
SVSim.Database/Repositories/Pack/IPackRepository.cs
Normal file
13
SVSim.Database/Repositories/Pack/IPackRepository.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using SVSim.Database.Models;
|
||||
|
||||
namespace SVSim.Database.Repositories.Pack;
|
||||
|
||||
public interface IPackRepository
|
||||
{
|
||||
Task<List<PackConfigEntry>> GetActivePacks(DateTime now);
|
||||
Task<PackConfigEntry?> GetPack(int parentGachaId);
|
||||
Task<Dictionary<int, ViewerPackOpenCount>> GetOpenCountsForViewer(long viewerId);
|
||||
Task IncrementOpenCount(long viewerId, int parentGachaId, int by);
|
||||
Task MarkDailyFreeUsed(long viewerId, int parentGachaId, DateTime when);
|
||||
Task GrantCardsToViewer(long viewerId, IEnumerable<long> cardIds);
|
||||
}
|
||||
Reference in New Issue
Block a user