Skip to content

OnComposterUpdate ​

Usage ​

  • Return a non-null value to override default behavior

Example Autogenerated ​

csharp
private void OnComposterUpdate( Composter instance )
{
    Puts( "OnComposterUpdate works!" );
}

Location ​

  • Composter::UpdateComposting()
csharp
public void UpdateComposting()
{
	if (Interface.CallHook("OnComposterUpdate", this) != null)
	{
		return;
	}
	for (int i = 0; i < base.inventory.capacity; i++)
	{
//---

Released under the MIT License.