 | ModManagerReadBytesAllAsync Method (ResourceFolder, String) |
Read contents of a file in binary-mode asynchronously from all mods that have it.
Namespace:
Kit.Modding
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntaxpublic static UniTask<IEnumerable<byte[]>> ReadBytesAllAsync(
ResourceFolder folder,
string file
)
Request Example
View SourceParameters
- folder
- Type: KitResourceFolder
The folder to read the file from. - file
- Type: SystemString
The path and file-name relative to the folder.
Return Value
Type:
UniTaskIEnumerableByteA list of byte-arrays with contents of the files.
See Also