mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Add basic skin configuration decoding support
This commit is contained in:
@ -25,6 +25,11 @@ namespace osu.Game.Skinning
|
||||
storage = new LegacySkinResourceStore(skin, storage);
|
||||
samples = audioManager.GetSampleManager(storage);
|
||||
textures = new TextureStore(new RawTextureLoaderStore(storage));
|
||||
|
||||
var decoder = new LegacySkinDecoder();
|
||||
|
||||
using (StreamReader reader = new StreamReader(storage.GetStream("skin.ini")))
|
||||
Configuration = decoder.Decode(reader);
|
||||
}
|
||||
|
||||
public override Drawable GetDrawableComponent(string componentName)
|
||||
|
Reference in New Issue
Block a user