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(0x19BB) { Hue = 0x455; Light = LightType.Circle300; m_Platform = platform; m_Type = type; }
public ChampionSkullBrazier(ChampionSkullPlatform platform, ChampionSkullType type) : base(0x19BB) { Hue = 0x455; 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; } } }
public override void Deserialize(GenericReader reader) { base.Deserialize(reader); var 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; }