public SpecialEventInfo(RES_EVENT_ATTEND_INFO info) { this.m_index = info.idx; this.m_attendRewardIndexList = ParseAttendIndex(info.attend_idxs); this.m_rewardCompleteIndexList = ParseAttendIndex(info.uAttend_idxs); this.m_eventStartTime = info.s_time; this.m_eventEndTime = info.e_time; this.m_eventRewardCount = info.uDay; this.m_rewardTime = info.uRewardTimer; }
public void ResponseEventAttendInfo(RES_EVENT_ATTEND_INFO info) { m_isSpecialEventUpdate = true; m_specialEventInfo = new SpecialEventInfo(info); if (CheckWindowActive()) { m_eventWindow.SetEventWindowGroup(EVENT_TYPE.EVENT_SPECIAL_REWARD, false); } else { OpenEventWindow(EVENT_TYPE.EVENT_SPECIAL_REWARD); } }