Esempio n. 1
0
        public override void Deserialize(IGenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();

            Chyloth = reader.ReadMobile() as Chyloth;
            Dragon  = reader.ReadMobile() as SkeletalDragon;

            Chyloth?.Delete();
        }
Esempio n. 2
0
        public override void Deserialize(IGenericReader reader)
        {
            base.Deserialize(reader);

            var version = reader.ReadInt();

            Chyloth = reader.ReadEntity <Chyloth>();
            Dragon  = reader.ReadEntity <SkeletalDragon>();

            Chyloth?.Delete();
        }
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();

            m_Chyloth = reader.ReadMobile() as Chyloth;
            m_Dragon  = reader.ReadMobile() as SkeletalDragon;

            if (m_Chyloth != null)
            {
                m_Chyloth.Delete();
            }
        }
Esempio n. 4
0
        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadInt();

            if (Instances == null)
            {
                Instances = new List <BellOfTheDead>();
            }

            Instances.Add(this);

            m_Chyloth = reader.ReadMobile() as Chyloth;
            m_Dragon  = reader.ReadMobile() as SkeletalDragon;

            if (m_Chyloth != null)
            {
                m_Chyloth.Delete();
            }
        }
Esempio n. 5
0
		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );

			int version = reader.ReadInt();

			m_Chyloth = reader.ReadMobile() as Chyloth;
			m_Dragon = reader.ReadMobile() as SkeletalDragon;

			if ( m_Chyloth != null )
				m_Chyloth.Delete();
		}