mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-02-17 18:39:07 +00:00
Base menu structure done
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user