---
--- Generated by EmmyLua(https://github.com/EmmyLua)
--- Created by HUAFEI2.
--- DateTime: 2020/6/12 17:28
---

local DataTable = {}

function DataTable:_getRootTable()
    if _G["_root_data_table_"] == nil then
        _G["_root_data_table_"] = {}
    end
    return _G["_root_data_table_"];
end

---@return table
function DataTable:GetUiTable()
    local tbRoot = DataTable:_getRootTable();
    if tbRoot["_ui_data_table_"] == nil then
        tbRoot["_ui_data_table_"] = {}
    end
    return tbRoot["_ui_data_table_"];
end

function DataTable:GetTable(szKey)
    local tbRoot = DataTable:_getRootTable();
    if tbRoot[szKey] == nil then
        tbRoot[szKey] = {}
    end
    return tbRoot[szKey];
end

_G.g_dataTable = DataTable;
