Kit Documentation
Kit Documentation
Kit Reference
Kit
ResourceManager Class
ResourceManager Methods
Save Method
Save Method (String, Object)
Save Method (ResourceFolder, String, Object)
ResourceManager
Save Method (ResourceFolder, String, Object)
Save the contents of an object to a file.
Namespace:
Kit
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
Copy
public
static
bool
Save
(
ResourceFolder
folder
,
string
file
,
Object
contents
)
Request Example
View Source
Parameters
folder
Type:
Kit
ResourceFolder
The folder where the file should exist.
file
Type:
System
String
The path and file-name relative to the
folder
.
contents
Type:
System
Object
The object to save.
Return Value
Type:
Boolean
Whether the file was successfully saved.
Remarks
A parser is chosen based on the type of the object to serialize it.
See Also
Reference
ResourceManager Class
Save Overload
Kit Namespace
Send comments on this topic to
agam@frag-games.com