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

            int version = reader.ReadInt();

            switch (version)
            {
            case 0:
            {
                m_Type     = (ChampionSkullType)reader.ReadInt();
                m_Platform = reader.ReadItem() as ChampionSkullPlatform;
                m_Skull    = reader.ReadItem();

                if (m_Platform == null)
                {
                    Delete();
                }

                break;
            }
            }

            if (Hue == 0x497)
            {
                Hue = 0x455;
            }

            if (Light != LightType.Circle300)
            {
                Light = LightType.Circle300;
            }
        }
Ejemplo n.º 2
0
        public ChampionSkullBrazier(ChampionSkullPlatform platform, ChampionSkullType type) : base(0xFAC)             //changed from 0x19BB(brazier) to 0xFAC(fire pit), Pigpen
        {
            //Hue = 0x455; (removed hueing.) Pigpen
            Light = LightType.Circle300;

            m_Platform = platform;
            m_Type     = type;
        }
Ejemplo n.º 3
0
		public ChampionSkullBrazier( ChampionSkullPlatform platform, ChampionSkullType type ) : base( 0xFAC ) //changed from 0x19BB(brazier) to 0xFAC(fire pit), Pigpen
		{
			//Hue = 0x455; (removed hueing.) Pigpen
			Light = LightType.Circle300;

			m_Platform = platform;
			m_Type = type;
		}
Ejemplo n.º 4
0
		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );

			int version = reader.ReadInt();

			switch ( version )
			{
				case 0:
				{
					m_Type = (ChampionSkullType)reader.ReadInt();
					m_Platform = reader.ReadItem() as ChampionSkullPlatform;
					m_Skull = reader.ReadItem();

					if ( m_Platform == null )
						Delete();

					break;
				}
			}

			if ( Hue == 0x497 )
				Hue = 0x455;

			if ( Light != LightType.Circle300 )
				Light = LightType.Circle300;
		}