feat: add member claims to the ClaimLink model

Each ClaimLinkMember stores an owner player uid plus that player's
local claim index (resolved fresh at use, not trusted as stable) so
a claim link can reference existing vanilla claims without copying
their data. Buffer claim is intentionally not referenced here; it
resolves on demand via group ownership.
This commit is contained in:
2026-07-12 18:38:09 +02:00
parent 02c9a22bf1
commit cf17697a5e
+14
View File
@@ -1,10 +1,24 @@
using System.Collections.Generic;
using ProtoBuf; using ProtoBuf;
namespace ClaimLink; namespace ClaimLink;
[ProtoContract]
public class ClaimLinkMember
{
[ProtoMember(1)]
public string OwnerPlayerUid = "";
[ProtoMember(2)]
public int LocalClaimIndex;
}
[ProtoContract] [ProtoContract]
public class ClaimLink public class ClaimLink
{ {
[ProtoMember(1)] [ProtoMember(1)]
public int GroupId; public int GroupId;
[ProtoMember(2)]
public List<ClaimLinkMember> Members = new();
} }