Skip to content

OnInterferenceUpdate

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnInterferenceUpdate( AutoTurret instance )
{
    Puts( "OnInterferenceUpdate works!" );
}

Location

  • AutoTurret::RecalculateInterference()
csharp
private bool RecalculateInterference()
{
	object returnvar = Interface.CallHook("OnInterferenceUpdate", this);
	if (returnvar is bool)
	{
		return (bool)returnvar;
	}
	bool flag = this.HasInterference();
//---

Released under the MIT License.