Skip to content

OnBookmarkDelete

Usage

  • Return a non-null value to override default behavior

Example Autogenerated

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

Location

  • ComputerStation::DeleteBookmark(BaseEntity/RPCMessage msg)
csharp
//---
	{
		return;
	}
	if (this.controlBookmarks.Contains(text))
	{
		if (Interface.CallHook("OnBookmarkDelete", this, player, text) != null)
		{
			return;
		}
		this.controlBookmarks.Remove(text);
		this.SendControlBookmarks(player);
//---

Released under the MIT License.