예제 #1
0
    //--------------------------------------------------------------------------------------------
    public List <string> GetPublicPath(bool bAll)
    {
        List <string>  vPths = new List <string>();
        List <TglItem> vItms = mPubLst.GetItems();

        foreach (TglItem itm in vItms)
        {
            if (bAll || itm.mbSel)
            {
                vPths.Add(itm.mName);
            }
        }
        return(vPths);
    }
예제 #2
0
    //--------------------------------------------------------------------------------------------
    void OnFirstGame()
    {
        List <TglItem> itms = mGameLst.GetItems();

        if (itms.Count > 0)
        {
            itms[0].mbSel = true;
            GamePackUI gm  = null;
            string     sGm = ArchiveUtil.GetLastPath(itms[0].mName);
            mGameRes.TryGetValue(sGm.ToLower(), out gm);
            if (gm != mpSelGM)
            {
                mpSelGM = gm;
            }
        }
    }