14 lines
No EOL
422 B
C#
14 lines
No EOL
422 B
C#
using System.Threading.Tasks;
|
|
using WingsAPI.Communication.Sessions.Model;
|
|
|
|
namespace WingsEmu.Master.Sessions
|
|
{
|
|
public interface ISessionManager
|
|
{
|
|
Task<bool> Create(Session session);
|
|
Task<bool> Update(Session session);
|
|
Task<Session> GetSessionByAccountName(string accountName);
|
|
Task<Session> GetSessionByAccountId(long accountId);
|
|
Task<bool> Pulse(Session session);
|
|
}
|
|
} |