Base class: Asset
This class provides an interface for loading files from compressed and encrypted archives. Ultra Engine includes built-in support for Zip packages. Other archive formats can be added with the plugins system.
Property | Type | Description |
---|---|---|
AddFile | Method | writes a file to the package |
Close | Method | finalizes any pending changes and closes the package file |
DeleteFile | Method | deletes a file from the package |
ExtractFile | Method | extracts a file from the package |
FileSize | Method | returns the size of a file in the package |
FileTime | Method | returns the time of a file in the package |
FileType | Method | returns the type of a file in the package |
LoadDir | Method | loads the contents of a package directory |
ReadFile | Method | reads a file from the package |
Restrict | Method | blocks direct file reads from scripts |
SetPassword | Method | sets a password for encryption |
CreatePackage | Function | creates a new package |
LoadPackage | Function | loads a package from a file |