Files
SVSimServer/SVSim.Database/Repositories/Story/IViewerStoryProgressRepository.cs
gamer147 5e7a65fe5a Story
2026-05-25 14:36:12 -04:00

13 lines
505 B
C#

using SVSim.Database.Entities.Story;
namespace SVSim.Database.Repositories.Story;
public interface IViewerStoryProgressRepository
{
Task<Dictionary<int, ViewerStoryProgress>> GetProgressForChaptersAsync(long viewerId, IEnumerable<int> storyIds);
Task<HashSet<int>> GetBranchUnlockedStoryIdsAsync(long viewerId, IEnumerable<int> storyIds);
Task UpsertProgressAsync(long viewerId, int storyId, bool? isFinish, bool? isSkipped);
Task UpsertBranchUnlockAsync(long viewerId, int storyId);
}