public override void Remap(IMyRemapHelper remapHelper)
 {
     if (BlockEntityId != 0)
     {
         BlockEntityId = remapHelper.RemapEntityId(BlockEntityId);
     }
 }
        public override void Remap(IMyRemapHelper remapHelper)
        {
            base.Remap(remapHelper);

            foreach (var blockInCompound in Blocks)
                blockInCompound.Remap(remapHelper);
        }
 public override void Remap(IMyRemapHelper remapHelper)
 {
     base.Remap(remapHelper);
     if (RotorEntityId != 0)
     {
         RotorEntityId = remapHelper.RemapEntityId(RotorEntityId);
     }
 }
Exemple #4
0
 public override void Remap(IMyRemapHelper remapHelper)
 {
     base.Remap(remapHelper);
     if (ConnectedEntityId != 0)
     {
         ConnectedEntityId = remapHelper.RemapEntityId(ConnectedEntityId);
     }
 }
 public override void Remap(IMyRemapHelper remapHelper)
 {
     base.Remap(remapHelper);
     if (ProjectedGrid != null)
     {
         ProjectedGrid.Remap(remapHelper);
     }
 }
 public override void Remap(IMyRemapHelper remapHelper)
 {
     base.Remap(remapHelper);
     if (Toolbar != null)
     {
         Toolbar.Remap(remapHelper);
     }
 }
Exemple #7
0
 public override void Remap(IMyRemapHelper remapHelper)
 {
     base.Remap(remapHelper);
     if (TopBlockId.HasValue && TopBlockId != 0)
     {
         TopBlockId = remapHelper.RemapEntityId(TopBlockId.Value);
     }
 }
 public override void Remap(IMyRemapHelper remapHelper)
 {
     base.Remap(remapHelper);
     if (AutoPilotToolbar != null)
     {
         AutoPilotToolbar.Remap(remapHelper);
     }
 }
Exemple #9
0
 public override void Remap(IMyRemapHelper remapHelper)
 {
     base.Remap(remapHelper);
     if (PistonBlockId != 0)
     {
         PistonBlockId = remapHelper.RemapEntityId(PistonBlockId);
     }
 }
        public override void Remap(IMyRemapHelper remapHelper)
        {
            base.Remap(remapHelper);

            foreach (var blockInCompound in Blocks)
            {
                blockInCompound.Remap(remapHelper);
            }
        }
Exemple #11
0
        public override void Remap(IMyRemapHelper remapHelper)
        {
            base.Remap(remapHelper);

            foreach (var blockBuilder in CubeBlocks)
            {
                blockBuilder.Remap(remapHelper);
            }
        }
 public void Remap(IMyRemapHelper remapHelper)
 {
     if (Slots != null)
     {
         foreach (var slot in Slots)
         {
             slot.Data.Remap(remapHelper);
         }
     }
 }
Exemple #13
0
 public void Remap(IMyRemapHelper remapHelper)
 {
     if (Slots != null)
     {
         foreach (var slot in Slots)
         {
             slot.Data.Remap(remapHelper);
         }
     }
 }
Exemple #14
0
 public override void Remap(IMyRemapHelper remapHelper)
 {
     base.Remap(remapHelper);
     if (RotorEntityId.HasValue && RotorEntityId != 0)
     {
         RotorEntityId = remapHelper.RemapEntityId(RotorEntityId.Value);
     }
     if (WeldedEntityId.HasValue && WeldedEntityId != 0)
     {
         WeldedEntityId = remapHelper.RemapEntityId(WeldedEntityId.Value);
     }
 }
Exemple #15
0
 public void Remap(IMyRemapHelper remapHelper)
 {
     if (Actions != null)
     {
         foreach (var action in Actions)
         {
             if (action != null)
             {
                 action.Remap(remapHelper);
             }
         }
     }
 }
 public void Remap(IMyRemapHelper remapHelper)
 {
     if (Actions != null)
     {
         foreach (var action in Actions)
         {
             if (action != null)
             {
                 action.Remap(remapHelper);
             }
         }
     }
 }
