Table of Contents

Interface IPlayerSkinService

Namespace
Shard.Modding.SDK.Cosmetics
Assembly
Shard.Modding.SDK.dll

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

json string
skin PlayerSkinSelection
failure string

Returns

bool

TryValidate(PlayerSkinSelection?, out string?)

Checks an already constructed selection against the active Character Creator assets.

bool TryValidate(PlayerSkinSelection? skin, out string? failure)

Parameters

skin PlayerSkinSelection
failure string

Returns

bool