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

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 9 of file MyEntityIdRemapHelper.cs.

Member Function Documentation

void Sandbox.Game.Entities.MyEntityIdRemapHelper.Clear ( )
inline

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

Implements VRage.ModAPI.IMyRemapHelper.

Definition at line 49 of file MyEntityIdRemapHelper.cs.

long Sandbox.Game.Entities.MyEntityIdRemapHelper.RemapEntityId ( long  oldEntityId)
inline

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.

Implements VRage.ModAPI.IMyRemapHelper.

Definition at line 17 of file MyEntityIdRemapHelper.cs.

int Sandbox.Game.Entities.MyEntityIdRemapHelper.RemapGroupId ( string  group,
int  oldValue 
)
inline

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

Implements VRage.ModAPI.IMyRemapHelper.

Definition at line 30 of file MyEntityIdRemapHelper.cs.


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