| MyEntityIdentifier Methods |
[This is preliminary documentation and is subject to change.]
The MyEntityIdentifier type exposes the following members.
| 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) |