Skip to content

OnPhoneCallStarted

Usage

  • No return behavior

Example Autogenerated

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

Location

  • PhoneController::BeginCall()
csharp
//---
	{
		this.currentPlayer != null;
	}
	this.SetPhoneStateWithPlayer(Telephone.CallState.InProcess);
	base.Invoke(new Action(this.TimeOutCall), (float)TelephoneManager.MaxCallLength);
	Interface.CallHook("OnPhoneCallStarted", this, this.activeCallTo, this.currentPlayer);
}

Released under the MIT License.