LSLib.LS.LSBReader.ReadStaticStrings C# (CSharp) Méthode

ReadStaticStrings() private méthode

private ReadStaticStrings ( ) : void
Résultat void
        private void ReadStaticStrings()
        {
            UInt32 strings = reader.ReadUInt32();
            for (UInt32 i = 0; i < strings; i++)
            {
                string s = ReadString(false);
                UInt32 index = reader.ReadUInt32();
                if (staticStrings.ContainsKey(index))
                    throw new InvalidFormatException(String.Format("String ID {0} duplicated in static string map", index));
                staticStrings.Add(index, s);
            }
        }