public void UpdateRewardInfo(RES_EVENT_COLLECT_RECEIVE info) { m_value = info.userNum; m_rewardBasicCount = info.rewardCount; m_rewardCompleteIndex = Util.ToList <int>(info.rewardItem); }
public void ResponseEventCollectReceive(RES_EVENT_COLLECT_RECEIVE info) { m_isCollectEventUpdate = true; int newIndex = m_collectEventInfo.GetNewRewardIndex(info.rewardItem); UpdateEventInfoNew((int)EVENT_TYPE.EVENT_COLLECT); m_collectEventInfo.UpdateRewardInfo(info); m_eventWindow.UIWindowResponse(EVENT_TYPE.EVENT_COLLECT, newIndex, (uint)info.itemCode, info.itemValue); }