OnPhoneAnswered
Usage
- No return behavior
Example Autogenerated
csharp
private void OnPhoneAnswered( PhoneController instance, PhoneController activeOtherPhoneController )
{
Puts( "OnPhoneAnswered works!" );
}Location
- PhoneController::AnswerPhone(BaseEntity.RPCMessage msg)
csharp
//---
if (Interface.CallHook("OnPhoneAnswer", this, activeOtherPhoneController) == null)
{
UpdateServerPlayer(player);
BeginCall();
activeOtherPhoneController.BeginCall();
Interface.CallHook("OnPhoneAnswered", this, activeOtherPhoneController);
}
}
}