神岛 API 文档 - ArenaPro版
    Preparing search index...

    定义 GUI 元素的数据结构。

    Defines the data structure for a GUI element.

    interface GUIData {
        attributes?: { [name: string]: string | number };
        children?: GUIData[];
        name: string;
    }
    Index

    Properties

    attributes?: { [name: string]: string | number }

    元素拥有的属性。

    The attributes of the element.

    children?: GUIData[]

    子元素列表。

    The list of child elements.

    name: string

    元素的名称或类型。

    The name or type of the element.