Skip to content

OnBoomboxStationUpdated

Usage

  • No return behavior

Example Autogenerated

csharp
private void OnBoomboxStationUpdated( BoomBox instance, string text, BasePlayer player )
{
    Puts( "OnBoomboxStationUpdated works!" );
}

Location

  • BoomBox::Server_UpdateRadioIP(BaseEntity/RPCMessage msg)
csharp
//---
			ulong assignedRadioBy = msg.player.userID.Get();
			this.AssignedRadioBy = assignedRadioBy;
		}
		this.CurrentRadioIp = text;
		base.baseEntity.ClientRPC<string>(RpcTarget.NetworkGroup("OnRadioIPChanged"), this.CurrentRadioIp);
		Interface.CallHook("OnBoomboxStationUpdated", this, text, msg.player);
		if (this.IsOn())
		{
			this.ServerTogglePlay(false);
		}
	}
//---

Released under the MIT License.