Esempio n. 1
0
    public static void Write(BinaryWriter o, ConfTestListAndDict d)
    {
        o.Write(d != null);
        if (d == null)
        {
            return;
        }

        Dictionary_String_ConfHero_Serializer.Write(o, d.heroes);
        o.Write(d.id);
        List_Int32_Serializer.Write(o, d.levels);
        List_ConfHero_Serializer.Write(o, d.listofHeros);
        Dictionary_Int32_String_Serializer.Write(o, d.names);
        List_String_Serializer.Write(o, d.stars);
    }
 public static void Write(BinaryWriter o)
 {
     ConfTestArray2_Serializer.Write(o, Config.araysofarrays);
     ConfTestEnum_Serializer.Write(o, Config.confenum);
     ConfTestPrimitive_Serializer.Write(o, Config.confprimitive);
     Arr_Arr_Int32_Serializer.Write(o, Config.dim2Array);
     Arr_Arr_Int32_Serializer.Write(o, Config.dim3Array);
     List_ConfTestListAndDict_Serializer.Write(o, Config.listoflist);
     o.Write((int)Config.module);
     Arr_Double_Serializer.Write(o, Config.money);
     ConfTestStrings_Serializer.Write(o, Config.strings);
     Dictionary_Modules_ConfTestDict1_Serializer.Write(o, Config.testEnumDict);
     List_Modules_Serializer.Write(o, Config.testEnumList);
     List_Single_Serializer.Write(o, Config.testFloatList);
     Dictionary_Int32_ConfTestDict_Serializer.Write(o, Config.testIntDict);
     List_Int32_Serializer.Write(o, Config.testIntList);
     ConfTestListAndDict_Serializer.Write(o, Config.testlistAndDict);
     ConfTestPrivate_Serializer.Write(o, Config.testprivate);
     Dictionary_String_ConfTestDict2_Serializer.Write(o, Config.testStrDict);
     List_String_Serializer.Write(o, Config.testStrList);
     ConfTestStruct_Serializer.Write(o, Config.teststruts);
     Arr_String_Serializer.Write(o, Config.words);
 }