Exemplo n.º 1
0
 private void UpdateTitle()
 {
     if (!isExistArena)
     {
         SetLabelText((Enum)UI.LBL_ARENA_NAME, string.Empty);
         SetLabelText((Enum)UI.LBL_END_DATE, string.Empty);
     }
     else
     {
         SetLabelText((Enum)UI.LBL_ARENA_NAME, eventData.name);
         string endDateString = QuestUtility.GetEndDateString(eventData);
         SetLabelText((Enum)UI.LBL_END_DATE, endDateString);
     }
 }
Exemplo n.º 2
0
 protected virtual void UpdateTitle()
 {
     if (eventData == null)
     {
         SetLabelText((Enum)UI.LBL_ARENA_NAME, string.Empty);
         SetLabelText((Enum)UI.LBL_END_DATE, string.Empty);
     }
     else
     {
         SetLabelText((Enum)UI.LBL_ARENA_NAME, eventData.name);
         string endDateString = QuestUtility.GetEndDateString(eventData);
         SetLabelText((Enum)UI.LBL_END_DATE, endDateString);
     }
 }
 private void SetArenaName(Network.EventData nameEventData)
 {
     if (nameEventData == null)
     {
         SetLabelText((Enum)UI.LBL_ARENA_NAME, string.Empty);
         SetLabelText((Enum)UI.LBL_END_DATE, string.Empty);
     }
     else
     {
         SetLabelText((Enum)UI.LBL_ARENA_NAME, nameEventData.name);
         string endDateString = QuestUtility.GetEndDateString(nameEventData);
         SetLabelText((Enum)UI.LBL_END_DATE, endDateString);
     }
 }
Exemplo n.º 4
0
 private void UpdateEndData(Transform t, Network.EventData eventData)
 {
     SetLabelText(t, UI.LBL_PERIOD, QuestUtility.GetEndDateString(eventData));
 }