import {
    
    // buildUIControlState as buildUIControlStateMeta3D,
    getUIControlSpecificDataFields as getUIControlSpecificDataFieldsMeta3D,
    hasChildren as hasChildrenMeta3D,
    getUIControlSupportedEventNames as getUIControlSupportedEventNamesMeta3D, generateHandleUIControlEventStr as generateHandleUIControlEventStrMeta3D
} from "meta3d-type/src/contribute/UIControlProtocolConfigType"



// let _generateUniqueId = () => {
//     return Math.floor(Math.random() * 1000000.0).toString()
// }

export let getUIControlSpecificDataFields: getUIControlSpecificDataFieldsMeta3D = () => [
    {
        name: "label",
        type_: "string",
        value: "Game View"
    }
    // {
    //     name: "textureID",
    //     type_: "string",
    //     value: ""
    // }
]

// export let buildUIControlState: buildUIControlStateMeta3D = (rect, specific) => {
//   return {
//     rect: rect
//   }
// }

export let hasChildren: hasChildrenMeta3D = () => false

export let getUIControlSupportedEventNames: getUIControlSupportedEventNamesMeta3D = () => []

export let generateHandleUIControlEventStr: generateHandleUIControlEventStrMeta3D = ([]) => {
    return ""
}