13 lines
511 B
C#
13 lines
511 B
C#
|
|
using FlatRender.IdentitySvc.Models.Responses;
|
||
|
|
|
||
|
|
namespace FlatRender.IdentitySvc.Application.Services.Interfaces;
|
||
|
|
|
||
|
|
public interface IGamificationService
|
||
|
|
{
|
||
|
|
Task<List<QuestResponse>> GetActiveQuestsAsync(Guid userId, Guid tenantId);
|
||
|
|
Task ClaimQuestPrizeAsync(Guid userId, Guid questId);
|
||
|
|
Task<List<EarnedGiftResponse>> GetEarnedGiftsAsync(Guid userId);
|
||
|
|
Task UseEarnedGiftAsync(Guid userId, Guid earnedGiftId);
|
||
|
|
Task IncrementQuestProgressAsync(Guid userId, Guid tenantId, string targetEvent);
|
||
|
|
}
|