Skip to content

OnDroppedItemCombined

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnDroppedItemCombined( DroppedItem instance )
{
    Puts( "OnDroppedItemCombined works!" );
}

Location

  • DroppedItem::OnDroppedOn(DroppedItem di)
csharp
//---
	if (Item.BlockStackFoodItem(this.item, di.item))
	{
		return;
	}
	int num2 = di.item.amount + this.item.amount;
	Interface.CallHook("OnDroppedItemCombined", this);
	if (num2 > this.item.MaxStackable())
	{
		return;
	}
	if (num2 == 0)
//---

Released under the MIT License.