Ejemplo n.º 1
0
 public override void Serialize(IArchiverInOut archive)
 {
     base.Serialize(archive);
     extraCheese      = archive.Inout("extraCheese", extraCheese);
     nrOfMushRooms    = archive.Inout("nrOfMushRooms", nrOfMushRooms);
     meetQuality      = archive.Inout("meetQuality", meetQuality);
     timestamp        = archive.Inout("timestamp", timestamp);
     timeBakedHours   = archive.Inout("timeBakedHours", timeBakedHours);
     timeBakedSeconds = archive.Inout("timeBakedSeconds", timeBakedSeconds);
     description      = archive.Inout("description", description);
     _cheese_         = (pizza.special.Cheese)archive.Inout("cheese_", _cheese_);
     _bools           = (List <bool>)archive.InoutBooleanList("bools", _bools);
     _bytes           = (List <byte>)archive.InoutByteList("bytes", _bytes);
     _ints            = (List <int>)archive.InoutIntegerList("ints", _ints);
     _longs           = (List <long>)archive.InoutLongList("longs", _longs);
     _floats          = (List <float>)archive.InoutFloatList("floats", _floats);
     _doubles         = (List <double>)archive.InoutDoubleList("doubles", _doubles);
     _strings         = (List <string>)archive.InoutStringList("strings", _strings);
     _cheeses         = (List <pizza.special.Cheese>)archive.InoutSerializableList("cheeses", _cheeses);
 }
Ejemplo n.º 2
0
 public override void Serialize(IArchiverInOut archive)
 {
     base.Serialize(archive);
     bo               = archive.Inout("bo", bo);
     b                = archive.Inout("b", b);
     i                = archive.Inout("i", i);
     l                = archive.Inout("l", l);
     f                = archive.Inout("f", f);
     d                = archive.Inout("d", d);
     s                = archive.Inout("s", s);
     _test2           = (TestData)archive.Inout("test2", _test2);
     _testPointer     = (TestAll.TestData)archive.Inout("testPointer", _testPointer);
     _fruit           = (Fruit)archive.Inout("fruit", _fruit);
     _bos             = (List <bool>)archive.InoutBooleanList("bos", _bos);
     _bs              = (List <byte>)archive.InoutByteList("bs", _bs);
     _is_             = (List <int>)archive.InoutIntegerList("is_", _is_);
     _ls              = (List <long>)archive.InoutLongList("ls", _ls);
     _fs              = (List <float>)archive.InoutFloatList("fs", _fs);
     _ds              = (List <double>)archive.InoutDoubleList("ds", _ds);
     _ss              = (List <string>)archive.InoutStringList("ss", _ss);
     _test2s          = (List <TestData>)archive.InoutSerializableList("test2s", _test2s);
     _secondVirtArray = (List <TestData>)archive.InoutSerializableList("secondVirtArray", _secondVirtArray);
     _test2s2         = (List <TestData>)archive.InoutSerializableList("test2s2", _test2s2);
 }
Ejemplo n.º 3
0
 public override void Serialize(IArchiverInOut archive)
 {
     base.Serialize(archive);
     extraCheese = archive.Inout("extraCheese", extraCheese);
     nrOfMushRooms = archive.Inout("nrOfMushRooms", nrOfMushRooms);
     meetQuality = archive.Inout("meetQuality", meetQuality);
     timestamp = archive.Inout("timestamp", timestamp);
     timeBakedHours = archive.Inout("timeBakedHours", timeBakedHours);
     timeBakedSeconds = archive.Inout("timeBakedSeconds", timeBakedSeconds);
     description = archive.Inout("description", description);
     _cheese_ = (pizza.special.Cheese) archive.Inout("cheese_", _cheese_);
     _bools = (List<bool>) archive.InoutBooleanList("bools", _bools);
     _bytes = (List<byte>) archive.InoutByteList("bytes", _bytes);
     _ints = (List<int>) archive.InoutIntegerList("ints", _ints);
     _longs = (List<long>) archive.InoutLongList("longs", _longs);
     _floats = (List<float>) archive.InoutFloatList("floats", _floats);
     _doubles = (List<double>) archive.InoutDoubleList("doubles", _doubles);
     _strings = (List<string>) archive.InoutStringList("strings", _strings);
     _cheeses = (List<pizza.special.Cheese>) archive.InoutSerializableList("cheeses", _cheeses);
 }