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

7 lines
504 B
C#

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