<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.crumbledworld.com/index.php?action=history&amp;feed=atom&amp;title=FileNode</id>
	<title>FileNode - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.crumbledworld.com/index.php?action=history&amp;feed=atom&amp;title=FileNode"/>
	<link rel="alternate" type="text/html" href="https://wiki.crumbledworld.com/index.php?title=FileNode&amp;action=history"/>
	<updated>2026-04-21T23:07:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.4</generator>
	<entry>
		<id>https://wiki.crumbledworld.com/index.php?title=FileNode&amp;diff=11&amp;oldid=prev</id>
		<title>Anders: Created page with &quot;{{:FileNodeExampleCode}}  ==Inheritance== SceneNode  ==Functions== {| class=&quot;wikitable&quot; !|return !|function !|description |- |bool |contains(string fileName) |Returns true if the file name exist in the node. |- |File |getFile(string fileName) |Always return a file even if the file name do not exist. |- |table |getFileNames() |Return a table with all file n...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.crumbledworld.com/index.php?title=FileNode&amp;diff=11&amp;oldid=prev"/>
		<updated>2025-07-05T12:59:06Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{:FileNodeExampleCode}}  ==Inheritance== &lt;a href=&quot;/index.php/SceneNode&quot; title=&quot;SceneNode&quot;&gt;SceneNode&lt;/a&gt;  ==Functions== {| class=&amp;quot;wikitable&amp;quot; !|return !|function !|description |- |bool |&lt;a href=&quot;/index.php?title=FileNode:contains(string_fileName)&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;FileNode:contains(string fileName) (page does not exist)&quot;&gt;contains&lt;/a&gt;(string fileName) |Returns true if the file name exist in the node. |- |&lt;a href=&quot;/index.php/File&quot; title=&quot;File&quot;&gt;File&lt;/a&gt; |&lt;a href=&quot;/index.php?title=FileNode:getFile(string_fileName)&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;FileNode:getFile(string fileName) (page does not exist)&quot;&gt;getFile&lt;/a&gt;(string fileName) |Always return a file even if the file name do not exist. |- |&lt;a href=&quot;/index.php/Table&quot; title=&quot;Table&quot;&gt;table&lt;/a&gt; |&lt;a href=&quot;/index.php?title=FileNode:getFileNames()&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;FileNode:getFileNames() (page does not exist)&quot;&gt;getFileNames&lt;/a&gt;() |Return a table with all file n...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{:FileNodeExampleCode}}&lt;br /&gt;
&lt;br /&gt;
==Inheritance==&lt;br /&gt;
[[SceneNode]]&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!|return&lt;br /&gt;
!|function&lt;br /&gt;
!|description&lt;br /&gt;
|-&lt;br /&gt;
|bool&lt;br /&gt;
|[[FileNode:contains(string fileName)|contains]](string fileName)&lt;br /&gt;
|Returns true if the file name exist in the node.&lt;br /&gt;
|-&lt;br /&gt;
|[[File]]&lt;br /&gt;
|[[FileNode:getFile(string fileName)|getFile]](string fileName)&lt;br /&gt;
|Always return a file even if the file name do not exist.&lt;br /&gt;
|-&lt;br /&gt;
|[[table]]&lt;br /&gt;
|[[FileNode:getFileNames()|getFileNames]]()&lt;br /&gt;
|Return a table with all file names.&lt;br /&gt;
|-&lt;br /&gt;
|bool&lt;br /&gt;
|[[FileNode:addFile(string fileName)|addFile]](string fileName)&lt;br /&gt;
|Add a file with the same file name as the file path. return true if the file was added else false.&lt;br /&gt;
|-&lt;br /&gt;
|bool&lt;br /&gt;
|[[FileNode:addFile(string fileName, string filePath)|addFile]](string fileName, string filePath)&lt;br /&gt;
|Add a file with another name from the current file path. as the file path. return true if the file was added else false.&lt;br /&gt;
|-&lt;br /&gt;
|bool&lt;br /&gt;
|[[FileNode:addFile(string fileName, File aFile)|addFile]](string fileName, [[File]] aFile)&lt;br /&gt;
|Add a file and save it with the file name.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|[[FileNode:addFileData(string fileName, string textData)|addFileData]](string fileName, string textData)&lt;br /&gt;
|Add a file from a string and save it to given file name.&lt;br /&gt;
|-&lt;br /&gt;
|bool&lt;br /&gt;
|[[FileNode:addDynamicFile(string fileName)|addDynamicFile]](string fileName)&lt;br /&gt;
|Add a file with the same file name as the file path. &lt;br /&gt;
The file is only saved when the tree is saved. This is useful for files that may change during map development as lua files.&lt;br /&gt;
return true if the file was added else false.&lt;br /&gt;
|-&lt;br /&gt;
|bool&lt;br /&gt;
|[[FileNode:addDynamicFile(string fileName, string filePath)|addDynamicFile]](string fileName, string filePath)&lt;br /&gt;
|Add a file with another name from the current file path. as the file path. &lt;br /&gt;
The file is only saved when the tree is saved. This is useful for files that may change during map development as lua files.&lt;br /&gt;
return true if the file was added else false.&lt;br /&gt;
|-&lt;br /&gt;
|bool&lt;br /&gt;
|[[FileNode:removeFile(string fileName)|removeFile]](string fileName)&lt;br /&gt;
|Remove a loaded file. return true if the file name was found and removed.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Anders</name></author>
	</entry>
</feed>