12 lines
556 B
C#
12 lines
556 B
C#
namespace NeonSprawl.Server.Game.Factions;
|
|
|
|
/// <summary>Append-only reputation delta audit log (NEO-135).</summary>
|
|
public interface IReputationDeltaStore
|
|
{
|
|
/// <summary>First append with a given row <c>Id</c> returns <c>true</c>; duplicate ids return <c>false</c>.</summary>
|
|
bool TryAppend(ReputationDeltaRow row);
|
|
|
|
/// <summary>Audit rows for one player ordered by <see cref="ReputationDeltaRow.RecordedAt"/> then <c>Id</c> ascending.</summary>
|
|
IReadOnlyList<ReputationDeltaRow> GetDeltasForPlayer(string playerId, int? limit = null);
|
|
}
|