Beispiel #1
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();

            m_MilkType     = (Milk)reader.ReadEncodedInt();
            m_ResourceType = (BucketLiquid)reader.ReadEncodedInt();
            m_MaxQuantity  = reader.ReadInt();
            m_Quantity     = reader.ReadInt();
        }
Beispiel #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();
        }
Beispiel #3
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();

            m_Content      = (Milk)reader.ReadEncodedInt();
            m_TimeStart    = reader.ReadDateTime();
            m_MaxQuantity  = reader.ReadInt();
            m_Quantity     = reader.ReadInt();
            m_CookingValue = reader.ReadDouble();
        }