Interface IPlayerSkinService
Reads client skin profiles and checks selections against the active Character Creator assets.
public interface IPlayerSkinService
Methods
TryReadProfile(string, out PlayerSkinSelection?, out string?)
Reads and validates one client profile without exposing the Cosmetics codec to feature code.
bool TryReadProfile(string json, out PlayerSkinSelection? skin, out string? failure)
Parameters
jsonstringskinPlayerSkinSelectionfailurestring
Returns
TryValidate(PlayerSkinSelection?, out string?)
Checks an already constructed selection against the active Character Creator assets.
bool TryValidate(PlayerSkinSelection? skin, out string? failure)
Parameters
skinPlayerSkinSelectionfailurestring