Пример #1
0
 void OnUpdateInviteList(UIGridBase data, int index)
 {
     if (null != infos && index < infos.Count)
     {
         data.SetGridData(infos[index]);
     }
 }
Пример #2
0
 void OnItemGridDataUpdate(UIGridBase data, int index)
 {
     if (m_lstUseItemData != null && index < m_lstUseItemData.Count)
     {
         data.SetGridData(m_lstUseItemData[index]);
     }
 }
Пример #3
0
 void OnRideSkillGridDataUpdate(UIGridBase data, int index)
 {
     if (m_lstSkills != null && index < m_lstSkills.Count)
     {
         data.SetGridData(m_lstSkills[index]);
     }
 }
Пример #4
0
 void OnGodCampDataUpdate(UIGridBase data, int index)
 {
     if (null != m_lstCampCombatGod && index < m_lstCampCombatGod.Count)
     {
         data.SetGridData(m_lstCampCombatGod[index]);
     }
 }
Пример #5
0
 void OnDemonCampDataUpdate(UIGridBase data, int index)
 {
     if (null != m_lstCampCombatDemon && index < m_lstCampCombatDemon.Count)
     {
         data.SetGridData(m_lstCampCombatDemon[index]);
     }
 }
Пример #6
0
 private void OnHomeFriendGridDataUpdate(UIGridBase data, int index)
 {
     if (null != friendList && index < friendList.Count)
     {
         data.SetGridData(friendList[index]);
     }
 }
Пример #7
0
 void OnRidtGridDataUpdate(UIGridBase data, int index)
 {
     if (m_lstRideData != null && index < m_lstRideData.Count)
     {
         data.SetGridData(m_lstRideData[index]);
     }
 }
Пример #8
0
 void OnMonthItemDataUpdate(UIGridBase data, int index)
 {
     if (null != m_lstWelFareData && index < m_lstWelFareData.Count)
     {
         data.SetGridData(m_lstWelFareData[index]);
     }
 }
Пример #9
0
 void OnCollectWordGridUpdate(UIGridBase data, int index)
 {
     if (null != m_lstWelFareData && index < m_lstWelFareData.Count)
     {
         data.SetGridData(m_lstWelFareData[index]);
     }
 }
Пример #10
0
 void OnRewardFindGridUpdate(UIGridBase data, int index)
 {
     if (null != m_lstRewardFindData && index < m_lstRewardFindData.Count)
     {
         data.SetGridData(m_lstRewardFindData[index]);
     }
 }
Пример #11
0
 void OnWelfareInviteDataGrid(UIGridBase data, int index)
 {
     if (null != m_lstWelFareData && index < m_lstWelFareData.Count)
     {
         data.SetGridData(m_lstWelFareData[index]);
     }
 }
Пример #12
0
 private void OnBossRankGridUpdate(UIGridBase gridBase, int index)
 {
     if (null != gridBase)
     {
         if (gridBase is UIJvBaoBossDamRankGrid)
         {
             GameCmd.BossDamRank tempData = null;
             if (m_mgr.TryGetWorldBossDamRankData(index, out tempData))
             {
                 gridBase.SetGridData(tempData);
             }
             
         }
     }
 }
Пример #13
0
 void OnRideViewGridDataUpdate(UIGridBase data, int index)
 {
     if (data is UITabGrid)
     {
         UITabGrid tab = data as UITabGrid;
         tab.SetGridData(index + 1);
         tab.SetName(nameList[index]);
         bool active = (index == 0);
         tab.SetHightLight(active);
         if (active)
         {
             rideViewTabIndex = index;
             OnSelectTabs(1);
         }
     }
     else if (data is UIRideViewGrid)
     {
         if (m_lstRidedatasShow != null && index < m_lstRidedatasShow.Count)
         {
             data.SetGridData(m_lstRidedatasShow[index]);
         }
     }
 }