Base menu structure done

This commit is contained in:
Valentin Barat
2024-01-31 17:06:54 +01:00
parent bad4289c5c
commit 4fd268b235
5 changed files with 230 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
namespace CS2_SimpleAdmin.Menus
{
public class ChatMenuOptionData
{
public string name;
public Action action;
public bool disabled = true;
public ChatMenuOptionData(string name, Action action)
{
this.name = name;
this.action = action;
this.disabled = false;
}
public ChatMenuOptionData(string name, Action action, bool disabled)
{
this.name = name;
this.action = action;
this.disabled = disabled;
}
}
}