public override void OnAddedToContainer()
 {
     base.OnAddedToContainer();
     m_invetoryItem = Container.Entity as MyBaseInventoryItemEntity;
 }
 public override void OnAddedToContainer(MyComponentContainer container)
 {
     base.OnAddedToContainer(container);
     m_invetoryItem = Entity as MyBaseInventoryItemEntity;
 }