public static ConfTestArray1 Read(BinaryReader o)
    {
        if (o.ReadBoolean() == false)
        {
            return(null);
        }

        ConfTestArray1 d = new ConfTestArray1();

        d.address     = String_Serializer.Read(o);
        d.random_port = Arr_Int32_Serializer.Read(o);
        return(d);
    }
    public static ConfTestArray Read(BinaryReader o)
    {
        if (o.ReadBoolean() == false)
        {
            return(null);
        }

        ConfTestArray d = new ConfTestArray();

        d.address_list = Arr_ConfTestArray1_Serializer.Read(o);
        d.name         = String_Serializer.Read(o);
        d.serverid     = o.ReadInt32();
        return(d);
    }
    public static ConfTestDict2 Read(BinaryReader o)
    {
        if (o.ReadBoolean() == false)
        {
            return(null);
        }

        ConfTestDict2 d = new ConfTestDict2();

        d.finish_dungeon_id = o.ReadInt32();
        d.role_level        = o.ReadInt32();
        d.stringId          = String_Serializer.Read(o);
        return(d);
    }
    public static ConfTestStrings Read(BinaryReader o)
    {
        if (o.ReadBoolean() == false)
        {
            return(null);
        }

        ConfTestStrings d = new ConfTestStrings();

        d.fight_result = String_Serializer.Read(o);
        d.login        = String_Serializer.Read(o);
        d.main_menu    = String_Serializer.Read(o);
        d.new_card     = String_Serializer.Read(o);
        d.start_film   = String_Serializer.Read(o);
        return(d);
    }
    public static String[] Read(BinaryReader o)
    {
        if (o.ReadBoolean() == false)
        {
            return(null);
        }

        String[] d    = null;
        int      size = o.ReadInt32();

        d = new string[size];
        for (int i = 0; i < size; ++i)
        {
            d[i] = String_Serializer.Read(o);
        }
        return(d);
    }
示例#6
0
    public static List <string> Read(BinaryReader o)
    {
        if (o.ReadBoolean() == false)
        {
            return(null);
        }

        List <string> d    = null;
        int           size = o.ReadInt32();

        d = new List <string>(size);
        for (int i = 0; i < size; ++i)
        {
            string elem;
            elem = String_Serializer.Read(o);
            d.Add(elem);
        }
        return(d);
    }
示例#7
0
    public static ConfTestDict Read(BinaryReader o)
    {
        if (o.ReadBoolean() == false)
        {
            return(null);
        }

        ConfTestDict d = new ConfTestDict();

        d.carrer_icon_path = String_Serializer.Read(o);
        d.desc             = String_Serializer.Read(o);
        d.hero_id          = o.ReadInt32();
        d.id           = o.ReadInt32();
        d.isMale       = o.ReadBoolean();
        d.model_female = Arr_String_Serializer.Read(o);
        d.model_male   = Arr_String_Serializer.Read(o);
        d.name         = String_Serializer.Read(o);
        return(d);
    }
示例#8
0
    public static Dictionary <string, ConfTestDict2> Read(BinaryReader o)
    {
        if (o.ReadBoolean() == false)
        {
            return(null);
        }

        Dictionary <string, ConfTestDict2> d = null;
        int size = o.ReadInt32();

        d = new Dictionary <string, ConfTestDict2>(size);
        for (int i = 0; i < size; ++i)
        {
            string key;
            key = String_Serializer.Read(o);
            ConfTestDict2 value;
            value = ConfTestDict2_Serializer.Read(o);
            d.Add(key, value);
        }
        return(d);
    }
示例#9
0
    public static ConfTestPrimitive Read(BinaryReader o)
    {
        if (o.ReadBoolean() == false)
        {
            return(null);
        }

        ConfTestPrimitive d = new ConfTestPrimitive();

        d.mBool     = o.ReadBoolean();
        d.mByte     = o.ReadByte();
        d.mDataTime = new DateTime(o.ReadInt64());
        d.mDec      = Decimal_Serializer.Read(o);
        d.mDouble   = o.ReadDouble();
        d.mFloat    = o.ReadSingle();
        d.mInt      = o.ReadInt32();
        d.mLong     = o.ReadInt64();
        d.mShort    = o.ReadInt16();
        d.mStr      = String_Serializer.Read(o);
        return(d);
    }
示例#10
0
    public static Dictionary <Int32, string> Read(BinaryReader o)
    {
        if (o.ReadBoolean() == false)
        {
            return(null);
        }

        Dictionary <Int32, string> d = null;
        int size = o.ReadInt32();

        d = new Dictionary <Int32, string>(size);
        for (int i = 0; i < size; ++i)
        {
            Int32 key;
            key = o.ReadInt32();
            string value;
            value = String_Serializer.Read(o);
            d.Add(key, value);
        }
        return(d);
    }