Skip to content

CanRotateSail

Usage

  • Return a bool value to override default behavior

Example Autogenerated

csharp
private bool? CanRotateSail( Sail instance, BasePlayer player )
{
    Puts( "CanRotateSail works!" );
    return null;
}

Location

  • Sail::CanRotate(BasePlayer player)
csharp
public bool CanRotate(BasePlayer player)
{
	object returnvar = Interface.CallHook("CanRotateSail", this, player);
	if (returnvar is bool)
	{
		return (bool)returnvar;
	}
	if (base.IsBusy())
//---

Released under the MIT License.