selene.resources
Provides access to bundle resources and file operations.
| Function |
|---|
ListFiles(bundle: string, filter: string): table<string> |
Lists files in a bundle matching a glob pattern. |
LoadAsString(path: string): string |
Loads a file from a bundle as a string.
Throws an error if the file does not exist. |
FileExists(path: string): boolean |
Checks if a file exists in a bundle. |