Table of Contents

Class CenterHtmlMenu

Namespace
CounterStrikeSharp.API.Modules.Menu
Assembly
CounterStrikeSharp.API.dll
public class CenterHtmlMenu : BaseMenu, IMenu
Inheritance
CenterHtmlMenu
Implements
Inherited Members

Constructors

CenterHtmlMenu(string)

[Obsolete("Use the constructor that takes a BasePlugin")]
public CenterHtmlMenu(string title)

Parameters

title string

CenterHtmlMenu(string, BasePlugin)

public CenterHtmlMenu(string title, BasePlugin plugin)

Parameters

title string
plugin BasePlugin

Properties

CloseColor

public string CloseColor { get; set; }

Property Value

string

DisabledColor

public string DisabledColor { get; set; }

Property Value

string

EnabledColor

public string EnabledColor { get; set; }

Property Value

string

NextPageColor

public string NextPageColor { get; set; }

Property Value

string

PrevPageColor

public string PrevPageColor { get; set; }

Property Value

string

TitleColor

public string TitleColor { get; set; }

Property Value

string

Methods

AddMenuOption(string, Action<CCSPlayerController, ChatMenuOption>, bool)

public override ChatMenuOption AddMenuOption(string display, Action<CCSPlayerController, ChatMenuOption> onSelect, bool disabled = false)

Parameters

display string
onSelect Action<CCSPlayerController, ChatMenuOption>
disabled bool

Returns

ChatMenuOption

Open(CCSPlayerController)

public override void Open(CCSPlayerController player)

Parameters

player CCSPlayerController