Skip to content

OnOvenStart

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnOvenStart( BaseOven instance )
{
    Puts( "OnOvenStart works!" );
}

Location

  • BaseOven::StartCooking()
csharp
public virtual void StartCooking()
{
	if (Interface.CallHook("OnOvenStart", this) != null)
	{
		return;
	}
	if (this.FindBurnable() == null && !this.CanRunWithNoFuel)
	{
//---

Released under the MIT License.