public static CoreEntity GetEntityWithRoomId(this CoreContext context, int value)
 {
     return(((Entitas.PrimaryEntityIndex <CoreEntity, int>)context.GetEntityIndex(Contexts.RoomId)).GetEntity(value));
 }
 public static System.Collections.Generic.HashSet <CoreEntity> GetEntitiesWithCurrentRoom(this CoreContext context, int roomId)
 {
     return(((Entitas.EntityIndex <CoreEntity, int>)context.GetEntityIndex(Contexts.CurrentRoom)).GetEntities(roomId));
 }