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

Read() public method

Reads a purchasable outfit from a stream.
public Read ( Stream stream ) : void
stream Stream A Stream instance holding a Purchasable Outfit.
return void
        public void Read(Stream stream)
        {
            BinaryReader Reader = new BinaryReader(stream);
            m_Version = Endian.SwapUInt32(Reader.ReadUInt32());
            m_Gender = Endian.SwapUInt32(Reader.ReadUInt32());
            m_AssetIDSize = Endian.SwapUInt32(Reader.ReadUInt32());
            Reader.ReadUInt32(); //AssetID prefix... typical useless Maxis value.
            m_OutfitAssetID = Endian.SwapUInt64(Reader.ReadUInt64());
            Reader.Close();
        }
PurchasableOutfit