- Namespace
- CounterStrikeSharp.API.Modules.Menu
- Assembly
- CounterStrikeSharp.API.dll
public class CenterHtmlMenu : BaseMenu, IMenu
- Inheritance
-
object
CenterHtmlMenu
- Implements
-
- Inherited Members
-
Constructors
[Obsolete("Use the constructor that takes a BasePlugin")]
public CenterHtmlMenu(string title)
Parameters
title
string
public CenterHtmlMenu(string title, BasePlugin plugin)
Parameters
title
string
plugin
BasePlugin
Properties
public string CloseColor { get; set; }
Property Value
- string
public string DisabledColor { get; set; }
Property Value
- string
public string EnabledColor { get; set; }
Property Value
- string
public string NextPageColor { get; set; }
Property Value
- string
public string PrevPageColor { get; set; }
Property Value
- string
public string TitleColor { get; set; }
Property Value
- string
Methods
public override ChatMenuOption AddMenuOption(string display, Action<CCSPlayerController, ChatMenuOption> onSelect, bool disabled = false)
Parameters
display
string
onSelect
Action<CCSPlayerController, ChatMenuOption>
disabled
bool
Returns
- ChatMenuOption
public override void Open(CCSPlayerController player)
Parameters
player
CCSPlayerController