Skip to content

OnItemAddedToContainer

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnItemAddedToContainer( ItemContainer instance, Item item )
{
    Puts( "OnItemAddedToContainer works!" );
}

Location

  • ItemContainer::Insert(Item item)
csharp
//---
	this.MarkDirty();
	if (this.onItemAddedRemoved != null)
	{
		this.onItemAddedRemoved(item, true);
	}
	Interface.CallHook("OnItemAddedToContainer", this, item);
	return true;
}

Released under the MIT License.