Beispiel #1
0
        public static void Load(LogicArrayList <LogicDataTableResource> resources, int idx, CSVNode node)
        {
            LogicDataTableResource resource = resources[idx];

            switch (resource.GetTableType())
            {
            case 0:
                LogicDataTables.InitDataTable(node, resource.GetTableIndex());
                break;

            case 3:
                // LogicStringTable.
                break;

            default:
                Debugger.Error("LogicResources::Invalid resource type");
                break;
            }

            if (resources.Size() - 1 == idx)
            {
                LogicDataTables.CreateReferences();
            }
        }