Skip to content

OnItemSubmit

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnItemSubmit( Item slot, Mailbox instance, BasePlayer fromPlayer )
{
    Puts( "OnItemSubmit works!" );
}

Location

  • Mailbox::SubmitInputItems(BasePlayer fromPlayer)
csharp
//---
	{
		return;
	}
	if (slot != null)
	{
		if (Interface.CallHook("OnItemSubmit", slot, this, fromPlayer) != null)
		{
			return;
		}
		if (this.MoveItemToStorage(slot))
		{
//---

Released under the MIT License.