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
//---
}
if (Interface.CallHook("OnPhoneNameUpdate", this, text, msg.player) == null)
{
PhoneName = text;
base.baseEntity.SendNetworkUpdate();
Interface.CallHook("OnPhoneNameUpdated", this, PhoneName, msg.player);
}
}
}