Attempt to reduce skin lookup overhead where file access is not required

This commit is contained in:
Dean Herbert
2021-08-17 00:23:30 +09:00
parent 3ad7688eaf
commit 4bf22db4ff
2 changed files with 9 additions and 3 deletions

View File

@ -36,6 +36,11 @@ namespace osu.Game.Database
/// </summary>
public IQueryable<T> ConsumableItems => AddIncludesForConsumption(ContextFactory.Get().Set<T>());
/// <summary>
/// Access barebones items with no includes.
/// </summary>
public IQueryable<T> Items => ContextFactory.Get().Set<T>();
/// <summary>
/// Add a <typeparamref name="T"/> to the database.
/// </summary>