novelrt / NovelRT

A cross-platform 2D game engine accompanied by a strong toolset for visual novels.
MIT License
183 stars 43 forks source link

Add new asset ID and file location querying APIs. #564

Closed RubyNova closed 1 year ago

RubyNova commented 1 year ago

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...) This PR introduces new APIs for querying asset ID and location information from the resource loader.

Is there an open issue that this resolves? If so, please link it here. No.

What is the current behavior? (You can also link to an open issue here) You cannot query this information at all.

What is the new behavior (if this is a feature change)? You can now query this information.

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?) No.

Other information: This PR is designed after the model for Try methods as outlined in #563 . Please review that proposal for more information to see if this is a good way forward or not.