public List <CSUI_ItemInfo> GetTheExChangeList()
    {
        InfoList.Clear();

        foreach (CSUI_EXchangeItem item in m_EXchangeItem)
        {
            CSUI_ItemInfo Info = new CSUI_ItemInfo();
            Info.protoId = item.ProtoId;
            Info.Number  = (int)item.CurrentNum;
            InfoList.Add(Info);
        }
        return(InfoList);
    }
    public List <CSUI_ItemInfo> GetThegetList()
    {
        InfoList2.Clear();

        foreach (CSUI_GetItem item in m_GetItem)
        {
            CSUI_ItemInfo Info = new CSUI_ItemInfo();
            Info.protoId = item.ProtoId;
            Info.Number  = (int)item.CurrentNum;
            InfoList2.Add(Info);
        }
        return(InfoList2);
    }
示例#3
0
 public TradeObj(CSUI_ItemInfo ci)
 {
     this.protoId = ci.protoId;
     this.count   = ci.Number;
 }