FileContainer
extends AbstractNode
in package
implements
NodeEvaluatorInterface, BuildableInterface, FileWriterInterface
FinalYes
Table of Contents
Interfaces
- NodeEvaluatorInterface
- BuildableInterface
- FileWriterInterface
Methods
- appendBuildChild() : void
- evaluate() : mixed
- evaluateMath() : int
- extractContent() : string
- findStringAtOrAfter() : int|null
- getBuildAncestors() : iterable<string|int, mixed>
- getBuildAttributes() : array<string|int, mixed>
- getBuildChildren() : iterable<string|int, mixed>|null
- getBuildHash() : string
- getBuildTag() : string
- getContent() : string
- getFileName() : string
- getImageNodeById() : ImageValue
- getImageNodes() : iterable<string|int, mixed>
- getOwnerSavegame() : SavegameNode
- getParentNode() : AbstractNode|null
- getValueById() : AbstractValueContent
- getValueByName() : AbstractValueContent
- getValueList() : Vector
- init() : void
- insertContent() : void
- insertContentBit() : void
- load() : void
- registerImage() : int
- registerValue() : int
- setContent() : void
- setDirty() : void
- toFile() : SplFileInfo
- getConverter() : Converter
- loadChild() : void
- loadChildren() : void
- loadNode() : void
- loadStruc() : void
Methods
appendBuildChild()
public
appendBuildChild(BuildableInterface $childNode) : void
Parameters
- $childNode : BuildableInterface
evaluate()
public
evaluate(mixed $expression) : mixed
Parameters
- $expression : mixed
evaluateMath()
public
evaluateMath(string $code) : int
Parameters
- $code : string
Return values
intextractContent()
public
extractContent(mixed $offset, mixed $length) : string
Parameters
- $offset : mixed
- $length : mixed
Return values
stringfindStringAtOrAfter()
public
findStringAtOrAfter(string $search[, int $offset = 0 ]) : int|null
Parameters
- $search : string
- $offset : int = 0
Return values
int|nullgetBuildAncestors()
public
getBuildAncestors() : iterable<string|int, mixed>
Return values
iterable<string|int, mixed>getBuildAttributes()
public
getBuildAttributes(BuilderInterface $builder) : array<string|int, mixed>
Parameters
- $builder : BuilderInterface
Return values
array<string|int, mixed>getBuildChildren()
public
getBuildChildren() : iterable<string|int, mixed>|null
Return values
iterable<string|int, mixed>|nullgetBuildHash()
public
getBuildHash() : string
Return values
stringgetBuildTag()
public
getBuildTag() : string
Return values
stringgetContent()
public
getContent() : string
Return values
stringgetFileName()
public
getFileName() : string
Return values
stringgetImageNodeById()
public
getImageNodeById(int $id) : ImageValue
Parameters
- $id : int
Return values
ImageValuegetImageNodes()
public
getImageNodes() : iterable<string|int, mixed>
Return values
iterable<string|int, mixed>getOwnerSavegame()
public
getOwnerSavegame() : SavegameNode
Return values
SavegameNodegetParentNode()
public
getParentNode() : AbstractNode|null
Return values
AbstractNode|nullgetValueById()
public
getValueById(int $id) : AbstractValueContent
Parameters
- $id : int
Return values
AbstractValueContentgetValueByName()
public
getValueByName(string $name) : AbstractValueContent
Parameters
- $name : string
Return values
AbstractValueContentgetValueList()
public
getValueList() : Vector
Return values
Vectorinit()
public
init(LeanElement $strucElement[, AbstractNode|null $parentNode = null ]) : void
Parameters
- $strucElement : LeanElement
- $parentNode : AbstractNode|null = null
insertContent()
public
insertContent(int $offset, int $length, string $value) : void
Parameters
- $offset : int
- $length : int
- $value : string
insertContentBit()
public
insertContentBit(int $offset, int $bit, bool $value) : void
Parameters
- $offset : int
- $bit : int
- $value : bool
load()
public
load() : void
registerImage()
public
registerImage(ImageValue $node) : int
Parameters
- $node : ImageValue
Return values
intregisterValue()
public
registerValue(AbstractValueContent $node) : int
Parameters
- $node : AbstractValueContent
Return values
intsetContent()
public
setContent(string $content) : void
Parameters
- $content : string
setDirty()
public
setDirty() : void
toFile()
public
toFile() : SplFileInfo
Return values
SplFileInfogetConverter()
protected
getConverter() : Converter
Return values
ConverterloadChild()
protected
final loadChild(LeanElement $strucElement) : void
Parameters
- $strucElement : LeanElement
loadChildren()
protected
loadChildren(LeanElement $strucElement) : void
Parameters
- $strucElement : LeanElement
loadNode()
protected
loadNode(LeanElement $strucElement) : void
Parameters
- $strucElement : LeanElement
loadStruc()
protected
loadStruc(LeanElement $strucElement) : void
Parameters
- $strucElement : LeanElement