Skip to content

OnClothingItemChanged

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnClothingItemChanged( PlayerInventory instance, Item item, bool bAdded )
{
    Puts( "OnClothingItemChanged works!" );
}

Location

  • PlayerInventory::OnClothingChanged(Item item, bool bAdded)
csharp
//---
			base.baseEntity.GetHeldEntity().UpdateShieldState(bHeld: true);
		}
		item?.contents?.onItemAddedRemoved?.Invoke(item, bAdded);
	}
	base.baseEntity.ProcessMissionEvent(BaseMission.MissionEventType.CLOTHINGCHANGED, 0, 0f);
	Interface.CallHook("OnClothingItemChanged", this, item, bAdded);
}

Released under the MIT License.