Space Engineers
Public Member Functions | List of all members
VRage.ModAPI.IMyRemapHelper Interface Reference
Inheritance diagram for VRage.ModAPI.IMyRemapHelper:
Sandbox.Game.Entities.MyEntityIdRemapHelper

Public Member Functions

long RemapEntityId (long oldEntityId)
 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. More...
 
int RemapGroupId (string group, int oldValue)
 Returns a new ID for the given old ID for specific group (multiblockIDs, ...). More...
 
void Clear ()
 Clears all the saved mappings from the remap helper and gets it ready for the next remapping operation. More...
 

Detailed Description

Definition at line 3 of file IMyRemapHelper.cs.

Member Function Documentation

void VRage.ModAPI.IMyRemapHelper.Clear ( )

Clears all the saved mappings from the remap helper and gets it ready for the next remapping operation.

Implemented in Sandbox.Game.Entities.MyEntityIdRemapHelper.

long VRage.ModAPI.IMyRemapHelper.RemapEntityId ( long  oldEntityId)

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.

Implemented in Sandbox.Game.Entities.MyEntityIdRemapHelper.

int VRage.ModAPI.IMyRemapHelper.RemapGroupId ( string  group,
int  oldValue 
)

Returns a new ID for the given old ID for specific group (multiblockIDs, ...).

Implemented in Sandbox.Game.Entities.MyEntityIdRemapHelper.


The documentation for this interface was generated from the following file: