NEO-109: Restore early return on completion failure guard.
Bugbot PR #148: keep consistent guard-clause pattern in EncounterCombatWiring.TryProcessCastOutcome.pull/148/head
parent
0f60423863
commit
df248308c7
|
|
@ -39,7 +39,7 @@ None.
|
||||||
|
|
||||||
- ~~Nit: Plan lists optional **`requiredNpcInstanceIds` count** in **`encounter_start`** payload; the comment block omits it. Fine for prototype; add when E9.M1 shapes the catalog schema.~~ **Done.** Payload comment includes **`requiredNpcInstanceIdsCount`**.
|
- ~~Nit: Plan lists optional **`requiredNpcInstanceIds` count** in **`encounter_start`** payload; the comment block omits it. Fine for prototype; add when E9.M1 shapes the catalog schema.~~ **Done.** Payload comment includes **`requiredNpcInstanceIdsCount`**.
|
||||||
|
|
||||||
- Nit: **`EncounterCombatWiring`** removed `return;` after the deny log block — behavior unchanged (method ends immediately after the delegate comment). Harmless; no action needed.
|
- ~~Nit: **`EncounterCombatWiring`** removed `return;` after the deny log block — behavior unchanged (method ends immediately after the delegate comment). Harmless; no action needed.~~ **Done (Bugbot PR #148).** Restored early **`return;`** after failure log to match guard-clause pattern in **`TryProcessCastOutcome`**.
|
||||||
|
|
||||||
- Nit: **`encounter_complete_denied`** is not in the Epic 5 Slice 3 telemetry list — plan documents the **NEO-56** deny precedent; acceptable.
|
- Nit: **`encounter_complete_denied`** is not in the Epic 5 Slice 3 telemetry list — plan documents the **NEO-56** deny precedent; acceptable.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -88,6 +88,7 @@ public static class EncounterCombatWiring
|
||||||
playerId,
|
playerId,
|
||||||
encounterId,
|
encounterId,
|
||||||
completion.ReasonCode);
|
completion.ReasonCode);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// encounter_complete / reward_attribution hooks: EncounterCompletionOperations.TryCompleteAndGrant (NEO-109).
|
// encounter_complete / reward_attribution hooks: EncounterCompletionOperations.TryCompleteAndGrant (NEO-109).
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue