OnPhoneDialFail
Usage
- Return a non-null value to override default behavior
Example Autogenerated
csharp
private void OnPhoneDialFail( PhoneController instance, DialFailReason reason, BasePlayer currentPlayer )
{
Puts( "OnPhoneDialFail works!" );
}
Location
- PhoneController::OnDialFailed(Telephone/DialFailReason reason)
csharp
public void OnDialFailed(Telephone.DialFailReason reason)
{
if (Interface.CallHook("OnPhoneDialFail", this, reason, this.currentPlayer) != null)
{
return;
}
this.SetPhoneState(Telephone.CallState.Idle);
base.baseEntity.ClientRPC<int>(RpcTarget.NetworkGroup("ClientOnDialFailed"), (int)reason);
//---