Skip to main content

ICustomizationVisualManager

An interface in Root.Township, Alta.Customization.

Keeps track of which cosmetics and equipment are worn and shows them on every attached character (handler). CustomizationVisualManager is the implementation.

Properties​

MemberWhat it is
IEnumerable<ICustomizationHandler> Handlers { get; }The attached characters.
bool IsPaused { get; set; }While true, attaching a handler leaves its cosmetic packer paused.

Methods​

MemberWhat it is
void ApplyArguments(uint item, CustomizationArguments[] arguments)Changes the arguments of an item already registered, by its hash.
void Attach(ICustomizationHandler handler)Adds a character to show items on and shows everything already registered.
void Clear()Forgets all slots and items and clears each handler's cosmetic packer inputs.
void Deregister(ICustomizationDefinition item)Removes an item, hiding its parts and re-enabling the slots it disabled.
void Detach(ICustomizationHandler handler)Removes a character and hides items on it.
bool IsSlotDisabled(int slot)True if a worn item disables this slot.
void Register(ICustomizationDefinition item, CustomizationArguments[] arguments)Adds an item with one argument set per part, filling and disabling its slots. Ignored if already registered.
void UpdateFirstPerson(ICustomizationHandler handler)Updates every item's first person look for one handler.

Used in​

Members of other types that take, return or hold a ICustomizationVisualManager: