csharp
public interface IPlayerRepositoryCharacters. The single-writer rule of doc 27 § Persistence, made a return value.
Methods (5)
Task<PlayerRecord?> ReadAsync(PlayerKey key, CancellationToken cancellation)Reads a character.
Task<IReadOnlyList<PlayerRecord>> ForAccountAsync(Guid account, CancellationToken cancellation)Every character on an account — the list the gate serves at character select.
Task<WriteOutcome> CreateAsync(PlayerRecord record, CancellationToken cancellation)Makes a character.
Task<WriteOutcome> WriteAsync(PlayerRecord record, CancellationToken cancellation)Writes a character, if the writer still holds the lease.
Task<long> FenceAsync(PlayerKey key, CancellationToken cancellation)The epoch this character's row will accept a write at or above.
Used by (8)
- ConservationTestsVixen.Live.Persistence.Tests
- GateServiceVixen.Live.Gate
- IPersistenceVixen.Live.Persistence
- LedgerTestsVixen.Live.Persistence.Tests
- MemoryPersistenceVixen.Live.Persistence
- RepositoryTestsVixen.Live.Persistence.Tests
- SqlPersistenceVixen.Live.Persistence
- TransferFleetVixen.Live.Realm.Tests