Click or drag to resize
MyEntityIdentifier Structure

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

[Missing <summary> documentation for "T:VRage.MyEntityIdentifier"]

Namespace: VRage
Assembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
public struct MyEntityIdentifier

The MyEntityIdentifier type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberAllocationSuspended
Freezes allocating entity ids. This is important, because during load, no entity cannot allocate new id, because it could allocate id which already has entity which will be loaded soon.
Top
Methods
  NameDescription
Public methodStatic memberAddEntityWithId
Registers entity with given ID. Do not call this directly, it is called automatically when EntityID is first time assigned.
Public methodStatic memberAllocateId
Allocated new entity ID (won't add to list) Entity with this ID should be added immediatelly
Public methodStatic memberClear
Public methodStatic memberClearPerThreadEntities
Public methodStatic memberConstructId
Public methodStatic memberDestroyPerThreadStorage
Public methodStatic memberExistsById
Public methodStatic memberFixObsoleteIdentityType
Public methodStatic memberGetEntityById
Public methodStatic memberGetIdObjectType
Public methodStatic memberGetIdUniqueNumber
Public methodStatic memberGetPerThreadEntities
Public methodStatic memberInitPerThreadStorage
Public methodStatic memberLazyInitPerThreadStorage
Public methodStatic memberMarkIdUsed
This method is used when loading existing entity IDs to track the last generated ID
Public methodStatic memberRemoveEntity
Public methodStatic memberReset
Public methodStatic memberSwapRegisteredEntityId
Changes ID by which an entity is registered. Do not call this directly, it is called automatically when EntityID changes.
Public methodStatic memberTryGetEntity(Int64, IMyEntity)
Public methodStatic memberTryGetEntityT(Int64, T)
Top
See Also