9 lines
404 B
C#
9 lines
404 B
C#
namespace NeonSprawl.Server.Game.PositionState;
|
|
|
|
/// <summary>In-memory source of truth for player positions (NS-15 spike).</summary>
|
|
public interface IPositionStateStore
|
|
{
|
|
/// <summary>Returns false if the player is unknown (HTTP 404). <paramref name="playerId"/> is trimmed; matching is ordinal case-insensitive.</summary>
|
|
bool TryGetPosition(string playerId, out PositionSnapshot snapshot);
|
|
}
|