Skip to content

OnWindmillUpdate

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void OnWindmillUpdate( ElectricWindmill instance )
{
    Puts( "OnWindmillUpdate works!" );
}

Location

  • ElectricWindmill::WindUpdate()
csharp
public void WindUpdate()
{
	if (Interface.CallHook("OnWindmillUpdate", this) != null)
	{
		return;
	}
	this.serverWindSpeed = this.GetWindSpeedScale();
	if (!this.AmIVisible())
//---

Released under the MIT License.