NEO-49: add comment-only perk_unlock telemetry hook in TryUnlockPerks
parent
0d63965724
commit
340dbbe60d
|
|
@ -240,6 +240,12 @@ public sealed class PerkUnlockEngine(
|
|||
events = newIds
|
||||
.Select(pid => new PerkUnlockEvent(playerId, pid, skillId, tierIndex, branchId, source))
|
||||
.ToList();
|
||||
|
||||
// --- Telemetry hook site (NEO-49): future E9.M1 catalog event `perk_unlock` ---
|
||||
// TODO(E9.M1): catalog emit — once per entry in `events` (idempotent reevaluation produces none).
|
||||
// Planned payload fields: playerId, perkId, skillId, tierIndex, branchId, source (BranchPick | LevelUp).
|
||||
// No ingest or ILogger here (comments-only).
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
namespace NeonSprawl.Server.Game.Mastery;
|
||||
|
||||
/// <summary>Internal event when a perk becomes unlocked (NEO-47; NEO-49 telemetry).</summary>
|
||||
/// <summary>Internal event when a perk becomes unlocked (NEO-47). E9.M1 <c>perk_unlock</c> hook site: <see cref="PerkUnlockEngine"/> <c>TryUnlockPerks</c> (NEO-49).</summary>
|
||||
public enum PerkUnlockSource
|
||||
{
|
||||
BranchPick,
|
||||
|
|
|
|||
Loading…
Reference in New Issue