public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadInt(); m_Addon = reader.ReadItem() as BaseAddonContainer; m_Offset = reader.ReadPoint3D(); if (m_Addon != null) { m_Addon.OnComponentLoaded(this); } AddonComponent.ApplyLightTo(this); }
public AddonContainerComponent(int itemID) : base(itemID) { Movable = false; AddonComponent.ApplyLightTo(this); }