Skip to content

OnPhoneDialTimedOut ​

Usage ​

  • No return behavior

Example Autogenerated ​

csharp
private void OnPhoneDialTimedOut( PhoneController activeOtherPhoneController, PhoneController instance, BasePlayer currentPlayer )
{
    Puts( "OnPhoneDialTimedOut works!" );
}

Location ​

  • PhoneController::TimeOutDialing()
csharp
//---
		if (activeOtherPhoneController != null)
		{
			activeOtherPhoneController.ServerPlayAnsweringMessage(this);
		}
		SetPhoneState(Telephone.CallState.Idle);
		Interface.CallHook("OnPhoneDialTimedOut", activeOtherPhoneController, this, activeOtherPhoneController.currentPlayer);
	}
}

Released under the MIT License.