Skip to content

OnOutputUpdate

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private object OnOutputUpdate( IOEntity instance )
{
    Puts( "OnOutputUpdate works!" );
    return null;
}

Location

  • IOEntity::UpdateOutputs()
csharp
public virtual void UpdateOutputs()
{
	if (Interface.CallHook("OnOutputUpdate", this) != null || !ShouldUpdateOutputs() || !ensureOutputsUpdated)
	{
		return;
	}
	ensureOutputsUpdated = false;
	using (TimeWarning.New("ProcessIOOutputs"))
//---

Released under the MIT License.