IDeepSlumber.ApplySetupAsync method
Drives the game to become target: enables the bound line/area(s) and reconciles their phantom factors to match, through the game’s own season_talent dispatcher. Idempotent — a target already matching the live state applies nothing and returns AlreadyMatched. Never bypasses game-side gating (combat, cost, unlock, missing factor item); refusals surface in the result and the game toasts the reason. Call on the game Update thread (or a plugin callback that runs there).
public Task<DeepSlumberApplyResult> ApplySetupAsync(DeepSlumberSetup target, CancellationToken ct = default)| parameter | description |
|---|---|
| target | The setup to apply, typically a snapshot from GetState. |
| ct | Cancels remaining operations before their dispatch. |
Return Value
Section titled “Return Value”The aggregate outcome.
See Also
Section titled “See Also”- enum DeepSlumberApplyResult
- record DeepSlumberSetup
- interface IDeepSlumber
- namespace Stellar.Abstractions.Services