Archived
Private
Public Access
1
0

Update 29.10.2022

This commit is contained in:
2022-10-29 18:17:27 +02:00
parent 2a1d18cb9d
commit 494fb2d8c5
355 changed files with 408588 additions and 155997 deletions

View File

@@ -0,0 +1,66 @@
namespace Nexd.ESX.Client
{
public static partial class ESX
{
public static partial class UI
{
public class MenuElement
{
public dynamic Raw;
public MenuElement(dynamic data) => Raw = data;
public MenuElement(dynamic label, dynamic value, dynamic customdata = null, string type = "default")
{
Raw = new System.Dynamic.ExpandoObject();
Raw.label = label;
Raw.value = value;
Raw.type = type;
custom = customdata;
}
public MenuElement()
{
Raw = new System.Dynamic.ExpandoObject();
Raw.label = new System.Dynamic.ExpandoObject();
Raw.value = new System.Dynamic.ExpandoObject();
Raw.name = new System.Dynamic.ExpandoObject();
Raw.options = new System.Dynamic.ExpandoObject();
Raw.type = "default";
custom = new System.Dynamic.ExpandoObject();
}
public dynamic label
{
get => Raw.label;
set => Raw.label = value;
}
public dynamic name {
get => Raw.name;
set => Raw.name = value;
}
public dynamic value
{
get => Raw.value;
set => Raw.value = value;
}
public dynamic options {
get => Raw.options;
set => Raw.options = value;
}
public string type
{
get => Raw.type;
set => Raw.type = value;
}
public dynamic custom { get; set; }
}
}
}
}