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; } }
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; }
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; }
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; }