Open Insofan opened 3 months ago
If you just need to be able to create a Stream
from a Godot path (i.e. paths that start with res://
or user://
) then you should be able to implement a custom class that derives from Stream
and works as a wrapper over the FileAccess
APIs.
There's a PR that I plan to salvage to provide Stream-based APIs for Godot file access:
Describe the project you are working on
A game need import bulk csv or sql string to sqlite on mobile platform.
Describe the problem or limitation you are having in your project
I wanna use nuget package's System.IO api to visit pck or ipa file. It impossible.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
Provide api to let c# user visit expose files in export pck or ipa.
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
If this enhancement will not be used often, can it be worked around with a few lines of script?
nope
Is there a reason why this should be core and not an add-on in the asset library?
Give C# users a way to expose files from within a .pck to be loaded using nuget packages. Relate Issue