Skip to content

OnOvenStarted

Usage

  • No return behavior

Example Autogenerated

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

Location

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

Released under the MIT License.