Make skinning better

This commit is contained in:
Dean Herbert
2019-01-07 20:12:39 +09:00
parent 8914585021
commit 4cee21f356
8 changed files with 42 additions and 26 deletions

View File

@ -21,8 +21,8 @@ namespace osu.Game.Skinning
SampleChannel GetSample(string sampleName);
TValue GetValue<TConfiguration, TValue>(Func<TConfiguration, TValue> query) where TConfiguration : SkinConfiguration where TValue : class;
TValue GetValue<TConfiguration, TValue>(Func<TConfiguration, TValue> query) where TConfiguration : SkinConfiguration;
TValue? GetValue<TConfiguration, TValue>(Func<TConfiguration, TValue?> query) where TConfiguration : SkinConfiguration where TValue : struct;
bool TryGetValue<TConfiguration, TValue>(Func<TConfiguration, TValue, bool> query, out TValue val) where TConfiguration : SkinConfiguration;
}
}