public static void Write(BinaryWriter o, ConfTestArray1 d)
    {
        o.Write(d != null);
        if (d == null)
        {
            return;
        }

        String_Serializer.Write(o, d.address);
        Arr_Int32_Serializer.Write(o, d.random_port);
    }
    public static void Write(BinaryWriter o, ConfTestArray d)
    {
        o.Write(d != null);
        if (d == null)
        {
            return;
        }

        Arr_ConfTestArray1_Serializer.Write(o, d.address_list);
        String_Serializer.Write(o, d.name);
        o.Write(d.serverid);
    }
    public static void Write(BinaryWriter o, ConfTestDict2 d)
    {
        o.Write(d != null);
        if (d == null)
        {
            return;
        }

        o.Write(d.finish_dungeon_id);
        o.Write(d.role_level);
        String_Serializer.Write(o, d.stringId);
    }
    public static void Write(BinaryWriter o, ConfTestStrings d)
    {
        o.Write(d != null);
        if (d == null)
        {
            return;
        }

        String_Serializer.Write(o, d.fight_result);
        String_Serializer.Write(o, d.login);
        String_Serializer.Write(o, d.main_menu);
        String_Serializer.Write(o, d.new_card);
        String_Serializer.Write(o, d.start_film);
    }
    public static void Write(BinaryWriter o, String[] d)
    {
        o.Write(d != null);
        if (d == null)
        {
            return;
        }

        int size = d.Length;

        o.Write(size);
        for (int i = 0; i < size; ++i)
        {
            String_Serializer.Write(o, d[i]);
        }
    }
Exemplo n.º 6
0
    public static void Write(BinaryWriter o, List <string> d)
    {
        o.Write(d != null);
        if (d == null)
        {
            return;
        }

        int size = d.Count;

        o.Write(size);
        for (int i = 0; i < size; ++i)
        {
            String_Serializer.Write(o, d[i]);
        }
    }
Exemplo n.º 7
0
    public static void Write(BinaryWriter o, Dictionary <string, ConfTestDict2> d)
    {
        o.Write(d != null);
        if (d == null)
        {
            return;
        }

        int size = d.Count;

        o.Write(size);
        foreach (var elem in d)
        {
            String_Serializer.Write(o, elem.Key);
            ConfTestDict2_Serializer.Write(o, elem.Value);
        }
    }
Exemplo n.º 8
0
    public static void Write(BinaryWriter o, ConfTestDict d)
    {
        o.Write(d != null);
        if (d == null)
        {
            return;
        }

        String_Serializer.Write(o, d.carrer_icon_path);
        String_Serializer.Write(o, d.desc);
        o.Write(d.hero_id);
        o.Write(d.id);
        o.Write(d.isMale);
        Arr_String_Serializer.Write(o, d.model_female);
        Arr_String_Serializer.Write(o, d.model_male);
        String_Serializer.Write(o, d.name);
    }
Exemplo n.º 9
0
    public static void Write(BinaryWriter o, ConfTestPrimitive d)
    {
        o.Write(d != null);
        if (d == null)
        {
            return;
        }

        o.Write(d.mBool);
        o.Write(d.mByte);
        o.Write(d.mDataTime.Ticks);
        Decimal_Serializer.Write(o, d.mDec);
        o.Write(d.mDouble);
        o.Write(d.mFloat);
        o.Write(d.mInt);
        o.Write(d.mLong);
        o.Write(d.mShort);
        String_Serializer.Write(o, d.mStr);
    }