neon-sprawl/server/NeonSprawl.Server/Game/Gathering/ResourceNodeInstanceSnapsho...

9 lines
504 B
C#

namespace NeonSprawl.Server.Game.Gathering;
/// <summary>
/// Server-authoritative remaining gather capacity for one world node instance (NEO-61).
/// <see cref="InteractableId"/> is lowercase canonical id (prototype: same as <c>nodeDefId</c>).
/// <see cref="RemainingGathers"/> is successful gathers still allowed before <see cref="ResourceNodeInstanceReasonCodes.NodeDepleted"/>.
/// </summary>
public readonly record struct ResourceNodeInstanceSnapshot(string InteractableId, int RemainingGathers);