Skip to content

CanDropActiveItem ​

Usage ​

  • Return a non-null value to override default behavior

Example Autogenerated ​

csharp
private void CanDropActiveItem( BasePlayer instance )
{
    Puts( "CanDropActiveItem works!" );
}

Location ​

  • BasePlayer::ShouldDropActiveItem()
csharp
public virtual bool ShouldDropActiveItem()
{
	object returnvar = Interface.CallHook("CanDropActiveItem", this);
	return !(returnvar is bool) || (bool)returnvar;
}

Released under the MIT License.