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)); }
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)); }