Пример #1
0
    public CdType[] GetCDRealseCondition()
    {
        List <CdType> cdTypes  = new List <CdType>();
        SkillBaseData baseData = m_SkillData.BaseData.Value;

        for (int i = 0; i < baseData.CdDatasLength; ++i)
        {
            CdData cdData = baseData.CdDatas(i).Value;
            cdTypes.Add(cdData.CdType);
        }

        return(cdTypes.ToArray());
    }
Пример #2
0
    public CdType[] GetSkillReleaseCDTypes(int skillID)
    {
        SkillData     skillData = GetSkillData(skillID);
        SkillBaseData baseData  = skillData.BaseData.Value;

        List <CdType> cdTypes = new List <CdType>();

        for (int i = 0; i < baseData.CdDatasLength; ++i)
        {
            CdData cdData = baseData.CdDatas(i).Value;
            cdTypes.Add(cdData.CdType);
        }

        return(cdTypes.ToArray());
    }