OnOvenStarted
Usage
- No return behavior
Example Autogenerated
csharp
private void OnOvenStarted( BaseOven instance )
{
Puts( "OnOvenStarted works!" );
}Location
- BaseOven::StartCooking()
csharp
//---
lastCookVisualsUpdate = 0f;
using (FlagsUpdateScope flagsUpdateScope = StartSetFlags(FlagsUpdateMode.SendNetworkUpdate))
{
flagsUpdateScope.Set(Flags.On, b: true);
}
Interface.CallHook("OnOvenStarted", this);
if (hasOpenFlame)
{
SingletonComponent<NpcFireManager>.Instance.Add(this);
}
UpdateIsCooking();
//---