Skip to content

CanCombineDroppedItem

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void CanCombineDroppedItem( DroppedItem instance, DroppedItem di )
{
    Puts( "CanCombineDroppedItem works!" );
}

Location

  • DroppedItem::OnDroppedOn(DroppedItem di)
csharp
//---
	}
	if (di.item == null)
	{
		return;
	}
	if (Interface.CallHook("CanCombineDroppedItem", this, di) != null)
	{
		return;
	}
	if (di.item.info != this.item.info)
	{
//---

Released under the MIT License.