Class ChatMenuOption
- Namespace
- CounterStrikeSharp.API.Modules.Menu
- Assembly
- CounterStrikeSharp.API.dll
public class ChatMenuOption
- Inheritance
-
objectChatMenuOption
Constructors
ChatMenuOption(string, bool, Action<CCSPlayerController, ChatMenuOption>)
public ChatMenuOption(string display, bool disabled, Action<CCSPlayerController, ChatMenuOption> onSelect)
Parameters
display
stringdisabled
boolonSelect
Action<CCSPlayerController, ChatMenuOption>
Properties
Disabled
public bool Disabled { get; set; }
Property Value
OnSelect
public Action<CCSPlayerController, ChatMenuOption> OnSelect { get; set; }
Property Value
Text
public string Text { get; set; }