public static string GetArenaTitle(ARENA_GROUP group, ARENA_RANK rank) { string arg = StringTable.Format(STRING_CATEGORY.ARENA, 0u, group); string text = StringTable.Format(STRING_CATEGORY.ARENA, 1u, rank); return(arg + " " + rank); }
public override void Initialize() { m_rank = MonoBehaviourSingleton <InGameManager> .I.GetCurrentArenaRank(); m_group = MonoBehaviourSingleton <InGameManager> .I.GetCurrentArenaGroup(); m_isTimeAttack = MonoBehaviourSingleton <InGameManager> .I.IsArenaTimeAttack(); base.Initialize(); UITexture component = GetCtrl(UI.TEX_RANK_PRE).GetComponent <UITexture>(); ResourceLoad.LoadWithSetUITexture(component, RESOURCE_CATEGORY.ARENA_RANK_ICON, ResourceName.GetArenaRankIconName(m_rank)); UITexture component2 = GetCtrl(UI.TEX_RANK_NEW).GetComponent <UITexture>(); ResourceLoad.LoadWithSetUITexture(component2, RESOURCE_CATEGORY.ARENA_RANK_ICON, ResourceName.GetArenaRankIconName(m_rank + 1)); if (MonoBehaviourSingleton <UIManager> .IsValid() && MonoBehaviourSingleton <UIManager> .I.mainChat != null) { MonoBehaviourSingleton <UIManager> .I.mainChat.HideOpenButton(); MonoBehaviourSingleton <UIManager> .I.mainChat.HideAll(); } }
public static string GetArenaTitle(ARENA_GROUP group, string subTitle) { string str = StringTable.Format(STRING_CATEGORY.ARENA, 0u, group); return(str + " " + subTitle); }