OnOvenTemperature
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void OnOvenTemperature( BaseOven instance, int slot )
{
Puts( "OnOvenTemperature works!" );
}
Location
- BaseOven::GetTemperature(int slot)
csharp
public float GetTemperature(int slot)
{
object returnvar = Interface.CallHook("OnOvenTemperature", this, slot);
if (returnvar is float)
{
return (float)returnvar;
}
if (!base.HasFlag(BaseEntity.Flags.On))
//---