Skip to content

CanUseGesture

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

csharp
private void CanUseGesture( BasePlayer player, GestureConfig instance )
{
    Puts( "CanUseGesture works!" );
}

Location

  • GestureConfig::IsOwnedBy(BasePlayer player)
csharp
public bool IsOwnedBy(BasePlayer player)
{
	object returnvar = Interface.CallHook("CanUseGesture", player, this);
	if (returnvar is bool)
	{
		return (bool)returnvar;
	}
	if (this.forceUnlock)
//---

Released under the MIT License.