Example #1
0
    private List <AisacControlInfo> LoadAisacControlList()
    {
        List <AisacControlInfo> aisacControlInfoList = new List <AisacControlInfo>();

        for (ushort i = 0; i < CriAtomExAcfDebug.GetNumAisacControls(); i++)
        {
            CriAtomExAcfDebug.GetAisacControlInfo(i, out var aisacControlInfo);

            aisacControlInfoList.Add(new AisacControlInfo(
                                         aisacControlInfo.name,
                                         aisacControlInfo.id));
        }

        aisacControlInfoList.Sort((a, b) => (int)a.id - (int)b.id);

        return(aisacControlInfoList);
    }
Example #2
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);
    }