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
//---
		this.DropReason = DroppedItem.DropReasonEnum.Player;
	}
	di.DestroyItem();
	di.Kill(BaseNetworkable.DestroyMode.None);
	int arg_26E_0 = this.item.info.GetWorldModelIndex(this.item.amount);
	Interface.CallHook("OnDroppedItemCombined", this);
	this.item.amount = num2;
	this.item.MarkDirty();
	if (this.GetDespawnDuration() < float.PositiveInfinity)
	{
		base.Invoke(new Action(this.IdleDestroy), this.GetDespawnDuration());
//---

Released under the MIT License.