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

            int version = reader.ReadInt();

            m_Type = (HolidayBell2008Type)reader.ReadEncodedInt();

            m_Sound = (HolidayBell2008Sound)reader.ReadEncodedInt();
        }
Exemple #2
0
        public HolidayBell2008() : base(0x1C12)
        {
            HolidayBell2008Type randomtype = (HolidayBell2008Type)Utility.Random((int)HolidayBell2008Type.CradianDarkwolf + 1);

            m_Type = randomtype;

            HolidayBell2008Sound randomsound = (HolidayBell2008Sound)Utility.Random((int)HolidayBell2008Sound.Sound6 + 1);

            m_Sound = randomsound;

            LootType = LootType.Blessed;

            Hue = Utility.RandomList(1150, 55, 65, 75, 85, 95, 105, 115, 125, 135, 145, 30, 35, 37);
        }
		public HolidayBell2008() : base( 0x1C12 )
		{

			HolidayBell2008Type randomtype = (HolidayBell2008Type)Utility.Random((int)HolidayBell2008Type.CradianDarkwolf+1);

			m_Type = randomtype;

			HolidayBell2008Sound randomsound = (HolidayBell2008Sound)Utility.Random((int)HolidayBell2008Sound.Sound6+1);

			m_Sound = randomsound;

			LootType = LootType.Blessed;

			Hue = Utility.RandomList( 1150 , 55, 65, 75, 85, 95, 105, 115, 125, 135, 145, 30, 35, 37 );
		}
		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );

			int version = reader.ReadInt();
			
			m_Type = (HolidayBell2008Type)reader.ReadEncodedInt();

			m_Sound = (HolidayBell2008Sound)reader.ReadEncodedInt();
		}