Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
FileSerializer Class Reference

Serializer API implementation for File IO. See Serializer for more info.
usage: More...

Inheritance diagram for FileSerializer:
Serializer

Detailed Description

Serializer API implementation for File IO. See Serializer for more info.
usage:

void TestSave()
{
string names[3] = {"alpha", "beta", "gama"};
if (file.Open("test.save", FileMode.WRITE))
{
file.Write(10);
file.Write("lalala");
file.Write(name);
file.Close();
}
}
void TestLoad()
{
int intVal;
string stringVal;
string names[3];
if (file.Open("test.save", FileMode.READ))
{
file.Read(intVal);
file.Read(stringVal);
file.Read(names);
file.Close();
}
}

Definition at line 103 of file serializer.c.


The documentation for this class was generated from the following file:
FileSerializer
Serializer API implementation for File IO. See Serializer for more info. usage:
Definition: serializer.c:103
FileMode
FileMode
Definition: ensystem.c:382
name
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo