OnPhoneNameUpdated
Usage
- No return behavior
Example Autogenerated
csharp
private void OnPhoneNameUpdated( PhoneController instance, string PhoneName, BasePlayer currentPlayer )
{
Puts( "OnPhoneNameUpdated works!" );
}Location
- PhoneController::UpdatePhoneName(string newName)
csharp
//---
}
if (Interface.CallHook("OnPhoneNameUpdate", this, newName, currentPlayer) == null)
{
PhoneName = newName;
base.baseEntity.SendNetworkUpdate();
Interface.CallHook("OnPhoneNameUpdated", this, PhoneName, currentPlayer);
}
}