FSO.Vitaboy.Outfit.Read C# (CSharp) Method

Read() public method

Reads an Outfit from the supplied Stream.
public Read ( Stream stream ) : void
stream Stream A Stream instance.
return void
        public void Read(Stream stream)
        {
            using (var io = IoBuffer.FromStream(stream))
            {
                var version = io.ReadUInt32();
                var unknown = io.ReadUInt32();

                LightAppearanceFileID = io.ReadUInt32();
                LightAppearanceTypeID = io.ReadUInt32();

                MediumAppearanceFileID = io.ReadUInt32();
                MediumAppearanceTypeID = io.ReadUInt32();

                DarkAppearanceFileID = io.ReadUInt32();
                DarkAppearanceTypeID = io.ReadUInt32();

                HandGroup = io.ReadUInt32();
                Region = io.ReadUInt32();
            }
        }