Documentation

Editor
in package

Table of Contents

Methods

__construct()  : mixed
applyValues()  : mixed
findGameFile()  : SplFileInfo
getArchiveBuilder()  : ArchiveBuilderInterface
getArchiveExtractor()  : ArchiveExtractorInterface
getArchiveNode()  : ArchiveNode
getFileNode()  : FileContainer
getSavegameNode()  : SavegameNode
load()  : void
loadArchive()  : ArchiveNode
loadFile()  : FileContainer
loadSavegame()  : SavegameNode
writeGameFile()  : SplFileInfo

Methods

applyValues()

public applyValues(array<string|int, mixed> $data) : mixed
Parameters
$data : array<string|int, mixed>

findGameFile()

public findGameFile(string $path) : SplFileInfo
Parameters
$path : string
Return values
SplFileInfo

getFileNode()

public getFileNode(string $archiveName, string $fileName) : FileContainer
Parameters
$archiveName : string
$fileName : string
Return values
FileContainer

loadArchive()

public loadArchive(string $archivePath[, bool $loadFiles = false ]) : ArchiveNode
Parameters
$archivePath : string
$loadFiles : bool = false
Return values
ArchiveNode

loadSavegame()

public loadSavegame([bool $loadArchives = false ][, bool $loadFiles = false ]) : SavegameNode
Parameters
$loadArchives : bool = false
$loadFiles : bool = false
Return values
SavegameNode

writeGameFile()

public writeGameFile(string $path, StringWriterInterface $writer) : SplFileInfo
Parameters
$path : string
$writer : StringWriterInterface
Return values
SplFileInfo

        
On this page

Search results