Exemple #17
0
        public override void Remap(IMyRemapHelper remapHelper)
        {
            base.Remap(remapHelper);

            if (OnEmptyAction != null)
            {
                OnEmptyAction.Remap(remapHelper);
            }

            if (OnFullAction != null)
            {
                OnFullAction.Remap(remapHelper);
            }
        }
        public override void Remap(IMyRemapHelper remapHelper)
        {
            base.Remap(remapHelper);
            if (AutoPilotToolbar != null)
                AutoPilotToolbar.Remap(remapHelper);

            if (Waypoints != null)
            {
                foreach (var waypoint in Waypoints)
                {
                    waypoint.Remap(remapHelper);
                }
            }
        }
        public override void Remap(IMyRemapHelper remapHelper)
        {
            base.Remap(remapHelper);
            if (AutoPilotToolbar != null)
            {
                AutoPilotToolbar.Remap(remapHelper);
            }

            if (Waypoints != null)
            {
                foreach (var waypoint in Waypoints)
                {
                    waypoint.Remap(remapHelper);
                }
            }
        }
        public virtual void Remap(IMyRemapHelper remapHelper)
        {
            if (EntityId != 0)
            {
                EntityId = remapHelper.RemapEntityId(EntityId);
            }

            if (SubBlocks != null)
            {
                for (int i = 0; i < SubBlocks.Length; ++i)
                {
                    if (SubBlocks[i].SubGridId != 0)
                    {
                        SubBlocks[i].SubGridId = remapHelper.RemapEntityId(SubBlocks[i].SubGridId);
                    }
                }
            }
        }
        public virtual void Remap(IMyRemapHelper remapHelper)
        {
            if (EntityId != 0)
            {
                EntityId = remapHelper.RemapEntityId(EntityId);
            }

            if (SubBlocks != null)
            {
                for (int i = 0; i < SubBlocks.Length; ++i)
                {
                    if (SubBlocks[i].SubGridId != 0)
                    {
                        SubBlocks[i].SubGridId = remapHelper.RemapEntityId(SubBlocks[i].SubGridId);
                    }
                }
            }

            if (MultiBlockId != 0 && MultiBlockDefinition != null)
            {
                MultiBlockId = remapHelper.RemapGroupId("MultiBlockId", MultiBlockId);
            }
        }
 public override void Remap(IMyRemapHelper remapHelper)
 {
     base.Remap(remapHelper);
     Toolbar.Remap(remapHelper);
 }
 public override void Remap(IMyRemapHelper remapHelper)
 {
     base.Remap(remapHelper);
     if (ConnectedEntityId != 0) ConnectedEntityId = remapHelper.RemapEntityId(ConnectedEntityId);
 }
 public override void Remap(IMyRemapHelper remapHelper)
 {
     base.Remap(remapHelper);
     if (PistonBlockId != 0) PistonBlockId = remapHelper.RemapEntityId(PistonBlockId);
 }
 /// <summary>
 /// Remaps this entity's entityId to a new value.
 /// If there are cross-referenced between different entities in this object builder, the remapHelper should be used to rememeber these
 /// references and retrieve them.
 /// </summary>
 public virtual void Remap(IMyRemapHelper remapHelper)
 {
     EntityId = remapHelper.RemapEntityId(EntityId);
 }
        public virtual void Remap(IMyRemapHelper remapHelper)
        {
            if (EntityId != 0)
                EntityId = remapHelper.RemapEntityId(EntityId);

            if (SubBlocks != null)
            {
                for (int i = 0; i < SubBlocks.Length; ++i)
                {
                    if (SubBlocks[i].SubGridId != 0)
                        SubBlocks[i].SubGridId = remapHelper.RemapEntityId(SubBlocks[i].SubGridId);
                }
            }

            if (MultiBlockId != 0 && MultiBlockDefinition != null)
                MultiBlockId = remapHelper.RemapGroupId("MultiBlockId", MultiBlockId);
        }
 public override void Remap(IMyRemapHelper remapHelper)
 {
     base.Remap(remapHelper);
     if (RotorEntityId != 0) RotorEntityId = remapHelper.RemapEntityId(RotorEntityId);
 }
Exemple #28
0
 public override void Remap(IMyRemapHelper remapHelper)
 {
     base.Remap(remapHelper);
     Toolbar.Remap(remapHelper);
 }
 public override void Remap(IMyRemapHelper remapHelper)
 {
     base.Remap(remapHelper);
     if (TopBlockId.HasValue && TopBlockId != 0) TopBlockId = remapHelper.RemapEntityId(TopBlockId.Value);
 }
 public override void Remap(IMyRemapHelper remapHelper)
 {
     BlockEntityId = remapHelper.RemapEntityId(BlockEntityId);
 }
 public override void Remap(IMyRemapHelper remapHelper)
 {
     base.Remap(remapHelper);
     if(Toolbar != null)
         Toolbar.Remap(remapHelper);
 }
 /// <summary>
 /// Remaps this entity's entityId to a new value.
 /// If there are cross-referenced between different entities in this object builder, the remapHelper should be used to rememeber these
 /// references and retrieve them.
 /// </summary>
 public virtual void Remap(IMyRemapHelper remapHelper)
 {
     EntityId = remapHelper.RemapEntityId(EntityId);
 }
        public virtual void Remap(IMyRemapHelper remapHelper)
        {
            if (EntityId != 0) EntityId = remapHelper.RemapEntityId(EntityId);

            if (SubBlocks != null)
            {
                for (int i=0; i<SubBlocks.Length; ++i)
                {
                    if (SubBlocks[i].SubGridId != 0)
                        SubBlocks[i].SubGridId = remapHelper.RemapEntityId(SubBlocks[i].SubGridId);
                }
            }
        }
 public virtual void Remap(IMyRemapHelper remapHelper)
 {
 }
        public override void Remap(IMyRemapHelper remapHelper)
        {
            base.Remap(remapHelper);

            foreach (var blockBuilder in CubeBlocks)
            {
                blockBuilder.Remap(remapHelper);
            }
        }
 public override void Remap(IMyRemapHelper remapHelper)
 {
     base.Remap(remapHelper);
     if (RotorEntityId.HasValue && RotorEntityId != 0) RotorEntityId = remapHelper.RemapEntityId(RotorEntityId.Value);
     if (WeldedEntityId.HasValue && WeldedEntityId != 0) WeldedEntityId = remapHelper.RemapEntityId(WeldedEntityId.Value);
 }