//副本信息 public void UpdateStagevo(MsgData_sPersonalBossVO item) { PersonalBossVO v = new PersonalBossVO(); v.num = item.num; v.id = item.id; v.isfirst = item.isfirst; v.remainTime = item.remainTime; v.passFlag = item.passFlag; v.leftNum = item.leftNum; v.m_nBuyNum = item.m_nBuyNum; v.date = DateTime.Now; v.m_i8NextTimeStamp = item.m_i8NextTimeStamp; if (mStage.ContainsKey(v.id)) { mStage[v.id] = v; } else { mStage.Add(v.id, v); } }
public PersonalBossVO GetStagevo(int id) { PersonalBossVO v = null; if (mStage.ContainsKey(id)) { v = mStage[id]; } else { v = new PersonalBossVO(); v.num = 0; v.id = id; v.isfirst = 0; v.remainTime = 0; v.passFlag = 0; v.leftNum = -1; v.m_nBuyNum = 0; v.date = DateTime.Now; v.m_i8NextTimeStamp = 0; } return(v); }