Skip to main content

PlayerEquipmentWrapper

A class in Root.Township, Alta.Customization.

A CustomizationWrapper for a player's equipment, looking items up as PlayerEquipmentDefinition.

Constructors​

MemberWhat it is
PlayerEquipmentWrapper(ICustomizationVisualManager manager)Creates a PlayerEquipmentWrapper from manager.

Methods​

MemberWhat it is
override async Task<ICustomizationDefinition> GetItem(uint hash)Looks up the PlayerEquipmentDefinition with the given hash.
protected override void OnItemAdded(uint itemDefinition)Runs the base behaviour. The extra handler loop does nothing.
protected override void OnItemRemoved(uint itemDefinition)Runs the base behaviour. The extra handler loop does nothing.

Used in​

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