示例#1
0
 public static void UnpackVariables(Cache loaded_cache, DataBuffer data_file)
 {
     int cacheSize = data_file.ReadShort();
     if (cache == null)
         cache = new VarBit[cacheSize];
     Count = cacheSize;
     for (int j = 0; j < cacheSize; j++)
     {
         if (cache[j] == null)
             cache[j] = new VarBit();
         cache[j].ReadVariable(data_file);
         //if (cache[j].aBoolean651)
         //	Varp.cache[cache[j].anInt648].aBoolean713 = true;
     }
 }
示例#2
0
        public static void UnpackVariables(Cache loaded_cache, DataBuffer data_file)
        {
            int cacheSize = data_file.ReadShort();

            if (cache == null)
            {
                cache = new VarBit[cacheSize];
            }
            Count = cacheSize;
            for (int j = 0; j < cacheSize; j++)
            {
                if (cache[j] == null)
                {
                    cache[j] = new VarBit();
                }
                cache[j].ReadVariable(data_file);
                //if (cache[j].aBoolean651)
                //	Varp.cache[cache[j].anInt648].aBoolean713 = true;
            }
        }