public override void Deserialize(VRage.Game.ObjectBuilders.ComponentSystem.MyObjectBuilder_ComponentBase builder) { base.Deserialize(builder); var craftBuilder = builder as MyObjectBuilder_CraftingComponentBase; m_lockedByEntityId = craftBuilder.LockedByEntityId; }
public override void Deserialize(VRage.Game.ObjectBuilders.ComponentSystem.MyObjectBuilder_ComponentBase builder) { base.Deserialize(builder); var ob = builder as MyObjectBuilder_UpdateTrigger; m_size = ob.Size; }
public override void Deserialize(VRage.Game.ObjectBuilders.ComponentSystem.MyObjectBuilder_ComponentBase builder) { base.Deserialize(builder); m_objectBuilder = builder as MyObjectBuilder_UseObjectsComponent; }