Skip to content

OnOvenStarted

Usage

  • No return behavior

Example Autogenerated

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

Location

  • BaseOven::StartCooking()
csharp
//---
	this.UpdateAttachmentTemperature();
	BaseOven.cookQueue.Add(this);
	this.lastCookUpdate = 0f;
	this.lastCookVisualsUpdate = 0f;
	base.SetFlag(BaseEntity.Flags.On, true, false, true);
	Interface.CallHook("OnOvenStarted", this);
	if (this.hasOpenFlame)
	{
		SingletonComponent<NpcFireManager>.Instance.Add(this);
	}
}

Released under the MIT License.