|
12345678910111213141516171819202122232425262728293031 |
- using System.Runtime.CompilerServices;
-
- namespace Svelto.ECS
- {
- public partial class EntitiesDB
- {
- [MethodImpl(MethodImplOptions.AggressiveInlining)]
- public bool TryGetEGID(EntityReference entityReference, out EGID egid)
- {
- return _entityReferencesMap.TryGetEGID(entityReference, out egid);
- }
-
- [MethodImpl(MethodImplOptions.AggressiveInlining)]
- public EGID GetEGID(EntityReference entityReference)
- {
- return _entityReferencesMap.GetEGID(entityReference);
- }
-
- [MethodImpl(MethodImplOptions.AggressiveInlining)]
- public EnginesRoot.EntityReferenceMap GetEntityReferenceMap()
- {
- return _entityReferencesMap;
- }
-
- [MethodImpl(MethodImplOptions.AggressiveInlining)]
- public EntityReference GetEntityReference(EGID egid)
- {
- return _entityReferencesMap.GetEntityReference(egid);
- }
- }
- }
|