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,72 @@
namespace Nexd.ESX.Client
{
using System.Collections.Generic;
public static partial class ESX
{
public static partial class UI
{
public class MenuData
{
public dynamic Raw;
public MenuData(dynamic data) => Raw = data;
public MenuData()
{
Raw = new System.Dynamic.ExpandoObject();
Raw.title = new System.Dynamic.ExpandoObject();
Raw.align = new System.Dynamic.ExpandoObject();
Raw.elements = new System.Dynamic.ExpandoObject();
Raw.elements.head = new System.Dynamic.ExpandoObject();
Raw.elements.rows = new System.Dynamic.ExpandoObject();
}
public List<MenuElement> elements
{
get
{
List<MenuElement> temp = new List<MenuElement>();
foreach (var i in Raw.elements)
temp.Add(new MenuElement(i));
return temp;
}
set => Raw.elements = value;
}
public MenuElement current => new MenuElement(Raw.current);
public string title
{
get => Raw.title;
set => Raw.title = value;
}
public string align
{
get => Raw.align;
set => Raw.align = value;
}
public string[] head
{
get => Raw.elements.head;
set => Raw.elements.head = value;
}
public dynamic rows
{
get => Raw.elements.rows;
set => Raw.elements.rows = value;
}
public string type {
get => Raw.type;
set => Raw.type = value;
}
}
}
}
}