Seite 1 von 1

[Module] FileContainer.pbi (all OS)

Verfasst: 12.04.2019 17:32
von Thorsten1867
FileContainer - Module (all OS / 64Bit)
  • Fasst alle Daten-Dateien eines Programmes in einem Container zusammen
  • Dateien werden verschlüsselt, wenn ein Passwort festgelegt wurde
  • Dateien werden nur entpackt, wenn diese benötigt werden und automatisch zurück in den Container verschoben, wenn dieser gescchlossen wird.
  • Ressourcen, wie Bilder, Sounds, usw. können direkt aus dem Container geladen werden.
  • XML und JSON Dateien können direkt aus dem Container gelesen bzw. in den Container geschrieben werden.

Code: Alles auswählen

; Container::AddFile()       - add a new file to the container
; Container::CheckPassword() - checks if the password is correct and sets the password for opening the container
; Container::Close()         - moves all open files back to the container
; Container::Create()        - creates a new container
; Container::GetInfo()       - get container info (#Program / #Description / #Author)
; Container::GetFileInfo()   - get file info (#FileSize / #Modified)
; Container::Load()          - load directly from the container (#XML / #JSON / #Image / #Sound / #Sprite)
; Container::Open()          - opens the container (password is not required if CheckPassword() is used)
; Container::RemoveFile()    - removes a file form the container
; Container::Save()          - save directly to the container (#XML / #JSON)
; Container::UpdateFile()    - update file in container
; Container::UseFile()       - unpack a file to use it
Download: FileContainer.pbi