MyEntityIdentifier Structure |
[This is preliminary documentation and is subject to change.]
[Missing <summary> documentation for "T:VRage.MyEntityIdentifier"]
Namespace: VRage
public struct MyEntityIdentifier
The MyEntityIdentifier type exposes the following members.
Name | Description | |
---|---|---|
AllocationSuspended |
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.
|
Name | Description | |
---|---|---|
AddEntityWithId |
Registers entity with given ID. Do not call this directly, it is called automatically
when EntityID is first time assigned.
| |
AllocateId |
Allocated new entity ID (won't add to list)
Entity with this ID should be added immediatelly
| |
Clear | ||
ClearPerThreadEntities | ||
ConstructId | ||
DestroyPerThreadStorage | ||
ExistsById | ||
FixObsoleteIdentityType | ||
GetEntityById | ||
GetIdObjectType | ||
GetIdUniqueNumber | ||
GetPerThreadEntities | ||
InitPerThreadStorage | ||
LazyInitPerThreadStorage | ||
MarkIdUsed |
This method is used when loading existing entity IDs to track the last generated ID
| |
RemoveEntity | ||
Reset | ||
SwapRegisteredEntityId |
Changes ID by which an entity is registered. Do not call this directly, it is called automatically when
EntityID changes.
| |
TryGetEntity(Int64, IMyEntity) | ||
TryGetEntityT(Int64, T) |