Survivalcraft API 1.8.2.3 v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
SoundBufferReader.cs
浏览该文件的文档.
1using Engine.Audio;
2
3namespace Game.IContentReader {
5 public override string Type => "Engine.Audio.SoundBuffer";
6 public override string[] DefaultSuffix => ["flac", "wav", "ogg", "mp3"];
7 public override object Get(ContentInfo[] contents) => SoundBuffer.Load(contents[0].Duplicate());
8 }
9}
static SoundBuffer Load(SoundData soundData)
override object Get(ContentInfo[] contents)