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 obj = Interface.CallHook("CanRotateSail", this, player);
if (obj is bool)
{
return (bool)obj;
}
if (IsBusy())
//---