public void LiLianCardInfoCallback() { List <ItemViewData> list = new List <ItemViewData>(); foreach (KeyValuePair <int, ItemViewData> pair in BagMgr.Instance.itemTable) { if (pair.Value.data.subType == (int)Def.ItemUseType.Invitation) { list.Add(pair.Value); } } if (hanPop.data != null) { hanPop.SetLiLianList(list); } else { hanPop.SetLiLianList(list, false); } }