Skip to content
Version 2.11.0
↓ Get the launcher

ILoadoutSave.SaveCurrentToAsync method

Saves the worn setup into the loadout identified by index. Completes without sending anything when index is the worn loadout (Rejected), is not a saved loadout (NoSuchLoadout), when the worn loadout is not known yet (GameApiUnavailable), or while a loadout switch or another save is still in flight (Rejected). A refusal from the game itself is Rejected. On Success the framework re-reads the loadout list, so GetSlots and LoadoutsChanged catch up with the saved target shortly after.

public Task<LoadoutResult> SaveCurrentToAsync(int index, CancellationToken ct = default)
parameter description
index A Index value other than the worn loadout’s.
ct Cancels the request before it is sent to the game. Once sent, the save cannot be recalled and the task completes with the game’s answer.

The outcome of the save.