Skip to content

OnPhoneNameUpdated ​

Usage ​

  • No return behavior

Example Autogenerated ​

csharp
private void OnPhoneNameUpdated( PhoneController instance, string PhoneName, BasePlayer player )
{
    Puts( "OnPhoneNameUpdated works!" );
}

Location ​

  • PhoneController::UpdatePhoneName(BaseEntity/RPCMessage msg)
csharp
//---
	{
		return;
	}
	this.PhoneName = text;
	base.baseEntity.SendNetworkUpdate(BasePlayer.NetworkQueue.Update);
	Interface.CallHook("OnPhoneNameUpdated", this, this.PhoneName, msg.player);
}

Released under the MIT License.