Example #1
0
    public static ConfTestListAndDict Read(BinaryReader o)
    {
        if (o.ReadBoolean() == false)
        {
            return(null);
        }

        ConfTestListAndDict d = new ConfTestListAndDict();

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