PlayerCharacterCustomizationManager
A class in Root.Township, Alta.Customization.
A player's cosmetics and equipment visuals, shared by every handler (body or dummy) attached to it. Reached through player.Customization.
- Listed in Customization and screenshots
- Documented in Customization
Constructors
| Member | What it is |
|---|---|
PlayerCharacterCustomizationManager() | Creates a PlayerCharacterCustomizationManager with default values. |
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private readonly ICustomizationVisualManager internalManager | The CustomizationVisualManager that the cosmetic and equipment wrappers and the attached handlers work through. |
private static readonly Logger logger | NLog logger for this class. |
Properties
| Member | What it is |
|---|---|
PlayerCosmeticWrapper Cosmetics { get; private set; } | The player's cosmetic items and their history. |
PlayerEquipmentWrapper Equipment { get; private set; } | The equipment worn on the character. |
IEnumerable<ICustomizationHandler> Handlers { get; } | The handlers attached now. |
Methods
| Member | What it is |
|---|---|
void Attach(PlayerCustomizationHandler handler) | Attaches a customization handler so it shows these cosmetics and equipment. Refuses destroyed handlers. |
void Detach(PlayerCustomizationHandler handler) | Detaches a handler so it stops following this manager. |
void UpdateFirstPerson(PlayerCustomizationHandler handler) | Refreshes a handler's first-person visuals. |
Used in
Members of other types that take, return or hold a PlayerCharacterCustomizationManager:
CharacterDummy.Manager, CosmeticCustomizationManager.InitializeForPlayer, CosmeticCustomizationManager.Manager, CosmeticCustomizationManager.StartSession, CosmeticOwnershipManager.CosmeticOwnershipManager, CosmeticOwnershipManager.LoadFor, CosmeticOwnershipManager.manager, CosmeticPresetsManager.SetupWithManager, CosmeticPresetTrophy.Manager, ICustomizationHandler.Manager, ICustomizationHandler.SetManager, PlayerCustomizationHandler.Manager, PlayerCustomizationHandler.onManagerUpdated, PlayerCustomizationHandler.SetManager, ShopInterface.manager, PlayerLikeSpectralGhost.manager, IPlayer.Customization, LocalPlayerAdvertisingTrophy.localManager, ModellingCharacter.manager, Player.Customization.