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);
    }
    private List <DeliveryTable.DeliveryData> CreateClearedDliveryList(ARENA_RANK borderRank)
    {
        List <DeliveryTable.DeliveryData> list = new List <DeliveryTable.DeliveryData>();
        List <ClearStatusDelivery>        clearStatusDelivery = MonoBehaviourSingleton <DeliveryManager> .I.clearStatusDelivery;
        int i = 0;

        for (int count = clearStatusDelivery.Count; i < count; i++)
        {
            ClearStatusDelivery d = clearStatusDelivery[i];
            if (d.deliveryStatus == 3)
            {
                DeliveryTable.DeliveryData deliveryTableData = Singleton <DeliveryTable> .I.GetDeliveryTableData((uint)d.deliveryId);

                if (deliveryTableData.eventID == eventData.eventId && !Array.Exists(deliveryInfo, (Delivery x) => x.dId == d.deliveryId))
                {
                    ArenaTable.ArenaData arenaData = deliveryTableData.GetArenaData();
                    if (arenaData != null && arenaData.rank >= borderRank && deliveryTableData.GetConditionType(0u) != DELIVERY_CONDITION_TYPE.COMPLETE_DELIVERY_ID)
                    {
                        list.Add(deliveryTableData);
                        if (deliveryTableData.clearEventID != 0)
                        {
                            string text = deliveryTableData.clearEventTitle;
                            if (string.IsNullOrEmpty(text))
                            {
                                text = deliveryTableData.name;
                            }
                            stories.Add(new Story((int)deliveryTableData.clearEventID, text));
                        }
                    }
                }
            }
        }
        return(list);
    }
    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 GetArenaRankIconName(ARENA_RANK rank)
 {
     return($"ARIC_{(int)rank:d9}");
 }