11 lines
449 B
C#
11 lines
449 B
C#
using Server.Data;
|
|
|
|
namespace Server.Services.Characters;
|
|
|
|
public interface ICharacterService
|
|
{
|
|
Task<(bool ok, string? error, Character[] list)> ListAsync(ulong accountId, CancellationToken ct);
|
|
Task<(bool ok, string? error, Character created)> CreateAsync(ulong accountId, string name, CancellationToken ct);
|
|
Task<(bool ok, string? error, Character selected)> SelectAsync(ulong accountId, ulong characterId, CancellationToken ct);
|
|
}
|