コード例 #1
0
    /// <summary>
    /// 读取一张地图的数据
    /// </summary>
    private void ReadTDData(string fileName)
    {
        byte[] data = File.ReadAllBytes(fileName);
        data        = IOUtility.Decompress(data);
        runedCount += 0.2f;
        TDData tDData = TDDataDeserialize(data);

        lock (tDDatas)
        {
            tDDatas.Enqueue(tDData);
        }
        runedCount += 0.8f;
    }