Assembly: VRage.Game.dll

public interface IMyRemapHelper

ModAPI interface giving access to changing id and names of entities

Methods

Member Description
Clear() Clears all the saved mappings from the remap helper and gets it ready for the next remapping operation.
GetRemapInfo() Key - old, value - new id Used to track if id is still existing
RemapEntityId(long) Returns a new entity ID for the entity with the given old entity ID. The function will return the same new entityId only if the saveMapping argument is set to true.
RemapEntityName(long) Returns a new entity name for the entity with the given new entity name. The function will return the same new name only if the saveMapping argument is set to true.
RemapGroupId(string, int) Returns a new ID for the given old ID for specific group (multiblockIDs, ...).