예제 #1
0
    public bool Load()
    {
        string strTableContent = "";

        if (GameAssist.ReadCsvFile("GodWeaponTuPo.csv", out strTableContent))
        {
            return(LoadCsv(strTableContent));
        }
        byte[] binTableContent = null;
        if (!GameAssist.ReadBinFile("GodWeaponTuPo.bin", out binTableContent))
        {
            Debug.Log("配置文件[GodWeaponTuPo.bin]未找到");
            return(false);
        }
        return(LoadBin(binTableContent));
    }
예제 #2
0
파일: JuLingCfg.cs 프로젝트: qipa/RpcCoder
    public bool Load()
    {
        string strTableContent = "";

        if (GameAssist.ReadCsvFile("JuLing.csv", out strTableContent))
        {
            return(LoadCsv(strTableContent));
        }
        byte[] binTableContent = null;
        if (!GameAssist.ReadBinFile("JuLing.bin", out binTableContent))
        {
            Ex.Logger.Log("配置文件[JuLing.bin]未找到");
            return(false);
        }
        return(LoadBin(binTableContent));
    }
예제 #3
0
    public bool Load()
    {
        string strTableContent = "";

        if (GameAssist.ReadCsvFile("MissionKillMonster.csv", out strTableContent))
        {
            return(LoadCsv(strTableContent));
        }
        byte[] binTableContent = null;
        if (!GameAssist.ReadBinFile("MissionKillMonster.bin", out binTableContent))
        {
            Debug.Log("配置文件[MissionKillMonster.bin]未找到");
            return(false);
        }
        return(LoadBin(binTableContent));
    }