CanReceiveCall
Usage
- Return a bool value to override default behavior
Example Autogenerated
csharp
private bool? CanReceiveCall( PhoneController instance )
{
Puts( "CanReceiveCall works!" );
return null;
}Location
- PhoneController::CanReceiveCall()
csharp
private bool CanReceiveCall()
{
object obj = Interface.CallHook("CanReceiveCall", this);
if (obj is bool)
{
return (bool)obj;
}
if (RequirePower && !IsPowered())
//---