public void UpdateTreasure()
    {
        NrMyCharInfo myCharInfo = NrTSingleton <NkCharManager> .Instance.GetMyCharInfo();

        if (myCharInfo != null)
        {
            List <int> treasureMapDate = myCharInfo.GetTreasureMapDate();
            if (treasureMapDate.Count != 0)
            {
                for (int i = 0; i < 20; i++)
                {
                    this.m_pTreasure[i].TreasureShow(false);
                    if (i < treasureMapDate.Count)
                    {
                        this.m_pTreasure[i].SetTreasureData(true, treasureMapDate[i]);
                    }
                    else
                    {
                        this.m_pTreasure[i].SetTreasureData(false, 0);
                    }
                }
            }
        }
    }