1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-22 12:58:33 +01:00

clarify which file types can be loaded in the docs

This commit is contained in:
Ell 2020-09-16 23:41:23 +02:00
parent 3b382a46cf
commit df5a654500

View file

@ -31,7 +31,7 @@ By default, the raw content manager supports the following types, as long as the
- `SoundEffect` (ogg, wav, mp3) - `SoundEffect` (ogg, wav, mp3)
- `Song` (gg, wav, mp3) - `Song` (gg, wav, mp3)
- Any XML files (xml) - Any XML files (xml)
- Any JSON files (json) - Any JSON files (json, json5, jsonc)
To add more content types that can be loaded by the raw content manager, you simply have to extend either `RawContentReader` or the generic version, `RawContentReader<T>`. For example, this is a content reader that loads a `txt` file as a string: To add more content types that can be loaded by the raw content manager, you simply have to extend either `RawContentReader` or the generic version, `RawContentReader<T>`. For example, this is a content reader that loads a `txt` file as a string:
```cs ```cs