NScumm.Scumm.IO.ResourceFile0.ReadName C# (CSharp) Méthode

ReadName() private méthode

private ReadName ( ObjectData obj ) : void
obj ObjectData
Résultat void
        void ReadName(ObjectData obj)
        {
            byte entry;
            var name = new List<byte>();
            while ((entry = _reader.ReadByte()) != 0)
            {
                name.Add(entry);
            }
            obj.Name = name.ToArray();
        }