Skip to content
Version 2.11.0
↓ Get the launcher

IWardrobe.ApplyWeaponSkinAsync method

Set class professionId’s weapon skin to skinId via the game’s own UseProfessionSkin RPC — the same action the Wardrobe’s Weapon Skin tab performs, so the server validates ownership. skinId``0 restores the class’s default weapon look, as in the game. Shares the one-apply-at-a-time rule with ApplyAsync: await the outfit switch before sending the weapon skin.

public Task<WardrobeResult> ApplyWeaponSkinAsync(int professionId, int skinId,
CancellationToken ct = default)
parameter description
professionId The class whose weapon skin to set.
skinId The weapon-skin id, or 0 for the default look.
ct Cancellation token.

The outcome of the switch.