Base menu structure done
This commit is contained in:
parent
bad4289c5c
commit
4fd268b235
5 changed files with 230 additions and 0 deletions
23
Menus/ChatMenuOptionData.cs
Normal file
23
Menus/ChatMenuOptionData.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue