Пример #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
    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));
    }