Click or drag to resize
MyEntityIdentifierSwapRegisteredEntityId Method

[This is preliminary documentation and is subject to change.]

Changes ID by which an entity is registered. Do not call this directly, it is called automatically when EntityID changes.

Namespace: VRage
Assembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
public static void SwapRegisteredEntityId(
	IMyEntity entity,
	long oldId,
	long newId
)

Parameters

entity
Type: VRage.ModAPIIMyEntity
Entity whose ID has changed.
oldId
Type: SystemInt64
Old ID of the entity.
newId
Type: SystemInt64
New ID of the entity.
See Also