Exemple #1
0
 public static string GetSymbolAttString(CSymbolItem symbol, bool bPvp = true)
 {
     if (bPvp)
     {
         return(CUICommonSystem.GetFuncEftDesc(ref symbol.m_SymbolData.astFuncEftList, true));
     }
     return(CUICommonSystem.GetFuncEftDesc(ref symbol.m_SymbolData.astPveEftList, true));
 }
Exemple #2
0
        public static string GetSymbolAttString(uint cfgId, bool bPvp = true)
        {
            ResSymbolInfo dataByKey = GameDataMgr.symbolInfoDatabin.GetDataByKey(cfgId);

            if (dataByKey == null)
            {
                return(string.Empty);
            }
            if (bPvp)
            {
                return(CUICommonSystem.GetFuncEftDesc(ref dataByKey.astFuncEftList, true));
            }
            return(CUICommonSystem.GetFuncEftDesc(ref dataByKey.astPveEftList, true));
        }