Skip to content

CanBradleyApcTarget ​

Usage ​

  • Return a bool value to override default behavior

Example Autogenerated ​

csharp
private bool? CanBradleyApcTarget( BradleyAPC instance, BaseEntity ent )
{
    Puts( "CanBradleyApcTarget works!" );
    return null;
}

Location ​

  • BradleyAPC::VisibilityTest(BaseEntity ent)
csharp
//---
	}
	else
	{
		flag = IsVisible(ent.CenterPoint());
	}
	object obj = Interface.CallHook("CanBradleyApcTarget", this, ent);
	if (obj is bool)
	{
		return (bool)obj;
	}
	return flag;
//---

Released under the MIT License.