Files
systemrevivalserver/Services/Characters/ICharacterService.cs
T
2025-11-29 15:44:45 -05:00

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);
}