Skip to content

OnBookmarksSendControl

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

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

Location

  • ComputerStation::SendControlBookmarks(BasePlayer player)
csharp
//---
	if (player == null)
	{
		return;
	}
	string text = this.GenerateControlBookmarkString();
	if (Interface.CallHook("OnBookmarksSendControl", this, player, text) != null)
	{
		return;
	}
	base.ClientRPC<string>(RpcTarget.Player("ReceiveBookmarks", player), text);
}

Released under the MIT License.