Example #1
0
    private List <CategoryInfo> LoadCategory()
    {
        List <CategoryInfo> categoryInfoList = new List <CategoryInfo>();

        for (ushort i = 0; i < CriAtomExAcfDebug.GetNumCategories(); i++)
        {
            CriAtomExAcfDebug.GetCategoryInfoByIndex(i, out var categoryInfo);

            categoryInfoList.Add(new CategoryInfo(
                                     categoryInfo.groupNo,
                                     categoryInfo.id,
                                     categoryInfo.name,
                                     categoryInfo.numCueLimits,
                                     categoryInfo.volume));
        }

        return(categoryInfoList);
    }