예제 #1
0
    public void NtfSearchPackVers()
    {
        string verPth = "PackVers/";

        mVerList = ArchiveUtil.NtfGetFiles(verPth, false, "*.csv");
        PackVerCfg.NtfLoadVerCfg("PackVers/VerConfig.txt");
        NtfRefreshItemVer();
    }
예제 #2
0
    public VerItemMng mVerMng;                  // 版本管理器


    //--------------------------------------------------------------------------------------------
    // 启动
    void OnEnable()
    {
        ArchiveUtil.NtfInitSkips();
        PackVerCfg.NtfLoadVerCfg("PackVers/VerConfig.txt");
        mVerMng = new VerItemMng();
        mPckLyr = new CLyrPackRes();
        mVerLyr = new CLyrVerInfor();

        mCsvView = new CLyrViewCsv(950, 280);


        mVerMng.NtfSearchPackVers();    // 搜索已经存在的版本文件
        //mPckLyr.NtfCompare(this);
    }
예제 #3
0
    //--------------------------------------------------------------------------------------------
    // 启动
    void OnEnable()
    {
        ArchiveUtil.NtfInitSkips();
        PackVerCfg.NtfLoadVerCfg("PackVers/VerConfig.txt");
        mVerMng = new VerItemMng();
        mVerMng.NtfSearchPackVers();    // 搜索已经存在的版本文件
        mTgtCtrl = new UITargetCtrl();
        mGameLst = new UIToggleCtrl(@"游戏列表", this.OnClickGameList);
        mPubLst  = new UIToggleCtrl(@"公共文件");        // 场景列表
        mGameRes = new Dictionary <string, GamePackUI>();
        mPubLst.EnableHori(true);
        mPubLst.LeftTitle(true);
        NtfRefreshGames();
        NtfRefreshPublic();

        mGameLst.AddButton(new BtnItem(101, 40, @"刷新", this.OnClickCtrlBtn));

        mPubLst.AddButton(new BtnItem(201, 40, @"刷新", this.OnClickCtrlBtn));
        mPubLst.AddButton(new BtnItem(202, 40, @"打包", this.OnClickCtrlBtn));
    }