session-companion/SessionCompanion/SessionCompanion.Services/Interfaces/ICharacterService.cs

24 lines
1.1 KiB
C#
Raw Normal View History

2020-12-05 21:47:12 +01:00
using SessionCompanion.Database.Tables;
using SessionCompanion.Services.Base;
using SessionCompanion.ViewModels.CharacterViewModels;
using SessionCompanion.ViewModels.ClassViewModels;
using SessionCompanion.ViewModels.RaceViewModels;
2021-01-04 00:58:31 +01:00
using SessionCompanion.ViewModels.UniversalModels;
2020-12-05 21:47:12 +01:00
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace SessionCompanion.Services.Interfaces
{
public interface ICharacterService : IServiceBase<CharacterViewModel, Character>
{
2020-12-21 13:30:59 +01:00
Task<IEnumerable<CharacterBasicStatsViewModel>> GetBasicCharactersData(List<int> charactersId);
Task<IEnumerable<CharacterForLoginViewModel>> GetUserLoginCharacters(int userId);
2021-01-04 00:58:31 +01:00
Task<List<UniversalStatisticViewModel>> GetCharacterStatistics(int characterId);
Task<CharacterBasicInfoViewModel> GetBasicCharacterbasicInfo(int characterId);
Task<IEnumerable<CharacterFromTemplatesSimpleViewModel>> GetCharactersFromTemplate(List<RaceViewModel> raceViewModels, List<ClassViewModel> classViewModels);
Task CreateCharactersFromTemplate(int characterId, int userId, string newName);
2020-12-05 21:47:12 +01:00
}
}