forked from Dartanlla/OWS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
IUserGrain.cs
19 lines (18 loc) · 915 Bytes
/
IUserGrain.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using OWSData.Models.Composites;
using OWSData.Models.StoredProcs;
using OWSShared.DTOs;
namespace OWS.Interfaces
{
public interface IUserGrain : IGrainWithGuidKey
{
Task<IEnumerable<GetAllCharacters>> GetAllCharacters();
Task<IEnumerable<GetPlayerGroupsCharacterIsIn>> GetPlayerGroupsCharacterIsIn(string characterName, int playerGroupTypeId);
Task<GetUserSession> GetUserSessionAsync();
Task<PlayerLoginAndCreateSession> LoginAndCreateSession(string email, string password);
Task Logout();
Task<PlayerLoginAndCreateSession> RegisterUser(RegisterUserDTO registerUserDto);
Task<SuccessAndErrorMessage> RemoveCharacter(string characterName);
Task<GetUserSession> SetSelectedCharacterAndGetUserSession(string selectedCharacterName);
Task<SuccessAndErrorMessage> UserSessionSetSelectedCharacter(string selectedCharacterName);
}
}