Exemplo n.º 1
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();

            m_Milk    = (Milk)reader.ReadEncodedInt();
            m_Paste   = (CheesePaste)reader.ReadEncodedInt();
            m_Taste   = (CheeseTaste)reader.ReadEncodedInt();
            m_Quality = (CheeseQuality)reader.ReadEncodedInt();
            m_Cook    = reader.ReadMobile();
        }
Exemplo n.º 2
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();

            m_Milk = (Milk)reader.ReadEncodedInt();
            m_Paste = (CheesePaste)reader.ReadEncodedInt();
            m_Taste = (CheeseTaste)reader.ReadEncodedInt();
            m_Quality = (CheeseQuality)reader.ReadEncodedInt();
            m_Cook = reader.ReadMobile();
        }